From c3ddc303cc393dd7e111535ca5472ac8088d2194 Mon Sep 17 00:00:00 2001 From: lindsaym-fa Date: Mon, 10 Nov 2025 16:14:24 -0500 Subject: [PATCH] minor refactor --- packages/webawesome/docs/_includes/theming/instructions.njk | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/webawesome/docs/_includes/theming/instructions.njk b/packages/webawesome/docs/_includes/theming/instructions.njk index 75fe1b828..b9e0e49fe 100644 --- a/packages/webawesome/docs/_includes/theming/instructions.njk +++ b/packages/webawesome/docs/_includes/theming/instructions.njk @@ -243,10 +243,12 @@ // Update theme and palette names in CDN instructions themeNames.forEach(instance => { - instance.textContent = `${theme.charAt(0).toUpperCase() + theme.slice(1)}`; + instance.textContent = theme; + instance.style.textTransform = 'capitalize'; }); paletteNames.forEach(instance => { - instance.textContent = `${palette.charAt(0).toUpperCase() + palette.slice(1)}`; + instance.textContent = palette; + instance.style.textTransform = 'capitalize'; }); // Match color picker icons to selected palette and color