File tree Expand file tree Collapse file tree 3 files changed +8
-3
lines changed
Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -46,6 +46,7 @@ import {
4646import { Constants } from '../utils/constants' ;
4747import { getNotificationCount } from '../utils/notifications' ;
4848import { clearState , loadState , saveState } from '../utils/storage' ;
49+ import { setTheme } from '../utils/theme' ;
4950import { zoomPercentageToLevel } from '../utils/zoom' ;
5051
5152export const defaultAuth : AuthState = {
@@ -138,6 +139,10 @@ export const AppProvider = ({ children }: { children: ReactNode }) => {
138139 restoreSettings ( ) ;
139140 } , [ ] ) ;
140141
142+ useEffect ( ( ) => {
143+ setTheme ( settings . theme ) ;
144+ } , [ settings . theme ] ) ;
145+
141146 // biome-ignore lint/correctness/useExhaustiveDependencies: We only want fetchNotifications to be called for account changes
142147 useEffect ( ( ) => {
143148 fetchNotifications ( { auth, settings } ) ;
Original file line number Diff line number Diff line change 88 </ head >
99
1010 < body >
11- < div id ="root "> </ div >
11+ < div id ="root " class =" text-gitify-font bg-gitify-background " > </ div >
1212 </ body >
1313</ html >
Original file line number Diff line number Diff line change @@ -17,10 +17,10 @@ const config: Config = {
1717 */
1818 primer : {
1919 attention : '#9a6700' ,
20- closed : '#d1242f ' ,
20+ closed : '#cf222e ' ,
2121 done : '#8250df' ,
2222 muted : '#59636e' ,
23- open : '#1a7f37 ' ,
23+ open : '#1f883d ' ,
2424 } ,
2525 gitify : {
2626 background : 'var(--color-gitify-background)' ,
You can’t perform that action at this time.
0 commit comments