From 93f33cf4a512addf703b92e108e97b92d18404ce Mon Sep 17 00:00:00 2001 From: ztimson Date: Sat, 25 Jul 2026 11:25:54 -0400 Subject: [PATCH] Fixed aggressive background styling --- index.html | 5 +++++ package.json | 2 +- src/main.scss | 8 ++------ 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/index.html b/index.html index 77945e2..fe77060 100644 --- a/index.html +++ b/index.html @@ -18,6 +18,11 @@ --page-transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease; } + :root .theme-dark { + --theme-background: #1a1a1a !important; + --theme-background-contrast: white !important; + } + * { box-sizing: border-box; transition: var(--page-transition); } html, body { diff --git a/package.json b/package.json index 576c2be..3e597e7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@ztimson/css-utils", - "version": "2.0.1", + "version": "2.0.2", "description": "CSS Utility Classes", "readme": "README.md", "scripts": { diff --git a/src/main.scss b/src/main.scss index e755129..befe0b9 100644 --- a/src/main.scss +++ b/src/main.scss @@ -5,6 +5,8 @@ // Colors :root { // Theme colors -- what ever you like + --theme-background: #fafafa; + --theme-background-contrast: black; --theme-primary: #4979de; --theme-primary-contrast: black; --theme-accent: #2caec0; @@ -24,9 +26,6 @@ // Light theme &, .theme-light { - --theme-background: #fafafa; - --theme-background-contrast: white; - --theme-surface: #ffffff; --theme-border: #E5E7EB; --theme-muted: #6c757d; @@ -38,9 +37,6 @@ // Dark theme .theme-dark { - --theme-background: #1a1a1a; - --theme-background-contrast: black; - --theme-surface: #2e2e2e; --theme-border: #374151; --theme-muted: #cccccc;