aboutsummaryrefslogtreecommitdiffstats
path: root/apps/browser-extension/src/utils/providers.tsx (follow)
Commit message (Collapse)AuthorAgeFilesLines
* feat(extension): Add theme and dynamic icon support (#1894)qixing-jk2025-09-071-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * feat: add theme selection support to browser extension - integrate theme settings with plugin settings storage - add theme selector dropdown to options page - implement custom ThemeProvider using plugin settings - include new Select UI component for theme selection * feat(extension): add dynamic icon theme switching (#1100) Add updateIcon() function to dynamically change extension icon based on selected theme (light/dark/system). Update icon on initial load and when settings change to reflect current theme preference. Closes #1100 * fix(extension): switch dark mode strategy from media to selector This allows manual control over dark mode via class toggling rather than relying on the OS/browser preference. * fix(extension): move icon update logic to content script The `window` object is inaccessible in the background script, causing icon updates to fail. This change relocates the icon update logic to the content script where `window.matchMedia` is available. - Remove `updateIcon` function from background script - Add icon update logic to `ThemeProvider` component - Consolidate theme and icon updates in single effect * feat(settings): make theme field required in settings schema Remove optional flag from theme field to enforce presence in settings validation schema. * deps: Upgrade the extension deps * minor fixes --------- Co-authored-by: MohamedBassem <me@mbassem.com>
* chore: Rename hoarder packages to karakeepMohamedBassem2025-04-121-1/+1
|
* ui(extension): Use shadcn and better dark mode supportMohamedBassem2024-04-231-1/+8
|
* fix: Delete the API key on logout from phone or extensionMohamedBassem2024-04-091-41/+3
|
* format: Add missing lint and format, and format the entire repoMohamedBassem2024-03-301-3/+4
|
* structure: Create apps dir and copy tooling dir from t3-turbo repoMohamedBassem2024-03-141-0/+46