kneath / kss

A methodology for documenting CSS and generating styleguides.
warpspire.com/kss
MIT License
4.04k stars 275 forks source link

Compiling with base64 in CSS #89

Open AlexandreBroudin opened 10 years ago

AlexandreBroudin commented 10 years ago

The compilation is very very very very ... very very very very ... very .. very very very very ... very ... slow when you have base64 datas in your CSS.

Like this one, it import a base64 font:

 src: url(~"data:font/truetype;charset=utf-8;base64,AAEA…") format('truetype');

Also, its a .less file

kneath commented 10 years ago

Do you have any information on the file size of your css file, or maybe have an example file that's slow?

AlexandreBroudin commented 10 years ago

Of course, here's the gist: https://gist.github.com/AlexandreBroudin/7640659/raw/4f0cafe1b7e0fcd1526613af97ef52f5e772b4cd/Font+awesome+base64

kneath commented 10 years ago

Rad :zap: — I'm not sure when I'll have the time to look into this, but now we have a test case to run against.