From 327c71c3f76a002b4d1e276542a756f46730f5a6 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 25 Oct 2020 16:12:23 +0000 Subject: [PATCH] Button colors --- epicyon-profile.css | 5 +++-- theme.py | 12 +++++++++--- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/epicyon-profile.css b/epicyon-profile.css index 86e3d1f6b..aca7482ce 100644 --- a/epicyon-profile.css +++ b/epicyon-profile.css @@ -43,6 +43,7 @@ --time-vertical-align: 4px; --publish-button-text: #FFFFFF; --button-text: #FFFFFF; + --button-selected-text: #FFFFFF; --publish-button-background: #999; --button-background: #999; --button-background-hover: #777; @@ -1287,7 +1288,7 @@ aside .toggle-inside li { border-radius: var(--button-corner-radius); background-color: var(--button-selected); border: none; - color: var(--button-text); + color: var(--button-selected-text); text-align: center; font-size: var(--font-size-header); font-family: Arial, Helvetica, sans-serif; @@ -1870,7 +1871,7 @@ aside .toggle-inside li { border-radius: var(--button-corner-radius); background-color: var(--button-selected); border: none; - color: var(--button-text); + color: var(--button-selected-text); text-align: center; font-size: var(--font-size-button-mobile); font-family: Arial, Helvetica, sans-serif; diff --git a/theme.py b/theme.py index 1ab83968a..e77bf70ea 100644 --- a/theme.py +++ b/theme.py @@ -676,6 +676,7 @@ def setThemeLCD(baseDir: str): "button-background": "#33390d", "button-small-background": "#33390d", "button-text": "#9fb42b", + "button-selected-text": "#9fb42b", "publish-button-text": "#9fb42b", "button-small-text": "#9fb42b", "color: #FFFFFE;": "color: #9fb42b;", @@ -753,6 +754,7 @@ def setThemePurple(baseDir: str): "button-background": "#ff42a0", "button-small-background": "#ff42a0", "button-text": "white", + "button-selected-text": "white", "publish-button-text": "white", "button-small-text": "white", "color: #FFFFFE;": "color: #1f152d;", @@ -808,6 +810,7 @@ def setThemeHacker(baseDir: str): "button-background": "#062200", "button-small-background": "#062200", "button-text": "#00ff00", + "button-selected-text": "#00ff00", "publish-button-text": "#00ff00", "button-small-text": "#00ff00", "button-corner-radius": "4px", @@ -918,9 +921,12 @@ def setThemeIndymediaModern(baseDir: str): "newswire-date-color": "grey", "button-corner-radius": "7px", "timeline-border-radius": "0px", - "button-background": "#ddd", - "button-background-hover": "#eee", - "button-selected": "#eee", + "button-background": "#767674", + "button-background-hover": "#567674", + "button-selected": "white", + "button-selected-text": "black", + "button-selected-text": "white", + "button-text": "white", "hashtag-background-color": "#b2b2b2", "hashtag-fg-color": "white", "publish-button-background": "#25408f",