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() {
4444 paddingY: 8 ,
4545 borderRadius: 5 ,
4646 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+ }
5658 },
5759 },
5860 },
@@ -82,15 +84,17 @@ function CustomAppearancesExample() {
8284 paddingY: 8 ,
8385 borderRadius: 5 ,
8486 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+ }
9498 },
9599 },
96100 },
You can’t perform that action at this time.
0 commit comments