ubio / css

ubio CSS Framework
https://ubio.github.io/css
0 stars 0 forks source link

Button semantics #5

Closed inca closed 5 years ago

inca commented 6 years ago
inca commented 6 years ago

This seem to be abandoned. Is there any work planned towards standardizing button semantics? Without a concise set of components we will have more and more ad hoc ones with each iteration.

Just to list a few (not counting "special occurrences" like playback panels):

Description Example
regular coloured buttons screen shot 2018-03-26 at 13 17 49
different colours screen shot 2018-03-26 at 13 18 20
"icon buttons", few different colours in use already, sometimes with colour-on-hover screen shot 2018-03-26 at 13 15 33
"mode buttons" screen shot 2018-03-26 at 13 19 14
"frameless buttons" screen shot 2018-03-26 at 13 19 49
"outlined buttons" screen shot 2018-03-26 at 13 24 31
navbar icon buttons + autocomplete caret screen shot 2018-03-28 at 11 56 12
playback toolbar screen shot 2018-03-28 at 11 57 50

Also, secondary button (in the way it is defined in CSS framework right now) does not appear on any specs.

muzafarova commented 6 years ago

nothing planned afaik but we should find time and move forward

@inca could you please take include "special occurrences" like playback panels as well?

It's fine that the secondary button is not in specs for UDF as long as it's used in other projects

emmasalih commented 6 years ago

Can i close this since Mark R is working on it?

muzafarova commented 6 years ago

Let's keep it until we we deliver v2.0.0! (soon)

muzafarova commented 5 years ago

The latest solution is 3 kinds of buttons:

Where blue is the primary call to action colour. It can be overridden using variables

For button sets there is an additional class button--accent to tint the button that is active (only one per set) - this is when applicable