These are chat archives for LearnBoost/stylus

11th
Dec 2014
kevin olson
@acidjazz
Dec 11 2014 04:54
hmm
@sethkrasnianski try () instead of {}.. is category a variable?
Seth Krasnianski
@sethkrasnianski
Dec 11 2014 14:32
Yes it is / was. I Ended up getting it working. I will try () when I get a chance
.category-icon[data-icon={'"' + category + '"'}]
    background-image: url("../images/publication_categories/" + type + "/" + slug + ".png")
    height: unit(height, px)