Refactor Settings UI (#20392)

* refactor with sidebar and mobile page

* sidebar spacing and color tweaks

* layout tweaks

* move camera switch button to header

* improve mobile

* remove back button on mobile page header

* mobile fixes

* remove debug

* don't use mobilepage

* more mobile tweaks

* use mobile page for components

* add optional actions to mobile page header for top right buttons

* fix alignment

* use page toggle

* tweaks

* sidebar inset tweaks

* move triggers to notifications sub menu

* consistency

* fix padding

* more padding fixes

* navigate history
This commit is contained in:
Josh Hawkins
2025-10-08 14:59:21 -05:00
committed by GitHub
parent 3c7e36fb16
commit 6df950bb78
14 changed files with 431 additions and 174 deletions
+3 -3
View File
@@ -119,12 +119,12 @@ module.exports = {
DEFAULT: "hsl(var(--neutral_variant))",
},
sidebar: {
DEFAULT: "hsl(var(--secondary))",
DEFAULT: "hsl(var(--background))",
foreground: "hsl(var(--secondary-foreground))",
primary: "hsl(var(--primary))",
"primary-foreground": "hsl(var(--primary-foreground))",
accent: "hsl(var(--primary-variant))",
"accent-foreground": "hsl(var(--primary-foreground))",
accent: "hsl(var(--background-alt))",
"accent-foreground": "hsl(var(--primary))",
border: "hsl(var(--border))",
ring: "hsl(var(--ring))",
},