Resolves the data-theme value to put on the element — MJ's dark token block is keyed on
[data-theme="dark"] — or null to leave the element alone.
light / dark are explicit and always applied.
auto defers to the PAGE: when an ancestor already carries data-theme (an MJ application, or a site
that follows MJ's convention), nothing is applied and the ancestor wins; otherwise it follows the
visitor's OS preference.
Resolves the
data-themevalue to put on the element — MJ's dark token block is keyed on[data-theme="dark"]— ornullto leave the element alone.light/darkare explicit and always applied.autodefers to the PAGE: when an ancestor already carriesdata-theme(an MJ application, or a site that follows MJ's convention), nothing is applied and the ancestor wins; otherwise it follows the visitor's OS preference.