From d0138ef4f2e04767b76a4a4cfa5c73439456ac94 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 21 Jun 2020 22:00:48 +0000 Subject: [PATCH] Set first glow color --- epicyon-profile.css | 3 ++- theme.py | 6 +++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/epicyon-profile.css b/epicyon-profile.css index d8474349..d290f2a9 100644 --- a/epicyon-profile.css +++ b/epicyon-profile.css @@ -55,6 +55,7 @@ --cw-glow-radius3: 0px; --cw-glow-radius4: 0px; --cw-glow-radius5: 0px; + --cw-glow-color0: #fff; --cw-glow-color1: red; --cw-glow-color2: red; --cw-glow-color3: red; @@ -780,7 +781,7 @@ div.gallery img { padding: 2px; cursor: pointer; margin: 5px; - text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 var(--cw-glow-radius1) var(--cw-glow-color1), 0 0 var(--cw-glow-radius2) var(--cw-glow-color2), 0 0 var(--cw-glow-radius3) var(--cw-glow-color3), 0 0 var(--cw-glow-radius4) var(--cw-glow-color4), 0 0 var(--cw-glow-radius5) var(--cw-glow-color5); + text-shadow: 0 0 10px var(--cw-glow-color0), 0 0 20px var(--cw-glow-color0), 0 0 var(--cw-glow-radius1) var(--cw-glow-color1), 0 0 var(--cw-glow-radius2) var(--cw-glow-color2), 0 0 var(--cw-glow-radius3) var(--cw-glow-color3), 0 0 var(--cw-glow-radius4) var(--cw-glow-color4), 0 0 var(--cw-glow-radius5) var(--cw-glow-color5); } .buttonevent { border-radius: var(--button-corner-radius); diff --git a/theme.py b/theme.py index 9c954117..6102846b 100644 --- a/theme.py +++ b/theme.py @@ -198,6 +198,7 @@ def setThemeNight(baseDir: str): "cw-glow-radius3": "7px", "cw-glow-radius4": "8px", "cw-glow-radius5": "9px", + "cw-glow-color0": "#fff", "cw-glow-color1": "#7961ab", "cw-glow-color2": "#7961ab", "cw-glow-color3": "#7961ab", @@ -271,6 +272,7 @@ def setThemeStarlight(baseDir: str): "cw-glow-radius3": "50px", "cw-glow-radius4": "60px", "cw-glow-radius5": "70px", + "cw-glow-color0": "#fff", "cw-glow-color1": "#a3d5f0", "cw-glow-color2": "#a3d5f0", "cw-glow-color3": "#a3d5f0", @@ -329,6 +331,7 @@ def setThemeHenge(baseDir: str): "cw-glow-radius3": "14px", "cw-glow-radius4": "16px", "cw-glow-radius5": "18px", + "cw-glow-color0": "#fff", "cw-glow-color1": "#444", "cw-glow-color2": "#444", "cw-glow-color3": "#444", @@ -508,7 +511,8 @@ def setThemeHacker(baseDir: str): "timeline-border-radius": "4px", "*font-family": "'Bedstead'", "*src": "url('./fonts/bedstead.otf') format('opentype')", - "cw-background": "#062200", + "cw-background": "black", + "cw-glow-color0": "black", "color: #FFFFFE;": "color: green;", "calendar-bg-color": "black", "lines-color": "green",