File tree Expand file tree Collapse file tree 3 files changed +11
-2
lines changed Expand file tree Collapse file tree 3 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,10 @@ const variantSolid = defineStyle({
39
39
color : "background.base" ,
40
40
bg : "primary.base" ,
41
41
borderColor : "transparent" ,
42
+ _disabled : {
43
+ bg : "disabled" ,
44
+ color : "background.base" ,
45
+ } ,
42
46
_hover : {
43
47
color : "background.base" ,
44
48
bg : "primary.hover" ,
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ const semanticTokens = {
60
60
base : { _light : "white" , _dark : "gray.700" } ,
61
61
highlight : { _light : "gray.100" , _dark : "gray.900" } ,
62
62
} ,
63
- disabled : { _light : "gray.300 " , _dark : "gray.500" } ,
63
+ disabled : { _light : "gray.400 " , _dark : "gray.500" } ,
64
64
// ! Deprecating neutral
65
65
neutral : { _light : "white" , _dark : "gray.900" } ,
66
66
Original file line number Diff line number Diff line change @@ -47,7 +47,12 @@ export const StyleVariants: Story = {
47
47
< VStack spacing = { 4 } >
48
48
{ variants . map ( ( variant , idx ) => {
49
49
if ( args . isSecondary && variant === "solid" ) return
50
- return < Button key = { idx } variant = { variant } { ...args } />
50
+ return (
51
+ < HStack spacing = { 4 } key = { idx } >
52
+ < Button variant = { variant } { ...args } />
53
+ < Button variant = { variant } isDisabled { ...args } />
54
+ </ HStack >
55
+ )
51
56
} ) }
52
57
</ VStack >
53
58
) ,
You can’t perform that action at this time.
0 commit comments