From 95ed6be5c6539d3b5c44fd8505f82cf0e45a7ebc Mon Sep 17 00:00:00 2001 From: Adam Mathes Date: Tue, 17 Feb 2026 15:06:42 -0800 Subject: Refine Settings UI: Fix dark mode text colors, split font controls for headers and body, update monospace stack, and soft-deprecate tags --- frontend-vanilla/src/main.ts | 26 +++++++++++++++++++++++--- 1 file changed, 23 insertions(+), 3 deletions(-) (limited to 'frontend-vanilla/src/main.ts') diff --git a/frontend-vanilla/src/main.ts b/frontend-vanilla/src/main.ts index 4e1d216..62a47cc 100644 --- a/frontend-vanilla/src/main.ts +++ b/frontend-vanilla/src/main.ts @@ -23,7 +23,8 @@ let appEl: HTMLDivElement | null = null; export function renderLayout() { appEl = document.querySelector('#app'); if (!appEl) return; - appEl.className = `theme-${store.theme} font-${store.fontTheme}`; + // Apply both font themes (font-* for body, heading-font-* for headers) + appEl.className = `theme-${store.theme} font-${store.fontTheme} heading-font-${store.headingFontTheme}`; appEl.innerHTML = `
@@ -394,6 +395,15 @@ export function renderSettings() {
+ + + +