catppuccin / vscode-icons

🦊 Soothing pastel icons for VSCode/VSCodium
https://marketplace.visualstudio.com/items?itemName=Catppuccin.catppuccin-vsc-icons
MIT License
571 stars 26 forks source link

add `postcss` icon #240

Closed Xenos-the-stupid closed 1 month ago

Xenos-the-stupid commented 1 month ago

Type

Context and associations

a javascript config file for postcss, associated with postcss.config.{js,ts,mjs,cjs}

References

image

i think it will be cool without the details (tringle circle square, dead simple)

uncenter commented 1 month ago

This already exists: https://github.com/catppuccin/vscode-icons/blob/main/icons/latte/postcss.svg.

Xenos-the-stupid commented 1 month ago

oh yeah my bad, i think the problem now is that the icon does not appear if the file named postcss.config.mjs

Xenos-the-stupid commented 1 month ago

i'll close this and open another bug issue

uncenter commented 1 month ago

i'll close this and open another bug issue

Instead of that you could open a PR fixing it. The code in question is at: https://github.com/catppuccin/vscode-icons/blob/5c687f476d2cc3de3dad7f1a754ba27b4213cf9d/src/defaults/fileIcons.ts#L1708-L1721 You just need to add entries for the mjs file extensions to match the existing cjs entries.

Xenos-the-stupid commented 1 month ago

em i'll do it