pulsar/packages/one-light-syntax/styles/syntax-legacy/json.less
chbk eb064bf502
Implement naming conventions in default themes (#20524)
Update of the default syntax themes to implement [naming conventions](https://github.com/atom/flight-manual.atom.io/pull/564) for syntax scopes.

Adds the [template](https://github.com/atom/apm/pull/883) to each theme with custom colors, to accommodate the naming conventions. There should be no compatibility break with existing grammars.

As naming conventions are implemented in more language grammars, their old specific stylesheets can be retired.
2021-02-19 08:55:25 +03:00

23 lines
703 B
Plaintext

.syntax--source.syntax--json {
.syntax--meta.syntax--structure.syntax--dictionary.syntax--json {
& > .syntax--string.syntax--quoted.syntax--json {
& > .syntax--punctuation.syntax--string {
color: @hue-5;
}
color: @hue-5;
}
}
.syntax--meta.syntax--structure.syntax--dictionary.syntax--json,
.syntax--meta.syntax--structure.syntax--array.syntax--json {
& > .syntax--value.syntax--json > .syntax--string.syntax--quoted.syntax--json,
& > .syntax--value.syntax--json > .syntax--string.syntax--quoted.syntax--json > .syntax--punctuation {
color: @hue-4;
}
& > .syntax--constant.syntax--language.syntax--json {
color: @hue-1;
}
}
}