Sublime Forum

Color Schemes and Themes

#21

The current theme is not changeable from Default.sublime-theme in X yet, but I’m more than happy to make it so.

The background on the find etc panels is rendered using the “panel_control” class. The “quick_panel” class is only used by the Select Project functionality at the moment.

0 Likes

#22

Aaaah, great. Thank you :smile:

And, I have another question. Is there a way, how to remove the first indentation on a sidebar tree? Illustration:

0 Likes

#23

There isn’t, but you can tweak the “indent” setting in the “sidebar_tree” class to reduce the horizontal indentation in general.

0 Likes

#24

If you’ll have nothing else to do, could you implement it? :smile: That first indent is useless, while forcing me to widen the sidebar (if I don’t want to see the horizontal scrollbar).

And, I hope last few questions :smile:

]How to color the text of a sidebar item names, with different color for the selected one (so far, I’ve modified only a section title with the “sidebar_heading” class)/]
]How to set the permanent background to the sidebar section titles (FILES,FOLDERS title rows)/]
]Is there a way to add a shadow to the texts in sidebar, tabs, buttons, etc.? That would enable me to use a lot more details in UI design/]

Or better, is there any documentation, tutorial, or at least some logic behind which properties can I declare to which classes?

And what is the logic behind:

"layer0.inner_margin": [x, x, x, x]

I’m using it, it works, but I’m not sure what exactly am I doing :smile:

Update:

For illustration of what I’m exactly trying to do:

Here is the UI design

And here is the actual state I’m in right now - only the sidebar is left.

0 Likes

#25

I must say that theme looks quite awesome. Nice work.

0 Likes

#26

I don’t know if you figured out already, but try adding this to the default theme file:

{ "id": "sidebar_label", "class": "sidebar_label", "color": [255, 255, 255, 255] },

Gives me the correct colour for the files that are open, but I can’t seem to figure out how to get it to look better for the unopened files.
At least it’s one step on the way.

0 Likes

#27

Has anyone found a way to change the color of items under the folders heading? Really enjoying V2 but would love to have my sidepanel fit with my theme =)

0 Likes

#28

@khebs v2 runs in linux. sublimetext.com/2

0 Likes

#29

Alright. It doesn’t look like the file text color is editable just yet :cry:

Anyway, here is what I have come up with for my Sublime v2 *(http://i.imgur.com/6raCM.png)

Really really enjoying all of the new features!

If anyone is interested I can post the config files and all that jazz*

0 Likes

#30

Hi,

I liked it, can u post it to github or send me ?

My email: contato at douglasandrade.com

Thanks !

0 Likes

#31

Want!

0 Likes

#32

Here ya go guys!

filedropper.com/stv2

A couple of the UI elements still aren’t correctly styled, but oh well =P

0 Likes

#33

Sounds stupid, but what do I have to do?

Do I overwrite the current files?

**Edit: ** I re-named Theme - Default to Theme-Old and put your theme as Theme - Default. Sidebar isn’t styled right though :frowning:

0 Likes

#34

Seems to work great in Linux (archlinux).

Loved it, thanks a lot =)

0 Likes

#35

Please add the functionality to have a dark sidebar jon. It’s much needed :smile:

0 Likes

#36

You can actually change the background color of the sidebar, just not the color of the file’s text >.<

0 Likes

#37

You can customise the color of the text in the sidebar by adding this rule to the .sublime-theme file:

{
    "id": "sidebar_label",
    "class": "sidebar_label",
    "color": [0, 0, 0]
}

Also, I’ll make the name of the .sublime-theme file customisable in the next build, so additional themes can be installed side by side.

0 Likes

#38

Okay, got the sidebar tree black. Got the sidebar heading (Files and Folders) are still their default blue. Got sidebar label set for gray and that gives me nice, legible gray labels for everything listed under Files. What I’m missing is the ability to see anything listed under Folders without highlighting it as those labels are still black (on black now, thus invisible). What am I missing here?

0 Likes

#39

That’s an oversight on my part, I’ll make them use the sidebar_label class for the next build.

0 Likes

#40

Thank you!

0 Likes