mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-31 05:39:28 +08:00
21 lines
358 B
TypeScript
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,
|
|
};
|
|
};
|