More accessible color scheme for raw blocks (#6754)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
@ -890,14 +890,14 @@ pub static RAW_THEME: LazyLock<synt::Theme> = 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<synt::Theme> = 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),
|
||||
],
|
||||
});
|
||||
|
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 6.9 KiB After Width: | Height: | Size: 6.9 KiB |
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 4.3 KiB |
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 3.5 KiB |
@ -6,6 +6,6 @@
|
||||
</head>
|
||||
<body>
|
||||
<p>This is <code><strong>*</strong><strong>inline</strong><strong>*</strong></code>.</p>
|
||||
<pre><code>#[<br> <span style="color: #d73a49">#</span><span style="color: #d73a49">set</span> <span style="color: #4b69c6">text</span>(blue)<br> <strong>*</strong><strong>Hello</strong><strong>*</strong> <em>_</em><em>world</em><em>_</em>!<br>]</code></pre>
|
||||
<pre><code>#[<br> <span style="color: #d73948">#</span><span style="color: #d73948">set</span> <span style="color: #4b69c6">text</span>(blue)<br> <strong>*</strong><strong>Hello</strong><strong>*</strong> <em>_</em><em>world</em><em>_</em>!<br>]</code></pre>
|
||||
</body>
|
||||
</html>
|
||||
|
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 351 B After Width: | Height: | Size: 640 B |
Before Width: | Height: | Size: 4.7 KiB After Width: | Height: | Size: 5.1 KiB |
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.4 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 3.0 KiB |
Before Width: | Height: | Size: 9.1 KiB After Width: | Height: | Size: 9.1 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 6.6 KiB After Width: | Height: | Size: 6.9 KiB |
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 5.0 KiB After Width: | Height: | Size: 5.3 KiB |
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 3.8 KiB |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 3.1 KiB |
Before Width: | Height: | Size: 5.2 KiB After Width: | Height: | Size: 5.2 KiB |
Before Width: | Height: | Size: 4.5 KiB After Width: | Height: | Size: 4.5 KiB |
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.9 KiB |