improve contrast

This commit is contained in:
marlon-erler
2026-09-25 17:22:49 +02:00
parent 3b83ad15ab
commit 78f8ff9943
8 changed files with 28 additions and 30 deletions
+9 -10
View File
@@ -59,11 +59,10 @@ body:is([theme=dark], [theme=black]) [color]:not([color=standard]).tile {
[color]:not([color=standard]).background { [color]:not([color=standard]).background {
--luma: var(--background-luma); --luma: var(--background-luma);
--sat: 100%; --sat: 100%;
background: hsl(var(--hue), var(--sat), var(--luma), 20%); background: hsl(var(--hue), var(--sat), var(--luma), 40%);
} }
body:is([theme=dark], [theme=black]) [color]:not([color=standard]).background { body:is([theme=dark], [theme=black]) [color]:not([color=standard]).background {
--luma: var(--background-luma-dark); --luma: var(--background-luma-dark);
--sat: 100%;
} }
[color=standard].background { [color=standard].background {
background: var(--surface); background: var(--surface);
@@ -71,7 +70,7 @@ body:is([theme=dark], [theme=black]) [color]:not([color=standard]).tile {
} }
body [color]:not([color=standard]).subtle-background { body [color]:not([color=standard]).subtle-background {
--luma: var(--subtle-luma); --luma: var(--subtle-luma);
background: hsl(var(--hue), 100%, var(--luma), 50%); background: hsl(var(--hue), 100%, var(--luma), 40%);
} }
body:is([theme=dark], [theme=black]) [color]:not([color=standard]).subtle-background { body:is([theme=dark], [theme=black]) [color]:not([color=standard]).subtle-background {
--luma: var(--subtle-luma-dark); --luma: var(--subtle-luma-dark);
@@ -92,8 +91,8 @@ body[theme=black] * {
--subtle-luma-dark: 5%; --subtle-luma-dark: 5%;
} }
[color=yellow] { [color=yellow] {
--hue: 50; --hue: 60;
--accent-luma: 50%; --accent-luma: 60%;
--accent-luma-dark: 60%; --accent-luma-dark: 60%;
--accent-text-luma: 0%; --accent-text-luma: 0%;
--accent-text-luma-dark: 0%; --accent-text-luma-dark: 0%;
@@ -198,16 +197,16 @@ main {
left: -100%; left: -100%;
bottom: -50%; bottom: -50%;
background-image: radial-gradient(var(--sky-1), var(--sky-2)); background-image: radial-gradient(var(--sky-1), var(--sky-2));
opacity: 0.5; opacity: 0.4;
} }
body { body {
transition: --sky-1 1s, --sky-2 5s; transition: --sky-1 1s, --sky-2 5s;
} }
#background-wrapper #grass-1 { #background-wrapper #grass-1 {
--color-1: hsl(150, 60%, 30%); --color-1: hsl(104.61, 100%, 46.85%);
--color-2: hsl(150, 60%, 25%); --color-2: hsl(37.43, 88.75%, 53.58%);
filter: var(--backdrop-grass-filter); filter: var(--backdrop-grass-filter);
opacity: 0.4; opacity: 0.3;
background-image: background-image:
linear-gradient( linear-gradient(
350deg, 350deg,
@@ -219,7 +218,7 @@ body {
--color-1: hsl(110, 60%, 40%); --color-1: hsl(110, 60%, 40%);
--color-2: hsl(110, 60%, 35%); --color-2: hsl(110, 60%, 35%);
filter: var(--backdrop-grass-filter); filter: var(--backdrop-grass-filter);
opacity: 0.4; opacity: 0.3;
background-image: background-image:
linear-gradient( linear-gradient(
9deg, 9deg,
+4 -4
View File
@@ -2066,15 +2066,15 @@
}; };
var DynamicSceneDay = { var DynamicSceneDay = {
hue1: 190, hue1: 190,
hue2: 180, hue2: 230,
saturation: 100, saturation: 100,
luma: 70, luma: 70,
brightness: 1.4, brightness: 1.1,
baseTheme: "light" /* Light */ baseTheme: "light" /* Light */
}; };
var DynamicSceneAfternoon = { var DynamicSceneAfternoon = {
hue1: 195, hue1: 220,
hue2: 220, hue2: 250,
saturation: 100, saturation: 100,
luma: 50, luma: 50,
brightness: 0.8, brightness: 0.8,
Vendored
+1 -1
View File
@@ -1,4 +1,4 @@
const VERSION = "2610 Beta 5.3" const VERSION = "2610 Beta 5.4"
function processUrl(event) { function processUrl(event) {
const url = event.request.url; const url = event.request.url;
+1 -1
View File
@@ -1 +1 @@
2610 Beta 5.3 2610 Beta 5.4
Binary file not shown.
+4 -4
View File
@@ -204,15 +204,15 @@ export const DynamicSceneSunrise: DynamicScene = {
}; };
export const DynamicSceneDay: DynamicScene = { export const DynamicSceneDay: DynamicScene = {
hue1: 190, hue1: 190,
hue2: 180, hue2: 230,
saturation: 100, saturation: 100,
luma: 70, luma: 70,
brightness: 1.4, brightness: 1.1,
baseTheme: ThemeSettings.Light, baseTheme: ThemeSettings.Light,
}; };
export const DynamicSceneAfternoon: DynamicScene = { export const DynamicSceneAfternoon: DynamicScene = {
hue1: 195, hue1: 220,
hue2: 220, hue2: 250,
saturation: 100, saturation: 100,
luma: 50, luma: 50,
brightness: 0.8, brightness: 0.8,
+5 -5
View File
@@ -42,7 +42,7 @@ main {
background-image: radial-gradient(var(--sky-1), var(--sky-2)); background-image: radial-gradient(var(--sky-1), var(--sky-2));
opacity: 0.5; opacity: 0.4;
} }
body { body {
@@ -52,11 +52,11 @@ body {
} }
#background-wrapper #grass-1 { #background-wrapper #grass-1 {
--color-1: hsl(150, 60%, 30%); --color-1: hsl(104.61, 100%, 46.85%);
--color-2: hsl(150, 60%, 25%); --color-2: hsl(37.43, 88.75%, 53.58%);
filter: var(--backdrop-grass-filter); filter: var(--backdrop-grass-filter);
opacity: 0.4; opacity: 0.3;
background-image: linear-gradient( background-image: linear-gradient(
350deg, 350deg,
@@ -71,7 +71,7 @@ body {
--color-2: hsl(110, 60%, 35%); --color-2: hsl(110, 60%, 35%);
filter: var(--backdrop-grass-filter); filter: var(--backdrop-grass-filter);
opacity: 0.4; opacity: 0.3;
background-image: linear-gradient( background-image: linear-gradient(
9deg, 9deg,
+4 -5
View File
@@ -77,12 +77,11 @@ body:is([theme="dark"], [theme="black"]) [color]:not([color="standard"]).tile {
[color]:not([color="standard"]).background { [color]:not([color="standard"]).background {
--luma: var(--background-luma); --luma: var(--background-luma);
--sat: 100%; --sat: 100%;
background: hsl(var(--hue), var(--sat), var(--luma), 20%); background: hsl(var(--hue), var(--sat), var(--luma), 40%);
} }
body:is([theme="dark"], [theme="black"]) [color]:not([color="standard"]).background { body:is([theme="dark"], [theme="black"]) [color]:not([color="standard"]).background {
--luma: var(--background-luma-dark); --luma: var(--background-luma-dark);
--sat: 100%;
} }
[color="standard"].background { [color="standard"].background {
@@ -93,7 +92,7 @@ body:is([theme="dark"], [theme="black"]) [color]:not([color="standard"]).tile {
/* subtle */ /* subtle */
body [color]:not([color="standard"]).subtle-background { body [color]:not([color="standard"]).subtle-background {
--luma: var(--subtle-luma); --luma: var(--subtle-luma);
background: hsl(var(--hue), 100%, var(--luma), 50%); background: hsl(var(--hue), 100%, var(--luma), 40%);
} }
body:is([theme="dark"], [theme="black"]) [color]:not([color="standard"]).subtle-background { body:is([theme="dark"], [theme="black"]) [color]:not([color="standard"]).subtle-background {
@@ -123,9 +122,9 @@ body[theme="black"] * {
} }
[color="yellow"] { [color="yellow"] {
--hue: 50; --hue: 60;
--accent-luma: 50%; --accent-luma: 60%;
--accent-luma-dark: 60%; --accent-luma-dark: 60%;
--accent-text-luma: 0%; --accent-text-luma: 0%;