circlegame / circlegame-neo

A minimalistic, reflex-precision benchmark.
https://circlegame.net
GNU General Public License v3.0
1 stars 0 forks source link

Add theme context #116

Open josef-karpinski opened 3 months ago

josef-karpinski commented 3 months ago

Add a theme setting, start with light and dark mode

Add theme context, need to figure out most efficient way to use the context

I know styled-components has some built-in themecontext hook, but would our own be more beneficial?

Does it make sense to reference the theme and have some type of variables within the styled components? Would we have to build every theme within every component? Or is there an easy way to do this? Perhaps adding different key value pairs in theme context, having everything contained in the theme context and everything else would just reference that?