Merge branch 'claude/frosty-lumiere-5ed6dd': dark-theme checkboxes
build / build (push) Successful in 11m6s
build / build (push) Successful in 11m6s
This commit is contained in:
commit
23ba3826ca
2 files changed
+44
-11
No files matched your search
@@ -110,9 +110,9 @@ shared asset files plus bundled fonts:
|
||||
`charcoal`, `primary`, `accent`) onto the dark palette and switches
|
||||
the sans/mono fonts to Inter / JetBrains Mono.
|
||||
- `theme.css` — sets the dark body, restyles the bespoke components
|
||||
(sidebar active state, dropdowns, toggles, file rows, login) in
|
||||
indigo, and adds an override layer that flips the built-in Tailwind
|
||||
white/gray/status utilities the markup uses.
|
||||
(sidebar active state, dropdowns, toggles, checkboxes, file rows,
|
||||
login) in indigo, and adds an override layer that flips the built-in
|
||||
Tailwind white/gray/status utilities the markup uses.
|
||||
- `fonts.css` + `assets/fonts/*.woff2` — self-hosts Inter and JetBrains
|
||||
Mono (variable, latin + latin-ext) so the UI stays fully offline,
|
||||
matching the existing self-hosted Roboto.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
From 656f1aa1873739722e51e8dfb6f14cb48ac6433d Mon Sep 17 00:00:00 2001
|
||||
From aac167a0d1fe6bfee50a12126aedb432a2f64f1f Mon Sep 17 00:00:00 2001
|
||||
From: s3-gateway CI <ci@s3-gateway.local>
|
||||
Date: Mon, 29 Jun 2026 10:34:49 -0500
|
||||
Subject: [PATCH] webui: dark theme (kanrisha palette, indigo on near-black)
|
||||
@@ -26,15 +26,15 @@ light from-surface/to-white gradient becomes a solid dark surface):
|
||||
|
||||
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 | 149 +++++++++++++++---
|
||||
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/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, 205 insertions(+), 44 deletions(-)
|
||||
8 files changed, 238 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..5477a30 100644
|
||||
index 7fb36be..6dcba26 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..5477a30 100644
|
||||
cursor: pointer;
|
||||
}
|
||||
.advanced-options {
|
||||
@@ -190,6 +203,96 @@ input:checked + .toggle-slider:before {
|
||||
@@ -190,6 +203,129 @@ input:checked + .toggle-slider:before {
|
||||
}
|
||||
|
||||
/* Explorer */
|
||||
@@ -361,7 +361,40 @@ index 7fb36be..5477a30 100644
|
||||
+ background-color: #12121a;
|
||||
+ color: #e6e6ed;
|
||||
+}
|
||||
+input[type="checkbox"],
|
||||
+/* Checkboxes — kanrisha-style custom control: an outlined box that
|
||||
+ becomes an indigo-tinted box with an indigo tick when checked.
|
||||
+ appearance:none replaces the native light box the browser draws
|
||||
+ regardless of accent-color. Size is left to the markup's w-4/h-4
|
||||
+ so the hidden toggle-switch input (sized 0 elsewhere) is untouched. */
|
||||
+input[type="checkbox"] {
|
||||
+ appearance: none;
|
||||
+ -webkit-appearance: none;
|
||||
+ border: 1px solid #3a3a5c !important;
|
||||
+ border-radius: 4px;
|
||||
+ background-color: transparent !important;
|
||||
+ background-repeat: no-repeat;
|
||||
+ background-position: center;
|
||||
+ background-size: 80% 80%;
|
||||
+ cursor: pointer;
|
||||
+ transition: border-color 0.15s, background-color 0.15s;
|
||||
+}
|
||||
+input[type="checkbox"]:hover {
|
||||
+ border-color: #818cf8 !important;
|
||||
+}
|
||||
+input[type="checkbox"]:checked {
|
||||
+ border-color: #6366f1 !important;
|
||||
+ background-color: rgba(99, 102, 241, 0.25) !important;
|
||||
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23c7d2fe' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5l3 3 6-7'/%3E%3C/svg%3E");
|
||||
+}
|
||||
+input[type="checkbox"]:indeterminate {
|
||||
+ border-color: #6366f1 !important;
|
||||
+ background-color: rgba(99, 102, 241, 0.25) !important;
|
||||
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23c7d2fe' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M4 8h8'/%3E%3C/svg%3E");
|
||||
+}
|
||||
+input[type="checkbox"]:focus-visible {
|
||||
+ outline: 2px solid rgba(99, 102, 241, 0.6);
|
||||
+ outline-offset: 1px;
|
||||
+}
|
||||
+input[type="radio"] {
|
||||
+ accent-color: #6366f1;
|
||||
+}
|
||||
|
||||
Reference in new issue
Block a user