@@ -86,6 +86,7 @@ module.exports = {
8686 iconColor : defaultTheme . colors . gray [ 500 ] ,
8787 backgroundPosition : `right ${ defaultTheme . spacing [ 2 ] } center` ,
8888 backgroundSize : `1.5em 1.5em` ,
89+ icon : iconColor => `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="${ iconColor } "><path d="M15.3 9.3a1 1 0 0 1 1.4 1.4l-4 4a1 1 0 0 1-1.4 0l-4-4a1 1 0 0 1 1.4-1.4l3.3 3.29 3.3-3.3z"/></svg>` ,
8990 '&:focus' : {
9091 outline : 'none' ,
9192 boxShadow : defaultTheme . boxShadow . outline ,
@@ -110,18 +111,20 @@ module.exports = {
110111 flexShrink : 0 ,
111112 height : '1em' ,
112113 width : '1em' ,
114+ color : defaultTheme . colors . blue [ 500 ] ,
115+ backgroundColor : defaultTheme . colors . white ,
113116 borderColor : defaultTheme . borderColor . default ,
114117 borderWidth : defaultTheme . borderWidth . default ,
115118 borderRadius : defaultTheme . borderRadius . default ,
116- backgroundColor : defaultTheme . colors . white ,
119+ icon : iconColor => `<svg viewBox="0 0 16 16" fill=" ${ iconColor } " xmlns="http://www.w3.org/2000/svg"><path d="M5.707 7.293a1 1 0 0 0-1.414 1.414l2 2a1 1 0 0 0 1.414 0l4-4a1 1 0 0 0-1.414-1.414L7 8.586 5.707 7.293z"/></svg>` ,
117120 '&:focus' : {
118121 outline : 'none' ,
119122 boxShadow : defaultTheme . boxShadow . outline ,
120123 borderColor : defaultTheme . colors . blue [ 400 ] ,
121124 } ,
122125 '&:checked' : {
123- backgroundColor : defaultTheme . colors . blue [ 500 ] ,
124- borderColor : defaultTheme . colors . blue [ 500 ] ,
126+ borderColor : 'transparent' ,
127+ backgroundColor : 'currentColor' ,
125128 backgroundSize : '100% 100%' ,
126129 backgroundPosition : 'center' ,
127130 backgroundRepeat : 'no-repeat' ,
@@ -147,17 +150,19 @@ module.exports = {
147150 borderRadius : '100%' ,
148151 height : '1em' ,
149152 width : '1em' ,
153+ color : defaultTheme . colors . blue [ 500 ] ,
154+ backgroundColor : defaultTheme . colors . white ,
150155 borderColor : defaultTheme . borderColor . default ,
151156 borderWidth : defaultTheme . borderWidth . default ,
152- backgroundColor : defaultTheme . colors . white ,
157+ icon : iconColor => `<svg viewBox="0 0 16 16" fill=" ${ iconColor } " xmlns="http://www.w3.org/2000/svg"><circle cx="8" cy="8" r="3"/></svg>` ,
153158 '&:focus' : {
154159 outline : 'none' ,
155160 boxShadow : defaultTheme . boxShadow . outline ,
156161 borderColor : defaultTheme . colors . blue [ 400 ] ,
157162 } ,
158163 '&:checked' : {
159- backgroundColor : defaultTheme . colors . blue [ 500 ] ,
160- borderColor : defaultTheme . colors . blue [ 500 ] ,
164+ borderColor : 'transparent' ,
165+ backgroundColor : 'currentColor' ,
161166 backgroundSize : '100% 100%' ,
162167 backgroundPosition : 'center' ,
163168 backgroundRepeat : 'no-repeat' ,
0 commit comments