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 {
3939 height : 32px ;
4040 width : 32px ;
4141 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 ;
4545 border-radius : 50% ;
4646 -webkit-animation : spin 1s infinite linear ;
4747 animation : spin 1s infinite linear ;
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ export const defaultThemeColors = {
1111 textColorDark : '#0a0a0a' ,
1212 textColor : '#0a0a0a' ,
1313 inputBg : '#fff' ,
14+ spinnerColor : '#333' ,
1415 iconsColor : {
1516 search : '#9ca6af' ,
1617 add : '#1976d2' ,
@@ -42,6 +43,7 @@ export const defaultThemeColors = {
4243 textColorDark : '#0a0a0a' ,
4344 textColor : '#fff' ,
4445 inputBg : '#34343b' ,
46+ spinnerColor : '#fff' ,
4547 iconsColor : {
4648 search : '#9ca6af' ,
4749 add : '#fff' ,
@@ -75,6 +77,7 @@ export const cssThemeVars = ({
7577 textColorDark,
7678 textColor,
7779 inputBg,
80+ spinnerColor,
7881 iconsColor
7982} ) => {
8083 return {
@@ -89,6 +92,7 @@ export const cssThemeVars = ({
8992 '--chat-bg-menu' : menuBg ,
9093 '--chat-bg-menu-hover' : menuBgHover ,
9194 '--chat-color-input' : inputBg ,
95+ '--chat-color-spinner' : spinnerColor ,
9296 '--chat-icon-color-search' : iconsColor . search ,
9397 '--chat-icon-color-add' : iconsColor . add ,
9498 '--chat-icon-color-menu' : iconsColor . menu ,
You can’t perform that action at this time.
0 commit comments