stylus / nib

Stylus mixins, utilities, components, and gradient image generation
http://stylus.github.io/nib
MIT License
1.9k stars 250 forks source link

fontawesome instead of iconic? #197

Closed optikfluffel closed 3 years ago

optikfluffel commented 11 years ago

What about switching from Iconic to Font Awesome? it has way more icons and you could easily use Bootstrap CDN (or an equivalent) if you don't want to host the font files yourself.

notslang commented 11 years ago

sure, wanna make a PR for it?

optikfluffel commented 11 years ago

Do you think using the CDN by default or including the font files itself would be the better option?

notslang commented 11 years ago

i'd go with just including it... when you're developing without internet access having stuff connected to a CDN can be annoying

optikfluffel commented 11 years ago

good point :+1: I'll send a PR later this evening or so ^^

yoshuawuyts commented 11 years ago

@optikfluffel Have you sent it in yet? It's been a month since that 'evening' :)

optikfluffel commented 11 years ago

oh sorry xD Berlin is still melting at 37°C :D maybe i can update to the latest 3.2 and open the pull request if it's getting below 30°C here xD

yoshuawuyts commented 11 years ago

Haha, sounds good! So we'll be seeing a PR tonight? (Lucky you by the way, Amsterdam is so rainy right now :cloud: :droplet: :cloud:)

optikfluffel commented 11 years ago

I just fell asleep yesterday xD After my dayjob I'll open the PR ^^

optikfluffel commented 11 years ago

I'm not sure wether I should include a demo.html with the fontawesome css file or not, is that necessary?

disfated commented 11 years ago

I believe prebiult icon libraries are quite out of the date. The future is for IcoMoon.

notslang commented 11 years ago

I agree that prebuilt icon libraries are not the future, but I disagree that IcoMoon is a viable alternative. Perhaps something like IcoMoon... such as an opensource library for building custom icon-fonts using only the icons that are needed. But IcoMoon is a closed-source service, and not something that I would want to rely on.

Also, I question if a specific icon-based font really belongs in nib. Nib focuses on general helpers and doesn't seem to give people a specific style... it is "style-agnostic". And a builder for icon-fonts seems even further outside the scope of nib... that would belong in a project like roots.

What we could do in nib is provide helper methods for including icon-fonts... but (correct me if I'm wrong) I don't think we want to go down any of those other routes.

disfated commented 11 years ago

Open source alternative would be awesome...
Btw, IcoMoon author promised to publish it's sources after he will finish "entirely new version of the IcoMoon app, which is a hundred times better"...