-
Notifications
You must be signed in to change notification settings - Fork 250
Closed
Labels
enhancementFeature requests or suggested improvements.Feature requests or suggested improvements.new-iconNew icons added to the package's icon-font.New icons added to the package's icon-font.
Description
Hey, I was just curious whether or not you guys could add the Imba icon, a compile-to-JS language.
See:
https://github.com/somebee/imba
https://atom.io/packages/language-imba
I'm currently doing it right now through LESS in the stylesheet, feels really hacky. The language-imba package declares:
Scope: source.imba
File Types: imba
But yet despite this, the grammar being properly autodetected, and using a custom language definition in Atom's config coffeescript, I couldn't get the CSS selector to trigger. I don't think I should even need to declare it a custom file type because of the Scope and File Type from the language package, but I tried anways
core:
customFileTypes:
"source.imba": [
"imba"
]Still just get:
<span class="name icon default-icon" title="test.imba" data-name="test.imba" data->test.imba</span>So using this:
.icon[data-name$="imba"]:before{
content: url('http://imba.io/images/logo.svg');
}Unfortunately the SVG doesn't scale well at small dimensions, but what can you do?
Thank you guys!
Metadata
Metadata
Assignees
Labels
enhancementFeature requests or suggested improvements.Feature requests or suggested improvements.new-iconNew icons added to the package's icon-font.New icons added to the package's icon-font.