-
Notifications
You must be signed in to change notification settings - Fork 62
Failed to activate the tree-view package #16
Comments
This seems to be happening because you're using the one-light-ui theme with the tomorrow-night-blue-syntax syntax theme. The tomorrow-night-blue-syntax theme doesn't define syntax-background-color and one-light-ui is trying to use it. @simurai Any thoughts on this? If the syntax-background-color variable isn't defined, should the UI theme handle that somehow or should we tell the user to open an issue on the syntax theme they're using? |
In case the variable doesn't exist, it falls back to the core variable https://github.com/atom/atom/blob/master/static/variables/syntax-variables.less#L9 Note: The color in the guard actually doesn't matter. For some reason the one in atom/static is used. Issue atom/one-light-ui#16
There is now a "guard" found here. If the variable doesn't exist, it just uses the default from here: https://github.com/atom/atom/blob/master/static/variables/syntax-variables.less#L9 Doesn't always look right, but at least there is no error. In addition, I think it's still a good idea to raise the issue in the tomorrow-night-blue-syntax theme. But maybe before the docs need to be updated to include also the syntax variables. Then it's more official. I'll look into that. |
[Enter steps to reproduce below:]
Atom Version: 0.189.0
System: linux 3.16.0-33-generic
Thrown From: one-light-ui package, v0.4.0
Stack Trace
Failed to activate the tree-view package
Commands
Config
Installed Packages
The text was updated successfully, but these errors were encountered: