diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index 1f8dca4..7fe1663 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -20,7 +20,10 @@ interface Props { const { siteConfig, themeConfig } = loadWaasConfigs(Astro.request.headers.get('user-agent') ?? ''); const activePreset = THEME_PRESETS[themeConfig.activePreset] || THEME_PRESETS.corporateDark; -const colors = activePreset.colors; +const colors = { + ...activePreset.colors, + ...(themeConfig.customColors || {}) +}; const { title, description = "Professionelles Webdesign & moderne Websites.", ogImage } = Astro.props; @@ -54,10 +57,11 @@ const { title, description = "Professionelles Webdesign & moderne Websites.", og html.light { --theme-bg: #F8FAFC; - --theme-card-bg: rgba(255, 255, 255, 0.7); + --theme-card-bg: rgba(255, 255, 255, 0.85); --theme-text: #0F172A; --theme-border: rgba(0, 0, 0, 0.1); } + diff --git a/src/pages/admin/index.astro b/src/pages/admin/index.astro index 6203775..5248c58 100644 --- a/src/pages/admin/index.astro +++ b/src/pages/admin/index.astro @@ -154,12 +154,12 @@ const presets = Object.values(THEME_PRESETS);