fix: align with schema v2

This commit is contained in:
George Cushen committed 2025-12-01 05:12:06 +00:00
1 parent 5d94827fb6
commit 51927bf59f
2 files changed
+8 -8

No files matched your search

@@ -80,7 +80,7 @@
"colors" $colors
"colors_light" $colors_light
"colors_dark" $colors_dark
"ui" $ui
"surfaces" $surfaces
"typography" $typography
"layout" $layout
}}
@@ -13,14 +13,14 @@
{{ partial "functions/generate_color_scale" (dict "name" "gray" "color" $data.colors.neutral) }}
{{ end }}
{{/* 2. Semantic UI Variables */}}
--color-background: {{ $data.ui.background | default "#ffffff" }};
--color-foreground: {{ $data.ui.foreground | default "#000000" }};
{{/* 2. Semantic Surface Variables */}}
--color-background: {{ $data.surfaces.background | default "#ffffff" }};
--color-foreground: {{ $data.surfaces.foreground | default "#000000" }};
{{/* Header */}}
--color-header-bg: {{ $data.ui.header.background | default $data.ui.background | default "#ffffff" }};
--color-header-fg: {{ $data.ui.header.foreground | default $data.ui.foreground | default "#000000" }};
--color-header-bg: {{ $data.surfaces.header.background | default $data.surfaces.background | default "#ffffff" }};
--color-header-fg: {{ $data.surfaces.header.foreground | default $data.surfaces.foreground | default "#000000" }};
{{/* Footer */}}
--color-footer-bg: {{ $data.ui.footer.background | default $data.ui.background | default "#f3f4f6" }};
--color-footer-fg: {{ $data.ui.footer.foreground | default $data.ui.foreground | default "#000000" }};
--color-footer-bg: {{ $data.surfaces.footer.background | default $data.surfaces.background | default "#f3f4f6" }};
--color-footer-fg: {{ $data.surfaces.footer.foreground | default $data.surfaces.foreground | default "#000000" }};