From 9af837a9e5cfd7a102dd3fe94724a50ad12f88f3 Mon Sep 17 00:00:00 2001 From: Meleki Date: Sun, 1 Mar 2026 01:12:56 +0100 Subject: [PATCH] CSS: Hardcoded rgba-Werte durch Theme-Variablen ersetzt --- wwwroot/css/chat.css | 2 +- wwwroot/css/dashboard.css | 10 +++++----- wwwroot/css/file-explorer.css | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/wwwroot/css/chat.css b/wwwroot/css/chat.css index f57641c..17e3116 100644 --- a/wwwroot/css/chat.css +++ b/wwwroot/css/chat.css @@ -492,7 +492,7 @@ .sp-overlay { position: fixed; inset: 0; - background: rgba(0, 0, 0, 0.6); + background: rgb(from var(--f1-bg) r g b / var(--semi-transparent)); display: flex; align-items: center; justify-content: center; diff --git a/wwwroot/css/dashboard.css b/wwwroot/css/dashboard.css index 2cff58b..b59e307 100644 --- a/wwwroot/css/dashboard.css +++ b/wwwroot/css/dashboard.css @@ -132,21 +132,21 @@ } .git-add { - background: rgba(68, 170, 17, 0.15); + background: rgb(from var(--secondary) r g b / .15); color: var(--secondary); } .git-edit { - background: rgba(255, 170, 0, 0.15); + background: rgb(from var(--warning) r g b / .15); color: var(--warning); } .git-delete { - background: rgba(255, 102, 102, 0.15); + background: rgb(from var(--dangerous) r g b / .15); color: var(--dangerous); } .git-outgoing { - background: rgba(100, 149, 237, 0.15); - color: var(--primary); + background: rgb(from var(--text) r g b / .15); + color: var(--text); } diff --git a/wwwroot/css/file-explorer.css b/wwwroot/css/file-explorer.css index 044acb1..003804f 100644 --- a/wwwroot/css/file-explorer.css +++ b/wwwroot/css/file-explorer.css @@ -3,7 +3,7 @@ .fe-overlay { position: fixed; inset: 0; - background: rgba(0, 0, 0, 0.6); + background: rgb(from var(--f1-bg) r g b / var(--semi-transparent)); display: flex; align-items: center; justify-content: center;