Visual editor options → CSS
Each option reaches the theme in two ways:- A CSS variable on
:root:--ejg-<key-in-kebab>.cardSize→--ejg-card-size: 180px.color,text,select: the value as it is.range/number: with itsunit.toggle:1or0.font:"Name", system-ui, sans-serif.image:url("…")(the user picks an image or an mp4/webm video).
- An attribute on
<html>fortoggleandselect:data-show-clock="on|off",data-layout="grid".
ejg.settings.cardSize. If an option needs a redraw, listen with ejg.on("settings", …).
Each profile can also add extra CSS to any theme (Settings → Appearance), and it is applied last.
