Nes.css: Publish components seperately

Created on 6 Jun 2019  路  3Comments  路  Source: nostalgic-css/NES.css

Describe the solution you'd like
I want to create a components library with Web Components, that's based on NES.css, but now I have to load the complete library into every component, which is not optimal and results in bulky packages. I would like to see that all components are published as separate (scoped) packages.

Describe alternatives you've considered
Include the complete NES.css library into every component I create.

discussion

Most helpful comment

I want to create a components library with Web Components, that's based on NES.css

Thanks 馃憤

We publish the two files. 馃摝

  • nes-core.css (nes-core.min.css)

    • only component styles

    • about 50KB

  • nes.css (nes.min.css)

    • included pixel icons and pixel arts.

    • about 280KB

If you use scss, you can import components like @import "~nes.css/scss/elements/buttons.scss";. 馃

All 3 comments

I want to create a components library with Web Components, that's based on NES.css

Thanks 馃憤

We publish the two files. 馃摝

  • nes-core.css (nes-core.min.css)

    • only component styles

    • about 50KB

  • nes.css (nes.min.css)

    • included pixel icons and pixel arts.

    • about 280KB

If you use scss, you can import components like @import "~nes.css/scss/elements/buttons.scss";. 馃

I'm gonna try it out! Thanks.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

IngwiePhoenix picture IngwiePhoenix  路  6Comments

alexd99 picture alexd99  路  3Comments

YuK1Game picture YuK1Game  路  6Comments

maartenterpstra picture maartenterpstra  路  4Comments

BcRikko picture BcRikko  路  6Comments