From ee6fb8c619f6cbf7e54909783a2057f000fdab77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9mie=20Astori?= Date: Thu, 12 Apr 2018 00:52:05 -0400 Subject: [PATCH] Fix color of "More" preview button in Morning --- client/css/style.css | 9 +++++++-- client/themes/morning.css | 8 ++++---- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/client/css/style.css b/client/css/style.css index d02b9a1c..a362209d 100644 --- a/client/css/style.css +++ b/client/css/style.css @@ -2,6 +2,11 @@ @import "bootstrap.css"; @import "../../node_modules/primer-tooltips/build/build.css"; +:root { + /* Links and link-looking buttons */ + --link-color: #50a656; +} + html, body { height: 100%; @@ -29,7 +34,7 @@ body { a, a:hover, a:focus { - color: #50a656; + color: var(--link-color); } a { @@ -1416,7 +1421,7 @@ kbd { } #chat .toggle-content .more { - color: #50a656; + color: var(--link-color); font-weight: normal; margin-left: 10px; flex-shrink: 0; diff --git a/client/themes/morning.css b/client/themes/morning.css index b8a59938..c02ca6a3 100644 --- a/client/themes/morning.css +++ b/client/themes/morning.css @@ -1,3 +1,7 @@ +:root { + --link-color: #428bca; +} + body { color: #ccc; } @@ -81,10 +85,6 @@ body { #chat.colored-nicks .user.color-31 { color: #f2a4eb; } #chat.colored-nicks .user.color-32 { color: #85f27d; } -#chat a { - color: #428bca; -} - /* Increase contrast of some IRC colors */ .irc-fg2 { color: #0074d9; } .irc-fg5 { color: #e969a7; }