# Versão com tema escuro que herda o tema claro + substitui partes?

**URL:** <https://meta.discourse.org/t/dark-theme-version-that-inherits-light-theme-overrides-portions/164399>\
**Category:** Product Support\
**Created:** [Setembro 17, 2020, 11:31pm UTC](https://meta.discourse.org/t/dark-theme-version-that-inherits-light-theme-overrides-portions/164399 "2020-09-17T23:31:58Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![pmusaraj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pmusaraj/32/119489_2.png) [@pmusaraj](https://meta.discourse.org/u/pmusaraj)\
**Post date:** [Setembro 21, 2020, 1:11pm UTC](https://meta.discourse.org/t/dark-theme-version-that-inherits-light-theme-overrides-portions/164399/4 "2020-09-21T13:11:01Z")

</div>

> [@paulrudy](#):
>
> Em common/custom\_variables.scss

Isso deveria ser `common/color_definitions.scss`.

E em common.css, os valores de fallback são os mesmos que o valor inicial, então você pode simplesmente usar:

```scss
.nav-pills>li>a:hover {
  background-color: var(--custom-nav-pills-bg);

  &:not(.active) {
    color: var(--custom-nav-pills);
  }
}

```

---

_[View the full topic](https://meta.discourse.org/t/dark-theme-version-that-inherits-light-theme-overrides-portions/164399)._
