Skip to content

Commit 4076ac1

Browse files
author
Oleg Zinoviev
committed
MAGETWO-31855: UI improvements
- updates for hex color variables.
1 parent c1ffce1 commit 4076ac1

File tree

15 files changed

+99
-57
lines changed

15 files changed

+99
-57
lines changed

app/design/frontend/Magento/blank/Magento_CatalogSearch/web/css/source/module.less

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

55
@autocomplete-background: @color-white;
66
@autocomplete-border: 1px solid @form-element-input-border-color;
7-
@autocomplete-item-border: 1px solid #e5e5e5;
8-
@autocomplete-item-hover: #e8e8e8;
9-
@autocomplete-item-amount-color: #999;
7+
@autocomplete-item-border: 1px solid @color-gray90;
8+
@autocomplete-item-hover: @color-gray91;
9+
@autocomplete-item-amount-color: @color-gray60;
1010

1111
//
1212
// Common

app/design/frontend/Magento/blank/Magento_Checkout/web/css/source/minicart.less

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -204,9 +204,9 @@
204204
@_icon-font-size: 28px,
205205
@_icon-font-line-height: 28px,
206206
@_icon-font-text-hide: true,
207-
@_icon-font-color: #303030,
208-
@_icon-font-color-hover: #303030,
209-
@_icon-font-color-active: #303030
207+
@_icon-font-color: @color-gray19,
208+
@_icon-font-color-hover: @color-gray19,
209+
@_icon-font-color-active: @color-gray19
210210
);
211211
}
212212
&.delete {

app/design/frontend/Magento/blank/Magento_Theme/web/css/source/collapsible_navigation.less

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
// */
44

55
@collapsible-nav-background: @sidebar-background;
6-
@collapsible-nav-item-hover: #e8e8e8;
6+
@collapsible-nav-item-hover: @color-gray91;
77
@collapsible-nav-color: false;
88
@collapsible-nav-current-color: false;
99
@collapsible-nav-current-font-weight: @font-weight-semibold;
1010
@collapsible-nav-current-border: 3px solid transparent;
11-
@collapsible-nav-current-border-color: #ff5501;
11+
@collapsible-nav-current-border-color: @color-orange-red1;
1212

1313

1414
//

app/design/frontend/Magento/blank/Magento_Theme/web/css/source/module.less

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
@import "collapsible_navigation.less";
66

77
@message-global-note-color: @text-color;
8-
@message-global-note-background: #ffee9c;
8+
@message-global-note-background: @color-yellow-light2;
99
@message-global-note-link-color: @link-color;
1010
@message-global-note-link-color-hover: @link-color-hover;
1111
@message-global-note-link-color-active: @link-color-active;
12-
@message-global-note-border-color: #d6ca8e;
12+
@message-global-note-border-color: @color-yellow-light3;
1313

1414
@message-global-caution-color: @color-white;
15-
@message-global-caution-background: #ff0101;
15+
@message-global-caution-background: @color-red9;
1616
@message-global-caution-link-color: @link-color;
1717
@message-global-caution-link-color-hover: @link-color-hover;
1818
@message-global-caution-link-color-active: @link-color-active;

app/design/frontend/Magento/blank/web/css/source/abstract.less

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -220,9 +220,9 @@
220220
@_icon-font-size: 26px,
221221
@_icon-font-line-height: 15px,
222222
@_icon-font-text-hide: true,
223-
@_icon-font-color: #303030,
224-
@_icon-font-color-hover: #303030,
225-
@_icon-font-color-active: #303030
223+
@_icon-font-color: @color-gray19,
224+
@_icon-font-color-hover: @color-gray19,
225+
@_icon-font-color-active: @color-gray19
226226
);
227227
}
228228

@@ -231,10 +231,10 @@
231231
//--------------------------------------
232232
.abs-product-link {
233233
.link(
234-
@_link-color: #303030,
235-
@_link-color-hover: #303030,
236-
@_link-color-active: #303030,
237-
@_link-color-visited: #303030
234+
@_link-color: @color-gray19,
235+
@_link-color-hover: @color-gray19,
236+
@_link-color-active: @color-gray19,
237+
@_link-color-visited: @color-gray19
238238
);
239239
}
240240

app/design/frontend/Magento/luma/Magento_Catalog/web/css/source/toolbar.less

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
@toolbar-mode-icon-font-size: 16px;
66
@toolbar-background: transparent;
7-
@toolbar-element-background: #f0f0f0;
7+
@toolbar-element-background: @color-gray94;
88
@pager-action-background: @toolbar-element-background;
99
@pager-action-background-hover: darken(@toolbar-element-background, 7%);
1010
@pager-font-weight: @font-weight-bold;
@@ -181,7 +181,7 @@
181181
&.active {
182182
.css(box-shadow, @button-shadow-active);
183183
background: darken(@toolbar-element-background, 7%);
184-
color: #9e9e9e;
184+
color: @color-gray62;
185185
}
186186
.icon-font(
187187
@icon-grid,

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

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

55
@autocomplete-background: @color-white;
66
@autocomplete-border: 1px solid @form-element-input-border-color;
7-
@autocomplete-item-border: 1px solid #e5e5e5;
8-
@autocomplete-item-hover: #e8e8e8;
9-
@autocomplete-item-amount-color: #999;
7+
@autocomplete-item-border: 1px solid @color-gray90;
8+
@autocomplete-item-hover: @color-gray91;
9+
@autocomplete-item-amount-color: @color-gray60;
1010

1111
//
1212
// Common

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// */
44

55
@mobile-cart-padding: 15px;
6-
@cart-price-color: #666;
6+
@cart-price-color: @color-gray40;
77
@cart-item-cell-padding-top: 20px;
88

99
//

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
// * @copyright Copyright (c) 2014 X.commerce, Inc. (http://www.magentocommerce.com)
33
// */
44

5-
@account-title-border-color: #c6c6c6;
6-
@account-table-border-bottom-color: #e4e4e4;
7-
@account-table-action-delete: #d10029;
5+
@account-title-border-color: @color-gray-middle2;
6+
@account-table-border-bottom-color: @color-gray-middle1;
7+
@account-table-action-delete: @color-red12;
88

99
//
1010
// Common

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -141,10 +141,10 @@
141141
margin-left: -5px;
142142
padding-right: 7px;
143143
&:hover {
144-
background-color: #e8e8e8;
144+
background-color: @color-gray91;
145145
text-decoration: none;
146146
& + .count {
147-
background-color: #e8e8e8;
147+
background-color: @color-gray91;
148148
}
149149
}
150150
}
@@ -421,7 +421,7 @@
421421
margin-left: 0;
422422
}
423423
&:hover {
424-
background-color: #e8e8e8;
424+
background-color: @color-gray91;
425425
}
426426
}
427427
}

0 commit comments

Comments
 (0)