# Referencing Image SCSS variables in the JS of a Theme Component

**URL:** https://meta.discourse.org/t/referencing-image-scss-variables-in-the-js-of-a-theme-component/170475
**Category:** Support
**Created:** [November 18, 2020, 12:41pm UTC](https://meta.discourse.org/t/referencing-image-scss-variables-in-the-js-of-a-theme-component/170475 "2020-11-18T12:41:34Z")
**Posts on this page:** 1
**Showing post:** 2

<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: [November 18, 2020, 2:21pm UTC](https://meta.discourse.org/t/referencing-image-scss-variables-in-the-js-of-a-theme-component/170475/2 "2020-11-18T14:21:13Z")

</div>

```js
settings.theme_uploads.your_scss_variable

```

More info here:

> [@Include assets (e.g. images, fonts) in themes and components](https://meta.discourse.org/t/include-images-and-fonts-in-themes-and-components/62459):
>
> Themes and theme components allow you to handle uploaded assets such as images and fonts. You can control what assets your theme accepts using the site setting: theme authorized extensions Including assets in themes and components For remote themes Remote themes include: Themes and components installed from the Popular list of themes Themes and components installed using the From a git repository method To upload assets to a remote theme or theme component, see [Create and share a font theme …](https://meta.discourse.org/t/create-and-share-a-font-theme-component/62462)

---

_[View the full topic](https://meta.discourse.org/t/referencing-image-scss-variables-in-the-js-of-a-theme-component/170475)._
