Tweak Swift highlighting

This commit is contained in:
Shadowfacts 2023-02-18 21:24:23 -05:00
parent d649b441c1
commit 3474c02b6c
3 changed files with 8 additions and 5 deletions

4
Cargo.lock generated
View File

@ -1889,8 +1889,8 @@ dependencies = [
[[package]]
name = "splash-rs"
version = "0.2.2"
source = "git+https://git.shadowfacts.net/shadowfacts/splash-rs.git#dec0eb3299f62f808c6fbd56d3186d3339850cde"
version = "0.3.0"
source = "git+https://git.shadowfacts.net/shadowfacts/splash-rs.git#79184679f1e43bbe4f362c48810c0762034d44a7"
dependencies = [
"serde",
"serde_json",

View File

@ -39,7 +39,7 @@ rsass = "0.25"
rss = { version = "2.0", features = ["atom"] }
serde = { version = "1.0", features = ["derive"] }
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"] }
thiserror = "1.0"
tokio = { version = "1.18", features = ["full"] }

View File

@ -51,11 +51,14 @@ Modified to use colors from CSS vars, defined in theme.scss
.hl-str,
.hljs-regexp,
.hljs-addition,
.hljs-meta-string,
.hl-prop {
.hljs-meta-string {
color: var(--atom-hue-4);
}
.hl-prop {
color: var(--atom-hue-1);
}
.hl-builtin,
.hljs-class .hljs-title {
color: var(--atom-hue-6-2);