mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-04-25 11:59:11 +00:00
* 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
24 lines
739 B
TypeScript
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;
|
|
}
|
|
`;
|