Skip to content

Commit a217272

Browse files
authored
Infra/ update outline design tokens (#1959)
1 parent 02bead2 commit a217272

File tree

11 files changed

+12
-16
lines changed

11 files changed

+12
-16
lines changed

demo/src/screens/componentScreens/AvatarsScreen.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ const examples = [
6565
icon: star,
6666
size: 14,
6767
borderWidth: 1.5,
68-
borderColor: Colors.$outlineLight,
68+
borderColor: Colors.$outlineInverted,
6969
iconStyle: {backgroundColor: Colors.$backgroundWarningHeavy}
7070
}
7171
},
@@ -107,7 +107,7 @@ const examples = [
107107
label: '+2',
108108
size: 24,
109109
borderWidth: 1.5,
110-
borderColor: Colors.$outlineLight
110+
borderColor: Colors.$outlineInverted
111111
}
112112
}
113113
];

demo/src/screens/componentScreens/SliderScreen.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ const styles = StyleSheet.create({
196196
height: 20,
197197
borderRadius: 4,
198198
borderWidth: 1,
199-
borderColor: Colors.$outlineNeutral
199+
borderColor: Colors.$outlineDefault
200200
},
201201
group: {
202202
backgroundColor: Colors.$backgroundNeutralMedium,

demo/src/screens/incubatorScreens/IncubatorToastScreen.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ export default class ToastsScreen extends Component {
110110
// backgroundColor={Colors.$backgroundSuccess}
111111
// icon={Assets.icons.demo.add}
112112
// iconColor={Colors.$backgroundSuccessHeavy}
113-
// style={{borderWidth: 1, borderColor: Colors.$outlineNeutralMedium}}
113+
// style={{borderWidth: 1, borderColor: Colors.$outlineDisabled}}
114114
// messageStyle={Typography.text80BO}
115115
>
116116
{isCustomContent ? this.renderCustomContent() : undefined}

src/components/dateTimePicker/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ const styles = StyleSheet.create({
306306
header: {
307307
height: 56,
308308
borderBottomWidth: 1,
309-
borderBottomColor: Colors.$outlineNeutral
309+
borderBottomColor: Colors.$outlineDefault
310310
},
311311
dialog: {
312312
backgroundColor: Colors.$backgroundDefault,

src/components/picker/PickerItem.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ const styles = StyleSheet.create({
102102
container: {
103103
height: 56.5,
104104
paddingHorizontal: 23,
105-
borderColor: Colors.$outlineNeutral,
105+
borderColor: Colors.$outlineDefault,
106106
borderBottomWidth: 1
107107
},
108108
labelText: {

src/components/picker/PickerItemsList.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ const styles = StyleSheet.create({
7878
alignItems: 'center',
7979
paddingLeft: 16,
8080
borderBottomWidth: StyleSheet.hairlineWidth,
81-
borderBottomColor: Colors.$outlineNeutral
81+
borderBottomColor: Colors.$outlineDefault
8282
},
8383
searchIcon: {
8484
marginRight: 12

src/incubator/Dialog/DialogHeader.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ const styles = StyleSheet.create({
5353
height: Spacings.s1,
5454
marginTop: Spacings.s2,
5555
marginBottom: Spacings.s2,
56-
backgroundColor: Colors.$outlineNeutral,
56+
backgroundColor: Colors.$outlineDefault,
5757
borderRadius: BorderRadiuses.br10
5858
}
5959
});

src/incubator/TextField/presets/default.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const colorByState = {
1010
const styles = StyleSheet.create({
1111
field: {
1212
borderBottomWidth: 1,
13-
borderBottomColor: Colors.$outlineNeutralMedium,
13+
borderBottomColor: Colors.$outlineDisabled,
1414
paddingBottom: Spacings.s2
1515
},
1616
input: {

src/incubator/WheelPicker/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ const styles = StyleSheet.create({
302302
borderTopWidth: 1,
303303
borderBottomWidth: 1,
304304
height: Spacings.s9,
305-
borderColor: Colors.$outlineNeutral
305+
borderColor: Colors.$outlineDefault
306306
},
307307
label: {
308308
position: 'absolute',

src/style/designTokens.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,7 @@ export default {
5959
$iconDisabled: colorsPalette.grey50,
6060

6161
// OUTLINE
62-
$outlineLight: colorsPalette.white,
63-
$outlineNeutral: colorsPalette.grey60,
64-
$outlineNeutralMedium: colorsPalette.grey50,
62+
$outlineDefault: colorsPalette.grey60,
6563
$outlineDisabled: colorsPalette.grey50,
6664
$outlineDisabledHeavy: colorsPalette.grey30,
6765
$outlinePrimary: colorsPalette.violet30,

src/style/designTokensDM.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,7 @@ export default {
5959
$iconDisabled: colorsPalette.grey20,
6060

6161
// OUTLINE
62-
$outlineLight: colorsPalette.grey70,
63-
$outlineNeutral: colorsPalette.grey10,
64-
$outlineNeutralMedium: colorsPalette.grey20,
62+
$outlineDefault: colorsPalette.grey10,
6563
$outlineDisabled: colorsPalette.grey20,
6664
$outlineDisabledHeavy: colorsPalette.grey40,
6765
$outlinePrimary: colorsPalette.violet50,

0 commit comments

Comments
 (0)