Iteration 2: Bug fixes + design feedback (litmus-jvkn)
8 items: fix app theme switcher, filter navigation, remove scene sidebar, separate filters, readability score, clickable contrast issues, move CVD, richer sidebar items
Summary of Changes
All 8 items implemented:
- Fix app theme switcher (
shell.rs): Movedapp_theme.read()insideuse_effectso Dioxus tracks the dependency - Filter navigation (
sidebar.rs): Addeduse_navigator()โ search, variant, and readability filter changes pushRoute::ThemeList - Remove scene tabs from sidebar (
sidebar.rs): Removed Scenes section entirely - Separate variant/contrast filters (
sidebar.rs): All/Dark/Light now show count badges; readability is a separate dropdown below - Readability score (
contrast.rs,state.rs,sidebar.rs,theme_list.rs,theme_detail.rs): Addedreadability_score(), replacedgood_contrast: boolwithmin_readability: Option<u8>, shown on sidebar items, theme cards, and detail header - Clickable contrast issues (
theme_detail.rs): Issues text is now a toggle button; expands to show per-scene issue list with fg/bg chips and ratios - Move CVD (
sidebar.rs): CVD section moved below Compare, just above App Theme - Richer sidebar items (
sidebar.rs,style.css): Items use theme bg/fg colors, show readability badge, subtle borders between items
Scene tabs moved to top of ThemeDetail (before palette, above scene content).