Closed marshallbu closed 9 years ago
Right. One dark tries to import the syntax-variables.less
file and then use the @syntax-background-color
. But in the case of the base16-syntax theme, it seems not be available and then it defaults to white.
The base16-syntax theme is special since it generates and injects the CSS itself, I think? Not sure if it's possible to also generate a syntax-variables.less
file with the right variables. Might be worth to ask.
Yeah, it looks like it has a a syntax-variables-{dark/light}.less
file, which I assume it switches back and forth for it's dark vs light setting. I'll dig around and see if there's a way, thanks!
I'm getting this too, using this theme https://github.com/blakehall/tomorrow-night-eighties
@lunelson The syntax-variables.less
is missing in the tomorrow-night-eighties theme as well. Which then falls back to white
in Core.
You could try to add an issue on the tomorrow-night-eighties repo and see if it gets added.
@simurai thanks I'll look in to that. Maybe I'll just start a new theme from boilerplate and port the values from that one, as they work nicely otherwise with the Atom One UI
I'll close this since this theme can't do much about it and it would need to be changed in those syntax themes.
I have updated base16-syntax. It now generates a styles/syntax-variables.less
file so other packages can properly access it. @lunelson base16-syntax includes the Eighties scheme, which might be what you are looking for.
@Alchiadus Awesome!
Thanks @Alchiadus I'll check it out :+1:
Works like a charm, thanks!!
I've tried debugging with dev tools, but can't pinpoint any style being applied so I'm assuming its defaulting to the core 'white' color I see mentioned in a previous issue.