Skip to content

StephanHoyer/yss

Repository files navigation

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!

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •