diff --git a/patches/v1.6.0/0002-webui-dark-theme.patch b/patches/v1.6.0/0002-webui-dark-theme.patch index 4fb13c9..7531186 100644 --- a/patches/v1.6.0/0002-webui-dark-theme.patch +++ b/patches/v1.6.0/0002-webui-dark-theme.patch @@ -1,4 +1,4 @@ -From aac167a0d1fe6bfee50a12126aedb432a2f64f1f Mon Sep 17 00:00:00 2001 +From 0407db90dd922b1edf310b227d140b9d66b0685a Mon Sep 17 00:00:00 2001 From: s3-gateway CI Date: Mon, 29 Jun 2026 10:34:49 -0500 Subject: [PATCH] webui: dark theme (kanrisha palette, indigo on near-black) @@ -28,13 +28,13 @@ Downstream cosmetic patch for de-branded s3-gateway builds. Base: v1.6.0. --- webui/web/assets/css/fonts.css | 47 +++++ webui/web/assets/css/tailwind-config.js | 51 +++-- - webui/web/assets/css/theme.css | 182 +++++++++++++++--- + webui/web/assets/css/theme.css | 197 ++++++++++++++++-- webui/web/assets/fonts/inter-latin-ext.woff2 | Bin 0 -> 85068 bytes webui/web/assets/fonts/inter-latin.woff2 | Bin 0 -> 48256 bytes .../fonts/jetbrains-mono-latin-ext.woff2 | Bin 0 -> 11624 bytes .../assets/fonts/jetbrains-mono-latin.woff2 | Bin 0 -> 31432 bytes webui/web/index.html | 2 +- - 8 files changed, 238 insertions(+), 44 deletions(-) + 8 files changed, 253 insertions(+), 44 deletions(-) create mode 100644 webui/web/assets/fonts/inter-latin-ext.woff2 create mode 100644 webui/web/assets/fonts/inter-latin.woff2 create mode 100644 webui/web/assets/fonts/jetbrains-mono-latin-ext.woff2 @@ -171,7 +171,7 @@ index 826e03d..eed94fb 100644 } } diff --git a/webui/web/assets/css/theme.css b/webui/web/assets/css/theme.css -index 7fb36be..6dcba26 100644 +index 7fb36be..402bd53 100644 --- a/webui/web/assets/css/theme.css +++ b/webui/web/assets/css/theme.css @@ -16,10 +16,23 @@ @@ -320,7 +320,7 @@ index 7fb36be..6dcba26 100644 cursor: pointer; } .advanced-options { -@@ -190,6 +203,129 @@ input:checked + .toggle-slider:before { +@@ -190,6 +203,144 @@ input:checked + .toggle-slider:before { } /* Explorer */ @@ -453,6 +453,21 @@ index 7fb36be..6dcba26 100644 +.border-yellow-200, +.border-yellow-300 { border-color: rgba(234, 179, 8, 0.4) !important; } +.border-blue-200 { border-color: rgba(59, 130, 246, 0.4) !important; } ++ ++/* Storage-class badges (Explorer) — the cyan / purple / indigo chips sit ++ * outside the status set above, so without these GLACIER & GLACIER_IR ++ * (cyan), INTELLIGENT_TIERING (purple) and DEEP_ARCHIVE (indigo) would keep ++ * Tailwind's light bg-*-50 fill on the dark page. Same translucent-fill + ++ * lifted-400-text treatment as the status tints. */ ++.bg-cyan-50 { background-color: rgba(6, 182, 212, 0.13) !important; } ++.bg-purple-50 { background-color: rgba(168, 85, 247, 0.13) !important; } ++.bg-indigo-50 { background-color: rgba(99, 102, 241, 0.13) !important; } ++.text-cyan-600, ++.text-cyan-700 { color: #22d3ee !important; } ++.text-purple-600, ++.text-purple-700 { color: #c084fc !important; } ++.text-indigo-600, ++.text-indigo-700 { color: #818cf8 !important; } diff --git a/webui/web/assets/fonts/inter-latin-ext.woff2 b/webui/web/assets/fonts/inter-latin-ext.woff2 new file mode 100644 index 0000000000000000000000000000000000000000..479d010d2902fa3a5b48e84a973db1978b2e9949