niant / once

Once CSS library
9 stars 2 forks source link

Specify naming policy for CSS attributes (hover, disabled etc..) #23

Closed niant closed 9 years ago

rapitkan commented 9 years ago

Example: .hover-bgc-c:hover { background-color: map-get($colors, c); }

niant commented 9 years ago

Currently it's .f-[color]-hover {} or .bg-[color]-disabled {} ..I like the action before attributes in name, because all the Once classes use that (f- being font, or O -overflow.. etc..) attribute is just a modifier (hover, disabled...)

niant commented 9 years ago

Related https://github.com/niant/once/pull/28