From 9a0fc8409c7a783348ec212fa9f38d0a98413467 Mon Sep 17 00:00:00 2001 From: Rigel Kent Date: Tue, 4 Sep 2018 01:28:04 +0200 Subject: add theming via css custom properties and a bonus dark color theme toggle --- .../videos/+video-watch/comment/video-comment.component.scss | 2 +- client/src/app/videos/+video-watch/video-watch.component.scss | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'client/src/app/videos/+video-watch') diff --git a/client/src/app/videos/+video-watch/comment/video-comment.component.scss b/client/src/app/videos/+video-watch/comment/video-comment.component.scss index 78bcfe121..285db061f 100644 --- a/client/src/app/videos/+video-watch/comment/video-comment.component.scss +++ b/client/src/app/videos/+video-watch/comment/video-comment.component.scss @@ -35,7 +35,7 @@ .comment-account { @include disable-default-a-behaviour; - color: #000; + color: var(--mainForegroundColor); font-weight: $font-bold; } diff --git a/client/src/app/videos/+video-watch/video-watch.component.scss b/client/src/app/videos/+video-watch/video-watch.component.scss index be1388a83..edd5ae6ba 100644 --- a/client/src/app/videos/+video-watch/video-watch.component.scss +++ b/client/src/app/videos/+video-watch/video-watch.component.scss @@ -111,7 +111,7 @@ a { @include disable-default-a-behaviour; - color: #000; + color: var(--mainForegroundColor); &:hover { opacity: 0.8; @@ -137,7 +137,7 @@ display: inline; align-items: center; font-size: 13px; - color: #000; + color: var(--mainForegroundColor); span:hover { opacity: 0.8; @@ -342,7 +342,7 @@ a.video-attribute-value { @include disable-default-a-behaviour; - color: #000; + color: var(--mainForegroundColor); &:hover { opacity: 0.9; @@ -413,7 +413,7 @@ a { @include disable-default-a-behaviour; - color: $orange-color; + color: var(--mainColor); transition: color 0.3s; &:hover { @@ -422,7 +422,7 @@ } .privacy-concerns-okay { - background-color: $orange-color; + background-color: var(--mainColor); padding: 5px 8px 5px 7px; margin-left: auto; border-radius: 3px; -- cgit v1.2.3