diff options
author | Mathieu Brunot <mathieu.brunot@monogramm.io> | 2020-11-30 16:45:22 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-30 16:45:22 +0100 |
commit | a742b4b0e215f49928f7389d09de1023414fbeff (patch) | |
tree | a6662eff745b80a59e16e337a706973742f3684b /client/src/sass | |
parent | 617f4f5cb2ac44df481851ff4165a79820b6b146 (diff) | |
download | PeerTube-a742b4b0e215f49928f7389d09de1023414fbeff.tar.gz PeerTube-a742b4b0e215f49928f7389d09de1023414fbeff.tar.zst PeerTube-a742b4b0e215f49928f7389d09de1023414fbeff.zip |
Fix themes colors by using SCSS variables (#3376)
* :lipstick: Use foreground var for code
* :lipstick: Use submenu var color
* :lipstick: Use foreground var color for menu
* :bug: Fix var used in menu
Diffstat (limited to 'client/src/sass')
-rw-r--r-- | client/src/sass/application.scss | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/client/src/sass/application.scss b/client/src/sass/application.scss index 25db91670..ece8411af 100644 --- a/client/src/sass/application.scss +++ b/client/src/sass/application.scss | |||
@@ -105,6 +105,7 @@ label { | |||
105 | 105 | ||
106 | code { | 106 | code { |
107 | background-color: pvar(--greyBackgroundColor); | 107 | background-color: pvar(--greyBackgroundColor); |
108 | color: pvar(--greyForegroundColor); | ||
108 | border-radius: 3px; | 109 | border-radius: 3px; |
109 | padding: .2em .4em; | 110 | padding: .2em .4em; |
110 | margin: auto .4em; | 111 | margin: auto .4em; |
@@ -261,7 +262,7 @@ code { | |||
261 | opacity: 0.6; | 262 | opacity: 0.6; |
262 | 263 | ||
263 | &.active { | 264 | &.active { |
264 | background-color: #f0f0f0; | 265 | background-color: pvar(--submenuColor); |
265 | } | 266 | } |
266 | 267 | ||
267 | &.active, &:hover, &:active, &:focus { | 268 | &.active, &:hover, &:active, &:focus { |