# X_THEME_INVALID

## Means

theme is not `light` or `dark`

## Typical cause

a bad `data-theme` value

## Fix

set `light` or `dark`, or clear the attribute to follow the OS

[UI](/error-codes#ui)
