Closed KevinWu098 closed 7 months ago
Just a quick note @srukelman that this issue is blocked by #810, which will implement the ThemeStore and SettingsStore!
Just a quick note @srukelman that this issue is blocked by #810, which will implement the ThemeStore and SettingsStore!
Unblocked! #810 is merged :)
Issue
_Originally posted by @MinhxNguyen7 in https://github.com/icssc/AntAlmanac/pull/810#discussion_r1405330346_
isDarkMode
, found inhelpers.ts
should be removed in favor of having components directly subscribe to the ThemeStore.Good First Taskers
For any good first task doers, relevant code can be found in
helpers.ts
as noted above. If you're using VSCode, you can find all instances ofisDarkMode()
by right-clicking and looking for "Find All References."In each of those files, you'll want to import the ThemeStore's value, and use that instead!