From d5ff0f908ff1b07c40c427dbd4052342f304f8b7 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 28 May 2020 14:06:07 +0100 Subject: [PATCH] LCD theme colors --- epicyon-blog.css | 5 +++++ epicyon-login.css | 3 +++ epicyon-profile.css | 5 +++++ theme.py | 18 ++++++++++++------ 4 files changed, 25 insertions(+), 6 deletions(-) diff --git a/epicyon-blog.css b/epicyon-blog.css index 6df6bc87..2a50a5c3 100644 --- a/epicyon-blog.css +++ b/epicyon-blog.css @@ -2,6 +2,7 @@ :root { --main-bg-color: #282c37; + --link-bg-color: #282c37; --dropdown-bg-color: #111; --dropdown-bg-color-hover: #333; --main-bg-color-reply: #212c37; @@ -68,11 +69,13 @@ a, u { a:visited{ color: var(--main-visited-color); + background: var(--link-bg-color); font-weight: bold; } a:link { color: var(--main-link-color); + background: var(--link-bg-color); font-weight: bold; } @@ -342,12 +345,14 @@ a:link { font-size: var(--font-size4); font-family: "Times New Roman", Roman, serif; color: var(--main-link-color); + background: var(--link-bg-color); } .pgp { font-size: var(--font-size5); font-family: "Times New Roman", Roman, serif; color: var(--main-link-color); + background: var(--link-bg-color); font-family: 'monospace'; } diff --git a/epicyon-login.css b/epicyon-login.css index 5cd89d2d..bee789ae 100644 --- a/epicyon-login.css +++ b/epicyon-login.css @@ -2,6 +2,7 @@ :root { --main-bg-color: #282c37; + --link-bg-color: #282c37; --main-fg-color: #dddddd; --main-link-color: #999; --main-visited-color: #888; @@ -46,11 +47,13 @@ a, u { a:visited{ color: var(--main-visited-color); + background: var(--link-bg-color); font-weight: bold; } a:link { color: var(--main-link-color); + background: var(--link-bg-color); font-weight: bold; } diff --git a/epicyon-profile.css b/epicyon-profile.css index fc3cbc4d..ef5d7e2c 100644 --- a/epicyon-profile.css +++ b/epicyon-profile.css @@ -2,6 +2,7 @@ :root { --main-bg-color: #282c37; + --link-bg-color: #282c37; --dropdown-bg-color: #111; --dropdown-bg-color-hover: #333; --main-bg-color-reply: #212c37; @@ -69,11 +70,13 @@ a, u { a:visited{ color: var(--main-visited-color); + background: var(--link-bg-color); font-weight: bold; } a:link { color: var(--main-link-color); + background: var(--link-bg-color); font-weight: bold; } @@ -348,11 +351,13 @@ a:link { font-size: var(--font-size4); font-family: Arial, Helvetica, sans-serif; color: var(--main-link-color); + background: var(--link-bg-color); } .pgp { font-size: var(--font-size-pgp-key); color: var(--main-link-color); + background: var(--link-bg-color); font-family: 'monospace'; } diff --git a/theme.py b/theme.py index 0ec703e6..23982c75 100644 --- a/theme.py +++ b/theme.py @@ -170,23 +170,24 @@ def setThemeHighVis(baseDir: str): def setThemeLCD(baseDir: str): themeParams = { "main-bg-color": "#9fb42b", + "link-bg-color": "#33390d", "main-bg-color-reply": "#1a142d", "main-bg-color-report": "#12152d", "main-header-color-roles": "#1f192d", "main-fg-color": "#33390d", "border-color": "#33390d", - "main-link-color": "#ff42a0", - "main-visited-color": "#f93bb0", - "button-selected": "#c042a0", - "button-background": "#ff42a0", - "button-text": "white", + "main-link-color": "#9fb42b", + "main-visited-color": "#9fb42b", + "button-selected": "#01b82b", + "button-background": "#65d82b", + "button-text": "black", "background-color: #554;": "background-color: #ff42a0;", "color: #FFFFFE;": "color: #9fb42b;", "calendar-bg-color": "#eee", "lines-color": "#ff42a0", "day-number": "#3f2145", "day-number2": "#9fb42b", - "time-color": "#ff42a0", + "time-color": "#9fb42b", "place-color": "black", "event-color": "#282c37", "today-foreground": "white", @@ -204,6 +205,8 @@ def setThemeLCD(baseDir: str): "font-size5": "29px", "gallery-font-size": "35px", "gallery-font-size-mobile": "55px", + "button-corner-radius": "1px", + "timeline-border-radius": "1px", "*font-family": "'LcdSolid'", "*src": "url('./fonts/LcdSolid.ttf') format('truetype')" } @@ -213,6 +216,7 @@ def setThemeLCD(baseDir: str): def setThemePurple(baseDir: str): themeParams = { "main-bg-color": "#1f152d", + "link-bg-color": "#1f152d", "main-bg-color-reply": "#1a142d", "main-bg-color-report": "#12152d", "main-header-color-roles": "#1f192d", @@ -248,6 +252,7 @@ def setThemePurple(baseDir: str): def setThemeHacker(baseDir: str): themeParams = { "main-bg-color": "black", + "link-bg-color": "black", "main-bg-color-reply": "#030202", "main-bg-color-report": "#050202", "main-header-color-roles": "#1f192d", @@ -286,6 +291,7 @@ def setThemeLight(baseDir: str): themeParams = { "rgba(0, 0, 0, 0.5)": "rgba(0, 0, 0, 0.0)", "main-bg-color": "#e6ebf0", + "link-bg-color": "#e6ebf0", "main-bg-color-reply": "#e0dbf0", "main-bg-color-report": "#e3dbf0", "main-header-color-roles": "#ebebf0",