fix(native): change background color to pure black for OLED screens

This commit is contained in:
2026-03-16 11:42:16 -04:00
parent 1d1555ccf7
commit 32cfbc2e86
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -11,7 +11,7 @@
--font-mono: "GeistMono-Regular";
/* Sofa — dark cinema theme with warm amber accents */
--color-background: oklch(0.13 0.006 55);
--color-background: oklch(0 0 0);
--color-foreground: oklch(0.93 0.015 80);
--color-card: oklch(0.19 0.008 55);
--color-card-foreground: oklch(0.93 0.015 80);
+1 -1
View File
@@ -19,7 +19,7 @@ export function useTitleTheme(palette: ColorPalette | null | undefined): void {
const luminance = hexToRelativeLuminance(vibrant);
const foreground =
luminance > 0.3 ? "oklch(0.13 0.006 55)" : "oklch(0.93 0.015 80)";
luminance > 0.3 ? "oklch(0 0 0)" : "oklch(0.93 0.015 80)";
Uniwind.updateCSSVariables("dark", {
"--color-title-accent": vibrant,
+1 -1
View File
@@ -4,7 +4,7 @@ export const sofaTheme = {
...DarkTheme,
colors: {
...DarkTheme.colors,
background: "#090706", // --color-background oklch(0.13 0.006 55)
background: "#000000", // --color-background pure black (OLED)
card: "#171310", // --color-card oklch(0.19 0.008 55)
text: "#ede7dd", // --color-foreground oklch(0.93 0.015 80)
border: "#282320", // --color-border approximate