system-ui / theme-specification

A specification for defining theme objects & design tokens for use with UI components
https://system-ui.com/theme
531 stars 19 forks source link

"borders" value example? #15

Open yairEO opened 4 years ago

yairEO commented 4 years ago

How should borders be authored?

README does not state, and it is unclear because I would assume it to be a full border descriptor, named:

borders: {
    type1: "1px solid silver",
    type2: "2px solid red"
}

And I also assume I am wrong with my guess


I advice adding another column to the reference section) which provide an example for each one. It's not as obvious as it may appear.