Skip to content

Commit a25bd71

Browse files
logo is just string or object
in particular, typst logo wants to have padding-left, padding-top, etc
1 parent 833192e commit a25bd71

File tree

2 files changed

+3
-25
lines changed

2 files changed

+3
-25
lines changed

src/resources/schema/definitions.yml

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -2568,30 +2568,6 @@
25682568
- id: brand-color-value
25692569
schema: string
25702570

2571-
- id: logo-string-layout
2572-
description: Source path or source path with layout options for logo
2573-
anyOf:
2574-
- string
2575-
- object:
2576-
closed: true
2577-
properties:
2578-
location:
2579-
schema: string
2580-
description: >
2581-
X-Y positioning of logo
2582-
padding:
2583-
schema: string
2584-
description: >
2585-
Padding of logo
2586-
width:
2587-
schema: string
2588-
description: >
2589-
Width of logo
2590-
src:
2591-
schema: path
2592-
description: >
2593-
Source path of logo
2594-
25952571
- id: brand-color
25962572
description: >
25972573
The brand's custom color palette and theme.

src/resources/schema/document-reveal-content.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
tags:
33
formats: [revealjs, typst]
44
schema:
5-
ref: logo-string-layout
5+
anyOf:
6+
- string
7+
- object # typst: location, padding, padding-*, width, source
68
description: "Logo image (placed in bottom right corner of slides)"
79

810
- name: footer

0 commit comments

Comments
 (0)