Closed joamjoamjoam closed 2 years ago
Using Button from decky-frontend-lib
now gives a border to the button when selected by gamepad
Unselected
Selected
This is now on main
Border looks good
An opacity/brightness change like you said might be good as well, Need to work out how to get .css files working with rollup so I can do that based on the .gpfocus class
I asked the decky guys about this earlier and theu said loading external css files will be supported later. They said only inline was supported for now. Let me know if you find a workaround for it.
Its hard to see that the tier medal is selected since it has no UI change when "active".
The "active" element is any element with the classes gpfocus and gpfocuswithin.
Something simple will do like changing the opacity slightly using CSS.
This could easily be handled by using a CSS Loader Theme if you want it to be user configurable.