feat: modify style

This commit is contained in:
QiShaoXuan
2022-10-18 00:28:39 +08:00
parent 249b5ab0f1
commit d7c6f7e8d5
20 changed files with 413 additions and 313 deletions

View File

@@ -8,9 +8,15 @@ export const lightTheme: AffineTheme = {
disabled: '#9096A5',
background: '#fff',
},
font: {
xs: '12px',
sm: '16px',
base: '18px',
},
};
export const darkTheme: AffineTheme = {
...lightTheme,
colors: {
primary: '#fff',
highlight: '#7389FD',

View File

@@ -18,6 +18,11 @@ export interface AffineTheme {
disabled: string;
background: string;
};
font: {
xs: string; // tiny
sm: string; // small
base: string;
};
}
declare module '@emotion/react' {