Remove duplication in sidebar color definition
We're going to change that code so it uses color-pick-contrast, so we're refactoring it first.
This commit is contained in:
@@ -21,7 +21,7 @@ $admin-border: 2px solid $admin-border-color;
|
|||||||
$admin-color: #245b80;
|
$admin-color: #245b80;
|
||||||
$admin-text: #434d54;
|
$admin-text: #434d54;
|
||||||
|
|
||||||
$sidebar: #245b80;
|
$sidebar: $admin-color;
|
||||||
$sidebar-hover: #25597c;
|
$sidebar-hover: #25597c;
|
||||||
$sidebar-active: #f4fcd0;
|
$sidebar-active: #f4fcd0;
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
.admin-sidebar {
|
.admin-sidebar {
|
||||||
background: $sidebar;
|
background: $sidebar;
|
||||||
background: linear-gradient(to bottom, #245b80 0%, #488fb5 100%);
|
background: linear-gradient(to bottom, $sidebar 0%, #488fb5 100%);
|
||||||
border-right: 1px solid $border;
|
border-right: 1px solid $border;
|
||||||
color: $white;
|
color: $white;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user