1
0
Fork 1
mirror of https://github.com/SomboChea/ui synced 2024-05-19 18:01:37 +07:00
verdaccio-ui/src/components/DetailContainer/styles.ts
Juan Picado @jotadeveloper f761e36669
feat: enable dark mode
2020-03-02 22:05:24 +01:00

12 lines
331 B
TypeScript

import styled from '@emotion/styled';
import { Theme } from '../../design-tokens/theme';
export const DetailTheme = styled('div')<{ theme?: Theme }>(props => ({
backgroundColor: props?.theme?.palette.readmeBackgroundColor,
}));
export const ReadmeSpacing = styled('div')<{ theme?: Theme }>(props => ({
padding: '20px',
}));