summaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
authorAlbert Dong <albertd@g.ucla.edu>2023-12-05 10:12:53 -0800
committerGitHub <noreply@github.com>2023-12-05 19:12:53 +0100
commit3960f8f7d935fc5b47404abeb5a64f458d0616c2 (patch)
tree6d917366634b28239cbcda65c3ece341b04c2808 /crates
parent058f24f95e5863ebcf2163df48978e97948df365 (diff)
Add theming for scopes required by diff format (#2838)
Diffstat (limited to 'crates')
-rw-r--r--crates/typst/src/text/raw.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/crates/typst/src/text/raw.rs b/crates/typst/src/text/raw.rs
index 5a7323cf..aa2f93f8 100644
--- a/crates/typst/src/text/raw.rs
+++ b/crates/typst/src/text/raw.rs
@@ -792,6 +792,9 @@ pub static RAW_THEME: Lazy<synt::Theme> = Lazy::new(|| synt::Theme {
item("support.macro", Some("#16718d"), None),
item("meta.annotation", Some("#301414"), None),
item("entity.other, meta.interpolation", Some("#8b41b1"), None),
+ item("meta.diff.range", Some("#8b41b1"), None),
+ item("markup.inserted, meta.diff.header.to-file", Some("#298e0d"), None),
+ item("markup.deleted, meta.diff.header.from-file", Some("#d73a49"), None),
],
});