File tree Expand file tree Collapse file tree 1 file changed +22
-18
lines changed
docs/documentation/introduction Expand file tree Collapse file tree 1 file changed +22
-18
lines changed Original file line number Diff line number Diff line change @@ -44,15 +44,17 @@ function CustomButtonExample() {
44
44
paddingY: 8 ,
45
45
borderRadius: 5 ,
46
46
backgroundColor: ' indianred' ,
47
- _hover: {
48
- backgroundColor: ' firebrick' ,
49
- },
50
- _active: {
51
- backgroundColor: ' darkred' ,
52
- },
53
- _focus: {
54
- boxShadow: ' 0 0 0 2px lightcoral' ,
55
- },
47
+ selectors: {
48
+ _hover: {
49
+ backgroundColor: ' firebrick' ,
50
+ },
51
+ _active: {
52
+ backgroundColor: ' darkred' ,
53
+ },
54
+ _focus: {
55
+ boxShadow: ' 0 0 0 2px lightcoral' ,
56
+ },
57
+ }
56
58
},
57
59
},
58
60
},
@@ -82,15 +84,17 @@ function CustomAppearancesExample() {
82
84
paddingY: 8 ,
83
85
borderRadius: 5 ,
84
86
backgroundColor: ' indianred' ,
85
- _hover: {
86
- backgroundColor: ' firebrick' ,
87
- },
88
- _active: {
89
- backgroundColor: ' darkred' ,
90
- },
91
- _focus: {
92
- boxShadow: ' 0 0 0 2px lightcoral' ,
93
- },
87
+ selectors: {
88
+ _hover: {
89
+ backgroundColor: ' firebrick' ,
90
+ },
91
+ _active: {
92
+ backgroundColor: ' darkred' ,
93
+ },
94
+ _focus: {
95
+ boxShadow: ' 0 0 0 2px lightcoral' ,
96
+ },
97
+ }
94
98
},
95
99
},
96
100
},
You can’t perform that action at this time.
0 commit comments