-
Notifications
You must be signed in to change notification settings - Fork 518
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
icons in front of files too? #174
Comments
+1 |
This is now a feature of Sublime Text Dev 3062. In the default theme, icons are stored in an From there, the {
"class": "icon_file_type",
// layer0.texture is filled in by code with the relevant icon name
"layer0.opacity": 1.0,
"content_margin": [8, 8]
},
{
"class": "icon_folder",
"layer0.texture": "Theme - Default/icons/folder.png",
"layer0.opacity": 1.0,
"content_margin": [8, 8]
},
{
"class": "icon_folder",
"parents":
[
{ "class": "tree_row", "attributes": ["expanded"] }
],
"layer0.texture": "Theme - Default/icons/folder_open.png",
},
{
"class": "icon_folder_loading",
"layer0.texture":
{
"keyframes":
[
"Theme - Default/icons/spinner7.png",
"Theme - Default/icons/spinner6.png",
"Theme - Default/icons/spinner5.png",
"Theme - Default/icons/spinner4.png",
"Theme - Default/icons/spinner3.png",
"Theme - Default/icons/spinner2.png",
"Theme - Default/icons/spinner1.png",
"Theme - Default/icons/spinner.png",
],
"loop": true,
"frame_time": 0.075,
},
"layer0.opacity": 1.0,
"content_margin": [8, 8]
}, Adding this to Soda should be straight forward now. |
A bit more info regarding sidebar icons can be found here. |
Nice. I'm even more excited that there's been an update for ST, been so long. Will take a look at this new stuff. |
👍 for folder icons. Exciting stuff! |
Here you go (Soda Light 3 with sidebar icon support): |
Looks good, @pryley |
I've updated Soda Theme to utilise the new ST3 support for folder icons, and added the default spinner UI from the base theme to both light and dark. One challenge I've found with the current file type icons implementation is that it only allows icons to be loaded from a single set of locations, which means it's currently not possible to have separate dark and light versions. As a result, I'm leaving file icons out of the theme temporarily until I can find a solution. I've posted about it in following thread: http://www.sublimetext.com/forum/viewtopic.php?f=2&t=15971&p=60102#p60102 |
You could write a plugin to do write a separate tmPreferences based on the theme? Sent from my iPhone
|
👍 |
Good! |
Here is the wide set of sidebar icons: SetiUI Icons. To install it one should simple copy files from repo into |
Soda theme is able to use folder icons in the sidebar. However it may confused me since there's no icons in front of files.
Sometimes I wrongly thought
index.html
belongs to the folderjs
, while actually they are in the same level. So can we add icons to files as well as folders?Atom.io solved this problem nicely.
The text was updated successfully, but these errors were encountered: