Skip to content

Instantly share code, notes, and snippets.

@JohannesHoppe
Last active June 13, 2016 15:44
Show Gist options
  • Save JohannesHoppe/b2f24e8ca34e446043ac3fe659689b58 to your computer and use it in GitHub Desktop.
Save JohannesHoppe/b2f24e8ca34e446043ac3fe659689b58 to your computer and use it in GitHub Desktop.
VSCode: Add file icons support in the explorer
/* <vs install path>/resources/app/out/vs/workbench/workbench.main.css */
.monaco-tree-row .content .sub-content .explorer-item.folder-icon {
padding-left: 22px;
background: url(./parts/files/browser/media/Folder_inverse.svg) 1px 4px no-repeat;
}
.monaco-tree-row.expanded .content .sub-content .explorer-item.folder-icon {
padding-left: 22px;
background: url(./parts/files/browser/media/Folder_opened.svg) 1px 4px no-repeat;
background-size: 16px;
}
.explorer-item.text-file-icon {
padding-left: 22px;
background: url(./parts/files/browser/media/File.svg) 1px 3px no-repeat;
background-size: 16px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment