File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
src/@chakra-ui/gatsby-plugin/components Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -5,18 +5,23 @@ const variantSecondary: SystemStyleObject = {
5
5
color : "text" ,
6
6
}
7
7
8
+ const variantSolid : SystemStyleObject = {
9
+ color : "black300" ,
10
+ background : "primary100" ,
11
+ }
12
+
8
13
export const Badge : ComponentStyleConfig = {
9
14
baseStyle : {
10
15
borderRadius : "base" ,
11
16
border : "1px solid" ,
12
17
borderColor : "transparent" ,
13
- color : "black300" ,
14
18
fontWeight : "initial" ,
15
19
py : 1 ,
16
20
px : 2 ,
17
21
textTransform : "uppercase" ,
18
22
} ,
19
23
variants : {
24
+ solid : variantSolid ,
20
25
secondary : variantSecondary ,
21
26
} ,
22
27
sizes : {
@@ -29,6 +34,6 @@ export const Badge: ComponentStyleConfig = {
29
34
} ,
30
35
defaultProps : {
31
36
// Remove the default from Chakra
32
- variant : "" ,
37
+ variant : "solid " ,
33
38
} ,
34
39
}
You can’t perform that action at this time.
0 commit comments