# Wikified Posts Component

**URL:** <https://meta.discourse.org/t/wikified-posts-component/199492>\
**Category:** Theme component\
**Tags:** wiki-posts\
**Created:** [August 6, 2021, 9:59pm UTC](https://meta.discourse.org/t/wikified-posts-component/199492 "2021-08-06T21:59:32Z")\
**Posts on this page:** 1\
**Showing post:** 17

<div class="post-metadata">

**Author:** ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)\
**Post date:** [September 6, 2023, 8:30am UTC](https://meta.discourse.org/t/wikified-posts-component/199492/17 "2023-09-06T08:30:32Z")

</div>

> [@thoka](#):
>
> I suppose SASS (or something similar) is not available in the frontend.  
> But would some CSS magic [like this](https://una.im/css-color-theming/) work?

SASS functions are available in the customize theme section, it’s compiled when you save your modifications. Your can’t use SASS functions on theme or CSS variables though.  
If you want to use a SASS function on a color from your color scheme, you must use the corresponding SASS variable.

Will work ✅

```scss
body {
    background: darken($secondary, 10%);
}

```

Won’t work ❌

```scss
body {
    background: darken($my_theme_variable, 10%);
}

```

Won’t work ❌

```scss
body {
    background: darken(var(--secondary), 10%);
}

```

And on the paper, I think what your link describes should work. 🙂

---

_[View the full topic](https://meta.discourse.org/t/wikified-posts-component/199492)._
