Skip to content

Commit 08d8994

Browse files
artifacts
1 parent ea11de5 commit 08d8994

File tree

7 files changed

+48
-25
lines changed

7 files changed

+48
-25
lines changed

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

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20450,6 +20450,12 @@ var require_yaml_intelligence_resources = __commonJS({
2045020450
description: "Additional file resources to be copied to output directory"
2045120451
}
2045220452
},
20453+
brand: {
20454+
schema: {
20455+
ref: "brand-path-bool-light-dark"
20456+
},
20457+
description: "Branding information to use for this document. If a string, the path to a brand file.\nIf false, don't use branding on this document. If an object, an inline brand\ndefinition, or an object with light and dark brand paths or definitions.\n"
20458+
},
2045320459
preview: {
2045420460
description: "Options for `quarto preview`",
2045520461
schema: {
@@ -22493,6 +22499,9 @@ var require_yaml_intelligence_resources = __commonJS({
2249322499
"Specification of a light logo",
2249422500
"Specification of a dark logo",
2249522501
"Any of the ways a logo can be specified: string, object, or\nlight/dark object of string or object",
22502+
"Specification of a light logo",
22503+
"Specification of a dark logo",
22504+
"Any of the ways a logo can be specified: string, object, or\nlight/dark object of string or object",
2249622505
"Options for a light logo",
2249722506
"Options for a dark logo",
2249822507
"The brand\u2019s custom color palette and theme.",
@@ -23374,7 +23383,7 @@ var require_yaml_intelligence_resources = __commonJS({
2337423383
},
2337523384
"Control the <code>\\pagestyle{}</code> for the document.",
2337623385
"The paper size for the document.",
23377-
"The brand mode to use for rendering the Typst document,\n<code>light</code> or <code>dark</code>.",
23386+
"The brand mode to use for rendering the document, <code>light</code>\nor <code>dark</code>.",
2337823387
{
2337923388
short: "The options for margins and text layout for this document.",
2338023389
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.'
@@ -24669,10 +24678,7 @@ var require_yaml_intelligence_resources = __commonJS({
2466924678
"Disambiguating year suffix in author-date styles (e.g.&nbsp;\u201Ca\u201D in \u201CDoe,\n1999a\u201D).",
2467024679
"Manuscript configuration",
2467124680
"internal-schema-hack",
24672-
"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.",
24673-
"Any of the ways a logo can be specified: string, object, or\nlight/dark object of string or object",
24674-
"Specification of a light logo",
24675-
"Specification of a dark logo"
24681+
"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."
2467624682
],
2467724683
"schema/external-schemas.yml": [
2467824684
{
@@ -24901,12 +24907,12 @@ var require_yaml_intelligence_resources = __commonJS({
2490124907
mermaid: "%%"
2490224908
},
2490324909
"handlers/mermaid/schema.yml": {
24904-
_internalId: 197480,
24910+
_internalId: 197505,
2490524911
type: "object",
2490624912
description: "be an object",
2490724913
properties: {
2490824914
"mermaid-format": {
24909-
_internalId: 197472,
24915+
_internalId: 197497,
2491024916
type: "enum",
2491124917
enum: [
2491224918
"png",
@@ -24922,7 +24928,7 @@ var require_yaml_intelligence_resources = __commonJS({
2492224928
exhaustiveCompletions: true
2492324929
},
2492424930
theme: {
24925-
_internalId: 197479,
24931+
_internalId: 197504,
2492624932
type: "anyOf",
2492724933
anyOf: [
2492824934
{

src/resources/editor/tools/yaml/all-schema-definitions.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

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

Lines changed: 14 additions & 8 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: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13422,6 +13422,12 @@
1342213422
"description": "Additional file resources to be copied to output directory"
1342313423
}
1342413424
},
13425+
"brand": {
13426+
"schema": {
13427+
"ref": "brand-path-bool-light-dark"
13428+
},
13429+
"description": "Branding information to use for this document. If a string, the path to a brand file.\nIf false, don't use branding on this document. If an object, an inline brand\ndefinition, or an object with light and dark brand paths or definitions.\n"
13430+
},
1342513431
"preview": {
1342613432
"description": "Options for `quarto preview`",
1342713433
"schema": {
@@ -15465,6 +15471,9 @@
1546515471
"Specification of a light logo",
1546615472
"Specification of a dark logo",
1546715473
"Any of the ways a logo can be specified: string, object, or\nlight/dark object of string or object",
15474+
"Specification of a light logo",
15475+
"Specification of a dark logo",
15476+
"Any of the ways a logo can be specified: string, object, or\nlight/dark object of string or object",
1546815477
"Options for a light logo",
1546915478
"Options for a dark logo",
1547015479
"The brand’s custom color palette and theme.",
@@ -16346,7 +16355,7 @@
1634616355
},
1634716356
"Control the <code>\\pagestyle{}</code> for the document.",
1634816357
"The paper size for the document.",
16349-
"The brand mode to use for rendering the Typst document,\n<code>light</code> or <code>dark</code>.",
16358+
"The brand mode to use for rendering the document, <code>light</code>\nor <code>dark</code>.",
1635016359
{
1635116360
"short": "The options for margins and text layout for this document.",
1635216361
"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."
@@ -17641,10 +17650,7 @@
1764117650
"Disambiguating year suffix in author-date styles (e.g.&nbsp;“a” in “Doe,\n1999a”).",
1764217651
"Manuscript configuration",
1764317652
"internal-schema-hack",
17644-
"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’.",
17645-
"Any of the ways a logo can be specified: string, object, or\nlight/dark object of string or object",
17646-
"Specification of a light logo",
17647-
"Specification of a dark logo"
17653+
"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’."
1764817654
],
1764917655
"schema/external-schemas.yml": [
1765017656
{
@@ -17873,12 +17879,12 @@
1787317879
"mermaid": "%%"
1787417880
},
1787517881
"handlers/mermaid/schema.yml": {
17876-
"_internalId": 197480,
17882+
"_internalId": 197505,
1787717883
"type": "object",
1787817884
"description": "be an object",
1787917885
"properties": {
1788017886
"mermaid-format": {
17881-
"_internalId": 197472,
17887+
"_internalId": 197497,
1788217888
"type": "enum",
1788317889
"enum": [
1788417890
"png",
@@ -17894,7 +17900,7 @@
1789417900
"exhaustiveCompletions": true
1789517901
},
1789617902
"theme": {
17897-
"_internalId": 197479,
17903+
"_internalId": 197504,
1789817904
"type": "anyOf",
1789917905
"anyOf": [
1790017906
{

src/resources/schema/json-schemas.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4179,6 +4179,9 @@
41794179
}
41804180
]
41814181
},
4182+
"brand": {
4183+
"$ref": "#/$defs/BrandPathBoolLightDark"
4184+
},
41824185
"preview": {
41834186
"$ref": "#/$defs/ProjectPreview"
41844187
},

src/resources/types/schema-types.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1588,6 +1588,7 @@ export type ProjectConfig = {
15881588
"lib-dir"?: string /* HTML library (JS/CSS/etc.) directory */;
15891589
"pre-render"?: MaybeArrayOf<string>;
15901590
"post-render"?: MaybeArrayOf<string>;
1591+
brand?: BrandPathBoolLightDark;
15911592
detect?: ((string)[])[];
15921593
preview?: ProjectPreview;
15931594
render?: (string)[] /* Files to render (defaults to all files) */;

src/resources/types/zod/schema-types.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1777,6 +1777,7 @@ export const ZodProjectConfig = z.object({
17771777
"output-dir": z.string(),
17781778
"lib-dir": z.string(),
17791779
resources: z.union([z.string(), z.array(z.string())]),
1780+
brand: z.lazy(() => ZodBrandPathBoolLightDark),
17801781
preview: z.lazy(() => ZodProjectPreview),
17811782
"pre-render": z.union([z.string(), z.array(z.string())]),
17821783
"post-render": z.union([z.string(), z.array(z.string())]),

0 commit comments

Comments
 (0)