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