diff --git a/crates/typst/src/text/deco.rs b/crates/typst/src/text/deco.rs index 7873f97b5..201b80a30 100644 --- a/crates/typst/src/text/deco.rs +++ b/crates/typst/src/text/deco.rs @@ -276,12 +276,11 @@ impl Show for Packed { #[elem(Show)] pub struct HighlightElem { /// The color to highlight the text with. - /// (Default: 0xffff5f) /// /// ```example /// This is #highlight(fill: blue)[with blue]. /// ``` - #[default(Color::from_u8(0xFF, 0xFF, 0x5F, 0xFF).into())] + #[default(Color::from_u8(0xFF, 0xFD, 0x11, 0xA1).into())] pub fill: Paint, /// The top end of the background rectangle. diff --git a/tests/ref/compiler/show-selector-logical.png b/tests/ref/compiler/show-selector-logical.png index 4d1be5edc..a7a800530 100644 Binary files a/tests/ref/compiler/show-selector-logical.png and b/tests/ref/compiler/show-selector-logical.png differ diff --git a/tests/ref/text/deco.png b/tests/ref/text/deco.png index c850f35e7..782e628c3 100644 Binary files a/tests/ref/text/deco.png and b/tests/ref/text/deco.png differ