feat: modify theme mode switch style

This commit is contained in:
QiShaoXuan
2022-10-18 11:55:10 +08:00
parent c8c2b2de00
commit 2b13a63848
9 changed files with 183 additions and 69 deletions
+2
View File
@@ -7,6 +7,7 @@ export const lightTheme: AffineTheme = {
highlight: '#7389FD',
disabled: '#9096A5',
background: '#fff',
hoverBackground: '#F1F3FF',
},
font: {
xs: '12px',
@@ -22,6 +23,7 @@ export const darkTheme: AffineTheme = {
highlight: '#7389FD',
disabled: '#9096A5',
background: '#3d3c3f',
hoverBackground: '#F1F3FF',
},
};
+1
View File
@@ -17,6 +17,7 @@ export interface AffineTheme {
highlight: string;
disabled: string;
background: string;
hoverBackground: string;
};
font: {
xs: string; // tiny