Tweak Swift highlighting
This commit is contained in:
parent
d649b441c1
commit
3474c02b6c
|
@ -1889,8 +1889,8 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "splash-rs"
|
name = "splash-rs"
|
||||||
version = "0.2.2"
|
version = "0.3.0"
|
||||||
source = "git+https://git.shadowfacts.net/shadowfacts/splash-rs.git#dec0eb3299f62f808c6fbd56d3186d3339850cde"
|
source = "git+https://git.shadowfacts.net/shadowfacts/splash-rs.git#79184679f1e43bbe4f362c48810c0762034d44a7"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"serde",
|
"serde",
|
||||||
"serde_json",
|
"serde_json",
|
||||||
|
|
|
@ -39,7 +39,7 @@ rsass = "0.25"
|
||||||
rss = { version = "2.0", features = ["atom"] }
|
rss = { version = "2.0", features = ["atom"] }
|
||||||
serde = { version = "1.0", features = ["derive"] }
|
serde = { version = "1.0", features = ["derive"] }
|
||||||
serde_json = "1.0"
|
serde_json = "1.0"
|
||||||
splash-rs = { version = "0.2.2", git = "https://git.shadowfacts.net/shadowfacts/splash-rs.git" }
|
splash-rs = { version = "0.3.0", git = "https://git.shadowfacts.net/shadowfacts/splash-rs.git" }
|
||||||
sqlx = { version = "0.5", features = ["runtime-tokio-native-tls", "sqlite"] }
|
sqlx = { version = "0.5", features = ["runtime-tokio-native-tls", "sqlite"] }
|
||||||
thiserror = "1.0"
|
thiserror = "1.0"
|
||||||
tokio = { version = "1.18", features = ["full"] }
|
tokio = { version = "1.18", features = ["full"] }
|
||||||
|
|
|
@ -51,11 +51,14 @@ Modified to use colors from CSS vars, defined in theme.scss
|
||||||
.hl-str,
|
.hl-str,
|
||||||
.hljs-regexp,
|
.hljs-regexp,
|
||||||
.hljs-addition,
|
.hljs-addition,
|
||||||
.hljs-meta-string,
|
.hljs-meta-string {
|
||||||
.hl-prop {
|
|
||||||
color: var(--atom-hue-4);
|
color: var(--atom-hue-4);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.hl-prop {
|
||||||
|
color: var(--atom-hue-1);
|
||||||
|
}
|
||||||
|
|
||||||
.hl-builtin,
|
.hl-builtin,
|
||||||
.hljs-class .hljs-title {
|
.hljs-class .hljs-title {
|
||||||
color: var(--atom-hue-6-2);
|
color: var(--atom-hue-6-2);
|
||||||
|
|
Loading…
Reference in New Issue