#load "../lib/app.uce" COMPONENT(Request& context) { DValue asset_props; asset_props["css"]["0"] = "views/themes.css"; print(component("../components/theme/assets", asset_props, context)); context.call["app"]["page_title"] = "Theme Preview"; String current_theme_key = context.cfg.get_by_path("theme/key").to_string(); String theme_label = first(context.cfg.get_by_path("theme/label").to_string(), current_theme_key); String theme_mode = context.cfg.get_by_path("theme/mode").to_string(); StringMap theme_params; theme_params["theme"] = current_theme_key; <>
This route renders the same neutral content inside each theme so downstream projects can compare layout, typography, color tokens, and chrome.
| Area | Expectation | Status |
|---|---|---|
| Navigation | Should remain readable when menus get long. | Verified |
| Cards | Should keep spacing and hierarchy on both desktop and mobile. | Verified |