Derive theme gradients and add solid paint controls

This commit is contained in:
Samuel Onoja committed 2026-10-04 09:03:28 +01:00
1 parent 20395007a5
commit 831ac3a77f
18 files changed
+604 -20

No files matched your search

+14
View File
@@ -742,6 +742,20 @@ pub fn fields(page: Page) -> Vec<Field> {
"Focus rings and selected controls. Use a hex color.",
"#3D7BE6",
),
choice(
"theme.focus_ring.style",
"Accent style",
"Window focus borders and selected controls. Gradients use the theme colors unless overridden.",
"auto",
&[("auto", "Gradient"), ("solid", "Solid")],
),
choice(
"theme.border.style",
"Inactive border style",
"Gradients retain the border color's transparency.",
"auto",
&[("auto", "Gradient"), ("solid", "Solid")],
),
choice(
"theme.material.style",
"Surface style",