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
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Referencing Discourse theme color variables in custom theme component? | 3 | 261 | March 21, 2025 | |
| Use Discourse Core Variables in your Theme | 0 | 12395 | January 9, 2018 | |
| Theme Developer Tutorial: 3. CSS in Themes | 5 | 985 | March 18, 2025 | |
| Feature proposal: Import user-defined SCSS files | 4 | 1417 | August 1, 2018 | |
| Color palettes loading incorrectly with 2.7.0.beta5 | 7 | 1342 | March 18, 2021 |