Files
AFFiNE-Mirror/src/styles/theme.ts
T
2022-09-26 16:24:29 +08:00

21 lines
358 B
TypeScript

import '@emotion/react';
import { AffineTheme } from './types';
export const lightTheme: AffineTheme = {
colors: {
primary: '#0070f3',
},
};
export const darkTheme: AffineTheme = {
colors: {
primary: '#000',
},
};
export const globalThemeConstant = (theme: AffineTheme) => {
return {
'--color-primary': theme.colors.primary,
};
};