# 테마 컴포넌트의 JS에서 이미지 SCSS 변수 참조

**URL:** https://meta.discourse.org/t/referencing-image-scss-variables-in-the-js-of-a-theme-component/170475
**Category:** Support
**Created:** [11월 18, 2020, 12:41오후 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:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![welburn](https://avatars.discourse-cdn.com/v4/letter/w/f0a364/32.png) [@welburn](https://meta.discourse.org/u/welburn)
#### Post date: [11월 18, 2020, 12:41오후 UTC](https://meta.discourse.org/t/referencing-image-scss-variables-in-the-js-of-a-theme-component/170475/1 "2020-11-18T12:41:34Z")

</div>

안녕하세요,

header.html의 테마 컴포넌트에 업로드된 이미지에 할당된 SCSS 변수를 참조하고 싶습니다. 더 구체적으로는 createWidget 함수 내부에서요. 이것이 가능한지 궁금합니다.

미리 감사드립니다!

---

<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: [11월 18, 2020, 2:21오후 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

```

자세한 내용은 여기를 참고하세요:

> [@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)

---

<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: [12월 18, 2020, 2:32오후 UTC](https://meta.discourse.org/t/referencing-image-scss-variables-in-the-js-of-a-theme-component/170475/3 "2020-12-18T14:32:53Z")

</div>

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