refactor: rename DTree to DValue

This commit is contained in:
udo
2026-06-12 11:05:52 +00:00
parent 941f5aea08
commit 7066da3cde
157 changed files with 1203 additions and 1074 deletions
+2 -2
View File
@@ -2,7 +2,7 @@
COMPONENT(Request& context)
{
DTree asset_props;
DValue asset_props;
asset_props["css"]["0"] = "views/themes.css";
print(component("../components/theme/assets", asset_props, context));
context.call["app"]["page_title"] = "Themes";
@@ -16,7 +16,7 @@ COMPONENT(Request& context)
<p>Open each theme preview directly to judge shell fit, typography, and token balance.</p>
</section>
<div class="theme-gallery-grid">
<? context.cfg.get_by_path("theme/options").each([&](DTree theme_info, String theme_key) {
<? context.cfg.get_by_path("theme/options").each([&](DValue theme_info, String theme_key) {
StringMap params;
params["theme"] = theme_key;
String preview_href = app_link("theme-preview", params, context);