@@ -33,7 +33,7 @@ const styleVars = computed(() => {
33
33
case " primary" :
34
34
return {
35
35
bgColor: theme .value .color .primary .n ,
36
- color: theme .value .color .foreground . min ,
36
+ color: theme .value .color .white ,
37
37
hoverBgColor: theme .value .color .primary .l2 ,
38
38
activeBgColor: theme .value .color .primary .l4 ,
39
39
invertedColor: theme .value .color .primary .n ,
@@ -44,7 +44,7 @@ const styleVars = computed(() => {
44
44
case " success" :
45
45
return {
46
46
bgColor: theme .value .color .success .n ,
47
- color: theme .value .color .foreground . min ,
47
+ color: theme .value .color .white ,
48
48
hoverBgColor: theme .value .color .success .l2 ,
49
49
activeBgColor: theme .value .color .success .l4 ,
50
50
invertedColor: theme .value .color .success .n ,
@@ -55,7 +55,7 @@ const styleVars = computed(() => {
55
55
case " error" :
56
56
return {
57
57
bgColor: theme .value .color .error .n ,
58
- color: theme .value .color .foreground . min ,
58
+ color: theme .value .color .white ,
59
59
hoverBgColor: theme .value .color .error .l2 ,
60
60
activeBgColor: theme .value .color .error .l4 ,
61
61
invertedColor: theme .value .color .error .n ,
@@ -66,7 +66,7 @@ const styleVars = computed(() => {
66
66
case " warning" :
67
67
return {
68
68
bgColor: theme .value .color .warning .n ,
69
- color: theme .value .color .foreground . min ,
69
+ color: theme .value .color .white ,
70
70
hoverBgColor: theme .value .color .warning .l2 ,
71
71
activeBgColor: theme .value .color .warning .l4 ,
72
72
invertedColor: theme .value .color .warning .n ,
@@ -77,7 +77,7 @@ const styleVars = computed(() => {
77
77
case " common" :
78
78
return {
79
79
bgColor: theme .value .color .common .n ,
80
- color: theme .value .color .foreground . min ,
80
+ color: theme .value .color .white ,
81
81
hoverBgColor: theme .value .color .common .l2 ,
82
82
activeBgColor: theme .value .color .common .l4 ,
83
83
invertedColor: theme .value .color .common .n ,
@@ -88,7 +88,7 @@ const styleVars = computed(() => {
88
88
default :
89
89
return {
90
90
bgColor: theme .value .color .common .n ,
91
- color: theme .value .color .foreground . min ,
91
+ color: theme .value .color .white ,
92
92
hoverBgColor: theme .value .color .common .l2 ,
93
93
activeBgColor: theme .value .color .common .l4 ,
94
94
invertedColor: theme .value .color .common .n ,
0 commit comments