Discourse Meta
如何在设置中按名称引用图片?
开发
Arkshine
2023 年12 月 11 日 17:34
2
我相信你可以直接使用插值来设置。
background: transparent URL(\"$#{$hat_type}\") top left no-repeat;
在话题中显示帖子
相关话题
话题
回复
浏览量
活动
Get the url from theme asset SCSS
Development
1
605
2023 年5 月 4 日
Load a SCSS image in <img> tag
Development
1
672
2019 年4 月 5 日
Assets only available to SCSS not JS
Development
3
734
2021 年12 月 16 日
Theme with variable width inside settings
UX
5
1117
2022 年4 月 13 日
Referencing Image SCSS variables in the JS of a Theme Component
Support
1
880
2020 年11 月 18 日