Files
lucko-paste/src/components/EditorGlobalStyle.tsx

13 lines
401 B
TypeScript
Raw Normal View History

2022-11-06 22:46:13 +00:00
import { createGlobalStyle, ThemeProps } from 'styled-components';
import { Theme } from '../style/themes';
const EditorGlobalStyle = createGlobalStyle<ThemeProps<Theme>>`
html, body {
color-scheme: ${props => props.theme.lightOrDark};
scrollbar-color: ${props => props.theme.lightOrDark};
2023-05-08 21:18:58 +01:00
background-color: ${props => props.theme.background};
2022-11-06 22:46:13 +00:00
}
`;
export default EditorGlobalStyle;