# Assets only available to SCSS not JS

**URL:** <https://meta.discourse.org/t/assets-only-available-to-scss-not-js/148231>\
**Category:** Development\
**Created:** [16 באפריל,‏ 2020,‏ 11:59am UTC](https://meta.discourse.org/t/assets-only-available-to-scss-not-js/148231 "2020-04-16T11:59:43Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![hakonbja](https://avatars.discourse-cdn.com/v4/letter/h/76d3ee/32.png) [@hakonbja](https://meta.discourse.org/u/hakonbja)\
**Post date:** [16 באפריל,‏ 2020,‏ 11:59am UTC](https://meta.discourse.org/t/assets-only-available-to-scss-not-js/148231/1 "2020-04-16T11:59:43Z")

</div>

Hello,

For the last week or so I’ve been styling a Discourse setup for a brand which includes fixed fonts, logos and icons.

To begin with I noticed that any assets I imported (place in assets folder and import under the assets object of `about.json`) became immediately available to use as a SCSS variable but took a minute or two to show up in `settings.theme_uploads`.

Now however, they don’t show up at all in `settings.theme_uploads` which means I can’t use them in my JavaScript. If I remove an asset it also stays in the settings object. The SCSS usage stays unaffected.

Help would be greatly appreciated.

---

_[View the full topic](https://meta.discourse.org/t/assets-only-available-to-scss-not-js/148231)._
