in the THEME tab created/named a ‘new extension’ and copied in the code,
put a button on the page,
and put ‘btn-5’ in the Classes setting
In Preview, it changed the button text to orange, but no action. On a block component: gave it rounded corners but again no action.
Dima,
And what would the “right colors” be? I’ve tried transparent and a light color; when the button is pressed there’s a gray ‘wash’, but not the actions shown on the GitHub page. A UI Builder standard button shows a much lighter gray wash when pressed, all over and not moving.
I’m a newbie to CSS code so there’s a lot here I don’t understand, like should the button be animated continuously (like the GitHub examples) or only when pressed?
The test UI builder page (below) has your code for Theme/Extensions on two different buttons, and GitHub example code (for different actions) on two more buttons.
They all show similar ‘gray wash’ action when pressed. Confusing me even more, the ‘gray wash’ spread varies depending on where the button is clicked!?
I’m a newbie to CSS code so there’s a lot here I don’t understand, like should the button be animated continuously (like the GitHub examples) or only when pressed?