From 3474c02b6c76d6e77cc305e0c12b2312ed57e0c3 Mon Sep 17 00:00:00 2001 From: Shadowfacts Date: Sat, 18 Feb 2023 21:24:23 -0500 Subject: [PATCH] Tweak Swift highlighting --- Cargo.lock | 4 ++-- Cargo.toml | 2 +- site/css/syntax-highlighting.scss | 7 +++++-- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index cf1fdba..56f8f66 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -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", diff --git a/Cargo.toml b/Cargo.toml index ab09101..623b36f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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"] } diff --git a/site/css/syntax-highlighting.scss b/site/css/syntax-highlighting.scss index 3685fa8..11543ba 100644 --- a/site/css/syntax-highlighting.scss +++ b/site/css/syntax-highlighting.scss @@ -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);