# Sidebar background color

**URL:** https://meta.discourse.org/t/sidebar-background-color/256521
**Category:** Support
**Created:** [February 28, 2023, 5:57pm UTC](https://meta.discourse.org/t/sidebar-background-color/256521 "2023-02-28T17:57:35Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![MarcP](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/marcp/32/160184_2.png) [@MarcP](https://meta.discourse.org/u/MarcP)
#### Post date: [February 28, 2023, 5:57pm UTC](https://meta.discourse.org/t/sidebar-background-color/256521/1 "2023-02-28T17:57:35Z")

</div>

I was playing around with color schemes, and I couldn’t seem to find what color the sidebar is using. No matter what I do, the color always stays the same.

Does anyone notice the same or is this something that needs to be done with custom CSS?

---

<div class="post-metadata">

### Author: ![Don](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/don/32/228726_2.png) [@Don](https://meta.discourse.org/u/Don)
#### Post date: [February 28, 2023, 9:25pm UTC](https://meta.discourse.org/t/sidebar-background-color/256521/2 "2023-02-28T21:25:08Z")

</div>

Hello,

This is not in the color palette by default but you can change it with a theme component.

This is the sidebar background color.

```scss
.sidebar-wrapper {
  background-color: var(--primary-very-low);
}

```

You can find it here 🔽

 ![Screenshot 2023-02-28 at 22.18.54](https://global.discourse-cdn.com/meta/original/4X/3/5/e/35e931d2a024ef86cfc61fce607b8422eedf713a.png)

* * *

---

<div class="post-metadata">

### Author: ![MarcP](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/marcp/32/160184_2.png) [@MarcP](https://meta.discourse.org/u/MarcP)
#### Post date: [February 28, 2023, 9:35pm UTC](https://meta.discourse.org/t/sidebar-background-color/256521/3 "2023-02-28T21:35:34Z")

</div>

I found that CSS code, but I if you select **Solarized Light** [on Meta](https://meta.discourse.org/my/preferences/interface), there is definitely a difference between the light/dark theme in the sidebar colors. How can we make such changes and link them to a color scheme?

edit - I see, it’s derived from `--primary-very-low` but this in some situations creates some not-so-nice combinations. I’ll play around with it.

edit 2 - It’s funny. My Meta theme: Light with Color Scheme: Solarized Light. I take the primary color code by inspecting meta: #002B36, when I enter this in my color scheme, the accents become “default Discourse” blue and not #F0ECD7 as expected.

edit 3 - initial question has been answered, marked as solved. Thanks again CSS-god @dodesz

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [March 30, 2023, 9:36pm UTC](https://meta.discourse.org/t/sidebar-background-color/256521/4 "2023-03-30T21:36:09Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
