aboutsummaryrefslogtreecommitdiffhomepage
path: root/client
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-05-22 11:15:31 +0200
committerChocobozzz <me@florianbigard.com>2020-05-22 11:15:31 +0200
commit5f57df54627c61817226768bb360a8a93ea2c0b9 (patch)
tree1bfb456d337210515c2d2319e1ba11ec72adb255 /client
parentefc84bdc494a3b102e4aa8bc2d24a3766bd0d751 (diff)
downloadPeerTube-5f57df54627c61817226768bb360a8a93ea2c0b9.tar.gz
PeerTube-5f57df54627c61817226768bb360a8a93ea2c0b9.tar.zst
PeerTube-5f57df54627c61817226768bb360a8a93ea2c0b9.zip
Fix action button icons theme
Diffstat (limited to 'client')
-rw-r--r--client/src/app/videos/+video-watch/video-watch.component.scss10
-rw-r--r--client/src/sass/application.scss2
-rw-r--r--client/src/sass/include/_variables.scss2
3 files changed, 9 insertions, 5 deletions
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 977312a83..e59e6613b 100644
--- a/client/src/app/videos/+video-watch/video-watch.component.scss
+++ b/client/src/app/videos/+video-watch/video-watch.component.scss
@@ -255,21 +255,21 @@ $video-info-margin-left: 44px;
255 255
256 &.action-button-like.activated { 256 &.action-button-like.activated {
257 .count { 257 .count {
258 color: $activated-action-button-color; 258 color: var(--activatedActionButtonColor);
259 } 259 }
260 260
261 my-global-icon { 261 my-global-icon {
262 @include apply-svg-color($activated-action-button-color); 262 @include apply-svg-color(var(--activatedActionButtonColor));
263 } 263 }
264 } 264 }
265 265
266 &.action-button-dislike.activated { 266 &.action-button-dislike.activated {
267 .count { 267 .count {
268 color: $activated-action-button-color; 268 color: var(--activatedActionButtonColor);
269 } 269 }
270 270
271 my-global-icon { 271 my-global-icon {
272 @include apply-svg-color($activated-action-button-color); 272 @include apply-svg-color(var(--activatedActionButtonColor));
273 } 273 }
274 } 274 }
275 275
@@ -325,7 +325,7 @@ $video-info-margin-left: 44px;
325 background-color: #909090; 325 background-color: #909090;
326 326
327 &.liked { 327 &.liked {
328 background-color: $activated-action-button-color; 328 background-color: var(--activatedActionButtonColor);
329 } 329 }
330 } 330 }
331 } 331 }
diff --git a/client/src/sass/application.scss b/client/src/sass/application.scss
index 17ed5c8f8..22e1151c8 100644
--- a/client/src/sass/application.scss
+++ b/client/src/sass/application.scss
@@ -48,6 +48,8 @@ body {
48 --supportButtonColor: #{var(--actionButtonColor)}; 48 --supportButtonColor: #{var(--actionButtonColor)};
49 --supportButtonHeartColor: #{$support-button-heart}; 49 --supportButtonHeartColor: #{$support-button-heart};
50 50
51 --activatedActionButtonColor: #{$activated-action-button-color};
52
51 font-family: $main-fonts; 53 font-family: $main-fonts;
52 font-weight: $font-regular; 54 font-weight: $font-regular;
53 color: var(--mainForegroundColor); 55 color: var(--mainForegroundColor);
diff --git a/client/src/sass/include/_variables.scss b/client/src/sass/include/_variables.scss
index cdac8ae6f..58955802c 100644
--- a/client/src/sass/include/_variables.scss
+++ b/client/src/sass/include/_variables.scss
@@ -104,6 +104,8 @@ $variables: (
104 --markdownTextareaBackgroundColor: var(--markdownTextareaBackgroundColor), 104 --markdownTextareaBackgroundColor: var(--markdownTextareaBackgroundColor),
105 105
106 --actionButtonColor: var(--actionButtonColor), 106 --actionButtonColor: var(--actionButtonColor),
107 --activatedActionButtonColor: var(--activatedActionButtonColor),
108
107 --supportButtonColor: var(--supportButtonColor), 109 --supportButtonColor: var(--supportButtonColor),
108 --supportButtonBackgroundColor: var(--supportButtonBackgroundColor), 110 --supportButtonBackgroundColor: var(--supportButtonBackgroundColor),
109 --supportButtonHeartColor: var(--supportButtonHeartColor), 111 --supportButtonHeartColor: var(--supportButtonHeartColor),