What This Theme Stores
By default, the theme stores two small browser-based preference records on the visitor's device: the selected color theme and the cookie consent preferences.
These values are saved in localStorage, not sent automatically with each
page request, and are used only to remember visitor choices in the current browser.
Consent Categories
The consent interface includes an always-active essential category plus optional analytics and marketing categories.
In the Maria theme, analytics and marketing are placeholders until you connect real tools. The banner and modal still work now, so those tools can be gated behind consent when you add them later.
Stored Keys
How to Change Preferences
Visitors can reopen the preferences modal any time from the footer's Cookie Preferences button.
You can also open the cookie preferences modal .
Using Consent in Custom Scripts
The theme exposes window.mariaCookieConsent so optional scripts can
check whether analytics or marketing is allowed before loading.
It also emits a maria:cookieConsentChanged browser event whenever the
visitor saves new choices.