microsoft / vscode-codicons

The icon font for Visual Studio Code
https://microsoft.github.io/vscode-codicons/dist/codicon.html
Creative Commons Attribution 4.0 International
883 stars 177 forks source link

icons not showing #233

Open FerTarallo opened 7 months ago

FerTarallo commented 7 months ago

Describe the bug Icons doesn´t display

To Reproduce Steps to reproduce the behavior: <span className="codicon codicon-chevron-down" />

Expected behavior The icons should display.

Screenshots

image

Environment

daviddossett commented 7 months ago

Hm, this might not be a codicons issue given that you aren't seeing browser icons render. Assuming that browser window lives outside of VS Code, it's likely a problem higher up with your OS or similar.

FerTarallo commented 7 months ago

This is a project developted with html and css and I am using vscode-codicons lib, the printscreen isn´t from my browser and vs code. Sorry for the bad crop

image
saoudrizwan commented 2 months ago

If this is happening after packaging then it may be because the icon files are not being included. Try adding this to your .vscodeignore:

!node_modules/@vscode/codicons/dist/codicon.css
!node_modules/@vscode/codicons/dist/codicon.ttf