-
Notifications
You must be signed in to change notification settings - Fork 906
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom themes can't be compiled from 1.0.8 #326
Comments
A quick work around to get it working on a different theme, and change |
Hey! Sorry for the hassle—didn't realize there were custom themes floating around already! To fix the theme, you probably just need to add this line to the top of the
|
Cool, that's fixed it. I definitely think it makes more sense for the import to be explicit, but I wasn't initially sure where those variables were coming from. 👍 |
@bengotow I'm working on porting over the Material theme that was available for Nylas and ran into this issue. When I import the Love the work you're doing on Mailspring, by the way. Looking forward to contributing to the project! EDIT: Looks like the issues that I was facing were related to a bad cache. Clearing out the |
Hey @opes - hmm interesting, thanks for letting me know it didn't work right off the bat. Basically what we're doing is 1) making it so that LESS files have to include Sorry it's kind of a messy migration... before, we were including all the base variables, followed by all your theme LESS, followed by the LESS we wanted to compile for every file, which was crazy slow and meant that sometimes weird things could happen because things were in your LESS scope you didn't explicitly ask for. Let me know if you got Material working! |
Hi everyone! |
Since updating to 1.0.8, my custom themes fail to compile, as the base colour variables are missing (
variable @gray is undefined
). While this is a problem that could be fixed in my theme by setting those variables myself, this will also affect everyone using thenylas-mail-theme-starter
, which is still the canonical basis for themes.Because it causes a JS error, it also means I can't get far enough to be able to change the theme through the UI.
The text was updated successfully, but these errors were encountered: