In the init
script, it seems it’s possible for code to be activated only if a certain package is activated, e.g.,
atom.packages.onDidActivatePackage (pkg) ->
if pkg.name is 'some-cool-package'
console.log pkg
In my stylesheet, let’s say I want bold keywords
.syntax--keyword {
font-weight: bold;
}
only if the apex
theme is active. Is that possible?
Thanks!