From 218f730c7bceda5511d46f26191e7b1726c9ffd3 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 31 Mar 2021 09:07:25 +0200 Subject: Theme breaking: --submenuColor becomes --submenuBackgroundColor --- client/src/sass/include/_mixins.scss | 6 +++--- client/src/sass/include/_variables.scss | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'client/src/sass/include') diff --git a/client/src/sass/include/_mixins.scss b/client/src/sass/include/_mixins.scss index affffc4cc..b3190a4e3 100644 --- a/client/src/sass/include/_mixins.scss +++ b/client/src/sass/include/_mixins.scss @@ -696,7 +696,7 @@ padding: 0.75rem 1rem; margin-bottom: 1rem; list-style: none; - background-color: pvar(--submenuColor); + background-color: pvar(--submenuBackgroundColor); border-radius: 0.25rem; .breadcrumb-item { @@ -751,7 +751,7 @@ & > a, & > div { padding: 20px; - background: pvar(--submenuColor); + background: pvar(--submenuBackgroundColor); border-radius: 4px; box-sizing: border-box; height: 100%; @@ -773,7 +773,7 @@ } } -@mixin divider($color: pvar(--submenuColor), $background: pvar(--mainBackgroundColor)) { +@mixin divider($color: pvar(--submenuBackgroundColor), $background: pvar(--mainBackgroundColor)) { width: 95%; border-top: .05rem solid $color; height: .05rem; diff --git a/client/src/sass/include/_variables.scss b/client/src/sass/include/_variables.scss index 724a897fa..532eaf650 100644 --- a/client/src/sass/include/_variables.scss +++ b/client/src/sass/include/_variables.scss @@ -48,7 +48,7 @@ $menu-bottom-color: #C6C6C6; $menu-width: 240px; $menu-lateral-padding: 26px; -$sub-menu-color: #F7F7F7; +$sub-menu-background-color: #F7F7F7; $sub-menu-height: 81px; $channel-background-color: #f6ede8; @@ -103,7 +103,7 @@ $variables: ( --menuBackgroundColor: var(--menuBackgroundColor), --menuForegroundColor: var(--menuForegroundColor), - --submenuColor: var(--submenuColor), + --submenuBackgroundColor: var(--submenuBackgroundColor), --channelBackgroundColor: var(--channelBackgroundColor), --inputForegroundColor: var(--inputForegroundColor), -- cgit v1.2.3