fix breezy theme

This commit is contained in:
Henry Jameson 2025-03-26 16:20:42 +02:00
parent 6160f01c99
commit 00eabd2447
2 changed files with 8 additions and 8 deletions

View file

@ -25,7 +25,7 @@
accent: #1CA4F3; accent: #1CA4F3;
cBlue: #1CA4F3; cBlue: #1CA4F3;
cRed: #f41a51; cRed: #f41a51;
cGreen: #1af46e; cGreen: #0b6a30;
cOrange: #f4af1a; cOrange: #f4af1a;
border: #d8e6f9; border: #d8e6f9;
link: #1CA4F3; link: #1CA4F3;
@ -39,7 +39,7 @@
accent: #1CA4F3; accent: #1CA4F3;
cRed: #f41a51; cRed: #f41a51;
cBlue: #1CA4F3; cBlue: #1CA4F3;
cGreen: #1af46e; cGreen: #0b6a30;
cOrange: #f4af1a; cOrange: #f4af1a;
} }
@ -47,10 +47,10 @@ Root {
--badgeNotification: color | --cRed; --badgeNotification: color | --cRed;
--buttonDefaultHoverGlow: shadow | inset 0 0 0 1 --accent / 1; --buttonDefaultHoverGlow: shadow | inset 0 0 0 1 --accent / 1;
--buttonDefaultFocusGlow: shadow | inset 0 0 0 1 --accent / 1; --buttonDefaultFocusGlow: shadow | inset 0 0 0 1 --accent / 1;
--buttonDefaultShadow: shadow | inset 0 0 0 1 --parent--text / 0.35, 0 5 5 -5 #000000 / 0.35; --buttonDefaultShadow: shadow | inset 0 0 0 1 --text / 0.35, 0 5 5 -5 #000000 / 0.35;
--buttonDefaultBevel: shadow | inset 0 14 14 -14 #FFFFFF / 0.1; --buttonDefaultBevel: shadow | inset 0 14 14 -14 #FFFFFF / 0.1;
--buttonPressedBevel: shadow | inset 0 -20 20 -20 #000000 / 0.05; --buttonPressedBevel: shadow | inset 0 -20 20 -20 #000000 / 0.05;
--defaultInputBevel: shadow | inset 0 0 0 1 --parent--text / 0.35; --defaultInputBevel: shadow | inset 0 0 0 1 --text / 0.35;
--defaultInputHoverGlow: shadow | 0 0 0 1 --accent / 1; --defaultInputHoverGlow: shadow | 0 0 0 1 --accent / 1;
--defaultInputFocusGlow: shadow | 0 0 0 1 --link / 1; --defaultInputFocusGlow: shadow | 0 0 0 1 --link / 1;
} }
@ -80,12 +80,12 @@ Button:toggled:hover {
} }
Button { Button {
background: --parent; background: --bg;
} }
Input { Input {
shadow: --defaultInputBevel; shadow: --defaultInputBevel;
background: --parent; background: $mod(--bg -10);
} }
PanelHeader { PanelHeader {
@ -97,5 +97,5 @@ Tab:hover {
} }
Tab { Tab {
background: --parent; background: --bg;
} }

View file

@ -109,7 +109,7 @@ export const findColor = (color, { dynamicVars, staticVars }) => {
try { try {
targetColor = process(color, colorFunctions, { findColor }, { dynamicVars, staticVars }) targetColor = process(color, colorFunctions, { findColor }, { dynamicVars, staticVars })
} catch (e) { } catch (e) {
console.error('Failure executing color function', e) console.error('Failure executing color function', e ,'\n Function: ' + color)
targetColor = '#FF00FF' targetColor = '#FF00FF'
} }
} }