artsy / artsy-iconfont

3 stars 1 forks source link

@dzucconi: triangle-down icon #1

Closed craigspaeth closed 10 years ago

craigspaeth commented 10 years ago

Adds this:

image

dzucconi commented 10 years ago

Although, you could do this with CSS using that hacky border technique: https://github.com/artsy/force/blob/master/components/stylus_lib/index.styl#L58

craigspaeth commented 10 years ago

This is quite the process to add icons to a project. What's the reasoning for an icon font over just svg backgrounds again? Was it IE8 support?

craigspaeth commented 10 years ago

Oh right! Forgot about the CSS tricks to get this too!

gib commented 10 years ago

SVG vs font... color transitions, yeah?

gib commented 10 years ago

I fiddled this a while back... http://jsfiddle.net/greims/qcWwV/

craigspaeth commented 10 years ago

@gib: Thanks, good point!

dzucconi commented 10 years ago

Just easier to style mainly. Scaling them was weird because you had to use background size. Also coloring them is a pain—I was thinking about this when I redid the detail nav stuff on the artwork page:

It just works because it's the font color