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')
Heavily inspired by https://github.com/porsager/bss. Thanks Rasmus!