Skip to content

Commit f3baa5d

Browse files
authored
Infra/ migrate Incubator ChipsList to design tokens (#1941)
1 parent 4f0b093 commit f3baa5d

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

demo/src/screens/incubatorScreens/IncubatorChipsInputScreen.tsx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,16 @@ export default class ChipsInputScreen extends Component {
1717
<Incubator.ChipsInput
1818
placeholder="Enter chips"
1919
defaultChipProps={{
20-
backgroundColor: Colors.primary,
21-
labelStyle: {color: Colors.white},
20+
backgroundColor: Colors.$backgroundPrimaryHeavy,
21+
labelStyle: {color: Colors.$textDefaultLight},
2222
containerStyle: {borderWidth: 0},
23-
dismissColor: Colors.white
23+
dismissColor: Colors.$iconDefaultLight
2424
}}
2525
invalidChipProps={{
26-
dismissColor: Colors.red30,
27-
labelStyle: {color: Colors.red30},
28-
backgroundColor: Colors.white,
29-
containerStyle: {borderColor: Colors.red30}
26+
dismissColor: Colors.$iconDanger,
27+
labelStyle: {color: Colors.$textDanger},
28+
backgroundColor: Colors.$backgroundDefault,
29+
containerStyle: {borderColor: Colors.$outlineDanger}
3030
}}
3131
chips={this.state.chips}
3232
leadingAccessory={<Text>TO: </Text>}

0 commit comments

Comments
 (0)