yss

0.4.0 • Public • Published

yss - why style sheets?

example

What is yss?

Given that you use the mighty mithril.js you can do something like this:

const myLink = 'a' + yss.fsL.dIb.bgBlue.fgWhite.brPill.boNone.hoGrow.ulNone
m(myLink, { href: '#' }, 'Click me')

Credits

Heavily inspired by https://github.com/porsager/bss. Thanks Rasmus!

Readme

Keywords

Package Sidebar

Install

npm i yss

Weekly Downloads

0

Version

0.4.0

License

MIT

Unpacked Size

67.3 kB

Total Files

23

Last publish

Collaborators

  • stephan.hoyer