Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Imba icon #664

@GavinRay97

Description

@GavinRay97

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?

Imba Atom Icon

Thank you guys!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementFeature requests or suggested improvements.new-iconNew icons added to the package's icon-font.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions