todo-webclient/client/font-awesome.ls

14 lines
188 B
Plaintext
Raw Normal View History

2019-12-20 01:34:41 +01:00
{h} = require "maquette"
module.exports = {
icon: (selector, icon) ->
unless icon
icon = selector
selector = ""
h (\span.icon + selector), [
h "span.fas.fa-#{icon}"
]
}