back

by yen223·1y ago·view on hn ↗
User-preference cookies (e.g. light mode vs dark mode) are not "strictly necessary", and therefore probably still require consent under GDPR
2 comments
Though they are necessary for the given functionality.

So let's say that by default you have a light theme. If the user selects a dark theme, you need the cookie. Then my reading is that no banner would be necessary.

why would someone store it using cookies in place of local storage?