The possibility to follow the current GTK theme seems currently missing and would be a proper way of theming sway. Furthermore, it would allow easy light mode/dark mode switching.
For example, colors definition would look like this:
set $black @theme_fg_color
Another way would be to directly allow using GTK tags like so:
# class border backgr. text indicator child_border
client.focused @theme_fg_color @theme_fg_color @theme_fg_color @theme_fg_color @theme_fg_color
The possibility to follow the current GTK theme seems currently missing and would be a proper way of theming sway. Furthermore, it would allow easy light mode/dark mode switching. For example, colors definition would look like this:
set $black @theme_fg_color
Another way would be to directly allow using GTK tags like so:For example, Waybar implemented this properly.