chore: reset the primary color after logout

This commit is contained in:
jialin
2025-11-21 16:56:23 +08:00
parent 3f63831488
commit ff67fba2c9
11 changed files with 49 additions and 23 deletions
+4 -2
View File
@@ -1,3 +1,5 @@
import { COLOR_PRIMARY } from './index';
export default {
'root-entry-name': 'variable',
cssVar: true,
@@ -36,7 +38,7 @@ export default {
iconMarginInlineEnd: 12,
itemBorderRadius: 4,
itemHeight: 32,
itemSelectedColor: '#007BFF',
itemSelectedColor: COLOR_PRIMARY,
darkItemSelectedBg: '#141414',
darkItemHoverBg: 'rgba(255, 255, 255, 0.03)',
groupTitleColor: 'rgba(0,0,0,1)',
@@ -78,7 +80,7 @@ export default {
fontFamily:
"Helvetica Neue, -apple-system, BlinkMacSystemFont, Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'",
colorText: '#ccc',
colorPrimary: '#007BFF',
colorPrimary: COLOR_PRIMARY,
colorSuccess: '#48A77E',
borderRadius: 4,
borderRadiusSM: 2,
+2 -2
View File
@@ -1,10 +1,10 @@
import dark from './dark';
import light from './light';
export const colorPrimary = '#007BFF';
export const COLOR_PRIMARY = '#007BFF';
export default {
light,
dark,
colorPrimary: colorPrimary
colorPrimary: COLOR_PRIMARY
};
+4 -2
View File
@@ -1,3 +1,5 @@
import { COLOR_PRIMARY } from './index';
export default {
'root-entry-name': 'variable',
cssVar: true,
@@ -35,7 +37,7 @@ export default {
iconSize: 16,
iconMarginInlineEnd: 12,
itemBorderRadius: 4,
itemSelectedColor: '#007BFF',
itemSelectedColor: COLOR_PRIMARY,
itemHeight: 32,
groupTitleColor: 'rgba(0,0,0,1)',
itemHoverColor: 'rgba(0,0,0,1)',
@@ -76,7 +78,7 @@ export default {
fontFamily:
"Helvetica Neue, -apple-system, BlinkMacSystemFont, Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'",
colorText: 'rgba(0,0,0,1)',
colorPrimary: '#007BFF',
colorPrimary: COLOR_PRIMARY,
colorSuccess: '#54cc98',
colorBorder: '#d3d0d9',
borderRadius: 4,