From c8ef49161e5872229c10882b7ed3248d16055837 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 12 Aug 2020 10:28:29 +0000 Subject: [PATCH] Different colors for small buttons --- epicyon-options.css | 10 ++++++---- theme.py | 7 +++++++ 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/epicyon-options.css b/epicyon-options.css index 0a6b69aae..3619a2fd2 100644 --- a/epicyon-options.css +++ b/epicyon-options.css @@ -18,7 +18,9 @@ --text-entry-background: #111; --time-color: #aaa; --button-text: #FFFFFF; + --button-small-text: #FFFFFF; --button-background: #999; + --button-small-background: #999; --button-selected: #666; --hashtag-margin: 2%; --hashtag-vertical-spacing1: 50px; @@ -148,10 +150,10 @@ textarea { } .buttonsmall { border-radius: 4px; - background-color: var(--button-background); + background-color: var(--button-small-background); font-family: Arial, Helvetica, sans-serif; border: none; - color: var(--button-text); + color: var(--button-small-text); text-align: center; padding: 10px; font-size: 24px; @@ -203,10 +205,10 @@ textarea { } .buttonsmall { border-radius: 4px; - background-color: var(--button-background); + background-color: var(--button-small-background); font-family: Arial, Helvetica, sans-serif; border: none; - color: var(--button-text); + color: var(--button-small-text); text-align: center; padding: 10px; font-size: 40px; diff --git a/theme.py b/theme.py index a8a85b5e6..4749e9ec9 100644 --- a/theme.py +++ b/theme.py @@ -341,6 +341,7 @@ def setThemeStarlight(baseDir: str): "hashtag-vertical-spacing3": "100px", "hashtag-vertical-spacing4": "150px", "button-background": "#69282c", + "button-small-background": "darkblue", "button-selected": "#a34046", "button-highlighted": "#12435f", "button-fg-highlighted": "white", @@ -501,7 +502,9 @@ def setThemeLCD(baseDir: str): "button-selected": "black", "button-highlighted": "green", "button-background": "#33390d", + "button-small-background": "#33390d", "button-text": "#9fb42b", + "button-small-text": "#9fb42b", "color: #FFFFFE;": "color: #9fb42b;", "calendar-bg-color": "#eee", "day-number": "#3f2145", @@ -568,7 +571,9 @@ def setThemePurple(baseDir: str): "main-visited-color": "#f93bb0", "button-selected": "#c042a0", "button-background": "#ff42a0", + "button-small-background": "#ff42a0", "button-text": "white", + "button-small-text": "white", "color: #FFFFFE;": "color: #1f152d;", "calendar-bg-color": "#eee", "lines-color": "#ff42a0", @@ -612,7 +617,9 @@ def setThemeHacker(baseDir: str): "main-visited-color": "#3c8234", "button-selected": "#063200", "button-background": "#062200", + "button-small-background": "#062200", "button-text": "#00ff00", + "button-small-text": "#00ff00", "button-corner-radius": "4px", "timeline-border-radius": "4px", "*font-family": "'Bedstead'",