From 51927bf59faf16ec6729e4fbb11fc0c035302ff1 Mon Sep 17 00:00:00 2001 From: George Cushen Date: Mon, 1 Dec 2025 05:12:02 +0000 Subject: [PATCH] fix: align with schema v2 --- .../_partials/functions/get_theme_config.html | 2 +- .../_partials/functions/theme_variables.html | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/modules/blox-tailwind/layouts/_partials/functions/get_theme_config.html b/modules/blox-tailwind/layouts/_partials/functions/get_theme_config.html index a0259ca0..817e9424 100644 --- a/modules/blox-tailwind/layouts/_partials/functions/get_theme_config.html +++ b/modules/blox-tailwind/layouts/_partials/functions/get_theme_config.html @@ -80,7 +80,7 @@ "colors" $colors "colors_light" $colors_light "colors_dark" $colors_dark - "ui" $ui + "surfaces" $surfaces "typography" $typography "layout" $layout }} diff --git a/modules/blox-tailwind/layouts/_partials/functions/theme_variables.html b/modules/blox-tailwind/layouts/_partials/functions/theme_variables.html index 318e3de6..c86f131c 100644 --- a/modules/blox-tailwind/layouts/_partials/functions/theme_variables.html +++ b/modules/blox-tailwind/layouts/_partials/functions/theme_variables.html @@ -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" }};