@@ -56,23 +56,23 @@ export default class BadgesScreen extends Component {
56
56
label = { '999' }
57
57
labelFormatterLimit = { 2 }
58
58
borderWidth = { 2 }
59
- borderColor = { Colors . white }
59
+ borderColor = { Colors . $outlineInverted }
60
60
/>
61
61
< Badge labelFormatterLimit = { 1 } size = { 16 } label = { '99999999' } />
62
62
</ View >
63
63
64
64
< View row spread marginV-20 >
65
- < Badge size = { 20 } label = { value . toString ( ) } backgroundColor = { Colors . red30 } />
65
+ < Badge size = { 20 } label = { value . toString ( ) } backgroundColor = { Colors . $backgroundDangerHeavy } />
66
66
< Badge
67
67
label = { value . toString ( ) }
68
- backgroundColor = { Colors . red30 }
68
+ backgroundColor = { Colors . $backgroundDangerHeavy }
69
69
borderWidth = { 1 }
70
70
borderColor = { Colors . $outlinePrimary }
71
71
/>
72
72
< Badge
73
73
size = { 16 }
74
74
label = { value . toString ( ) }
75
- backgroundColor = { Colors . red30 }
75
+ backgroundColor = { Colors . $backgroundDangerHeavy }
76
76
/>
77
77
</ View >
78
78
< View center >
@@ -94,9 +94,9 @@ export default class BadgesScreen extends Component {
94
94
</ Text >
95
95
</ View >
96
96
< View center style = { { justifyContent : 'space-around' , width : 40 , height : 140 } } >
97
- < Badge containerStyle = { { marginLeft : BadgesSpace } } backgroundColor = { Colors . green30 } size = { 6 } />
98
- < Badge containerStyle = { { marginLeft : BadgesSpace } } backgroundColor = { Colors . red30 } size = { 10 } />
99
- < Badge containerStyle = { { marginLeft : BadgesSpace } } backgroundColor = { Colors . blue30 } size = { 14 } />
97
+ < Badge containerStyle = { { marginLeft : BadgesSpace } } backgroundColor = { Colors . $backgroundSuccessHeavy } size = { 6 } />
98
+ < Badge containerStyle = { { marginLeft : BadgesSpace } } backgroundColor = { Colors . $backgroundDangerHeavy } size = { 10 } />
99
+ < Badge containerStyle = { { marginLeft : BadgesSpace } } backgroundColor = { Colors . $backgroundGeneralHeavy } size = { 14 } />
100
100
</ View >
101
101
</ View >
102
102
@@ -109,30 +109,30 @@ export default class BadgesScreen extends Component {
109
109
size = { 16 }
110
110
icon = { star }
111
111
borderWidth = { 1 }
112
- borderColor = { Colors . red30 }
113
- iconStyle = { { tintColor : Colors . red30 } }
112
+ borderColor = { Colors . $outlineDanger }
113
+ iconStyle = { { tintColor : Colors . $iconDangerLight } }
114
114
/>
115
115
< Text $textDefault text80 style = { { marginTop : 10 } } >
116
116
small(16)
117
117
</ Text >
118
118
</ View >
119
119
120
120
< View center >
121
- < Badge icon = { star } iconStyle = { { tintColor : Colors . red30 } } />
121
+ < Badge icon = { star } iconStyle = { { tintColor : Colors . $iconDangerLight } } />
122
122
< Text $textDefault text80 style = { { marginTop : 10 } } >
123
123
default(20)
124
124
</ Text >
125
125
</ View >
126
126
127
127
< View center >
128
- < Badge size = { 24 } icon = { star } iconStyle = { { backgroundColor : Colors . red30 } } />
128
+ < Badge size = { 24 } icon = { star } iconStyle = { { backgroundColor : Colors . $iconDangerLight } } />
129
129
< Text $textDefault text80 style = { { marginTop : 10 } } >
130
130
large(24)
131
131
</ Text >
132
132
</ View >
133
133
134
134
< View center >
135
- < Badge icon = { star } borderRadius = { 6 } iconStyle = { { backgroundColor : Colors . red30 } } />
135
+ < Badge icon = { star } borderRadius = { 6 } iconStyle = { { backgroundColor : Colors . $iconDangerLight } } />
136
136
< Text $textDefault text80 style = { { marginTop : 10 } } >
137
137
border radius
138
138
</ Text >
@@ -143,16 +143,16 @@ export default class BadgesScreen extends Component {
143
143
Counter Icon Badges
144
144
</ Text >
145
145
< View row spread marginH-50 >
146
- < Badge marginR-10 label = { '9999' } labelFormatterLimit = { 3 } icon = { bell } backgroundColor = { Colors . red30 } />
147
- < Badge marginR-10 label = { '4' } icon = { bell } backgroundColor = { Colors . red30 } />
146
+ < Badge marginR-10 label = { '9999' } labelFormatterLimit = { 3 } icon = { bell } backgroundColor = { Colors . $backgroundDangerHeavy } />
147
+ < Badge marginR-10 label = { '4' } icon = { bell } backgroundColor = { Colors . $backgroundDangerHeavy } />
148
148
</ View >
149
149
150
150
< Text row center text50 $textDefault margin-25 >
151
151
Custom Element Badges
152
152
</ Text >
153
153
< View row spread marginH-50 >
154
154
< Badge marginR-10 label = { '17' } customElement = { this . customElement1 } />
155
- < Badge marginR-10 customElement = { this . customElement2 } backgroundColor = { Colors . grey30 } />
155
+ < Badge marginR-10 customElement = { this . customElement2 } backgroundColor = { Colors . $backgroundNeutralHeavy } />
156
156
</ View >
157
157
</ ScrollView >
158
158
</ View >
0 commit comments