diff --git a/pages/popup/src/Timer.tsx b/pages/popup/src/Timer.tsx new file mode 100644 index 0000000..b98decb --- /dev/null +++ b/pages/popup/src/Timer.tsx @@ -0,0 +1,65 @@ +import { useStorage } from '@extension/shared'; +import { themeStorage } from '@extension/storage'; +import ThemeSwitcher from './components/ThemeSwitcher'; + +interface TimerProps { + onBack: () => void; +} + +const Timer = ({ onBack }: TimerProps) => { + const theme = useStorage(themeStorage); + const isLight = theme === 'light'; + + return ( +