v3/packages/design-system/organisms/app-shell/AppShell.styled.tsx
Katalina ab3f718e6d
Feat/editor as preview (#294)
* try editor as preview

* add databinding for editor actions and message

* add actions, reordering base interactions

* add drag and drop ordering for categoriers

* category skeleton

* fix linting issues

* add role list and add button, non-functional

* bump packages

* add role search prototype

* yarn.lock sync

* fix lint

* remove cfw-emulator bin
2021-07-08 16:51:00 -05:00

24 lines
739 B
TypeScript

import { palette } from '@roleypoly/design-system/atoms/colors';
import { fontCSS } from '@roleypoly/design-system/atoms/fonts';
import styled, { createGlobalStyle } from 'styled-components';
export const Content = styled.div<{ small?: boolean; double?: boolean }>`
margin: 0 auto;
margin-top: ${(props) => (props.double ? '100px' : '50px')};
width: ${(props) => (props.small ? '960px' : '1024px')};
max-width: 98vw;
max-height: calc(100vh - 50px);
`;
export const GlobalStyles = createGlobalStyle`
body {
background-color: ${palette.taupe200};
color: ${palette.grey600};
overflow-y: hidden;
scroll-behavior: smooth;
${fontCSS}
}
* {
box-sizing: border-box;
}
`;