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:
Javi Martín
2022-10-13 21:24:38 +02:00
parent 5845dd46d9
commit 025d7bf9f8
2 changed files with 2 additions and 2 deletions

View File

@@ -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;

View File

@@ -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;