View all declared CSS Variables
Last modified by Lucas Charpentier on 2026/06/02 17:55
| Utility to check the values and existence of CSS variables |
| Type | XAR |
| Category | Macro |
| Developed by | |
| Rating | |
| License | GNU Lesser General Public License 2.1 |
Table of contents
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.
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.

Prerequisites & Installation Instructions
Import the XAR provided as attachment on this page on your instance.