It’s certainly possible, only inconvenient, because it’ll require hundreds of lines of boilerplate scss per-theme (and a build system for it to share variables across them all) that weren’t necessary a week ago. That said, it’d probably be best to do this anyway, to avoid issues with future refactors of Discourse’s build process. I’ll do that. Thanks!
hlissner
(Henrik Lissner)
16
נושאים קשורים
| נושא | תגובות | צפיות | פעילות | |
|---|---|---|---|---|
| Referencing Discourse theme color variables in custom theme component? | 3 | 271 | 21 במרץ, 2025 | |
| Use Discourse Core Variables in your Theme | 0 | 12423 | 9 בינואר, 2018 | |
| Theme Developer Tutorial: 3. CSS in Themes | 5 | 993 | 18 במרץ, 2025 | |
| Feature proposal: Import user-defined SCSS files | 4 | 1419 | 1 באוגוסט, 2018 | |
| Color palettes loading incorrectly with 2.7.0.beta5 | 7 | 1349 | 18 במרץ, 2021 |