diff options
| author | Adam Mathes <adam@adammathes.com> | 2026-02-14 09:30:16 -0800 |
|---|---|---|
| committer | Adam Mathes <adam@adammathes.com> | 2026-02-14 09:30:16 -0800 |
| commit | 22eacbaf2712aee2a1c448a0e53f241f8c7bd255 (patch) | |
| tree | 29d5f20166c378e082216346043585cb3a0cc74c /frontend/src/components/FeedList.tsx | |
| parent | 08032aab10f0e1429d25ecae1acf6c40d63e9ff4 (diff) | |
| download | neko-22eacbaf2712aee2a1c448a0e53f241f8c7bd255.tar.gz neko-22eacbaf2712aee2a1c448a0e53f241f8c7bd255.tar.bz2 neko-22eacbaf2712aee2a1c448a0e53f241f8c7bd255.zip | |
ui: simplify themes to light/dark and improve theme-aware styling (fixing NK-dp5efo)
Diffstat (limited to 'frontend/src/components/FeedList.tsx')
| -rw-r--r-- | frontend/src/components/FeedList.tsx | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/frontend/src/components/FeedList.tsx b/frontend/src/components/FeedList.tsx index d2dc8e1..1cd1bfd 100644 --- a/frontend/src/components/FeedList.tsx +++ b/frontend/src/components/FeedList.tsx @@ -138,14 +138,19 @@ export default function FeedList({ <div className="theme-section"> <div className="theme-selector"> - <button onClick={() => setTheme('light')} className={theme === 'light' ? 'active' : ''}> - light + <button + onClick={() => setTheme('light')} + className={theme === 'light' ? 'active' : ''} + title="Light Theme" + > + ☀️ </button> - <button onClick={() => setTheme('dark')} className={theme === 'dark' ? 'active' : ''}> - dark - </button> - <button onClick={() => setTheme('black')} className={theme === 'black' ? 'active' : ''}> - black + <button + onClick={() => setTheme('dark')} + className={theme === 'dark' ? 'active' : ''} + title="Dark Theme" + > + 🌙 </button> </div> </div> |
