File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -39,9 +39,9 @@ export default {
39
39
height : 32px ;
40
40
width : 32px ;
41
41
border : 3px rgba (0 , 0 , 0 , 0.25 ) solid ;
42
- border-top : 3px #000 solid ;
43
- border-right : 3px #000 solid ;
44
- border-bottom : 3px #000 solid ;
42
+ border-top : 3px var ( --chat-color-spinner ) solid ;
43
+ border-right : 3px var ( --chat-color-spinner ) solid ;
44
+ border-bottom : 3px var ( --chat-color-spinner ) solid ;
45
45
border-radius : 50% ;
46
46
-webkit-animation : spin 1s infinite linear ;
47
47
animation : spin 1s infinite linear ;
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ export const defaultThemeColors = {
11
11
textColorDark : '#0a0a0a' ,
12
12
textColor : '#0a0a0a' ,
13
13
inputBg : '#fff' ,
14
+ spinnerColor : '#333' ,
14
15
iconsColor : {
15
16
search : '#9ca6af' ,
16
17
add : '#1976d2' ,
@@ -42,6 +43,7 @@ export const defaultThemeColors = {
42
43
textColorDark : '#0a0a0a' ,
43
44
textColor : '#fff' ,
44
45
inputBg : '#34343b' ,
46
+ spinnerColor : '#fff' ,
45
47
iconsColor : {
46
48
search : '#9ca6af' ,
47
49
add : '#fff' ,
@@ -75,6 +77,7 @@ export const cssThemeVars = ({
75
77
textColorDark,
76
78
textColor,
77
79
inputBg,
80
+ spinnerColor,
78
81
iconsColor
79
82
} ) => {
80
83
return {
@@ -89,6 +92,7 @@ export const cssThemeVars = ({
89
92
'--chat-bg-menu' : menuBg ,
90
93
'--chat-bg-menu-hover' : menuBgHover ,
91
94
'--chat-color-input' : inputBg ,
95
+ '--chat-color-spinner' : spinnerColor ,
92
96
'--chat-icon-color-search' : iconsColor . search ,
93
97
'--chat-icon-color-add' : iconsColor . add ,
94
98
'--chat-icon-color-menu' : iconsColor . menu ,
You can’t perform that action at this time.
0 commit comments