@@ -7,62 +7,78 @@ export const badgeVariantStyles: {
77 backgroundColor : BoxStyleProps [ 'backgroundColor' ] ;
88 color : BoxStyleProps [ 'color' ] ;
99 borderRadius ?: BoxStyleProps [ 'borderRadius' ] ;
10+ boxShadow : BoxStyleProps [ 'boxShadow' ] ;
1011 } ;
1112} = {
1213 success : {
1314 backgroundColor : 'colorBackgroundSuccessWeakest' ,
1415 color : 'colorTextSuccess' ,
16+ boxShadow : 'shadowBorderSuccessWeaker' ,
1517 } ,
1618 error : {
1719 backgroundColor : 'colorBackgroundErrorWeakest' ,
18- color : 'colorTextErrorStrong' ,
20+ color : 'colorTextError' ,
21+ boxShadow : 'shadowBorderErrorWeaker' ,
1922 } ,
2023 warning : {
2124 backgroundColor : 'colorBackgroundWarningWeakest' ,
22- color : 'colorTextWarningStrong' ,
25+ color : 'colorTextWarning' ,
26+ boxShadow : 'shadowBorderWarningWeaker' ,
2327 } ,
2428 new : {
25- backgroundColor : 'colorBackgroundNew ' ,
29+ backgroundColor : 'colorBackgroundNewWeakest ' ,
2630 color : 'colorTextNew' ,
31+ boxShadow : 'shadowBorderNewWeaker' ,
2732 } ,
2833 neutral : {
2934 backgroundColor : 'colorBackgroundNeutralWeakest' ,
3035 color : 'colorTextNeutral' ,
36+ boxShadow : 'shadowBorderNeutralWeaker' ,
3137 } ,
3238 decorative10 : {
3339 backgroundColor : 'colorBackgroundDecorative10Weakest' ,
3440 color : 'colorTextDecorative10' ,
41+ boxShadow : 'shadowBorderDecorative10Weaker' ,
3542 } ,
3643 decorative20 : {
3744 backgroundColor : 'colorBackgroundDecorative20Weakest' ,
3845 color : 'colorTextDecorative20' ,
46+ boxShadow : 'shadowBorderDecorative20Weaker' ,
3947 } ,
4048 decorative30 : {
4149 backgroundColor : 'colorBackgroundDecorative30Weakest' ,
4250 color : 'colorTextDecorative30' ,
51+ boxShadow : 'shadowBorderDecorative30Weaker' ,
4352 } ,
4453 decorative40 : {
4554 backgroundColor : 'colorBackgroundDecorative40Weakest' ,
4655 color : 'colorTextDecorative40' ,
56+ boxShadow : 'shadowBorderDecorative40Weaker' ,
4757 } ,
4858 neutral_counter : {
4959 backgroundColor : 'colorBackgroundNeutralWeakest' ,
5060 color : 'colorTextNeutral' ,
5161 borderRadius : 'borderRadiusPill' ,
62+ boxShadow : 'shadowBorderNeutralWeaker' ,
5263 } ,
5364 error_counter : {
5465 backgroundColor : 'colorBackgroundErrorWeakest' ,
55- color : 'colorTextErrorStrong ' ,
66+ color : 'colorTextError ' ,
5667 borderRadius : 'borderRadiusPill' ,
68+ boxShadow : 'shadowBorderErrorWeaker' ,
5769 } ,
58- // the following variants are outdated but still supported to prevent breaking changes
70+ /*
71+ * the following variants are outdated but still supported to prevent breaking changes
72+ */
5973 default : {
6074 backgroundColor : 'colorBackground' ,
6175 color : 'colorTextWeak' ,
76+ boxShadow : 'shadowBorderDecorative10Weaker' ,
6277 } ,
6378 info : {
6479 backgroundColor : 'colorBackgroundNeutralWeakest' ,
6580 color : 'colorTextNeutral' ,
81+ boxShadow : 'shadowBorderNeutralWeaker' ,
6682 } ,
6783} ;
6884
0 commit comments