feat: modify style
This commit is contained in:
@@ -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',
|
||||
|
||||
@@ -18,6 +18,11 @@ export interface AffineTheme {
|
||||
disabled: string;
|
||||
background: string;
|
||||
};
|
||||
font: {
|
||||
xs: string; // tiny
|
||||
sm: string; // small
|
||||
base: string;
|
||||
};
|
||||
}
|
||||
|
||||
declare module '@emotion/react' {
|
||||
|
||||
Reference in New Issue
Block a user