These are the CSS variables a theme sets. They come in two levels:
Set them in a plain html { … } rule. Theming/Creating a Theme shows how, and explains why a base variable set on another element doesn’t re-derive the specific ones.
How to read the lists:
edge for the edge builds. Variables marked experimental may change or go away, usually because the feature they belong to is experimental. All others are stable.${query[[ from v = index.objects("theme-variable") where v.group == "Surfaces and text" select template.new[==[* `${name}`: ${description}${light and (" Light `" .. light .. "`" .. (dark and (", dark `" .. dark .. "`") or "") .. ".") or ""} _Since ${since}${stability ~= "stable" and (", " .. stability) or ""}._ ]==](v) ]]}
${query[[ from v = index.objects("theme-variable") where v.group == "Accent" select template.new[==[* `${name}`: ${description}${light and (" Light `" .. light .. "`" .. (dark and (", dark `" .. dark .. "`") or "") .. ".") or ""} _Since ${since}${stability ~= "stable" and (", " .. stability) or ""}._ ]==](v) ]]}
${query[[ from v = index.objects("theme-variable") where v.group == "Links and meta" select template.new[==[* `${name}`: ${description}${light and (" Light `" .. light .. "`" .. (dark and (", dark `" .. dark .. "`") or "") .. ".") or ""} _Since ${since}${stability ~= "stable" and (", " .. stability) or ""}._ ]==](v) ]]}
${query[[ from v = index.objects("theme-variable") where v.group == "Marks" select template.new[==[* `${name}`: ${description}${light and (" Light `" .. light .. "`" .. (dark and (", dark `" .. dark .. "`") or "") .. ".") or ""} _Since ${since}${stability ~= "stable" and (", " .. stability) or ""}._ ]==](v) ]]}
${query[[ from v = index.objects("theme-variable") where v.group == "Tones" select template.new[==[* `${name}`: ${description}${light and (" Light `" .. light .. "`" .. (dark and (", dark `" .. dark .. "`") or "") .. ".") or ""} _Since ${since}${stability ~= "stable" and (", " .. stability) or ""}._ ]==](v) ]]}
${query[[ from v = index.objects("theme-variable") where v.group == "Code palette" select template.new[==[* `${name}`: ${description}${light and (" Light `" .. light .. "`" .. (dark and (", dark `" .. dark .. "`") or "") .. ".") or ""} _Since ${since}${stability ~= "stable" and (", " .. stability) or ""}._ ]==](v) ]]}
${query[[ from v = index.objects("theme-variable") where v.group == "Layout" select template.new[==[* `${name}`: ${description}${light and (" Light `" .. light .. "`" .. (dark and (", dark `" .. dark .. "`") or "") .. ".") or ""} _Since ${since}${stability ~= "stable" and (", " .. stability) or ""}._ ]==](v) ]]}
${query[[ from v = index.objects("theme-variable") where v.group == "Fonts" select template.new[==[* `${name}`: ${description}${light and (" Light `" .. light .. "`" .. (dark and (", dark `" .. dark .. "`") or "") .. ".") or ""} _Since ${since}${stability ~= "stable" and (", " .. stability) or ""}._ ]==](v) ]]}
${query[[ from v = index.objects("theme-variable") where v.group == "Shared surfaces" select template.new[==[* `${name}`: ${description}${light and (" Light `" .. light .. "`" .. (dark and (", dark `" .. dark .. "`") or "") .. ".") or ""} _Since ${since}${stability ~= "stable" and (", " .. stability) or ""}._ ]==](v) ]]}
${query[[ from v = index.objects("theme-variable") where v.group == "Top bar" select template.new[==[* `${name}`: ${description}${light and (" Light `" .. light .. "`" .. (dark and (", dark `" .. dark .. "`") or "") .. ".") or ""} _Since ${since}${stability ~= "stable" and (", " .. stability) or ""}._ ]==](v) ]]}
${query[[ from v = index.objects("theme-variable") where v.group == "Panels" select template.new[==[* `${name}`: ${description}${light and (" Light `" .. light .. "`" .. (dark and (", dark `" .. dark .. "`") or "") .. ".") or ""} _Since ${since}${stability ~= "stable" and (", " .. stability) or ""}._ ]==](v) ]]}
${query[[ from v = index.objects("theme-variable") where v.group == "Modals and pickers" select template.new[==[* `${name}`: ${description}${light and (" Light `" .. light .. "`" .. (dark and (", dark `" .. dark .. "`") or "") .. ".") or ""} _Since ${since}${stability ~= "stable" and (", " .. stability) or ""}._ ]==](v) ]]}
${query[[ from v = index.objects("theme-variable") where v.group == "Notifications and alerts" select template.new[==[* `${name}`: ${description}${light and (" Light `" .. light .. "`" .. (dark and (", dark `" .. dark .. "`") or "") .. ".") or ""} _Since ${since}${stability ~= "stable" and (", " .. stability) or ""}._ ]==](v) ]]}
${query[[ from v = index.objects("theme-variable") where v.group == "Buttons and fields" select template.new[==[* `${name}`: ${description}${light and (" Light `" .. light .. "`" .. (dark and (", dark `" .. dark .. "`") or "") .. ".") or ""} _Since ${since}${stability ~= "stable" and (", " .. stability) or ""}._ ]==](v) ]]}
${query[[ from v = index.objects("theme-variable") where v.group == "Editor text" select template.new[==[* `${name}`: ${description}${light and (" Light `" .. light .. "`" .. (dark and (", dark `" .. dark .. "`") or "") .. ".") or ""} _Since ${since}${stability ~= "stable" and (", " .. stability) or ""}._ ]==](v) ]]}
${query[[ from v = index.objects("theme-variable") where v.group == "Editor panels and completion" select template.new[==[* `${name}`: ${description}${light and (" Light `" .. light .. "`" .. (dark and (", dark `" .. dark .. "`") or "") .. ".") or ""} _Since ${since}${stability ~= "stable" and (", " .. stability) or ""}._ ]==](v) ]]}
${query[[ from v = index.objects("theme-variable") where v.group == "Headings, lists and tasks" select template.new[==[* `${name}`: ${description}${light and (" Light `" .. light .. "`" .. (dark and (", dark `" .. dark .. "`") or "") .. ".") or ""} _Since ${since}${stability ~= "stable" and (", " .. stability) or ""}._ ]==](v) ]]}
${query[[ from v = index.objects("theme-variable") where v.group == "Editor links and tags" select template.new[==[* `${name}`: ${description}${light and (" Light `" .. light .. "`" .. (dark and (", dark `" .. dark .. "`") or "") .. ".") or ""} _Since ${since}${stability ~= "stable" and (", " .. stability) or ""}._ ]==](v) ]]}
${query[[ from v = index.objects("theme-variable") where v.group == "Markup and frontmatter" select template.new[==[* `${name}`: ${description}${light and (" Light `" .. light .. "`" .. (dark and (", dark `" .. dark .. "`") or "") .. ".") or ""} _Since ${since}${stability ~= "stable" and (", " .. stability) or ""}._ ]==](v) ]]}
${query[[ from v = index.objects("theme-variable") where v.group == "Blocks" select template.new[==[* `${name}`: ${description}${light and (" Light `" .. light .. "`" .. (dark and (", dark `" .. dark .. "`") or "") .. ".") or ""} _Since ${since}${stability ~= "stable" and (", " .. stability) or ""}._ ]==](v) ]]}
${query[[ from v = index.objects("theme-variable") where v.group == "Admonitions" select template.new[==[* `${name}`: ${description}${light and (" Light `" .. light .. "`" .. (dark and (", dark `" .. dark .. "`") or "") .. ".") or ""} _Since ${since}${stability ~= "stable" and (", " .. stability) or ""}._ ]==](v) ]]}