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/store.ts | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'frontend-vanilla/src/store.ts') diff --git a/frontend-vanilla/src/store.ts b/frontend-vanilla/src/store.ts index c92059a..dc79339 100644 --- a/frontend-vanilla/src/store.ts +++ b/frontend-vanilla/src/store.ts @@ -33,6 +33,7 @@ export class Store extends EventTarget { hasMore: boolean = true; theme: string = localStorage.getItem('neko-theme') || 'light'; fontTheme: string = localStorage.getItem('neko-font-theme') || 'default'; + headingFontTheme: string = localStorage.getItem('neko-heading-font-theme') || 'default'; sidebarVisible: boolean = getInitialSidebarVisible(); setFeeds(feeds: Feed[]) { @@ -101,6 +102,12 @@ export class Store extends EventTarget { this.emit('theme-updated'); } + setHeadingFontTheme(theme: string) { + this.headingFontTheme = theme; + localStorage.setItem('neko-heading-font-theme', theme); + this.emit('theme-updated'); + } + setSidebarVisible(visible: boolean) { this.sidebarVisible = visible; setSidebarCookie(visible); -- cgit v1.2.3