Skip to content

Commit 606b577

Browse files
committed
feat(tokens): change background step naming
1 parent 60c0f48 commit 606b577

20 files changed

+67
-67
lines changed

core/src/components/alert/alert.ios.vars.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ $alert-ios-input-padding-start: $alert-ios-input-padding-end;
114114
$alert-ios-input-placeholder-color: $placeholder-text-color;
115115

116116
/// @prop - Border color of the alert input
117-
$alert-ios-input-border-color: $background-color-step-250;
117+
$alert-ios-input-border-color: $gray-color-250;
118118

119119
/// @prop - Border of the alert input
120120
$alert-ios-input-border: $hairlines-width solid $alert-ios-input-border-color;

core/src/components/alert/alert.md.vars.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ $alert-md-input-border-width: 1px;
104104
$alert-md-input-border-style: solid;
105105

106106
/// @prop - Border color of the alert input
107-
$alert-md-input-border-color: $background-color-step-150;
107+
$alert-md-input-border-color: $gray-color-150;
108108

109109
/// @prop - Text color of the alert input
110110
$alert-md-input-text-color: $text-color;
@@ -209,7 +209,7 @@ $alert-md-radio-border-style: solid;
209209
$alert-md-radio-border-radius: 50%;
210210

211211
/// @prop - Border color of the alert radio when off
212-
$alert-md-radio-border-color-off: $background-color-step-550;
212+
$alert-md-radio-border-color-off: $gray-color-550;
213213

214214
/// @prop - Border color of the alert radio when on
215215
$alert-md-radio-border-color-on: $alert-md-button-text-color;
@@ -281,7 +281,7 @@ $alert-md-checkbox-border-style: solid;
281281
$alert-md-checkbox-border-radius: 2px;
282282

283283
/// @prop - Border color of the checkbox in the alert when off
284-
$alert-md-checkbox-border-color-off: $background-color-step-550;
284+
$alert-md-checkbox-border-color-off: $gray-color-550;
285285

286286
/// @prop - Border color of the checkbox in the alert when on
287287
$alert-md-checkbox-border-color-on: $alert-md-button-text-color;

core/src/components/alert/alert.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@
181181

182182
.alert-button.ion-focused,
183183
.alert-tappable.ion-focused {
184-
background: $background-color-step-100;
184+
background: $gray-color-100;
185185
}
186186

187187
.alert-button-inner {

core/src/components/datetime/datetime.ios.vars.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
// --------------------------------------------------
55

66
/// @prop - Border color for dividers between header and footer
7-
$datetime-ios-border-color: 0.55px solid globals.$background-color-step-200;
7+
$datetime-ios-border-color: 0.55px solid globals.$gray-color-200;
88

99
/// @prop - Padding for content
1010
$datetime-ios-padding: 16px;

core/src/components/input-otp/input-otp.md.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@
1616
// --------------------------------------------------
1717

1818
:host(.input-otp-fill-outline) {
19-
--border-color: #{$background-color-step-300};
19+
--border-color: #{$gray-color-300};
2020
}

core/src/components/input-otp/input-otp.native.scss

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
--border-style: solid;
1515
--separator-width: 8px;
1616
--separator-border-radius: 999px;
17-
--separator-color: #{$background-color-step-150};
17+
--separator-color: #{$gray-color-150};
1818
--highlight-color-focused: #{ion-color(primary, base)};
1919
--highlight-color-valid: #{ion-color(success, base)};
2020
--highlight-color-invalid: #{ion-color(danger, base)};
@@ -83,8 +83,8 @@
8383
}
8484

8585
:host(.input-otp-fill-solid) {
86-
--border-color: #{$background-color-step-50};
87-
--background: #{$background-color-step-50};
86+
--border-color: #{$gray-color-50};
87+
--background: #{$gray-color-50};
8888
}
8989

9090
// States
@@ -95,18 +95,18 @@
9595
}
9696

9797
:host(.input-otp-fill-outline.input-otp-disabled) {
98-
--background: #{$background-color-step-50};
99-
--border-color: #{$background-color-step-100};
98+
--background: #{$gray-color-50};
99+
--border-color: #{$gray-color-100};
100100
}
101101

102102
:host(.input-otp-fill-outline.input-otp-readonly) {
103-
--background: #{$background-color-step-50};
103+
--background: #{$gray-color-50};
104104
}
105105

106106
:host(.input-otp-fill-solid.input-otp-disabled),
107107
:host(.input-otp-fill-solid.input-otp-readonly) {
108-
--border-color: #{$background-color-step-100};
109-
--background: #{$background-color-step-100};
108+
--border-color: #{$gray-color-100};
109+
--background: #{$gray-color-100};
110110
}
111111

112112
// Colors

core/src/components/input/input.md.outline.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// ----------------------------------------------------------------
33

44
:host(.input-fill-outline) {
5-
--border-color: #{$background-color-step-300};
5+
--border-color: #{$gray-color-300};
66
--border-radius: 4px;
77
--padding-start: 16px;
88
--padding-end: 16px;
@@ -31,7 +31,7 @@
3131
*/
3232
@media (any-hover: hover) {
3333
:host(.input-fill-outline:hover) {
34-
--border-color: #{$background-color-step-750};
34+
--border-color: #{$gray-color-750};
3535
}
3636
}
3737

core/src/components/input/input.md.solid.scss

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
// ----------------------------------------------------------------
33

44
:host(.input-fill-solid) {
5-
--background: #{$background-color-step-50};
6-
--border-color: #{$background-color-step-500};
5+
--background: #{$gray-color-50};
6+
--border-color: #{$gray-color-500};
77
--border-radius: 4px;
88
--padding-start: 16px;
99
--padding-end: 16px;
@@ -44,8 +44,8 @@
4444
*/
4545
@media (any-hover: hover) {
4646
:host(.input-fill-solid:hover) {
47-
--background: #{$background-color-step-100};
48-
--border-color: #{$background-color-step-750};
47+
--background: #{$gray-color-100};
48+
--border-color: #{$gray-color-750};
4949
}
5050
}
5151

@@ -54,8 +54,8 @@
5454
* much darker on focus.
5555
*/
5656
:host(.input-fill-solid.has-focus) {
57-
--background: #{$background-color-step-150};
58-
--border-color: #{$background-color-step-750};
57+
--background: #{$gray-color-150};
58+
--border-color: #{$gray-color-750};
5959
}
6060

6161
:host(.input-fill-solid) .input-wrapper {

core/src/components/item-divider/item-divider.ios.vars.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ $item-divider-ios-font-size: dynamic-font(17px);
1414
$item-divider-ios-font-weight: 600;
1515

1616
/// @prop - Background for the divider
17-
$item-divider-ios-background: $background-color-step-100;
17+
$item-divider-ios-background: $gray-color-100;
1818

1919
/// @prop - Color for the divider
2020
$item-divider-ios-color: $text-color-150;

core/src/components/loading/loading.md.vars.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ $loading-md-border-radius: 2px;
3131
$loading-md-text-color: $text-color-150;
3232

3333
/// @prop - Background of the loading wrapper
34-
$loading-md-background: $background-color-step-50;
34+
$loading-md-background: $gray-color-50;
3535

3636
/// @prop - Box shadow color of the loading wrapper
3737
$loading-md-box-shadow-color: rgba(0, 0, 0, 0.4);

0 commit comments

Comments
 (0)