feat(niri/language): add CSS classes

This commit is contained in:
workflow
2025-09-29 17:35:06 +03:00
parent 41de8964f1
commit 862ba2f568
3 changed files with 20 additions and 0 deletions

View File

@ -61,3 +61,12 @@ Addressed by *niri/language*
# STYLE
- *#language*
Additionally, a CSS class matching the current layout's short name is added to the widget. This
allows per-language styling, for example:
```
#language.us { color: #00ff00; }
#language.de { color: #ff0000; }
#language.fr { color: #0000ff; }
```