Sidebar Background and font


#1

@jessegrosjean I have looked through the dark theme example and downloaded another dark theme - ish example but I have not been able to see how to change the color of my sidebar background or font. (Now discovered but unable to tweak still)

ADDED: I can put in this code but I see no way to tweak it? Meaning, to adjust the colors as you already said the fonts size can’t change.

window {
  appearance: NSAppearanceNameVibrantDark;
}

Possible Reference here: StackOverflow page


#2

Right now your only options are:

window {
  appearance: NSAppearanceNameVibrantDark;
}

// if you want sidebar appearance to be different then window
sidebar {
  appearance: NSAppearanceNameVibrantDark;
}

With the window and sidebar (unlike the text view) cocoa is doing most of the color/font/etc work and I’m just using those defaults. It gets quite involved when trying to change the default values, because they build up on each other.

For instance when you select an item in the sidebar it’s text turns white. This only happens automatically when you are using the default colors. You can hack around things, but it’s a lot of work for diminishing returns I think.

I’m going to post a new topic with some related questions in a few minutes.