Skip to content

Truly independent web browser

Base: Show the System color theme as a wheel of every hue

Andreas Kling21117ecbe99c
diff --git a/Base/res/ladybird/about-pages/settings.html b/Base/res/ladybird/about-pages/settings.html
index 3b0869cce2a..52f7853aa38 100644
--- a/Base/res/ladybird/about-pages/settings.html
+++ b/Base/res/ladybird/about-pages/settings.html
@@ -900,8 +900,8 @@
role="radiogroup"
aria-labelledby="color-theme-title"
>
- <label class="color-swatch" title="Neutral" style="--swatch: #8e8e93">
- <input type="radio" name="color-theme" value="neutral" aria-label="Neutral" />
+ <label class="color-swatch system-swatch" title="System" style="--swatch: #8e8e93">
+ <input type="radio" name="color-theme" value="neutral" aria-label="System" />
</label>
<label class="color-swatch" title="Harbor" style="--swatch: #2f6fd6">
<input type="radio" name="color-theme" value="harbor" aria-label="Harbor" />
diff --git a/Base/res/ladybird/ladybird.css b/Base/res/ladybird/ladybird.css
index 61a82bf5e66..f12e7714851 100644
--- a/Base/res/ladybird/ladybird.css
+++ b/Base/res/ladybird/ladybird.css
@@ -544,6 +544,11 @@ input[type="checkbox"][switch]:checked::before {
cursor: pointer;
}
+/* The System theme follows the system's accent color, so its dot is a wheel of every hue, ringed in neutral gray. */
+.system-swatch {
+ background: conic-gradient(#ff3b30, #ff9500, #ffcc00, #34c759, #00c7be, #007aff, #af52de, #ff2d55, #ff3b30);
+}
+
.color-swatch:has(input:checked) {
box-shadow:
0 0 0 2px var(--page),