Atom: .postcssrc.{js,json,yaml} not working

Created on 27 Feb 2017  路  3Comments  路  Source: file-icons/atom

I've just updated to v2.0.16. But .postcssrc.{js,json,yaml} is not working yet.

I guess I missed something in my attempt (https://github.com/file-icons/atom/pull/544), probably about that priority value I just saw elsewhere.

Sorry for missing the proper test. 馃樋

bug filetype-support

All 3 comments

My fault, I should've picked up on that when I merged.

Yeah, icon-rules within the same priority are matched alphabetically. So Data and JavaScript will obviously be tested before PostCSS.

This isn't urgent, so it'll have to wait until the next release. In the meantime, you can always use your stylesheet:

~less
.icon[data-name$=".postcssrc.js"]:before,
.icon[data-name$=".postcssrc.json"]:before,
.icon[data-name$=".postcssrc.yaml"]:before{
content: "\e910";
top: 2px;
font-size: 14px;
font-family: file-icons;
}
~

Suppose I'd better update the change-log and release notes, too.

Sure, no problem. Thanks! 馃槂

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ThatXliner picture ThatXliner  路  4Comments

zslabs picture zslabs  路  9Comments

radiocity picture radiocity  路  3Comments

gperdomor picture gperdomor  路  3Comments

jgebhardt picture jgebhardt  路  6Comments