Skip to content

Commit 657c1b3

Browse files
authored
ENGCOM-3596: Use semantic theme color variables, including global primary/secondary colors #19467
2 parents d8e1ed4 + c007491 commit 657c1b3

File tree

21 files changed

+43
-51
lines changed

21 files changed

+43
-51
lines changed

app/design/frontend/Magento/blank/Magento_Braintree/web/css/source/_module.less

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99

1010
@braintree-input-border__color: @color-gray76;
1111

12-
@braintree-error__color: @color-red10;
13-
@braintree-focus__color: @color-blue2;
14-
@braintree-success__color: @color-dark-green1;
12+
@braintree-error__color: @message-error__color;
13+
@braintree-focus__color: @theme__color__primary-alt;
14+
@braintree-success__color: @message-success__color;
1515

1616
@braintree-paypal-icon__height: 16px;
1717
@braintree-paypal-icon__width: 16px;

app/design/frontend/Magento/blank/Magento_Checkout/web/css/source/module/checkout/_progress-bar.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
@checkout-progress-bar-item__color: @primary__color;
1717
@checkout-progress-bar-item__margin: @indent__s;
1818
@checkout-progress-bar-item__width: 185px;
19-
@checkout-progress-bar-item__active__background-color: @color-orange-red1;
19+
@checkout-progress-bar-item__active__background-color: @active__color;
2020
@checkout-progress-bar-item__complete__color: @link__color;
2121

2222
@checkout-progress-bar-item-element__height: @checkout-progress-bar-item-element__width;

app/design/frontend/Magento/blank/Magento_Checkout/web/css/source/module/checkout/_shipping.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
@checkout-shipping-item__width: 100%/3;
2323
@checkout-shipping-item-tablet__width: 100%/2;
2424
@checkout-shipping-item-mobile__width: 100%;
25-
@checkout-shipping-item__active__border-color: @color-orange-red1;
25+
@checkout-shipping-item__active__border-color: @active__color;
2626

2727
@checkout-shipping-item-icon__selected__height: 27px;
2828
@checkout-shipping-item-icon__selected__width: 29px;

app/design/frontend/Magento/blank/Magento_Customer/web/css/source/_module.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
@account-nav-color: false;
1212

1313
@account-nav-current-border: 3px solid transparent;
14-
@account-nav-current-border-color: @color-orange-red1;
14+
@account-nav-current-border-color: @active__color;
1515
@account-nav-current-color: false;
1616
@account-nav-current-font-weight: @font-weight__semibold;
1717

app/design/frontend/Magento/blank/Magento_Multishipping/web/css/source/_module.less

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
}
4848

4949
.error-block {
50-
color: @color-red10;
50+
color: @error__color;
5151

5252
.error-label {
5353
font-weight: @font-weight__bold;
@@ -222,7 +222,7 @@
222222
}
223223

224224
.error-description {
225-
color: @color-red10;
225+
color: @error__color;
226226
font-weight: @font-weight__regular;
227227
margin-bottom: @indent__s;
228228
margin-top: -@indent__s;

app/design/frontend/Magento/blank/Magento_Swatches/web/css/source/_module.less

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
@swatch-option__selected__border: @swatch-option__hover__border;
2020
@swatch-option__selected__color: @swatch-option__hover__color;
21-
@swatch-option__selected__outline: 2px solid @color-orange-red1;
21+
@swatch-option__selected__outline: 2px solid @active__color;
2222

2323
@swatch-option__disabled__background: @color-red10;
2424

@@ -38,7 +38,7 @@
3838

3939
// Image and Color swatch
4040
@img-color-swatch-option__hover__border: @swatch-option__hover__border;
41-
@img-color-swatch-option__hover__outline: 2px solid #e00;
41+
@img-color-swatch-option__hover__outline: 2px solid darken(@active__color, 12%);
4242

4343
// Tooltip
4444
@swatch-option-tooltip__background: @color-white;
@@ -54,7 +54,7 @@
5454
@swatch-option-tooltip-layered-title__color: @swatch-option-tooltip-title__color;
5555

5656
// Layered Features
57-
@swatch-option-link-layered__focus__box-shadow: 0 0 3px 1px @color-sky-blue1;
57+
@swatch-option-link-layered__focus__box-shadow: 0 0 3px 1px @focus__color;
5858

5959
//
6060
// Common

app/design/frontend/Magento/luma/Magento_Checkout/web/css/source/module/_cart.less

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -146,12 +146,6 @@
146146
}
147147

148148
&:extend(.abs-adjustment-incl-excl-tax all);
149-
150-
.action {
151-
&.multicheckout {
152-
color: @color-blue2;
153-
}
154-
}
155149
}
156150

157151
// Totals block

app/design/frontend/Magento/luma/Magento_Checkout/web/css/source/module/checkout/_progress-bar.less

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
@checkout-progress-bar-item__transition: background .3s;
1919
@checkout-progress-bar-item__width: 185px;
2020

21-
@checkout-progress-bar-item__active__background-color: @color-orange-red1;
21+
@checkout-progress-bar-item__active__background-color: @active__color;
2222
@checkout-progress-bar-item__active__color: @primary__color;
2323
@checkout-progress-bar-item__active__font-weight: @font-weight__semibold;
2424
@checkout-progress-bar-item__complete__color: @link__color;
@@ -32,7 +32,7 @@
3232
@checkout-progress-bar-item-element-inner__color: @primary__color;
3333
@checkout-progress-bar-item-element-inner__height: @checkout-progress-bar-item-element-inner__width;
3434
@checkout-progress-bar-item-element-inner__width: @checkout-progress-bar-item-element__width - ( @checkout-progress-bar-item-element-outer-radius__width*2 );
35-
@checkout-progress-bar-item-element-inner__active__border-color: @color-orange-red1;
35+
@checkout-progress-bar-item-element-inner__active__border-color: @active__color;
3636
@checkout-progress-bar-item-element-inner__active__content: @icon-checkmark;
3737

3838
@checkout-progress-bar-item-element-outer-radius__width: 6px;

app/design/frontend/Magento/luma/Magento_Checkout/web/css/source/module/checkout/_shipping.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
@checkout-shipping-item__width: 100%/3;
2323
@checkout-shipping-item-tablet__width: 100%/2;
2424
@checkout-shipping-item-mobile__width: 100%;
25-
@checkout-shipping-item__active__border-color: @color-orange-red1;
25+
@checkout-shipping-item__active__border-color: @active__color;
2626

2727
@checkout-shipping-item-icon__selected__height: 27px;
2828
@checkout-shipping-item-icon__selected__width: 29px;

app/design/frontend/Magento/luma/Magento_GiftMessage/web/css/source/_module.less

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
@gift-item-block__border-color: @color-gray-light5;
1313
@gift-item-block__border-width: @border-width__base;
1414

15-
@gift-item-block-title__color: @color-blue1;
15+
@gift-item-block-title__color: @link__color;
1616
@gift-item-block-title-icon__content: @icon-down;
1717
@gift-item-block-title-icon__active__content: @icon-up;
1818
@gift-item-block-title-icon__color: @color-gray52;
@@ -60,8 +60,8 @@
6060
}
6161

6262
.gift-summary {
63-
position: relative;
6463
margin-top: @indent__s;
64+
position: relative;
6565

6666
.actions-toolbar {
6767
> .secondary {

0 commit comments

Comments
 (0)