diff --git a/crates/typst-library/src/text/raw.rs b/crates/typst-library/src/text/raw.rs index 7a3af26f..29f321c6 100644 --- a/crates/typst-library/src/text/raw.rs +++ b/crates/typst-library/src/text/raw.rs @@ -890,14 +890,14 @@ pub static RAW_THEME: LazyLock = LazyLock::new(|| synt::Theme { author: Some("The Typst Project Developers".into()), settings: synt::ThemeSettings::default(), scopes: vec![ - item("comment", Some("#8a8a8a"), None), + item("comment", Some("#74747c"), None), item("constant.character.escape", Some("#1d6c76"), None), item("markup.bold", None, Some(synt::FontStyle::BOLD)), item("markup.italic", None, Some(synt::FontStyle::ITALIC)), item("markup.underline", None, Some(synt::FontStyle::UNDERLINE)), - item("markup.raw", Some("#818181"), None), + item("markup.raw", Some("#6b6b6f"), None), item("string.other.math.typst", None, None), - item("punctuation.definition.math", Some("#298e0d"), None), + item("punctuation.definition.math", Some("#198810"), None), item("keyword.operator.math", Some("#1d6c76"), None), item("markup.heading, entity.name.section", None, Some(synt::FontStyle::BOLD)), item( @@ -908,16 +908,16 @@ pub static RAW_THEME: LazyLock = LazyLock::new(|| synt::Theme { item("punctuation.definition.list", Some("#8b41b1"), None), item("markup.list.term", None, Some(synt::FontStyle::BOLD)), item("entity.name.label, markup.other.reference", Some("#1d6c76"), None), - item("keyword, constant.language, variable.language", Some("#d73a49"), None), - item("storage.type, storage.modifier", Some("#d73a49"), None), + item("keyword, constant.language, variable.language", Some("#d73948"), None), + item("storage.type, storage.modifier", Some("#d73948"), None), item("constant", Some("#b60157"), None), - item("string", Some("#298e0d"), None), + item("string", Some("#198810"), None), item("entity.name, variable.function, support", Some("#4b69c6"), None), 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), + item("markup.inserted, meta.diff.header.to-file", Some("#198810"), None), + item("markup.deleted, meta.diff.header.from-file", Some("#d73948"), None), ], }); diff --git a/tests/ref/array-basic-syntax.png b/tests/ref/array-basic-syntax.png index 0f653ce0..7e5d5b14 100644 Binary files a/tests/ref/array-basic-syntax.png and b/tests/ref/array-basic-syntax.png differ diff --git a/tests/ref/dict-basic-syntax.png b/tests/ref/dict-basic-syntax.png index 02effef6..a9187494 100644 Binary files a/tests/ref/dict-basic-syntax.png and b/tests/ref/dict-basic-syntax.png differ diff --git a/tests/ref/figure-theorem.png b/tests/ref/figure-theorem.png index 8fa07f47..f7daec6b 100644 Binary files a/tests/ref/figure-theorem.png and b/tests/ref/figure-theorem.png differ diff --git a/tests/ref/grid-cell-set.png b/tests/ref/grid-cell-set.png index 5dc3fdf6..9a0497cb 100644 Binary files a/tests/ref/grid-cell-set.png and b/tests/ref/grid-cell-set.png differ diff --git a/tests/ref/grid-cell-show-and-override.png b/tests/ref/grid-cell-show-and-override.png index 6af55596..c56dbb75 100644 Binary files a/tests/ref/grid-cell-show-and-override.png and b/tests/ref/grid-cell-show-and-override.png differ diff --git a/tests/ref/grid-rowspan-unbreakable-2.png b/tests/ref/grid-rowspan-unbreakable-2.png index 8e4a222a..7189463d 100644 Binary files a/tests/ref/grid-rowspan-unbreakable-2.png and b/tests/ref/grid-rowspan-unbreakable-2.png differ diff --git a/tests/ref/html/raw-html.html b/tests/ref/html/raw-html.html index ba1db63a..86536e4d 100644 --- a/tests/ref/html/raw-html.html +++ b/tests/ref/html/raw-html.html @@ -6,6 +6,6 @@

This is *inline*.

-
#[
#set text(blue)
*Hello* _world_!
]
+
#[
#set text(blue)
*Hello* _world_!
]
diff --git a/tests/ref/issue-2259-raw-color-overwrite.png b/tests/ref/issue-2259-raw-color-overwrite.png index 9cf42c43..be34a0d4 100644 Binary files a/tests/ref/issue-2259-raw-color-overwrite.png and b/tests/ref/issue-2259-raw-color-overwrite.png differ diff --git a/tests/ref/issue-3820-raw-space-when-end-with-backtick.png b/tests/ref/issue-3820-raw-space-when-end-with-backtick.png index 1ba3fb18..6e8e11f5 100644 Binary files a/tests/ref/issue-3820-raw-space-when-end-with-backtick.png and b/tests/ref/issue-3820-raw-space-when-end-with-backtick.png differ diff --git a/tests/ref/issue-3841-tabs-in-raw-type-code.png b/tests/ref/issue-3841-tabs-in-raw-type-code.png index b7a7b1ba..742560fa 100644 Binary files a/tests/ref/issue-3841-tabs-in-raw-type-code.png and b/tests/ref/issue-3841-tabs-in-raw-type-code.png differ diff --git a/tests/ref/issue-5760-disable-cjk-latin-spacing-in-raw.png b/tests/ref/issue-5760-disable-cjk-latin-spacing-in-raw.png index 96242733..718aa109 100644 Binary files a/tests/ref/issue-5760-disable-cjk-latin-spacing-in-raw.png and b/tests/ref/issue-5760-disable-cjk-latin-spacing-in-raw.png differ diff --git a/tests/ref/issue-852-mat-type.png b/tests/ref/issue-852-mat-type.png index 8e2bd498..c377a116 100644 Binary files a/tests/ref/issue-852-mat-type.png and b/tests/ref/issue-852-mat-type.png differ diff --git a/tests/ref/justify-code-blocks.png b/tests/ref/justify-code-blocks.png index 088e8b63..8083d0b1 100644 Binary files a/tests/ref/justify-code-blocks.png and b/tests/ref/justify-code-blocks.png differ diff --git a/tests/ref/newline-continuation-code.png b/tests/ref/newline-continuation-code.png index 46a6afd5..9e04998d 100644 Binary files a/tests/ref/newline-continuation-code.png and b/tests/ref/newline-continuation-code.png differ diff --git a/tests/ref/raw-highlight-cpp.png b/tests/ref/raw-highlight-cpp.png index f043f9cf..30b28156 100644 Binary files a/tests/ref/raw-highlight-cpp.png and b/tests/ref/raw-highlight-cpp.png differ diff --git a/tests/ref/raw-highlight-html.png b/tests/ref/raw-highlight-html.png index e20fba12..544369b0 100644 Binary files a/tests/ref/raw-highlight-html.png and b/tests/ref/raw-highlight-html.png differ diff --git a/tests/ref/raw-highlight-py.png b/tests/ref/raw-highlight-py.png index 32c3dd75..10799954 100644 Binary files a/tests/ref/raw-highlight-py.png and b/tests/ref/raw-highlight-py.png differ diff --git a/tests/ref/raw-highlight-rust.png b/tests/ref/raw-highlight-rust.png index 0576a6d5..e45ec2a4 100644 Binary files a/tests/ref/raw-highlight-rust.png and b/tests/ref/raw-highlight-rust.png differ diff --git a/tests/ref/raw-highlight-typ.png b/tests/ref/raw-highlight-typ.png index 7f9cd093..4ea2b653 100644 Binary files a/tests/ref/raw-highlight-typ.png and b/tests/ref/raw-highlight-typ.png differ diff --git a/tests/ref/raw-inline-multiline.png b/tests/ref/raw-inline-multiline.png index 0cca2f85..6e66d957 100644 Binary files a/tests/ref/raw-inline-multiline.png and b/tests/ref/raw-inline-multiline.png differ diff --git a/tests/ref/raw-line.png b/tests/ref/raw-line.png index c8ada95d..d72666dc 100644 Binary files a/tests/ref/raw-line.png and b/tests/ref/raw-line.png differ diff --git a/tests/ref/raw-syntaxes.png b/tests/ref/raw-syntaxes.png index 4e14cd06..337343c8 100644 Binary files a/tests/ref/raw-syntaxes.png and b/tests/ref/raw-syntaxes.png differ diff --git a/tests/ref/raw-theme-set-to-auto.png b/tests/ref/raw-theme-set-to-auto.png index 3d2c8857..f666a317 100644 Binary files a/tests/ref/raw-theme-set-to-auto.png and b/tests/ref/raw-theme-set-to-auto.png differ diff --git a/tests/ref/show-selector-where.png b/tests/ref/show-selector-where.png index 35806727..e5325538 100644 Binary files a/tests/ref/show-selector-where.png and b/tests/ref/show-selector-where.png differ diff --git a/tests/ref/table-cell-set.png b/tests/ref/table-cell-set.png index ce873b05..73c98e49 100644 Binary files a/tests/ref/table-cell-set.png and b/tests/ref/table-cell-set.png differ diff --git a/tests/ref/table-cell-show-and-override.png b/tests/ref/table-cell-show-and-override.png index df745802..ba1494c6 100644 Binary files a/tests/ref/table-cell-show-and-override.png and b/tests/ref/table-cell-show-and-override.png differ