microsoft/vscode-codicons

icons not showing

FerTarallo opened this issue · 3 comments

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

  • OS: Windows
  • VS Code Version 1.87.1

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.

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

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