File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
packages/components/src/components/Checkbox Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -108,9 +108,7 @@ export function Checkbox({
108108 styleVars = { {
109109 primary : colors ?. primary ,
110110 border : colors ?. border ,
111- text : colors ?. text ,
112111 inputBg : colors ?. inputBg ,
113- checkIcon : colors ?. checkIcon ,
114112 } }
115113 type = "checkbox"
116114 { ...props }
@@ -120,7 +118,7 @@ export function Checkbox({
120118 as = { CheckIcon }
121119 props = { {
122120 color : disabled
123- ? 'light-dark(#D6D7DE, #373737 )'
121+ ? 'light-dark(#D6D7DE, #47474A )'
124122 : 'var(--checkIcon, #FFF)' ,
125123 className : css ( {
126124 pointerEvents : 'none' ,
@@ -145,10 +143,13 @@ export function Checkbox({
145143 < Text
146144 color = {
147145 disabled
148- ? 'light-dark(#D6D7DE, #373737 )'
146+ ? 'light-dark(#D6D7DE, #6F6E6E )'
149147 : 'var(--text, light-dark(#2F2F2F, #EDEDED))'
150148 }
151149 fontSize = "14px"
150+ styleVars = { {
151+ text : colors ?. text ,
152+ } }
152153 userSelect = "none"
153154 >
154155 { children }
You can’t perform that action at this time.
0 commit comments