mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 17:31:43 +00:00
Customize colors for JSON syntax highlighting (#30105)
This commit is contained in:
parent
1d15648033
commit
30424e6e83
@ -19,7 +19,7 @@ All notable changes to Sourcegraph are documented in this file.
|
||||
|
||||
### Changed
|
||||
|
||||
-
|
||||
- Syntax highlighting for JSON now uses a distinct color for strings in object key positions. [#30105](https://github.com/sourcegraph/sourcegraph/pull/30105)
|
||||
|
||||
### Fixed
|
||||
|
||||
|
||||
@ -458,6 +458,14 @@
|
||||
}
|
||||
}
|
||||
|
||||
.hl-json {
|
||||
.hl-key {
|
||||
.hl-string {
|
||||
color: var(--hl-orange);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.hl-ts {
|
||||
.hl-keyword.hl-control {
|
||||
color: var(--hl-orange);
|
||||
@ -758,4 +766,12 @@
|
||||
background: var(--diff-add-bg);
|
||||
}
|
||||
}
|
||||
|
||||
.hl-json {
|
||||
.hl-key {
|
||||
.hl-string {
|
||||
color: var(--hl-green-2);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user