Cookies are used for things as simple as nighttime color theme preference. Someone more knowledgeable than either of us will probably point out that GDPR doesn't care about cookies like that...
https://drafts.csswg.org/mediaqueries-5/#prefers-color-schem...