Skip to content

Commit cf2be96

Browse files
artifacts
1 parent 44e7f84 commit cf2be96

File tree

3 files changed

+66
-12
lines changed

3 files changed

+66
-12
lines changed

src/resources/editor/tools/vs-code.mjs

Lines changed: 22 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16869,6 +16869,20 @@ var require_yaml_intelligence_resources = __commonJS({
1686916869
},
1687016870
description: "Enables smooth scrolling within the page."
1687116871
},
16872+
{
16873+
name: "respect-user-color-scheme",
16874+
schema: "boolean",
16875+
default: false,
16876+
tags: {
16877+
formats: [
16878+
"$html-doc"
16879+
]
16880+
},
16881+
description: {
16882+
short: "Whether the `prefers-color-scheme` media query controls dark mode.",
16883+
long: "Whether to use the `prefers-color-scheme` media query to determine whether to show\nthe user a dark or light page. Otherwise the author preference (order of `light`\nand `dark` in `theme` or `brand`) determines what is shown to the user at first visit.\n"
16884+
}
16885+
},
1687216886
{
1687316887
name: "html-math-method",
1687416888
tags: {
@@ -22751,6 +22765,7 @@ var require_yaml_intelligence_resources = __commonJS({
2275122765
},
2275222766
"Control the <code>\\pagestyle{}</code> for the document.",
2275322767
"The paper size for the document.",
22768+
"The brand mode to use for rendering the Typst document,\n<code>light</code> or <code>dark</code>.",
2275422769
{
2275522770
short: "The options for margins and text layout for this document.",
2275622771
long: 'The options for margins and text layout for this document.\nSee <a href="https://wiki.contextgarden.net/Layout">ConTeXt\nLayout</a> for additional information.'
@@ -24043,7 +24058,10 @@ var require_yaml_intelligence_resources = __commonJS({
2404324058
"Manuscript configuration",
2404424059
"internal-schema-hack",
2404524060
"List execution engines you want to give priority when determining\nwhich engine should render a notebook. If two engines have support for a\nnotebook, the one listed earlier will be chosen. Quarto\u2019s default order\nis \u2018knitr\u2019, \u2018jupyter\u2019, \u2018markdown\u2019, \u2018julia\u2019.",
24046-
"The brand mode to use for rendering the Typst document,\n<code>light</code> or <code>dark</code>."
24061+
{
24062+
short: "Whether the <code>prefers-color-scheme</code> media query controls\ndark mode.",
24063+
long: "Whether to use the <code>prefers-color-scheme</code> media query to\ndetermine whether to show the user a dark or light page. Otherwise the\nauthor preference (order of <code>light</code> and <code>dark</code> in\n<code>theme</code> or <code>brand</code>) determines what is shown to\nthe user at first visit."
24064+
}
2404724065
],
2404824066
"schema/external-schemas.yml": [
2404924067
{
@@ -24272,12 +24290,12 @@ var require_yaml_intelligence_resources = __commonJS({
2427224290
mermaid: "%%"
2427324291
},
2427424292
"handlers/mermaid/schema.yml": {
24275-
_internalId: 194259,
24293+
_internalId: 194479,
2427624294
type: "object",
2427724295
description: "be an object",
2427824296
properties: {
2427924297
"mermaid-format": {
24280-
_internalId: 194251,
24298+
_internalId: 194471,
2428124299
type: "enum",
2428224300
enum: [
2428324301
"png",
@@ -24293,7 +24311,7 @@ var require_yaml_intelligence_resources = __commonJS({
2429324311
exhaustiveCompletions: true
2429424312
},
2429524313
theme: {
24296-
_internalId: 194258,
24314+
_internalId: 194478,
2429724315
type: "anyOf",
2429824316
anyOf: [
2429924317
{

src/resources/editor/tools/yaml/web-worker.js

Lines changed: 22 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/resources/editor/tools/yaml/yaml-intelligence-resources.json

Lines changed: 22 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9841,6 +9841,20 @@
98419841
},
98429842
"description": "Enables smooth scrolling within the page."
98439843
},
9844+
{
9845+
"name": "respect-user-color-scheme",
9846+
"schema": "boolean",
9847+
"default": false,
9848+
"tags": {
9849+
"formats": [
9850+
"$html-doc"
9851+
]
9852+
},
9853+
"description": {
9854+
"short": "Whether the `prefers-color-scheme` media query controls dark mode.",
9855+
"long": "Whether to use the `prefers-color-scheme` media query to determine whether to show\nthe user a dark or light page. Otherwise the author preference (order of `light`\nand `dark` in `theme` or `brand`) determines what is shown to the user at first visit.\n"
9856+
}
9857+
},
98449858
{
98459859
"name": "html-math-method",
98469860
"tags": {
@@ -15723,6 +15737,7 @@
1572315737
},
1572415738
"Control the <code>\\pagestyle{}</code> for the document.",
1572515739
"The paper size for the document.",
15740+
"The brand mode to use for rendering the Typst document,\n<code>light</code> or <code>dark</code>.",
1572615741
{
1572715742
"short": "The options for margins and text layout for this document.",
1572815743
"long": "The options for margins and text layout for this document.\nSee <a href=\"https://wiki.contextgarden.net/Layout\">ConTeXt\nLayout</a> for additional information."
@@ -17015,7 +17030,10 @@
1701517030
"Manuscript configuration",
1701617031
"internal-schema-hack",
1701717032
"List execution engines you want to give priority when determining\nwhich engine should render a notebook. If two engines have support for a\nnotebook, the one listed earlier will be chosen. Quarto’s default order\nis ‘knitr’, ‘jupyter’, ‘markdown’, ‘julia’.",
17018-
"The brand mode to use for rendering the Typst document,\n<code>light</code> or <code>dark</code>."
17033+
{
17034+
"short": "Whether the <code>prefers-color-scheme</code> media query controls\ndark mode.",
17035+
"long": "Whether to use the <code>prefers-color-scheme</code> media query to\ndetermine whether to show the user a dark or light page. Otherwise the\nauthor preference (order of <code>light</code> and <code>dark</code> in\n<code>theme</code> or <code>brand</code>) determines what is shown to\nthe user at first visit."
17036+
}
1701917037
],
1702017038
"schema/external-schemas.yml": [
1702117039
{
@@ -17244,12 +17262,12 @@
1724417262
"mermaid": "%%"
1724517263
},
1724617264
"handlers/mermaid/schema.yml": {
17247-
"_internalId": 194259,
17265+
"_internalId": 194479,
1724817266
"type": "object",
1724917267
"description": "be an object",
1725017268
"properties": {
1725117269
"mermaid-format": {
17252-
"_internalId": 194251,
17270+
"_internalId": 194471,
1725317271
"type": "enum",
1725417272
"enum": [
1725517273
"png",
@@ -17265,7 +17283,7 @@
1726517283
"exhaustiveCompletions": true
1726617284
},
1726717285
"theme": {
17268-
"_internalId": 194258,
17286+
"_internalId": 194478,
1726917287
"type": "anyOf",
1727017288
"anyOf": [
1727117289
{

0 commit comments

Comments
 (0)