View all declared CSS Variables

Last modified by Lucas Charpentier on 2026/06/02 17:55

cogUtility to check the values and existence of CSS variables
TypeXAR
CategoryMacro
Developed by

Lucas Charpentier

Rating
1 Votes
LicenseGNU Lesser General Public License 2.1

Description

After adding the page to your instance, you can use the XWiki macro with

{{cssvariables/}}

It should also be available in the quick actions.

Warning

This macro does not have a proper preview when edited inline.

The macro displays a grid with information about the currently defined CSS variables. Note that this only displays the highest priority value when the macro is loaded. In order to get all the defined values, use your inspector to check the page CSS directly. Color variables also have a swatch to quickly see what the value corresponds to in context.

 1744042284470-553.png

Prerequisites & Installation Instructions

Import the XAR provided as attachment on this page on your instance.

Get Connected