From 92422d6c18e7811690e439cb5439b0716a306b8b Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 16 Oct 2020 14:25:26 +0100 Subject: [PATCH] Publish button color --- epicyon-profile.css | 10 ++++++---- theme.py | 12 ++++++++++++ 2 files changed, 18 insertions(+), 4 deletions(-) diff --git a/epicyon-profile.css b/epicyon-profile.css index bb73ea9a..a73bf58b 100644 --- a/epicyon-profile.css +++ b/epicyon-profile.css @@ -41,7 +41,9 @@ --font-size-tox2: 8px; --time-color: #aaa; --time-vertical-align: 4px; + --publish-button-text: #FFFFFF; --button-text: #FFFFFF; + --publish-button-background: #999; --button-background: #999; --button-background-hover: #777; --button-selected: #666; @@ -1236,9 +1238,9 @@ aside .toggle-inside li { } .publishbtn { border-radius: var(--button-corner-radius); - background-color: var(--button-background); + background-color: var(--publish-button-background); border: none; - color: var(--button-text); + color: var(--publish-button-text); text-align: center; font-size: var(--font-size-header); font-family: Arial, Helvetica, sans-serif; @@ -1819,9 +1821,9 @@ aside .toggle-inside li { } .publishbtn { border-radius: var(--button-corner-radius); - background-color: var(--button-background); + background-color: var(--publish-button-background); border: none; - color: var(--button-text); + color: var(--publish-button-text); text-align: center; font-size: var(--font-size-newswire-mobile); font-family: Arial, Helvetica, sans-serif; diff --git a/theme.py b/theme.py index 5a4c9f15..8e5a59a1 100644 --- a/theme.py +++ b/theme.py @@ -293,6 +293,8 @@ def setThemeIndymedia(baseDir: str): "hashtag-vertical-spacing3": "100px", "hashtag-vertical-spacing4": "150px", "button-background-hover": "darkblue", + "publish-button-background": "#ff9900", + "publish-button-text": "#003366", "button-background": "#003366", "button-selected": "blue", "calendar-bg-color": "#0f0d10", @@ -385,6 +387,7 @@ def setThemeNight(baseDir: str): "hashtag-vertical-spacing3": "100px", "hashtag-vertical-spacing4": "150px", "button-background-hover": "#0481f5", + "publish-button-background": "#07447c", "button-background": "#07447c", "button-selected": "#0481f5", "calendar-bg-color": "#0f0d10", @@ -442,6 +445,7 @@ def setThemeStarlight(baseDir: str): "hashtag-vertical-spacing3": "100px", "hashtag-vertical-spacing4": "150px", "button-background-hover": "#a9282c", + "publish-button-background": "#69282c", "button-background": "#69282c", "button-small-background": "darkblue", "button-selected": "#a34046", @@ -505,6 +509,7 @@ def setThemeHenge(baseDir: str): "hashtag-vertical-spacing3": "100px", "hashtag-vertical-spacing4": "150px", "button-background-hover": "#444", + "publish-button-background": "#222", "button-background": "#222", "button-selected": "black", "dropdown-fg-color": "#dddddd", @@ -552,6 +557,7 @@ def setThemeZen(baseDir: str): "title-color": "#dddddd", "main-visited-color": "#dddddd", "button-background-hover": "#a63b35", + "publish-button-background": "#463b35", "button-background": "#463b35", "button-selected": "#26201d", "main-bg-color-dm": "#5c4a40", @@ -621,9 +627,11 @@ def setThemeLCD(baseDir: str): "button-selected": "black", "button-highlighted": "green", "button-background-hover": "#a3390d", + "publish-button-background": "#33390d", "button-background": "#33390d", "button-small-background": "#33390d", "button-text": "#9fb42b", + "publish-button-text": "#9fb42b", "button-small-text": "#9fb42b", "color: #FFFFFE;": "color: #9fb42b;", "calendar-bg-color": "#eee", @@ -694,9 +702,11 @@ def setThemePurple(baseDir: str): "main-visited-color": "#f93bb0", "button-selected": "#c042a0", "button-background-hover": "#af42a0", + "publish-button-background": "#ff42a0", "button-background": "#ff42a0", "button-small-background": "#ff42a0", "button-text": "white", + "publish-button-text": "white", "button-small-text": "white", "color: #FFFFFE;": "color: #1f152d;", "calendar-bg-color": "#eee", @@ -745,9 +755,11 @@ def setThemeHacker(baseDir: str): "main-visited-color": "#3c8234", "button-selected": "#063200", "button-background-hover": "#a62200", + "publish-button-background": "#062200", "button-background": "#062200", "button-small-background": "#062200", "button-text": "#00ff00", + "publish-button-text": "#00ff00", "button-small-text": "#00ff00", "button-corner-radius": "4px", "timeline-border-radius": "4px",