@janga/norna 0.7.22 → 0.7.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -18
- package/astro.config.mjs +15 -0
- package/bin/norna-cli.mjs +8 -2
- package/package.json +28 -3
- package/schemas/category.schema.json +2 -2
- package/schemas/config.schema.json +52 -24
- package/schemas/content-frontmatter.schema.json +25 -5
- package/schemas/page-theme.schema.json +53 -25
- package/schemas/sitewide-content.schema.json +19 -18
- package/schemas/theme.schema.json +385 -252
- package/scripts/build-site.mjs +1 -0
- package/scripts/check-config.mjs +36 -5
- package/scripts/deploy-site.mjs +0 -1
- package/scripts/dev-local.mjs +175 -112
- package/scripts/generate-search-index.mjs +57 -0
- package/scripts/init-site.mjs +1 -0
- package/scripts/lib/code-fence-metadata.mjs +223 -0
- package/scripts/lib/content-sync-apply.mjs +34 -0
- package/scripts/lib/content-sync-plan.mjs +179 -0
- package/scripts/lib/edit-source-link.mjs +49 -0
- package/scripts/lib/editor-language-service.mjs +160 -12
- package/scripts/lib/heading-ids.mjs +1 -1
- package/scripts/lib/image-presentation.mjs +6 -0
- package/scripts/lib/markdown-links.mjs +182 -0
- package/scripts/lib/navigation-model.mjs +44 -12
- package/scripts/lib/navigation-review.mjs +396 -0
- package/scripts/lib/norna-markdown-blocks.mjs +74 -26
- package/scripts/lib/norna-markdown-render-plugin.mjs +64 -1
- package/scripts/lib/page-aliases.mjs +184 -0
- package/scripts/lib/page-markdown.mjs +88 -7
- package/scripts/lib/page-move-plan.mjs +659 -0
- package/scripts/lib/presentation-palette-metadata.mjs +1 -1
- package/scripts/lib/presentation.mjs +10 -37
- package/scripts/lib/project-config.mjs +146 -19
- package/scripts/lib/public-asset-conventions.mjs +36 -2
- package/scripts/lib/schema-definitions.mjs +43 -15
- package/scripts/lib/schema-editor-metadata.mjs +60 -32
- package/scripts/lib/schema-value-definitions.mjs +6 -2
- package/scripts/lib/semantic-callouts.mjs +128 -0
- package/scripts/lib/site-content.mjs +28 -5
- package/scripts/lib/site-link-graph.mjs +357 -0
- package/scripts/lib/site-navigation-tree.mjs +85 -0
- package/scripts/lib/site-page-urls.mjs +10 -0
- package/scripts/lib/sitemap.mjs +34 -0
- package/scripts/lib/social-image-assets.mjs +30 -0
- package/scripts/lib/theme-presets.mjs +53 -25
- package/scripts/lib/theme-profiles.mjs +6 -8
- package/scripts/lib/yaml-config.mjs +6 -2
- package/scripts/move-site-page.mjs +256 -0
- package/scripts/review-navigation.mjs +32 -0
- package/scripts/sync-content-sections.mjs +182 -216
- package/scripts/sync-site-public.mjs +43 -3
- package/src/components/CodeBlockCopyScript.astro +97 -0
- package/src/components/DisplaySettings.astro +4 -4
- package/src/components/EditSourceLink.astro +17 -0
- package/src/components/ImageCarousel.astro +6 -3
- package/src/components/NavigationPageTree.astro +81 -86
- package/src/components/NavigationTreeControls.astro +77 -0
- package/src/components/PageAliasRedirect.astro +49 -0
- package/src/components/PageContentsNavigation.astro +21 -0
- package/src/components/PageList.astro +33 -0
- package/src/components/PageSequenceNavigation.astro +37 -0
- package/src/components/SearchPage.astro +151 -0
- package/src/components/SectionNavigationScript.astro +62 -6
- package/src/components/SiteNavigation.astro +50 -11
- package/src/components/SitePage.astro +113 -20
- package/src/components/SiteSection.astro +16 -3
- package/src/components/SiteTreeNavigation.astro +8 -2
- package/src/components/TreeNavigationScript.astro +207 -26
- package/src/content.config.ts +5 -2
- package/src/layouts/BaseLayout.astro +71 -10
- package/src/lib/readerPreferencesScript.mjs +2 -2
- package/src/lib/sectionContent.ts +32 -3
- package/src/lib/siteNavigation.ts +31 -52
- package/src/lib/sitePages.ts +3 -2
- package/src/lib/sitePublicAssets.ts +1 -0
- package/src/pages/404.astro +110 -0
- package/src/pages/[...slug].astro +45 -8
- package/src/styles/content.css +718 -0
- package/src/styles/foundations.css +284 -0
- package/src/styles/global.css +6 -2510
- package/src/styles/media.css +518 -0
- package/src/styles/navigation.css +526 -0
- package/src/styles/page-layout.css +786 -0
- package/src/styles/responsive.css +594 -0
- package/starters/basic/README.md +6 -19
- package/starters/basic/package.json +1 -0
- package/starters/basic/site/pages/000-home/content.md +13 -50
|
@@ -9,50 +9,57 @@
|
|
|
9
9
|
{
|
|
10
10
|
"const": "portfolio",
|
|
11
11
|
"title": "Portfolio",
|
|
12
|
-
"description": "For portfolios and image-led sites, with restrained typography and generous space for images."
|
|
12
|
+
"description": "For portfolios and image-led sites, with restrained typography and generous space for images.",
|
|
13
|
+
"markdownDescription": "For portfolios and image-led sites, with restrained typography and generous space for images.\n\n[Compare theme presets](https://github.com/janga/norna/blob/v0.7.24/docs/theme.md#theme-presets)"
|
|
13
14
|
},
|
|
14
15
|
{
|
|
15
16
|
"const": "documentation",
|
|
16
17
|
"title": "Documentation",
|
|
17
|
-
"description": "For guides and reference material, with reading-focused typography and compact spacing."
|
|
18
|
+
"description": "For guides and reference material, with reading-focused typography and compact spacing.",
|
|
19
|
+
"markdownDescription": "For guides and reference material, with reading-focused typography and compact spacing.\n\n[Compare theme presets](https://github.com/janga/norna/blob/v0.7.24/docs/theme.md#theme-presets)"
|
|
18
20
|
},
|
|
19
21
|
{
|
|
20
22
|
"const": "project",
|
|
21
23
|
"title": "Project",
|
|
22
|
-
"description": "For project and product sites that balance explanation, code, cards, and images."
|
|
24
|
+
"description": "For project and product sites that balance explanation, code, cards, and images.",
|
|
25
|
+
"markdownDescription": "For project and product sites that balance explanation, code, cards, and images.\n\n[Compare theme presets](https://github.com/janga/norna/blob/v0.7.24/docs/theme.md#theme-presets)"
|
|
23
26
|
},
|
|
24
27
|
{
|
|
25
28
|
"const": "statement",
|
|
26
29
|
"title": "Statement",
|
|
27
|
-
"description": "For short, expressive sites, with larger typography, airy spacing, and stronger section emphasis."
|
|
30
|
+
"description": "For short, expressive sites, with larger typography, airy spacing, and stronger section emphasis.",
|
|
31
|
+
"markdownDescription": "For short, expressive sites, with larger typography, airy spacing, and stronger section emphasis.\n\n[Compare theme presets](https://github.com/janga/norna/blob/v0.7.24/docs/theme.md#theme-presets)"
|
|
28
32
|
}
|
|
29
33
|
],
|
|
30
|
-
"markdownDescription": "```yaml\npreset: documentation\n```\n\nSelects coordinated corners, layout, image sizing, content-block defaults, typography, palette and section backgrounds. This is the normal starting point for a theme.\n\n[Compare theme presets](https://github.com/janga/norna/blob/v0.7.
|
|
34
|
+
"markdownDescription": "```yaml\npreset: documentation\n```\n\nSelects coordinated corners, layout, image sizing, content-block defaults, typography, palette and section backgrounds. This is the normal starting point for a theme.\n\n[Compare theme presets](https://github.com/janga/norna/blob/v0.7.24/docs/theme.md#theme-presets)"
|
|
31
35
|
},
|
|
32
|
-
"
|
|
36
|
+
"appearance": {
|
|
33
37
|
"type": "object",
|
|
34
38
|
"properties": {
|
|
35
39
|
"default": {
|
|
36
|
-
"description": "Initial
|
|
40
|
+
"description": "Initial appearance. Omit this setting to follow the visitor's operating-system preference.",
|
|
37
41
|
"type": "string",
|
|
38
42
|
"oneOf": [
|
|
39
43
|
{
|
|
40
44
|
"const": "system",
|
|
41
45
|
"title": "System",
|
|
42
|
-
"description": "Follow the visitor's operating-system light or dark preference."
|
|
46
|
+
"description": "Follow the visitor's operating-system light or dark preference.",
|
|
47
|
+
"markdownDescription": "Follow the visitor's operating-system light or dark preference.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/theme.md#appearance)"
|
|
43
48
|
},
|
|
44
49
|
{
|
|
45
50
|
"const": "light",
|
|
46
51
|
"title": "Light",
|
|
47
|
-
"description": "Start with the palette's light appearance."
|
|
52
|
+
"description": "Start with the palette's light appearance.",
|
|
53
|
+
"markdownDescription": "Start with the palette's light appearance.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/theme.md#appearance)"
|
|
48
54
|
},
|
|
49
55
|
{
|
|
50
56
|
"const": "dark",
|
|
51
57
|
"title": "Dark",
|
|
52
|
-
"description": "Start with the palette's dark appearance."
|
|
58
|
+
"description": "Start with the palette's dark appearance.",
|
|
59
|
+
"markdownDescription": "Start with the palette's dark appearance.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/theme.md#appearance)"
|
|
53
60
|
}
|
|
54
61
|
],
|
|
55
|
-
"markdownDescription": "```yaml\
|
|
62
|
+
"markdownDescription": "```yaml\nappearance:\n default: system\n```\n\nInitial appearance. Omit this setting to follow the visitor's operating-system preference.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/theme.md#appearance)",
|
|
56
63
|
"examples": [
|
|
57
64
|
"system",
|
|
58
65
|
"light",
|
|
@@ -61,38 +68,38 @@
|
|
|
61
68
|
}
|
|
62
69
|
},
|
|
63
70
|
"additionalProperties": false,
|
|
64
|
-
"description": "Site-wide
|
|
65
|
-
"markdownDescription": "```yaml\
|
|
71
|
+
"description": "Site-wide initial appearance. The default is system.",
|
|
72
|
+
"markdownDescription": "```yaml\nappearance:\n default: system\n```\n\nSelects the initial Appearance. Omit this setting to follow the visitor's system preference. Enable the reader-facing choice under readerControls.\n\n[Appearance](https://github.com/janga/norna/blob/v0.7.24/docs/theme.md#appearance)",
|
|
66
73
|
"defaultSnippets": [
|
|
67
74
|
{
|
|
68
|
-
"label": "Set the initial
|
|
69
|
-
"markdownDescription": "Follow the system color preference or choose a fixed initial appearance.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
70
|
-
"body": "
|
|
75
|
+
"label": "Set the initial appearance",
|
|
76
|
+
"markdownDescription": "Follow the system color preference or choose a fixed initial appearance.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/theme.md#appearance)",
|
|
77
|
+
"body": "appearance:\n default: ${1:system}"
|
|
71
78
|
}
|
|
72
79
|
]
|
|
73
80
|
},
|
|
74
81
|
"readerControls": {
|
|
75
82
|
"type": "object",
|
|
76
83
|
"properties": {
|
|
77
|
-
"
|
|
78
|
-
"description": "
|
|
84
|
+
"appearance": {
|
|
85
|
+
"description": "Show an Appearance control that lets readers choose System, Light, or Dark.",
|
|
79
86
|
"type": "boolean",
|
|
80
|
-
"markdownDescription": "```yaml\nreaderControls:\n
|
|
87
|
+
"markdownDescription": "```yaml\nreaderControls:\n appearance: true\n```\n\nShow an Appearance control that lets readers choose System, Light, or Dark.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/theme.md#reader-display-controls)"
|
|
81
88
|
},
|
|
82
89
|
"focusReading": {
|
|
83
|
-
"description": "
|
|
90
|
+
"description": "Show a Focus reading control that lets readers hide navigation, breadcrumbs, and the footer. Sites with tree navigation always show this control.",
|
|
84
91
|
"type": "boolean",
|
|
85
|
-
"markdownDescription": "```yaml\nreaderControls:\n focusReading: true\n```\n\
|
|
92
|
+
"markdownDescription": "```yaml\nreaderControls:\n focusReading: true\n```\n\nShow a Focus reading control that lets readers hide navigation, breadcrumbs, and the footer. Sites with tree navigation always show this control.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/theme.md#reader-display-controls)"
|
|
86
93
|
}
|
|
87
94
|
},
|
|
88
95
|
"additionalProperties": false,
|
|
89
|
-
"description": "Optional
|
|
90
|
-
"markdownDescription": "```yaml\nreaderControls:\n
|
|
96
|
+
"description": "Optional controls for the site-wide Display panel.",
|
|
97
|
+
"markdownDescription": "```yaml\nreaderControls:\n appearance: true\n focusReading: true\n```\n\nChoose which optional controls readers can use in the site-wide Display panel.\n\n`appearance: true` lets readers choose System, Light, or Dark. `focusReading: true` lets them hide navigation, breadcrumbs, and the footer while reading.\n\nReading width is always included. Sites with tree navigation always include Focus reading, even when it is not enabled here.\n\n[Reader Display controls](https://github.com/janga/norna/blob/v0.7.24/docs/theme.md#reader-display-controls)",
|
|
91
98
|
"defaultSnippets": [
|
|
92
99
|
{
|
|
93
100
|
"label": "Configure the Display panel",
|
|
94
|
-
"markdownDescription": "
|
|
95
|
-
"body": "readerControls:\n
|
|
101
|
+
"markdownDescription": "Show optional Appearance and Focus reading controls. Reading width is already included, and tree navigation always includes Focus reading.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/theme.md#reader-display-controls)",
|
|
102
|
+
"body": "readerControls:\n appearance: ${1:true}\n focusReading: ${2:true}"
|
|
96
103
|
}
|
|
97
104
|
]
|
|
98
105
|
},
|
|
@@ -103,15 +110,17 @@
|
|
|
103
110
|
{
|
|
104
111
|
"const": "square",
|
|
105
112
|
"title": "Square",
|
|
106
|
-
"description": "Use square corners for navigation, cards and framed content."
|
|
113
|
+
"description": "Use square corners for navigation, cards and framed content.",
|
|
114
|
+
"markdownDescription": "Use square corners for navigation, cards and framed content.\n\n[Corner reference](https://github.com/janga/norna/blob/v0.7.24/docs/theme.md#corners)"
|
|
107
115
|
},
|
|
108
116
|
{
|
|
109
117
|
"const": "rounded",
|
|
110
118
|
"title": "Rounded",
|
|
111
|
-
"description": "Use restrained rounded corners consistently across the site."
|
|
119
|
+
"description": "Use restrained rounded corners consistently across the site.",
|
|
120
|
+
"markdownDescription": "Use restrained rounded corners consistently across the site.\n\n[Corner reference](https://github.com/janga/norna/blob/v0.7.24/docs/theme.md#corners)"
|
|
112
121
|
}
|
|
113
122
|
],
|
|
114
|
-
"markdownDescription": "```yaml\ncorners: rounded\n```\n\nChooses one consistent corner treatment for navigation, cards and framed content throughout the site.\n\n[Corner reference](https://github.com/janga/norna/blob/v0.7.
|
|
123
|
+
"markdownDescription": "```yaml\ncorners: rounded\n```\n\nChooses one consistent corner treatment for navigation, cards and framed content throughout the site.\n\n[Corner reference](https://github.com/janga/norna/blob/v0.7.24/docs/theme.md#corners)",
|
|
115
124
|
"examples": [
|
|
116
125
|
"square",
|
|
117
126
|
"rounded"
|
|
@@ -127,20 +136,23 @@
|
|
|
127
136
|
{
|
|
128
137
|
"const": "compact",
|
|
129
138
|
"title": "Compact",
|
|
130
|
-
"description": "Use restrained spacing between sections and structured blocks."
|
|
139
|
+
"description": "Use restrained spacing between sections and structured blocks.",
|
|
140
|
+
"markdownDescription": "Use restrained spacing between sections and structured blocks.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/theme.md#layout)"
|
|
131
141
|
},
|
|
132
142
|
{
|
|
133
143
|
"const": "normal",
|
|
134
144
|
"title": "Normal",
|
|
135
|
-
"description": "Use balanced content spacing."
|
|
145
|
+
"description": "Use balanced content spacing.",
|
|
146
|
+
"markdownDescription": "Use balanced content spacing.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/theme.md#layout)"
|
|
136
147
|
},
|
|
137
148
|
{
|
|
138
149
|
"const": "spacious",
|
|
139
150
|
"title": "Spacious",
|
|
140
|
-
"description": "Use more expansive spacing between sections and structured blocks."
|
|
151
|
+
"description": "Use more expansive spacing between sections and structured blocks.",
|
|
152
|
+
"markdownDescription": "Use more expansive spacing between sections and structured blocks.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/theme.md#layout)"
|
|
141
153
|
}
|
|
142
154
|
],
|
|
143
|
-
"markdownDescription": "```yaml\nlayout:\n contentSpacing: compact\n```\n\nPage content spacing. Omit this to keep the selected preset or inherited page setting.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
155
|
+
"markdownDescription": "```yaml\nlayout:\n contentSpacing: compact\n```\n\nPage content spacing. Omit this to keep the selected preset or inherited page setting.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/theme.md#layout)"
|
|
144
156
|
},
|
|
145
157
|
"textWidth": {
|
|
146
158
|
"description": "Body-text line length. Omit this to keep the selected preset or inherited page setting.",
|
|
@@ -149,26 +161,29 @@
|
|
|
149
161
|
{
|
|
150
162
|
"const": "narrow",
|
|
151
163
|
"title": "Narrow",
|
|
152
|
-
"description": "Use a shorter line length suited to reading-focused text."
|
|
164
|
+
"description": "Use a shorter line length suited to reading-focused text.",
|
|
165
|
+
"markdownDescription": "Use a shorter line length suited to reading-focused text.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/theme.md#layout)"
|
|
153
166
|
},
|
|
154
167
|
{
|
|
155
168
|
"const": "normal",
|
|
156
169
|
"title": "Normal",
|
|
157
|
-
"description": "Use the balanced default line length."
|
|
170
|
+
"description": "Use the balanced default line length.",
|
|
171
|
+
"markdownDescription": "Use the balanced default line length.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/theme.md#layout)"
|
|
158
172
|
},
|
|
159
173
|
{
|
|
160
174
|
"const": "wide",
|
|
161
175
|
"title": "Wide",
|
|
162
|
-
"description": "Allow body text to use more horizontal space."
|
|
176
|
+
"description": "Allow body text to use more horizontal space.",
|
|
177
|
+
"markdownDescription": "Allow body text to use more horizontal space.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/theme.md#layout)"
|
|
163
178
|
}
|
|
164
179
|
],
|
|
165
|
-
"markdownDescription": "```yaml\nlayout:\n textWidth: narrow\n```\n\nBody-text line length. Omit this to keep the selected preset or inherited page setting.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
180
|
+
"markdownDescription": "```yaml\nlayout:\n textWidth: narrow\n```\n\nBody-text line length. Omit this to keep the selected preset or inherited page setting.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/theme.md#layout)"
|
|
166
181
|
},
|
|
167
182
|
"pageWidth": {
|
|
168
183
|
"description": "Maximum width of the site layout. Omit this to keep the selected preset.",
|
|
169
184
|
"type": "string",
|
|
170
185
|
"pattern": "^(?:0|(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)|clamp\\(\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*,\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*,\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*\\))$",
|
|
171
|
-
"markdownDescription": "```yaml\nlayout:\n pageWidth: 72rem\n```\n\nMaximum width of the site layout. Omit this to keep the selected preset.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
186
|
+
"markdownDescription": "```yaml\nlayout:\n pageWidth: 72rem\n```\n\nMaximum width of the site layout. Omit this to keep the selected preset.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/theme.md#layout)"
|
|
172
187
|
},
|
|
173
188
|
"gutter": {
|
|
174
189
|
"description": "Horizontal page gutter as one value or separate desktop and mobile values.",
|
|
@@ -185,13 +200,13 @@
|
|
|
185
200
|
"type": "string",
|
|
186
201
|
"pattern": "^(?:0|(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)|clamp\\(\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*,\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*,\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*\\))$",
|
|
187
202
|
"description": "Responsive CSS length or clamp() expression.",
|
|
188
|
-
"markdownDescription": "```yaml\nlayout:\n gutter:\n desktop: clamp(1.25rem, 4vw, 3rem)\n```\n\nResponsive CSS length or clamp() expression.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
203
|
+
"markdownDescription": "```yaml\nlayout:\n gutter:\n desktop: clamp(1.25rem, 4vw, 3rem)\n```\n\nResponsive CSS length or clamp() expression.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/theme.md#layout)"
|
|
189
204
|
},
|
|
190
205
|
"mobile": {
|
|
191
206
|
"type": "string",
|
|
192
207
|
"pattern": "^(?:0|(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)|clamp\\(\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*,\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*,\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*\\))$",
|
|
193
208
|
"description": "Responsive CSS length or clamp() expression.",
|
|
194
|
-
"markdownDescription": "```yaml\nlayout:\n gutter:\n mobile: 1rem\n```\n\nResponsive CSS length or clamp() expression.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
209
|
+
"markdownDescription": "```yaml\nlayout:\n gutter:\n mobile: 1rem\n```\n\nResponsive CSS length or clamp() expression.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/theme.md#layout)"
|
|
195
210
|
}
|
|
196
211
|
},
|
|
197
212
|
"required": [
|
|
@@ -201,11 +216,11 @@
|
|
|
201
216
|
"additionalProperties": false
|
|
202
217
|
}
|
|
203
218
|
],
|
|
204
|
-
"markdownDescription": "```yaml\nlayout:\n gutter:\n desktop: clamp(1.25rem, 4vw, 3rem)\n mobile: 1rem\n```\n\nHorizontal page gutter as one value or separate desktop and mobile values.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
219
|
+
"markdownDescription": "```yaml\nlayout:\n gutter:\n desktop: clamp(1.25rem, 4vw, 3rem)\n mobile: 1rem\n```\n\nHorizontal page gutter as one value or separate desktop and mobile values.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/theme.md#layout)",
|
|
205
220
|
"defaultSnippets": [
|
|
206
221
|
{
|
|
207
222
|
"label": "Responsive page gutter",
|
|
208
|
-
"markdownDescription": "Set separate page gutters for wider and narrow screens.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
223
|
+
"markdownDescription": "Set separate page gutters for wider and narrow screens.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/theme.md#layout)",
|
|
209
224
|
"body": {
|
|
210
225
|
"desktop": "${1:clamp(1.25rem, 4vw, 3rem)}",
|
|
211
226
|
"mobile": "${2:1rem}"
|
|
@@ -232,13 +247,13 @@
|
|
|
232
247
|
"type": "string",
|
|
233
248
|
"pattern": "^(?:0|(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)|clamp\\(\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*,\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*,\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*\\))$",
|
|
234
249
|
"description": "Responsive CSS length or clamp() expression.",
|
|
235
|
-
"markdownDescription": "```yaml\nlayout:\n spacing:\n blockGap:\n desktop: 1.5em\n```\n\nResponsive CSS length or clamp() expression.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
250
|
+
"markdownDescription": "```yaml\nlayout:\n spacing:\n blockGap:\n desktop: 1.5em\n```\n\nResponsive CSS length or clamp() expression.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/theme.md#layout)"
|
|
236
251
|
},
|
|
237
252
|
"mobile": {
|
|
238
253
|
"type": "string",
|
|
239
254
|
"pattern": "^(?:0|(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)|clamp\\(\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*,\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*,\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*\\))$",
|
|
240
255
|
"description": "Responsive CSS length or clamp() expression.",
|
|
241
|
-
"markdownDescription": "```yaml\nlayout:\n spacing:\n blockGap:\n mobile: 1.5em\n```\n\nResponsive CSS length or clamp() expression.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
256
|
+
"markdownDescription": "```yaml\nlayout:\n spacing:\n blockGap:\n mobile: 1.5em\n```\n\nResponsive CSS length or clamp() expression.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/theme.md#layout)"
|
|
242
257
|
}
|
|
243
258
|
},
|
|
244
259
|
"required": [
|
|
@@ -248,11 +263,11 @@
|
|
|
248
263
|
"additionalProperties": false
|
|
249
264
|
}
|
|
250
265
|
],
|
|
251
|
-
"markdownDescription": "```yaml\nlayout:\n spacing:\n blockGap: 1.5em\n```\n\nDefault vertical gap between structured content blocks.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
266
|
+
"markdownDescription": "```yaml\nlayout:\n spacing:\n blockGap: 1.5em\n```\n\nDefault vertical gap between structured content blocks.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/theme.md#layout)",
|
|
252
267
|
"defaultSnippets": [
|
|
253
268
|
{
|
|
254
269
|
"label": "Responsive spacing",
|
|
255
|
-
"markdownDescription": "Set separate spacing values for wider and narrow screens.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
270
|
+
"markdownDescription": "Set separate spacing values for wider and narrow screens.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/theme.md#layout)",
|
|
256
271
|
"body": {
|
|
257
272
|
"desktop": "${1:1.5em}",
|
|
258
273
|
"mobile": "${2:1.5em}"
|
|
@@ -275,13 +290,13 @@
|
|
|
275
290
|
"type": "string",
|
|
276
291
|
"pattern": "^(?:0|(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)|clamp\\(\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*,\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*,\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*\\))$",
|
|
277
292
|
"description": "Responsive CSS length or clamp() expression.",
|
|
278
|
-
"markdownDescription": "```yaml\nlayout:\n spacing:\n finalSectionBottom:\n desktop: 2rem\n```\n\nResponsive CSS length or clamp() expression.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
293
|
+
"markdownDescription": "```yaml\nlayout:\n spacing:\n finalSectionBottom:\n desktop: 2rem\n```\n\nResponsive CSS length or clamp() expression.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/theme.md#layout)"
|
|
279
294
|
},
|
|
280
295
|
"mobile": {
|
|
281
296
|
"type": "string",
|
|
282
297
|
"pattern": "^(?:0|(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)|clamp\\(\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*,\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*,\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*\\))$",
|
|
283
298
|
"description": "Responsive CSS length or clamp() expression.",
|
|
284
|
-
"markdownDescription": "```yaml\nlayout:\n spacing:\n finalSectionBottom:\n mobile: 2rem\n```\n\nResponsive CSS length or clamp() expression.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
299
|
+
"markdownDescription": "```yaml\nlayout:\n spacing:\n finalSectionBottom:\n mobile: 2rem\n```\n\nResponsive CSS length or clamp() expression.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/theme.md#layout)"
|
|
285
300
|
}
|
|
286
301
|
},
|
|
287
302
|
"required": [
|
|
@@ -291,11 +306,11 @@
|
|
|
291
306
|
"additionalProperties": false
|
|
292
307
|
}
|
|
293
308
|
],
|
|
294
|
-
"markdownDescription": "```yaml\nlayout:\n spacing:\n finalSectionBottom: 2rem\n```\n\nBottom space after the final section.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
309
|
+
"markdownDescription": "```yaml\nlayout:\n spacing:\n finalSectionBottom: 2rem\n```\n\nBottom space after the final section.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/theme.md#layout)",
|
|
295
310
|
"defaultSnippets": [
|
|
296
311
|
{
|
|
297
312
|
"label": "Responsive spacing",
|
|
298
|
-
"markdownDescription": "Set separate spacing values for wider and narrow screens.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
313
|
+
"markdownDescription": "Set separate spacing values for wider and narrow screens.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/theme.md#layout)",
|
|
299
314
|
"body": {
|
|
300
315
|
"desktop": "${1:2rem}",
|
|
301
316
|
"mobile": "${2:2rem}"
|
|
@@ -318,13 +333,13 @@
|
|
|
318
333
|
"type": "string",
|
|
319
334
|
"pattern": "^(?:0|(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)|clamp\\(\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*,\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*,\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*\\))$",
|
|
320
335
|
"description": "Responsive CSS length or clamp() expression.",
|
|
321
|
-
"markdownDescription": "```yaml\nlayout:\n spacing:\n firstSectionTop:\n desktop: 1.5rem\n```\n\nResponsive CSS length or clamp() expression.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
336
|
+
"markdownDescription": "```yaml\nlayout:\n spacing:\n firstSectionTop:\n desktop: 1.5rem\n```\n\nResponsive CSS length or clamp() expression.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/theme.md#layout)"
|
|
322
337
|
},
|
|
323
338
|
"mobile": {
|
|
324
339
|
"type": "string",
|
|
325
340
|
"pattern": "^(?:0|(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)|clamp\\(\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*,\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*,\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*\\))$",
|
|
326
341
|
"description": "Responsive CSS length or clamp() expression.",
|
|
327
|
-
"markdownDescription": "```yaml\nlayout:\n spacing:\n firstSectionTop:\n mobile: 1.5rem\n```\n\nResponsive CSS length or clamp() expression.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
342
|
+
"markdownDescription": "```yaml\nlayout:\n spacing:\n firstSectionTop:\n mobile: 1.5rem\n```\n\nResponsive CSS length or clamp() expression.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/theme.md#layout)"
|
|
328
343
|
}
|
|
329
344
|
},
|
|
330
345
|
"required": [
|
|
@@ -334,11 +349,11 @@
|
|
|
334
349
|
"additionalProperties": false
|
|
335
350
|
}
|
|
336
351
|
],
|
|
337
|
-
"markdownDescription": "```yaml\nlayout:\n spacing:\n firstSectionTop: 1.5rem\n```\n\nTop space before the first section.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
352
|
+
"markdownDescription": "```yaml\nlayout:\n spacing:\n firstSectionTop: 1.5rem\n```\n\nTop space before the first section.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/theme.md#layout)",
|
|
338
353
|
"defaultSnippets": [
|
|
339
354
|
{
|
|
340
355
|
"label": "Responsive spacing",
|
|
341
|
-
"markdownDescription": "Set separate spacing values for wider and narrow screens.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
356
|
+
"markdownDescription": "Set separate spacing values for wider and narrow screens.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/theme.md#layout)",
|
|
342
357
|
"body": {
|
|
343
358
|
"desktop": "${1:1.5rem}",
|
|
344
359
|
"mobile": "${2:1.5rem}"
|
|
@@ -361,13 +376,13 @@
|
|
|
361
376
|
"type": "string",
|
|
362
377
|
"pattern": "^(?:0|(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)|clamp\\(\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*,\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*,\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*\\))$",
|
|
363
378
|
"description": "Responsive CSS length or clamp() expression.",
|
|
364
|
-
"markdownDescription": "```yaml\nlayout:\n spacing:\n headingToBlock:\n desktop: 0.75em\n```\n\nResponsive CSS length or clamp() expression.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
379
|
+
"markdownDescription": "```yaml\nlayout:\n spacing:\n headingToBlock:\n desktop: 0.75em\n```\n\nResponsive CSS length or clamp() expression.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/theme.md#layout)"
|
|
365
380
|
},
|
|
366
381
|
"mobile": {
|
|
367
382
|
"type": "string",
|
|
368
383
|
"pattern": "^(?:0|(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)|clamp\\(\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*,\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*,\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*\\))$",
|
|
369
384
|
"description": "Responsive CSS length or clamp() expression.",
|
|
370
|
-
"markdownDescription": "```yaml\nlayout:\n spacing:\n headingToBlock:\n mobile: 0.75em\n```\n\nResponsive CSS length or clamp() expression.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
385
|
+
"markdownDescription": "```yaml\nlayout:\n spacing:\n headingToBlock:\n mobile: 0.75em\n```\n\nResponsive CSS length or clamp() expression.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/theme.md#layout)"
|
|
371
386
|
}
|
|
372
387
|
},
|
|
373
388
|
"required": [
|
|
@@ -377,11 +392,11 @@
|
|
|
377
392
|
"additionalProperties": false
|
|
378
393
|
}
|
|
379
394
|
],
|
|
380
|
-
"markdownDescription": "```yaml\nlayout:\n spacing:\n headingToBlock: 0.75em\n```\n\nGap from a section heading to a following structured block.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
395
|
+
"markdownDescription": "```yaml\nlayout:\n spacing:\n headingToBlock: 0.75em\n```\n\nGap from a section heading to a following structured block.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/theme.md#layout)",
|
|
381
396
|
"defaultSnippets": [
|
|
382
397
|
{
|
|
383
398
|
"label": "Responsive spacing",
|
|
384
|
-
"markdownDescription": "Set separate spacing values for wider and narrow screens.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
399
|
+
"markdownDescription": "Set separate spacing values for wider and narrow screens.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/theme.md#layout)",
|
|
385
400
|
"body": {
|
|
386
401
|
"desktop": "${1:0.75em}",
|
|
387
402
|
"mobile": "${2:0.75em}"
|
|
@@ -404,13 +419,13 @@
|
|
|
404
419
|
"type": "string",
|
|
405
420
|
"pattern": "^(?:0|(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)|clamp\\(\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*,\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*,\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*\\))$",
|
|
406
421
|
"description": "Responsive CSS length or clamp() expression.",
|
|
407
|
-
"markdownDescription": "```yaml\nlayout:\n spacing:\n imageGap:\n desktop: 1rem\n```\n\nResponsive CSS length or clamp() expression.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
422
|
+
"markdownDescription": "```yaml\nlayout:\n spacing:\n imageGap:\n desktop: 1rem\n```\n\nResponsive CSS length or clamp() expression.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/theme.md#layout)"
|
|
408
423
|
},
|
|
409
424
|
"mobile": {
|
|
410
425
|
"type": "string",
|
|
411
426
|
"pattern": "^(?:0|(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)|clamp\\(\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*,\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*,\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*\\))$",
|
|
412
427
|
"description": "Responsive CSS length or clamp() expression.",
|
|
413
|
-
"markdownDescription": "```yaml\nlayout:\n spacing:\n imageGap:\n mobile: 1rem\n```\n\nResponsive CSS length or clamp() expression.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
428
|
+
"markdownDescription": "```yaml\nlayout:\n spacing:\n imageGap:\n mobile: 1rem\n```\n\nResponsive CSS length or clamp() expression.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/theme.md#layout)"
|
|
414
429
|
}
|
|
415
430
|
},
|
|
416
431
|
"required": [
|
|
@@ -420,11 +435,11 @@
|
|
|
420
435
|
"additionalProperties": false
|
|
421
436
|
}
|
|
422
437
|
],
|
|
423
|
-
"markdownDescription": "```yaml\nlayout:\n spacing:\n imageGap: 1rem\n```\n\nGap between images in an image stack.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
438
|
+
"markdownDescription": "```yaml\nlayout:\n spacing:\n imageGap: 1rem\n```\n\nGap between images in an image stack.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/theme.md#layout)",
|
|
424
439
|
"defaultSnippets": [
|
|
425
440
|
{
|
|
426
441
|
"label": "Responsive spacing",
|
|
427
|
-
"markdownDescription": "Set separate spacing values for wider and narrow screens.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
442
|
+
"markdownDescription": "Set separate spacing values for wider and narrow screens.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/theme.md#layout)",
|
|
428
443
|
"body": {
|
|
429
444
|
"desktop": "${1:1rem}",
|
|
430
445
|
"mobile": "${2:1rem}"
|
|
@@ -447,13 +462,13 @@
|
|
|
447
462
|
"type": "string",
|
|
448
463
|
"pattern": "^(?:0|(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)|clamp\\(\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*,\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*,\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*\\))$",
|
|
449
464
|
"description": "Responsive CSS length or clamp() expression.",
|
|
450
|
-
"markdownDescription": "```yaml\nlayout:\n spacing:\n sectionGap:\n desktop: 2rem\n```\n\nResponsive CSS length or clamp() expression.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
465
|
+
"markdownDescription": "```yaml\nlayout:\n spacing:\n sectionGap:\n desktop: 2rem\n```\n\nResponsive CSS length or clamp() expression.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/theme.md#layout)"
|
|
451
466
|
},
|
|
452
467
|
"mobile": {
|
|
453
468
|
"type": "string",
|
|
454
469
|
"pattern": "^(?:0|(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)|clamp\\(\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*,\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*,\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*\\))$",
|
|
455
470
|
"description": "Responsive CSS length or clamp() expression.",
|
|
456
|
-
"markdownDescription": "```yaml\nlayout:\n spacing:\n sectionGap:\n mobile: 2rem\n```\n\nResponsive CSS length or clamp() expression.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
471
|
+
"markdownDescription": "```yaml\nlayout:\n spacing:\n sectionGap:\n mobile: 2rem\n```\n\nResponsive CSS length or clamp() expression.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/theme.md#layout)"
|
|
457
472
|
}
|
|
458
473
|
},
|
|
459
474
|
"required": [
|
|
@@ -463,11 +478,11 @@
|
|
|
463
478
|
"additionalProperties": false
|
|
464
479
|
}
|
|
465
480
|
],
|
|
466
|
-
"markdownDescription": "```yaml\nlayout:\n spacing:\n sectionGap: 2rem\n```\n\nVertical separation between page sections.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
481
|
+
"markdownDescription": "```yaml\nlayout:\n spacing:\n sectionGap: 2rem\n```\n\nVertical separation between page sections.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/theme.md#layout)",
|
|
467
482
|
"defaultSnippets": [
|
|
468
483
|
{
|
|
469
484
|
"label": "Responsive spacing",
|
|
470
|
-
"markdownDescription": "Set separate spacing values for wider and narrow screens.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
485
|
+
"markdownDescription": "Set separate spacing values for wider and narrow screens.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/theme.md#layout)",
|
|
471
486
|
"body": {
|
|
472
487
|
"desktop": "${1:2rem}",
|
|
473
488
|
"mobile": "${2:2rem}"
|
|
@@ -477,11 +492,11 @@
|
|
|
477
492
|
}
|
|
478
493
|
},
|
|
479
494
|
"additionalProperties": false,
|
|
480
|
-
"markdownDescription": "```yaml\nlayout:\n spacing:\n sectionGap: 2rem\n```\n\nFine-grained spacing overrides.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
495
|
+
"markdownDescription": "```yaml\nlayout:\n spacing:\n sectionGap: 2rem\n```\n\nFine-grained spacing overrides.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/theme.md#layout)",
|
|
481
496
|
"defaultSnippets": [
|
|
482
497
|
{
|
|
483
498
|
"label": "Layout spacing overrides",
|
|
484
|
-
"markdownDescription": "Start with the structural spacing values most commonly adjusted together.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
499
|
+
"markdownDescription": "Start with the structural spacing values most commonly adjusted together.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/theme.md#layout)",
|
|
485
500
|
"body": {
|
|
486
501
|
"sectionGap": {
|
|
487
502
|
"desktop": "${1:2rem}",
|
|
@@ -496,16 +511,35 @@
|
|
|
496
511
|
},
|
|
497
512
|
"additionalProperties": false,
|
|
498
513
|
"description": "Optional layout overrides applied after the preset.",
|
|
499
|
-
"markdownDescription": "```yaml\nlayout:\n contentSpacing: compact\n textWidth: narrow\n```\n\nOverrides text width, content spacing, page width and gutters after the selected preset.\n\n[Layout reference](https://github.com/janga/norna/blob/v0.7.
|
|
514
|
+
"markdownDescription": "```yaml\nlayout:\n contentSpacing: compact\n textWidth: narrow\n```\n\nOverrides text width, content spacing, page width and gutters after the selected preset.\n\n[Layout reference](https://github.com/janga/norna/blob/v0.7.24/docs/theme.md#layout)"
|
|
500
515
|
},
|
|
501
516
|
"images": {
|
|
502
517
|
"type": "object",
|
|
503
518
|
"properties": {
|
|
519
|
+
"presentation": {
|
|
520
|
+
"description": "Managed-image presentation method. Omit this to keep the selected preset or inherited page setting.",
|
|
521
|
+
"type": "string",
|
|
522
|
+
"oneOf": [
|
|
523
|
+
{
|
|
524
|
+
"const": "prose-aligned",
|
|
525
|
+
"title": "Prose-aligned",
|
|
526
|
+
"description": "Start managed images and captions at the body-text edge and size them from the page content area.",
|
|
527
|
+
"markdownDescription": "Start managed images and captions at the body-text edge and size them from the page content area.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/theme.md#image-sizing)"
|
|
528
|
+
},
|
|
529
|
+
{
|
|
530
|
+
"const": "centered-fit",
|
|
531
|
+
"title": "Centered fit",
|
|
532
|
+
"description": "Center managed images and captions in the page media area and constrain them by available width and viewport height.",
|
|
533
|
+
"markdownDescription": "Center managed images and captions in the page media area and constrain them by available width and viewport height.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/theme.md#image-sizing)"
|
|
534
|
+
}
|
|
535
|
+
],
|
|
536
|
+
"markdownDescription": "```yaml\nimages:\n presentation: prose-aligned\n```\n\nManaged-image presentation method. Omit this to keep the selected preset or inherited page setting.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/theme.md#image-sizing)"
|
|
537
|
+
},
|
|
504
538
|
"width": {
|
|
505
539
|
"description": "Maximum managed-image width. Omit this to keep the selected preset.",
|
|
506
540
|
"type": "string",
|
|
507
541
|
"pattern": "^(?:0|(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)|clamp\\(\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*,\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*,\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*\\))$",
|
|
508
|
-
"markdownDescription": "```yaml\nimages:\n width: 900px\n```\n\nMaximum managed-image width. Omit this to keep the selected preset.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
542
|
+
"markdownDescription": "```yaml\nimages:\n width: 900px\n```\n\nMaximum managed-image width. Omit this to keep the selected preset.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/theme.md#image-sizing)"
|
|
509
543
|
},
|
|
510
544
|
"maxAvailableWidthPercent": {
|
|
511
545
|
"description": "Maximum percentage of available horizontal space used by managed images.",
|
|
@@ -523,14 +557,14 @@
|
|
|
523
557
|
"exclusiveMinimum": 0,
|
|
524
558
|
"maximum": 100,
|
|
525
559
|
"description": "Percentage used on wider screens.",
|
|
526
|
-
"markdownDescription": "```yaml\nimages:\n maxAvailableWidthPercent:\n desktop: 100\n```\n\nPercentage used on wider screens.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
560
|
+
"markdownDescription": "```yaml\nimages:\n maxAvailableWidthPercent:\n desktop: 100\n```\n\nPercentage used on wider screens.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/theme.md#image-sizing)"
|
|
527
561
|
},
|
|
528
562
|
"mobile": {
|
|
529
563
|
"type": "number",
|
|
530
564
|
"exclusiveMinimum": 0,
|
|
531
565
|
"maximum": 100,
|
|
532
566
|
"description": "Percentage used on narrow screens.",
|
|
533
|
-
"markdownDescription": "```yaml\nimages:\n maxAvailableWidthPercent:\n mobile: 100\n```\n\nPercentage used on narrow screens.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
567
|
+
"markdownDescription": "```yaml\nimages:\n maxAvailableWidthPercent:\n mobile: 100\n```\n\nPercentage used on narrow screens.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/theme.md#image-sizing)"
|
|
534
568
|
}
|
|
535
569
|
},
|
|
536
570
|
"required": [
|
|
@@ -540,11 +574,11 @@
|
|
|
540
574
|
"additionalProperties": false
|
|
541
575
|
}
|
|
542
576
|
],
|
|
543
|
-
"markdownDescription": "```yaml\nimages:\n maxAvailableWidthPercent:\n desktop: 100\n mobile: 100\n```\n\nMaximum percentage of available horizontal space used by managed images.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
577
|
+
"markdownDescription": "```yaml\nimages:\n maxAvailableWidthPercent:\n desktop: 100\n mobile: 100\n```\n\nMaximum percentage of available horizontal space used by managed images.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/theme.md#image-sizing)",
|
|
544
578
|
"defaultSnippets": [
|
|
545
579
|
{
|
|
546
580
|
"label": "Responsive image limit",
|
|
547
|
-
"markdownDescription": "Set separate managed-image limits for wider and narrow screens.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
581
|
+
"markdownDescription": "Set separate managed-image limits for wider and narrow screens.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/theme.md#image-sizing)",
|
|
548
582
|
"body": {
|
|
549
583
|
"desktop": "${1:100}",
|
|
550
584
|
"mobile": "${2:100}"
|
|
@@ -553,7 +587,7 @@
|
|
|
553
587
|
]
|
|
554
588
|
},
|
|
555
589
|
"maxAvailableHeightPercent": {
|
|
556
|
-
"description": "Maximum percentage of viewport height used by
|
|
590
|
+
"description": "Maximum percentage of viewport height used by centered-fit images. This setting is unavailable with prose-aligned presentation.",
|
|
557
591
|
"anyOf": [
|
|
558
592
|
{
|
|
559
593
|
"type": "number",
|
|
@@ -568,14 +602,14 @@
|
|
|
568
602
|
"exclusiveMinimum": 0,
|
|
569
603
|
"maximum": 100,
|
|
570
604
|
"description": "Percentage used on wider screens.",
|
|
571
|
-
"markdownDescription": "```yaml\nimages:\n maxAvailableHeightPercent:\n desktop: 74\n```\n\nPercentage used on wider screens.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
605
|
+
"markdownDescription": "```yaml\nimages:\n maxAvailableHeightPercent:\n desktop: 74\n```\n\nPercentage used on wider screens.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/theme.md#image-sizing)"
|
|
572
606
|
},
|
|
573
607
|
"mobile": {
|
|
574
608
|
"type": "number",
|
|
575
609
|
"exclusiveMinimum": 0,
|
|
576
610
|
"maximum": 100,
|
|
577
611
|
"description": "Percentage used on narrow screens.",
|
|
578
|
-
"markdownDescription": "```yaml\nimages:\n maxAvailableHeightPercent:\n mobile: 68\n```\n\nPercentage used on narrow screens.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
612
|
+
"markdownDescription": "```yaml\nimages:\n maxAvailableHeightPercent:\n mobile: 68\n```\n\nPercentage used on narrow screens.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/theme.md#image-sizing)"
|
|
579
613
|
}
|
|
580
614
|
},
|
|
581
615
|
"required": [
|
|
@@ -585,11 +619,11 @@
|
|
|
585
619
|
"additionalProperties": false
|
|
586
620
|
}
|
|
587
621
|
],
|
|
588
|
-
"markdownDescription": "```yaml\nimages:\n maxAvailableHeightPercent:\n desktop: 74\n mobile: 68\n```\n\nMaximum percentage of viewport height used by
|
|
622
|
+
"markdownDescription": "```yaml\nimages:\n maxAvailableHeightPercent:\n desktop: 74\n mobile: 68\n```\n\nMaximum percentage of viewport height used by centered-fit images. This setting is unavailable with prose-aligned presentation.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/theme.md#image-sizing)",
|
|
589
623
|
"defaultSnippets": [
|
|
590
624
|
{
|
|
591
625
|
"label": "Responsive image limit",
|
|
592
|
-
"markdownDescription": "Set separate managed-image limits for wider and narrow screens.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
626
|
+
"markdownDescription": "Set separate managed-image limits for wider and narrow screens.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/theme.md#image-sizing)",
|
|
593
627
|
"body": {
|
|
594
628
|
"desktop": "${1:74}",
|
|
595
629
|
"mobile": "${2:68}"
|
|
@@ -599,8 +633,8 @@
|
|
|
599
633
|
}
|
|
600
634
|
},
|
|
601
635
|
"additionalProperties": false,
|
|
602
|
-
"description": "Optional defaults for managed
|
|
603
|
-
"markdownDescription": "```yaml\nimages:\n
|
|
636
|
+
"description": "Optional defaults for placing managed images inside the page content area. Persistent navigation remains outside this area.",
|
|
637
|
+
"markdownDescription": "```yaml\nimages:\n presentation: prose-aligned\n width: 900px\n```\n\nOverrides how Norna-managed image stacks and carousels align inside the page content area and how much space they may use. Persistent navigation remains outside this area.\n\n[Image sizing reference](https://github.com/janga/norna/blob/v0.7.24/docs/theme.md#image-sizing)"
|
|
604
638
|
},
|
|
605
639
|
"blocks": {
|
|
606
640
|
"type": "object",
|
|
@@ -610,30 +644,34 @@
|
|
|
610
644
|
"properties": {
|
|
611
645
|
"width": {
|
|
612
646
|
"type": "string",
|
|
613
|
-
"description": "Default maximum width for card lists. A width written in a
|
|
647
|
+
"description": "Default maximum width for card lists. A width written in a card-list block overrides this value.",
|
|
614
648
|
"oneOf": [
|
|
615
649
|
{
|
|
616
650
|
"const": "text",
|
|
617
651
|
"title": "Text width",
|
|
618
|
-
"description": "Match the active body-text width, including a reader-selected reading width."
|
|
652
|
+
"description": "Match the active body-text width, including a reader-selected reading width.",
|
|
653
|
+
"markdownDescription": "Match the active body-text width, including a reader-selected reading width.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/theme.md#content-block-defaults)"
|
|
619
654
|
},
|
|
620
655
|
{
|
|
621
656
|
"const": "narrow",
|
|
622
657
|
"title": "Narrow",
|
|
623
|
-
"description": "Limit the complete card list to at most 48rem."
|
|
658
|
+
"description": "Limit the complete card list to at most 48rem.",
|
|
659
|
+
"markdownDescription": "Limit the complete card list to at most 48rem.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/theme.md#content-block-defaults)"
|
|
624
660
|
},
|
|
625
661
|
{
|
|
626
662
|
"const": "normal",
|
|
627
663
|
"title": "Normal",
|
|
628
|
-
"description": "Limit the complete card list to at most 56rem."
|
|
664
|
+
"description": "Limit the complete card list to at most 56rem.",
|
|
665
|
+
"markdownDescription": "Limit the complete card list to at most 56rem.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/theme.md#content-block-defaults)"
|
|
629
666
|
},
|
|
630
667
|
{
|
|
631
668
|
"const": "wide",
|
|
632
669
|
"title": "Wide",
|
|
633
|
-
"description": "Allow the complete card list to use the available page-layout width."
|
|
670
|
+
"description": "Allow the complete card list to use the available page-layout width.",
|
|
671
|
+
"markdownDescription": "Allow the complete card list to use the available page-layout width.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/theme.md#content-block-defaults)"
|
|
634
672
|
}
|
|
635
673
|
],
|
|
636
|
-
"markdownDescription": "```yaml\nblocks:\n cardList:\n width: text\n```\n\nDefault maximum width for card lists. A width written in a
|
|
674
|
+
"markdownDescription": "```yaml\nblocks:\n cardList:\n width: text\n```\n\nDefault maximum width for card lists. A width written in a card-list block overrides this value.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/theme.md#content-block-defaults)",
|
|
637
675
|
"examples": [
|
|
638
676
|
"text",
|
|
639
677
|
"narrow",
|
|
@@ -647,16 +685,16 @@
|
|
|
647
685
|
],
|
|
648
686
|
"additionalProperties": false,
|
|
649
687
|
"description": "Site-wide card-list defaults.",
|
|
650
|
-
"markdownDescription": "```yaml\nblocks:\n cardList:\n width: text\n```\n\nSets site-wide defaults for card lists. A `width` option in an individual `
|
|
688
|
+
"markdownDescription": "```yaml\nblocks:\n cardList:\n width: text\n```\n\nSets site-wide defaults for card lists. A `width` option in an individual `card-list` block overrides this setting.\n\n[Content block defaults](https://github.com/janga/norna/blob/v0.7.24/docs/theme.md#content-block-defaults)"
|
|
651
689
|
}
|
|
652
690
|
},
|
|
653
691
|
"additionalProperties": false,
|
|
654
692
|
"description": "Optional site-wide defaults for structured Norna content blocks.",
|
|
655
|
-
"markdownDescription": "```yaml\nblocks:\n cardList:\n width: text\n```\n\nOverrides preset defaults for structured Norna content blocks throughout the site. Options written directly in a Markdown block take priority.\n\n[Content block defaults](https://github.com/janga/norna/blob/v0.7.
|
|
693
|
+
"markdownDescription": "```yaml\nblocks:\n cardList:\n width: text\n```\n\nOverrides preset defaults for structured Norna content blocks throughout the site. Options written directly in a Markdown block take priority.\n\n[Content block defaults](https://github.com/janga/norna/blob/v0.7.24/docs/theme.md#content-block-defaults)",
|
|
656
694
|
"defaultSnippets": [
|
|
657
695
|
{
|
|
658
696
|
"label": "Override content-block defaults",
|
|
659
|
-
"markdownDescription": "Override a preset default for structured content blocks across the site.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
697
|
+
"markdownDescription": "Override a preset default for structured content blocks across the site.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/theme.md#content-block-defaults)",
|
|
660
698
|
"body": {
|
|
661
699
|
"cardList": {
|
|
662
700
|
"width": "${1:text}"
|
|
@@ -672,7 +710,7 @@
|
|
|
672
710
|
"description": "CSS font-family stack.",
|
|
673
711
|
"type": "string",
|
|
674
712
|
"minLength": 1,
|
|
675
|
-
"markdownDescription": "```yaml\ntypography:\n fontFamily: \"Arial, sans-serif\"\n```\n\nCSS font-family stack.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
713
|
+
"markdownDescription": "```yaml\ntypography:\n fontFamily: \"Arial, sans-serif\"\n```\n\nCSS font-family stack.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
676
714
|
},
|
|
677
715
|
"profile": {
|
|
678
716
|
"description": "Typography profile. Omit this to keep the selected preset.",
|
|
@@ -681,25 +719,29 @@
|
|
|
681
719
|
{
|
|
682
720
|
"const": "restrained",
|
|
683
721
|
"title": "Restrained",
|
|
684
|
-
"description": "Quiet typography with regular-weight headings and balanced line lengths."
|
|
722
|
+
"description": "Quiet typography with regular-weight headings and balanced line lengths.",
|
|
723
|
+
"markdownDescription": "Quiet typography with regular-weight headings and balanced line lengths.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
685
724
|
},
|
|
686
725
|
{
|
|
687
726
|
"const": "dense",
|
|
688
727
|
"title": "Dense",
|
|
689
|
-
"description": "Compact typography with wider text and tighter line height."
|
|
728
|
+
"description": "Compact typography with wider text and tighter line height.",
|
|
729
|
+
"markdownDescription": "Compact typography with wider text and tighter line height.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
690
730
|
},
|
|
691
731
|
{
|
|
692
732
|
"const": "reading",
|
|
693
733
|
"title": "Reading",
|
|
694
|
-
"description": "Reading-focused typography with narrower text and relaxed line height."
|
|
734
|
+
"description": "Reading-focused typography with narrower text and relaxed line height.",
|
|
735
|
+
"markdownDescription": "Reading-focused typography with narrower text and relaxed line height.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
695
736
|
},
|
|
696
737
|
{
|
|
697
738
|
"const": "statement",
|
|
698
739
|
"title": "Statement",
|
|
699
|
-
"description": "Stronger headings and tighter body rhythm for short, expressive pages."
|
|
740
|
+
"description": "Stronger headings and tighter body rhythm for short, expressive pages.",
|
|
741
|
+
"markdownDescription": "Stronger headings and tighter body rhythm for short, expressive pages.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
700
742
|
}
|
|
701
743
|
],
|
|
702
|
-
"markdownDescription": "```yaml\ntypography:\n profile: reading\n```\n\nTypography profile. Omit this to keep the selected preset.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
744
|
+
"markdownDescription": "```yaml\ntypography:\n profile: reading\n```\n\nTypography profile. Omit this to keep the selected preset.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
703
745
|
},
|
|
704
746
|
"rhythm": {
|
|
705
747
|
"description": "Typography spacing rhythm. Omit this to keep the selected preset.",
|
|
@@ -708,20 +750,23 @@
|
|
|
708
750
|
{
|
|
709
751
|
"const": "compact",
|
|
710
752
|
"title": "Compact",
|
|
711
|
-
"description": "Reduce vertical spacing while preserving readable separation."
|
|
753
|
+
"description": "Reduce vertical spacing while preserving readable separation.",
|
|
754
|
+
"markdownDescription": "Reduce vertical spacing while preserving readable separation.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
712
755
|
},
|
|
713
756
|
{
|
|
714
757
|
"const": "normal",
|
|
715
758
|
"title": "Normal",
|
|
716
|
-
"description": "Use balanced vertical spacing."
|
|
759
|
+
"description": "Use balanced vertical spacing.",
|
|
760
|
+
"markdownDescription": "Use balanced vertical spacing.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
717
761
|
},
|
|
718
762
|
{
|
|
719
763
|
"const": "airy",
|
|
720
764
|
"title": "Airy",
|
|
721
|
-
"description": "Increase vertical spacing for a more expansive presentation."
|
|
765
|
+
"description": "Increase vertical spacing for a more expansive presentation.",
|
|
766
|
+
"markdownDescription": "Increase vertical spacing for a more expansive presentation.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
722
767
|
}
|
|
723
768
|
],
|
|
724
|
-
"markdownDescription": "```yaml\ntypography:\n rhythm: normal\n```\n\nTypography spacing rhythm. Omit this to keep the selected preset.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
769
|
+
"markdownDescription": "```yaml\ntypography:\n rhythm: normal\n```\n\nTypography spacing rhythm. Omit this to keep the selected preset.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
725
770
|
},
|
|
726
771
|
"overrides": {
|
|
727
772
|
"description": "Focused typography overrides applied after the profile.",
|
|
@@ -746,20 +791,23 @@
|
|
|
746
791
|
{
|
|
747
792
|
"const": "left",
|
|
748
793
|
"title": "Left",
|
|
749
|
-
"description": "Align text with the left edge of its text area."
|
|
794
|
+
"description": "Align text with the left edge of its text area.",
|
|
795
|
+
"markdownDescription": "Align text with the left edge of its text area.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
750
796
|
},
|
|
751
797
|
{
|
|
752
798
|
"const": "center",
|
|
753
799
|
"title": "Center",
|
|
754
|
-
"description": "Center text within its text area."
|
|
800
|
+
"description": "Center text within its text area.",
|
|
801
|
+
"markdownDescription": "Center text within its text area.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
755
802
|
},
|
|
756
803
|
{
|
|
757
804
|
"const": "right",
|
|
758
805
|
"title": "Right",
|
|
759
|
-
"description": "Align text with the right edge of its text area."
|
|
806
|
+
"description": "Align text with the right edge of its text area.",
|
|
807
|
+
"markdownDescription": "Align text with the right edge of its text area.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
760
808
|
}
|
|
761
809
|
],
|
|
762
|
-
"markdownDescription": "```yaml\ntypography:\n overrides:\n headings:\n h1:\n \n align:\n desktop: left\n```\n\nText alignment on wider screens.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
810
|
+
"markdownDescription": "```yaml\ntypography:\n overrides:\n headings:\n h1:\n \n align:\n desktop: left\n```\n\nText alignment on wider screens.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
763
811
|
},
|
|
764
812
|
"mobile": {
|
|
765
813
|
"description": "Text alignment on narrow screens.",
|
|
@@ -768,28 +816,31 @@
|
|
|
768
816
|
{
|
|
769
817
|
"const": "left",
|
|
770
818
|
"title": "Left",
|
|
771
|
-
"description": "Align text with the left edge of its text area."
|
|
819
|
+
"description": "Align text with the left edge of its text area.",
|
|
820
|
+
"markdownDescription": "Align text with the left edge of its text area.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
772
821
|
},
|
|
773
822
|
{
|
|
774
823
|
"const": "center",
|
|
775
824
|
"title": "Center",
|
|
776
|
-
"description": "Center text within its text area."
|
|
825
|
+
"description": "Center text within its text area.",
|
|
826
|
+
"markdownDescription": "Center text within its text area.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
777
827
|
},
|
|
778
828
|
{
|
|
779
829
|
"const": "right",
|
|
780
830
|
"title": "Right",
|
|
781
|
-
"description": "Align text with the right edge of its text area."
|
|
831
|
+
"description": "Align text with the right edge of its text area.",
|
|
832
|
+
"markdownDescription": "Align text with the right edge of its text area.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
782
833
|
}
|
|
783
834
|
],
|
|
784
|
-
"markdownDescription": "```yaml\ntypography:\n overrides:\n headings:\n h1:\n \n align:\n mobile: left\n```\n\nText alignment on narrow screens.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
835
|
+
"markdownDescription": "```yaml\ntypography:\n overrides:\n headings:\n h1:\n \n align:\n mobile: left\n```\n\nText alignment on narrow screens.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
785
836
|
}
|
|
786
837
|
},
|
|
787
838
|
"additionalProperties": false,
|
|
788
|
-
"markdownDescription": "```yaml\ntypography:\n overrides:\n headings:\n h1:\n \n align:\n desktop: left\n mobile: left\n```\n\nResponsive text alignment override.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
839
|
+
"markdownDescription": "```yaml\ntypography:\n overrides:\n headings:\n h1:\n \n align:\n desktop: left\n mobile: left\n```\n\nResponsive text alignment override.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)",
|
|
789
840
|
"defaultSnippets": [
|
|
790
841
|
{
|
|
791
842
|
"label": "Responsive text alignment",
|
|
792
|
-
"markdownDescription": "Set separate text alignment for wider and narrow screens.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
843
|
+
"markdownDescription": "Set separate text alignment for wider and narrow screens.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)",
|
|
793
844
|
"body": {
|
|
794
845
|
"desktop": "${1:left}",
|
|
795
846
|
"mobile": "${2:left}"
|
|
@@ -804,32 +855,36 @@
|
|
|
804
855
|
{
|
|
805
856
|
"const": "small",
|
|
806
857
|
"title": "Small",
|
|
807
|
-
"description": "Use the small type size from the active typography system."
|
|
858
|
+
"description": "Use the small type size from the active typography system.",
|
|
859
|
+
"markdownDescription": "Use the small type size from the active typography system.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
808
860
|
},
|
|
809
861
|
{
|
|
810
862
|
"const": "medium",
|
|
811
863
|
"title": "Medium",
|
|
812
|
-
"description": "Use the standard type size from the active typography system."
|
|
864
|
+
"description": "Use the standard type size from the active typography system.",
|
|
865
|
+
"markdownDescription": "Use the standard type size from the active typography system.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
813
866
|
},
|
|
814
867
|
{
|
|
815
868
|
"const": "large",
|
|
816
869
|
"title": "Large",
|
|
817
|
-
"description": "Use a larger type size for stronger emphasis."
|
|
870
|
+
"description": "Use a larger type size for stronger emphasis.",
|
|
871
|
+
"markdownDescription": "Use a larger type size for stronger emphasis.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
818
872
|
},
|
|
819
873
|
{
|
|
820
874
|
"const": "xlarge",
|
|
821
875
|
"title": "Extra large",
|
|
822
|
-
"description": "Use the largest available type size for exceptional emphasis."
|
|
876
|
+
"description": "Use the largest available type size for exceptional emphasis.",
|
|
877
|
+
"markdownDescription": "Use the largest available type size for exceptional emphasis.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
823
878
|
}
|
|
824
879
|
],
|
|
825
|
-
"markdownDescription": "```yaml\ntypography:\n overrides:\n headings:\n h1:\n \n size: medium\n```\n\nText size from the active typography system. Omit an override to keep the profile value.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
880
|
+
"markdownDescription": "```yaml\ntypography:\n overrides:\n headings:\n h1:\n \n size: medium\n```\n\nText size from the active typography system. Omit an override to keep the profile value.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
826
881
|
},
|
|
827
882
|
"lineHeight": {
|
|
828
883
|
"type": "number",
|
|
829
884
|
"minimum": 1,
|
|
830
885
|
"maximum": 3,
|
|
831
886
|
"description": "Unitless heading line height between 1 and 3.",
|
|
832
|
-
"markdownDescription": "```yaml\ntypography:\n overrides:\n headings:\n h1:\n \n lineHeight: 1.5\n```\n\nUnitless heading line height between 1 and 3.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
887
|
+
"markdownDescription": "```yaml\ntypography:\n overrides:\n headings:\n h1:\n \n lineHeight: 1.5\n```\n\nUnitless heading line height between 1 and 3.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
833
888
|
},
|
|
834
889
|
"weight": {
|
|
835
890
|
"description": "Heading font weight. Omit this to keep the profile value.",
|
|
@@ -837,41 +892,45 @@
|
|
|
837
892
|
{
|
|
838
893
|
"const": 400,
|
|
839
894
|
"title": "Regular",
|
|
840
|
-
"description": "Use regular font weight."
|
|
895
|
+
"description": "Use regular font weight.",
|
|
896
|
+
"markdownDescription": "Use regular font weight.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
841
897
|
},
|
|
842
898
|
{
|
|
843
899
|
"const": 500,
|
|
844
900
|
"title": "Medium",
|
|
845
|
-
"description": "Use medium font weight."
|
|
901
|
+
"description": "Use medium font weight.",
|
|
902
|
+
"markdownDescription": "Use medium font weight.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
846
903
|
},
|
|
847
904
|
{
|
|
848
905
|
"const": 600,
|
|
849
906
|
"title": "Semibold",
|
|
850
|
-
"description": "Use semibold font weight."
|
|
907
|
+
"description": "Use semibold font weight.",
|
|
908
|
+
"markdownDescription": "Use semibold font weight.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
851
909
|
},
|
|
852
910
|
{
|
|
853
911
|
"const": 700,
|
|
854
912
|
"title": "Bold",
|
|
855
|
-
"description": "Use bold font weight."
|
|
913
|
+
"description": "Use bold font weight.",
|
|
914
|
+
"markdownDescription": "Use bold font weight.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
856
915
|
}
|
|
857
916
|
],
|
|
858
|
-
"markdownDescription": "```yaml\ntypography:\n overrides:\n headings:\n h1:\n \n weight: 600\n```\n\nHeading font weight. Omit this to keep the profile value.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
917
|
+
"markdownDescription": "```yaml\ntypography:\n overrides:\n headings:\n h1:\n \n weight: 600\n```\n\nHeading font weight. Omit this to keep the profile value.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
859
918
|
},
|
|
860
919
|
"spacingBefore": {
|
|
861
920
|
"description": "Vertical space before the heading.",
|
|
862
921
|
"type": "string",
|
|
863
922
|
"pattern": "^(?:0|(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|ch|lh))$",
|
|
864
|
-
"markdownDescription": "```yaml\ntypography:\n overrides:\n headings:\n h1:\n \n spacingBefore: 1.5em\n```\n\nVertical space before the heading.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
923
|
+
"markdownDescription": "```yaml\ntypography:\n overrides:\n headings:\n h1:\n \n spacingBefore: 1.5em\n```\n\nVertical space before the heading.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
865
924
|
},
|
|
866
925
|
"spacingAfter": {
|
|
867
926
|
"description": "Vertical space after the heading.",
|
|
868
927
|
"type": "string",
|
|
869
928
|
"pattern": "^(?:0|(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|ch|lh))$",
|
|
870
|
-
"markdownDescription": "```yaml\ntypography:\n overrides:\n headings:\n h1:\n \n spacingAfter: 0.5em\n```\n\nVertical space after the heading.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
929
|
+
"markdownDescription": "```yaml\ntypography:\n overrides:\n headings:\n h1:\n \n spacingAfter: 0.5em\n```\n\nVertical space after the heading.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
871
930
|
}
|
|
872
931
|
},
|
|
873
932
|
"additionalProperties": false,
|
|
874
|
-
"markdownDescription": "```yaml\ntypography:\n overrides:\n headings:\n h1:\n size: medium\n```\n\nOverrides for Markdown level 1 headings.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
933
|
+
"markdownDescription": "```yaml\ntypography:\n overrides:\n headings:\n h1:\n size: medium\n```\n\nOverrides for Markdown level 1 headings.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
875
934
|
},
|
|
876
935
|
"h2": {
|
|
877
936
|
"description": "Overrides for Markdown level 2 section headings.",
|
|
@@ -888,20 +947,23 @@
|
|
|
888
947
|
{
|
|
889
948
|
"const": "left",
|
|
890
949
|
"title": "Left",
|
|
891
|
-
"description": "Align text with the left edge of its text area."
|
|
950
|
+
"description": "Align text with the left edge of its text area.",
|
|
951
|
+
"markdownDescription": "Align text with the left edge of its text area.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
892
952
|
},
|
|
893
953
|
{
|
|
894
954
|
"const": "center",
|
|
895
955
|
"title": "Center",
|
|
896
|
-
"description": "Center text within its text area."
|
|
956
|
+
"description": "Center text within its text area.",
|
|
957
|
+
"markdownDescription": "Center text within its text area.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
897
958
|
},
|
|
898
959
|
{
|
|
899
960
|
"const": "right",
|
|
900
961
|
"title": "Right",
|
|
901
|
-
"description": "Align text with the right edge of its text area."
|
|
962
|
+
"description": "Align text with the right edge of its text area.",
|
|
963
|
+
"markdownDescription": "Align text with the right edge of its text area.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
902
964
|
}
|
|
903
965
|
],
|
|
904
|
-
"markdownDescription": "```yaml\ntypography:\n overrides:\n headings:\n h2:\n \n align:\n desktop: left\n```\n\nText alignment on wider screens.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
966
|
+
"markdownDescription": "```yaml\ntypography:\n overrides:\n headings:\n h2:\n \n align:\n desktop: left\n```\n\nText alignment on wider screens.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
905
967
|
},
|
|
906
968
|
"mobile": {
|
|
907
969
|
"description": "Text alignment on narrow screens.",
|
|
@@ -910,28 +972,31 @@
|
|
|
910
972
|
{
|
|
911
973
|
"const": "left",
|
|
912
974
|
"title": "Left",
|
|
913
|
-
"description": "Align text with the left edge of its text area."
|
|
975
|
+
"description": "Align text with the left edge of its text area.",
|
|
976
|
+
"markdownDescription": "Align text with the left edge of its text area.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
914
977
|
},
|
|
915
978
|
{
|
|
916
979
|
"const": "center",
|
|
917
980
|
"title": "Center",
|
|
918
|
-
"description": "Center text within its text area."
|
|
981
|
+
"description": "Center text within its text area.",
|
|
982
|
+
"markdownDescription": "Center text within its text area.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
919
983
|
},
|
|
920
984
|
{
|
|
921
985
|
"const": "right",
|
|
922
986
|
"title": "Right",
|
|
923
|
-
"description": "Align text with the right edge of its text area."
|
|
987
|
+
"description": "Align text with the right edge of its text area.",
|
|
988
|
+
"markdownDescription": "Align text with the right edge of its text area.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
924
989
|
}
|
|
925
990
|
],
|
|
926
|
-
"markdownDescription": "```yaml\ntypography:\n overrides:\n headings:\n h2:\n \n align:\n mobile: left\n```\n\nText alignment on narrow screens.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
991
|
+
"markdownDescription": "```yaml\ntypography:\n overrides:\n headings:\n h2:\n \n align:\n mobile: left\n```\n\nText alignment on narrow screens.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
927
992
|
}
|
|
928
993
|
},
|
|
929
994
|
"additionalProperties": false,
|
|
930
|
-
"markdownDescription": "```yaml\ntypography:\n overrides:\n headings:\n h2:\n \n align:\n desktop: left\n mobile: left\n```\n\nResponsive text alignment override.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
995
|
+
"markdownDescription": "```yaml\ntypography:\n overrides:\n headings:\n h2:\n \n align:\n desktop: left\n mobile: left\n```\n\nResponsive text alignment override.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)",
|
|
931
996
|
"defaultSnippets": [
|
|
932
997
|
{
|
|
933
998
|
"label": "Responsive text alignment",
|
|
934
|
-
"markdownDescription": "Set separate text alignment for wider and narrow screens.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
999
|
+
"markdownDescription": "Set separate text alignment for wider and narrow screens.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)",
|
|
935
1000
|
"body": {
|
|
936
1001
|
"desktop": "${1:left}",
|
|
937
1002
|
"mobile": "${2:left}"
|
|
@@ -946,32 +1011,36 @@
|
|
|
946
1011
|
{
|
|
947
1012
|
"const": "small",
|
|
948
1013
|
"title": "Small",
|
|
949
|
-
"description": "Use the small type size from the active typography system."
|
|
1014
|
+
"description": "Use the small type size from the active typography system.",
|
|
1015
|
+
"markdownDescription": "Use the small type size from the active typography system.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
950
1016
|
},
|
|
951
1017
|
{
|
|
952
1018
|
"const": "medium",
|
|
953
1019
|
"title": "Medium",
|
|
954
|
-
"description": "Use the standard type size from the active typography system."
|
|
1020
|
+
"description": "Use the standard type size from the active typography system.",
|
|
1021
|
+
"markdownDescription": "Use the standard type size from the active typography system.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
955
1022
|
},
|
|
956
1023
|
{
|
|
957
1024
|
"const": "large",
|
|
958
1025
|
"title": "Large",
|
|
959
|
-
"description": "Use a larger type size for stronger emphasis."
|
|
1026
|
+
"description": "Use a larger type size for stronger emphasis.",
|
|
1027
|
+
"markdownDescription": "Use a larger type size for stronger emphasis.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
960
1028
|
},
|
|
961
1029
|
{
|
|
962
1030
|
"const": "xlarge",
|
|
963
1031
|
"title": "Extra large",
|
|
964
|
-
"description": "Use the largest available type size for exceptional emphasis."
|
|
1032
|
+
"description": "Use the largest available type size for exceptional emphasis.",
|
|
1033
|
+
"markdownDescription": "Use the largest available type size for exceptional emphasis.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
965
1034
|
}
|
|
966
1035
|
],
|
|
967
|
-
"markdownDescription": "```yaml\ntypography:\n overrides:\n headings:\n h2:\n \n size: medium\n```\n\nText size from the active typography system. Omit an override to keep the profile value.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
1036
|
+
"markdownDescription": "```yaml\ntypography:\n overrides:\n headings:\n h2:\n \n size: medium\n```\n\nText size from the active typography system. Omit an override to keep the profile value.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
968
1037
|
},
|
|
969
1038
|
"lineHeight": {
|
|
970
1039
|
"type": "number",
|
|
971
1040
|
"minimum": 1,
|
|
972
1041
|
"maximum": 3,
|
|
973
1042
|
"description": "Unitless heading line height between 1 and 3.",
|
|
974
|
-
"markdownDescription": "```yaml\ntypography:\n overrides:\n headings:\n h2:\n \n lineHeight: 1.5\n```\n\nUnitless heading line height between 1 and 3.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
1043
|
+
"markdownDescription": "```yaml\ntypography:\n overrides:\n headings:\n h2:\n \n lineHeight: 1.5\n```\n\nUnitless heading line height between 1 and 3.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
975
1044
|
},
|
|
976
1045
|
"weight": {
|
|
977
1046
|
"description": "Heading font weight. Omit this to keep the profile value.",
|
|
@@ -979,41 +1048,45 @@
|
|
|
979
1048
|
{
|
|
980
1049
|
"const": 400,
|
|
981
1050
|
"title": "Regular",
|
|
982
|
-
"description": "Use regular font weight."
|
|
1051
|
+
"description": "Use regular font weight.",
|
|
1052
|
+
"markdownDescription": "Use regular font weight.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
983
1053
|
},
|
|
984
1054
|
{
|
|
985
1055
|
"const": 500,
|
|
986
1056
|
"title": "Medium",
|
|
987
|
-
"description": "Use medium font weight."
|
|
1057
|
+
"description": "Use medium font weight.",
|
|
1058
|
+
"markdownDescription": "Use medium font weight.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
988
1059
|
},
|
|
989
1060
|
{
|
|
990
1061
|
"const": 600,
|
|
991
1062
|
"title": "Semibold",
|
|
992
|
-
"description": "Use semibold font weight."
|
|
1063
|
+
"description": "Use semibold font weight.",
|
|
1064
|
+
"markdownDescription": "Use semibold font weight.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
993
1065
|
},
|
|
994
1066
|
{
|
|
995
1067
|
"const": 700,
|
|
996
1068
|
"title": "Bold",
|
|
997
|
-
"description": "Use bold font weight."
|
|
1069
|
+
"description": "Use bold font weight.",
|
|
1070
|
+
"markdownDescription": "Use bold font weight.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
998
1071
|
}
|
|
999
1072
|
],
|
|
1000
|
-
"markdownDescription": "```yaml\ntypography:\n overrides:\n headings:\n h2:\n \n weight: 600\n```\n\nHeading font weight. Omit this to keep the profile value.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
1073
|
+
"markdownDescription": "```yaml\ntypography:\n overrides:\n headings:\n h2:\n \n weight: 600\n```\n\nHeading font weight. Omit this to keep the profile value.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
1001
1074
|
},
|
|
1002
1075
|
"spacingBefore": {
|
|
1003
1076
|
"description": "Vertical space before the heading.",
|
|
1004
1077
|
"type": "string",
|
|
1005
1078
|
"pattern": "^(?:0|(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|ch|lh))$",
|
|
1006
|
-
"markdownDescription": "```yaml\ntypography:\n overrides:\n headings:\n h2:\n \n spacingBefore: 1.5em\n```\n\nVertical space before the heading.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
1079
|
+
"markdownDescription": "```yaml\ntypography:\n overrides:\n headings:\n h2:\n \n spacingBefore: 1.5em\n```\n\nVertical space before the heading.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
1007
1080
|
},
|
|
1008
1081
|
"spacingAfter": {
|
|
1009
1082
|
"description": "Vertical space after the heading.",
|
|
1010
1083
|
"type": "string",
|
|
1011
1084
|
"pattern": "^(?:0|(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|ch|lh))$",
|
|
1012
|
-
"markdownDescription": "```yaml\ntypography:\n overrides:\n headings:\n h2:\n \n spacingAfter: 0.5em\n```\n\nVertical space after the heading.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
1085
|
+
"markdownDescription": "```yaml\ntypography:\n overrides:\n headings:\n h2:\n \n spacingAfter: 0.5em\n```\n\nVertical space after the heading.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
1013
1086
|
}
|
|
1014
1087
|
},
|
|
1015
1088
|
"additionalProperties": false,
|
|
1016
|
-
"markdownDescription": "```yaml\ntypography:\n overrides:\n headings:\n h2:\n size: medium\n```\n\nOverrides for Markdown level 2 section headings.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
1089
|
+
"markdownDescription": "```yaml\ntypography:\n overrides:\n headings:\n h2:\n size: medium\n```\n\nOverrides for Markdown level 2 section headings.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
1017
1090
|
},
|
|
1018
1091
|
"h3": {
|
|
1019
1092
|
"description": "Overrides for Markdown level 3 headings.",
|
|
@@ -1030,20 +1103,23 @@
|
|
|
1030
1103
|
{
|
|
1031
1104
|
"const": "left",
|
|
1032
1105
|
"title": "Left",
|
|
1033
|
-
"description": "Align text with the left edge of its text area."
|
|
1106
|
+
"description": "Align text with the left edge of its text area.",
|
|
1107
|
+
"markdownDescription": "Align text with the left edge of its text area.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
1034
1108
|
},
|
|
1035
1109
|
{
|
|
1036
1110
|
"const": "center",
|
|
1037
1111
|
"title": "Center",
|
|
1038
|
-
"description": "Center text within its text area."
|
|
1112
|
+
"description": "Center text within its text area.",
|
|
1113
|
+
"markdownDescription": "Center text within its text area.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
1039
1114
|
},
|
|
1040
1115
|
{
|
|
1041
1116
|
"const": "right",
|
|
1042
1117
|
"title": "Right",
|
|
1043
|
-
"description": "Align text with the right edge of its text area."
|
|
1118
|
+
"description": "Align text with the right edge of its text area.",
|
|
1119
|
+
"markdownDescription": "Align text with the right edge of its text area.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
1044
1120
|
}
|
|
1045
1121
|
],
|
|
1046
|
-
"markdownDescription": "```yaml\ntypography:\n overrides:\n headings:\n h3:\n \n align:\n desktop: left\n```\n\nText alignment on wider screens.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
1122
|
+
"markdownDescription": "```yaml\ntypography:\n overrides:\n headings:\n h3:\n \n align:\n desktop: left\n```\n\nText alignment on wider screens.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
1047
1123
|
},
|
|
1048
1124
|
"mobile": {
|
|
1049
1125
|
"description": "Text alignment on narrow screens.",
|
|
@@ -1052,28 +1128,31 @@
|
|
|
1052
1128
|
{
|
|
1053
1129
|
"const": "left",
|
|
1054
1130
|
"title": "Left",
|
|
1055
|
-
"description": "Align text with the left edge of its text area."
|
|
1131
|
+
"description": "Align text with the left edge of its text area.",
|
|
1132
|
+
"markdownDescription": "Align text with the left edge of its text area.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
1056
1133
|
},
|
|
1057
1134
|
{
|
|
1058
1135
|
"const": "center",
|
|
1059
1136
|
"title": "Center",
|
|
1060
|
-
"description": "Center text within its text area."
|
|
1137
|
+
"description": "Center text within its text area.",
|
|
1138
|
+
"markdownDescription": "Center text within its text area.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
1061
1139
|
},
|
|
1062
1140
|
{
|
|
1063
1141
|
"const": "right",
|
|
1064
1142
|
"title": "Right",
|
|
1065
|
-
"description": "Align text with the right edge of its text area."
|
|
1143
|
+
"description": "Align text with the right edge of its text area.",
|
|
1144
|
+
"markdownDescription": "Align text with the right edge of its text area.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
1066
1145
|
}
|
|
1067
1146
|
],
|
|
1068
|
-
"markdownDescription": "```yaml\ntypography:\n overrides:\n headings:\n h3:\n \n align:\n mobile: left\n```\n\nText alignment on narrow screens.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
1147
|
+
"markdownDescription": "```yaml\ntypography:\n overrides:\n headings:\n h3:\n \n align:\n mobile: left\n```\n\nText alignment on narrow screens.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
1069
1148
|
}
|
|
1070
1149
|
},
|
|
1071
1150
|
"additionalProperties": false,
|
|
1072
|
-
"markdownDescription": "```yaml\ntypography:\n overrides:\n headings:\n h3:\n \n align:\n desktop: left\n mobile: left\n```\n\nResponsive text alignment override.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
1151
|
+
"markdownDescription": "```yaml\ntypography:\n overrides:\n headings:\n h3:\n \n align:\n desktop: left\n mobile: left\n```\n\nResponsive text alignment override.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)",
|
|
1073
1152
|
"defaultSnippets": [
|
|
1074
1153
|
{
|
|
1075
1154
|
"label": "Responsive text alignment",
|
|
1076
|
-
"markdownDescription": "Set separate text alignment for wider and narrow screens.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
1155
|
+
"markdownDescription": "Set separate text alignment for wider and narrow screens.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)",
|
|
1077
1156
|
"body": {
|
|
1078
1157
|
"desktop": "${1:left}",
|
|
1079
1158
|
"mobile": "${2:left}"
|
|
@@ -1088,32 +1167,36 @@
|
|
|
1088
1167
|
{
|
|
1089
1168
|
"const": "small",
|
|
1090
1169
|
"title": "Small",
|
|
1091
|
-
"description": "Use the small type size from the active typography system."
|
|
1170
|
+
"description": "Use the small type size from the active typography system.",
|
|
1171
|
+
"markdownDescription": "Use the small type size from the active typography system.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
1092
1172
|
},
|
|
1093
1173
|
{
|
|
1094
1174
|
"const": "medium",
|
|
1095
1175
|
"title": "Medium",
|
|
1096
|
-
"description": "Use the standard type size from the active typography system."
|
|
1176
|
+
"description": "Use the standard type size from the active typography system.",
|
|
1177
|
+
"markdownDescription": "Use the standard type size from the active typography system.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
1097
1178
|
},
|
|
1098
1179
|
{
|
|
1099
1180
|
"const": "large",
|
|
1100
1181
|
"title": "Large",
|
|
1101
|
-
"description": "Use a larger type size for stronger emphasis."
|
|
1182
|
+
"description": "Use a larger type size for stronger emphasis.",
|
|
1183
|
+
"markdownDescription": "Use a larger type size for stronger emphasis.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
1102
1184
|
},
|
|
1103
1185
|
{
|
|
1104
1186
|
"const": "xlarge",
|
|
1105
1187
|
"title": "Extra large",
|
|
1106
|
-
"description": "Use the largest available type size for exceptional emphasis."
|
|
1188
|
+
"description": "Use the largest available type size for exceptional emphasis.",
|
|
1189
|
+
"markdownDescription": "Use the largest available type size for exceptional emphasis.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
1107
1190
|
}
|
|
1108
1191
|
],
|
|
1109
|
-
"markdownDescription": "```yaml\ntypography:\n overrides:\n headings:\n h3:\n \n size: medium\n```\n\nText size from the active typography system. Omit an override to keep the profile value.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
1192
|
+
"markdownDescription": "```yaml\ntypography:\n overrides:\n headings:\n h3:\n \n size: medium\n```\n\nText size from the active typography system. Omit an override to keep the profile value.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
1110
1193
|
},
|
|
1111
1194
|
"lineHeight": {
|
|
1112
1195
|
"type": "number",
|
|
1113
1196
|
"minimum": 1,
|
|
1114
1197
|
"maximum": 3,
|
|
1115
1198
|
"description": "Unitless heading line height between 1 and 3.",
|
|
1116
|
-
"markdownDescription": "```yaml\ntypography:\n overrides:\n headings:\n h3:\n \n lineHeight: 1.5\n```\n\nUnitless heading line height between 1 and 3.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
1199
|
+
"markdownDescription": "```yaml\ntypography:\n overrides:\n headings:\n h3:\n \n lineHeight: 1.5\n```\n\nUnitless heading line height between 1 and 3.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
1117
1200
|
},
|
|
1118
1201
|
"weight": {
|
|
1119
1202
|
"description": "Heading font weight. Omit this to keep the profile value.",
|
|
@@ -1121,41 +1204,45 @@
|
|
|
1121
1204
|
{
|
|
1122
1205
|
"const": 400,
|
|
1123
1206
|
"title": "Regular",
|
|
1124
|
-
"description": "Use regular font weight."
|
|
1207
|
+
"description": "Use regular font weight.",
|
|
1208
|
+
"markdownDescription": "Use regular font weight.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
1125
1209
|
},
|
|
1126
1210
|
{
|
|
1127
1211
|
"const": 500,
|
|
1128
1212
|
"title": "Medium",
|
|
1129
|
-
"description": "Use medium font weight."
|
|
1213
|
+
"description": "Use medium font weight.",
|
|
1214
|
+
"markdownDescription": "Use medium font weight.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
1130
1215
|
},
|
|
1131
1216
|
{
|
|
1132
1217
|
"const": 600,
|
|
1133
1218
|
"title": "Semibold",
|
|
1134
|
-
"description": "Use semibold font weight."
|
|
1219
|
+
"description": "Use semibold font weight.",
|
|
1220
|
+
"markdownDescription": "Use semibold font weight.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
1135
1221
|
},
|
|
1136
1222
|
{
|
|
1137
1223
|
"const": 700,
|
|
1138
1224
|
"title": "Bold",
|
|
1139
|
-
"description": "Use bold font weight."
|
|
1225
|
+
"description": "Use bold font weight.",
|
|
1226
|
+
"markdownDescription": "Use bold font weight.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
1140
1227
|
}
|
|
1141
1228
|
],
|
|
1142
|
-
"markdownDescription": "```yaml\ntypography:\n overrides:\n headings:\n h3:\n \n weight: 600\n```\n\nHeading font weight. Omit this to keep the profile value.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
1229
|
+
"markdownDescription": "```yaml\ntypography:\n overrides:\n headings:\n h3:\n \n weight: 600\n```\n\nHeading font weight. Omit this to keep the profile value.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
1143
1230
|
},
|
|
1144
1231
|
"spacingBefore": {
|
|
1145
1232
|
"description": "Vertical space before the heading.",
|
|
1146
1233
|
"type": "string",
|
|
1147
1234
|
"pattern": "^(?:0|(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|ch|lh))$",
|
|
1148
|
-
"markdownDescription": "```yaml\ntypography:\n overrides:\n headings:\n h3:\n \n spacingBefore: 1.5em\n```\n\nVertical space before the heading.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
1235
|
+
"markdownDescription": "```yaml\ntypography:\n overrides:\n headings:\n h3:\n \n spacingBefore: 1.5em\n```\n\nVertical space before the heading.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
1149
1236
|
},
|
|
1150
1237
|
"spacingAfter": {
|
|
1151
1238
|
"description": "Vertical space after the heading.",
|
|
1152
1239
|
"type": "string",
|
|
1153
1240
|
"pattern": "^(?:0|(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|ch|lh))$",
|
|
1154
|
-
"markdownDescription": "```yaml\ntypography:\n overrides:\n headings:\n h3:\n \n spacingAfter: 0.5em\n```\n\nVertical space after the heading.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
1241
|
+
"markdownDescription": "```yaml\ntypography:\n overrides:\n headings:\n h3:\n \n spacingAfter: 0.5em\n```\n\nVertical space after the heading.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
1155
1242
|
}
|
|
1156
1243
|
},
|
|
1157
1244
|
"additionalProperties": false,
|
|
1158
|
-
"markdownDescription": "```yaml\ntypography:\n overrides:\n headings:\n h3:\n size: medium\n```\n\nOverrides for Markdown level 3 headings.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
1245
|
+
"markdownDescription": "```yaml\ntypography:\n overrides:\n headings:\n h3:\n size: medium\n```\n\nOverrides for Markdown level 3 headings.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
1159
1246
|
},
|
|
1160
1247
|
"h4": {
|
|
1161
1248
|
"description": "Overrides for Markdown level 4 headings.",
|
|
@@ -1172,20 +1259,23 @@
|
|
|
1172
1259
|
{
|
|
1173
1260
|
"const": "left",
|
|
1174
1261
|
"title": "Left",
|
|
1175
|
-
"description": "Align text with the left edge of its text area."
|
|
1262
|
+
"description": "Align text with the left edge of its text area.",
|
|
1263
|
+
"markdownDescription": "Align text with the left edge of its text area.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
1176
1264
|
},
|
|
1177
1265
|
{
|
|
1178
1266
|
"const": "center",
|
|
1179
1267
|
"title": "Center",
|
|
1180
|
-
"description": "Center text within its text area."
|
|
1268
|
+
"description": "Center text within its text area.",
|
|
1269
|
+
"markdownDescription": "Center text within its text area.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
1181
1270
|
},
|
|
1182
1271
|
{
|
|
1183
1272
|
"const": "right",
|
|
1184
1273
|
"title": "Right",
|
|
1185
|
-
"description": "Align text with the right edge of its text area."
|
|
1274
|
+
"description": "Align text with the right edge of its text area.",
|
|
1275
|
+
"markdownDescription": "Align text with the right edge of its text area.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
1186
1276
|
}
|
|
1187
1277
|
],
|
|
1188
|
-
"markdownDescription": "```yaml\ntypography:\n overrides:\n headings:\n h4:\n \n align:\n desktop: left\n```\n\nText alignment on wider screens.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
1278
|
+
"markdownDescription": "```yaml\ntypography:\n overrides:\n headings:\n h4:\n \n align:\n desktop: left\n```\n\nText alignment on wider screens.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
1189
1279
|
},
|
|
1190
1280
|
"mobile": {
|
|
1191
1281
|
"description": "Text alignment on narrow screens.",
|
|
@@ -1194,28 +1284,31 @@
|
|
|
1194
1284
|
{
|
|
1195
1285
|
"const": "left",
|
|
1196
1286
|
"title": "Left",
|
|
1197
|
-
"description": "Align text with the left edge of its text area."
|
|
1287
|
+
"description": "Align text with the left edge of its text area.",
|
|
1288
|
+
"markdownDescription": "Align text with the left edge of its text area.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
1198
1289
|
},
|
|
1199
1290
|
{
|
|
1200
1291
|
"const": "center",
|
|
1201
1292
|
"title": "Center",
|
|
1202
|
-
"description": "Center text within its text area."
|
|
1293
|
+
"description": "Center text within its text area.",
|
|
1294
|
+
"markdownDescription": "Center text within its text area.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
1203
1295
|
},
|
|
1204
1296
|
{
|
|
1205
1297
|
"const": "right",
|
|
1206
1298
|
"title": "Right",
|
|
1207
|
-
"description": "Align text with the right edge of its text area."
|
|
1299
|
+
"description": "Align text with the right edge of its text area.",
|
|
1300
|
+
"markdownDescription": "Align text with the right edge of its text area.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
1208
1301
|
}
|
|
1209
1302
|
],
|
|
1210
|
-
"markdownDescription": "```yaml\ntypography:\n overrides:\n headings:\n h4:\n \n align:\n mobile: left\n```\n\nText alignment on narrow screens.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
1303
|
+
"markdownDescription": "```yaml\ntypography:\n overrides:\n headings:\n h4:\n \n align:\n mobile: left\n```\n\nText alignment on narrow screens.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
1211
1304
|
}
|
|
1212
1305
|
},
|
|
1213
1306
|
"additionalProperties": false,
|
|
1214
|
-
"markdownDescription": "```yaml\ntypography:\n overrides:\n headings:\n h4:\n \n align:\n desktop: left\n mobile: left\n```\n\nResponsive text alignment override.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
1307
|
+
"markdownDescription": "```yaml\ntypography:\n overrides:\n headings:\n h4:\n \n align:\n desktop: left\n mobile: left\n```\n\nResponsive text alignment override.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)",
|
|
1215
1308
|
"defaultSnippets": [
|
|
1216
1309
|
{
|
|
1217
1310
|
"label": "Responsive text alignment",
|
|
1218
|
-
"markdownDescription": "Set separate text alignment for wider and narrow screens.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
1311
|
+
"markdownDescription": "Set separate text alignment for wider and narrow screens.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)",
|
|
1219
1312
|
"body": {
|
|
1220
1313
|
"desktop": "${1:left}",
|
|
1221
1314
|
"mobile": "${2:left}"
|
|
@@ -1230,32 +1323,36 @@
|
|
|
1230
1323
|
{
|
|
1231
1324
|
"const": "small",
|
|
1232
1325
|
"title": "Small",
|
|
1233
|
-
"description": "Use the small type size from the active typography system."
|
|
1326
|
+
"description": "Use the small type size from the active typography system.",
|
|
1327
|
+
"markdownDescription": "Use the small type size from the active typography system.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
1234
1328
|
},
|
|
1235
1329
|
{
|
|
1236
1330
|
"const": "medium",
|
|
1237
1331
|
"title": "Medium",
|
|
1238
|
-
"description": "Use the standard type size from the active typography system."
|
|
1332
|
+
"description": "Use the standard type size from the active typography system.",
|
|
1333
|
+
"markdownDescription": "Use the standard type size from the active typography system.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
1239
1334
|
},
|
|
1240
1335
|
{
|
|
1241
1336
|
"const": "large",
|
|
1242
1337
|
"title": "Large",
|
|
1243
|
-
"description": "Use a larger type size for stronger emphasis."
|
|
1338
|
+
"description": "Use a larger type size for stronger emphasis.",
|
|
1339
|
+
"markdownDescription": "Use a larger type size for stronger emphasis.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
1244
1340
|
},
|
|
1245
1341
|
{
|
|
1246
1342
|
"const": "xlarge",
|
|
1247
1343
|
"title": "Extra large",
|
|
1248
|
-
"description": "Use the largest available type size for exceptional emphasis."
|
|
1344
|
+
"description": "Use the largest available type size for exceptional emphasis.",
|
|
1345
|
+
"markdownDescription": "Use the largest available type size for exceptional emphasis.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
1249
1346
|
}
|
|
1250
1347
|
],
|
|
1251
|
-
"markdownDescription": "```yaml\ntypography:\n overrides:\n headings:\n h4:\n \n size: medium\n```\n\nText size from the active typography system. Omit an override to keep the profile value.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
1348
|
+
"markdownDescription": "```yaml\ntypography:\n overrides:\n headings:\n h4:\n \n size: medium\n```\n\nText size from the active typography system. Omit an override to keep the profile value.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
1252
1349
|
},
|
|
1253
1350
|
"lineHeight": {
|
|
1254
1351
|
"type": "number",
|
|
1255
1352
|
"minimum": 1,
|
|
1256
1353
|
"maximum": 3,
|
|
1257
1354
|
"description": "Unitless heading line height between 1 and 3.",
|
|
1258
|
-
"markdownDescription": "```yaml\ntypography:\n overrides:\n headings:\n h4:\n \n lineHeight: 1.5\n```\n\nUnitless heading line height between 1 and 3.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
1355
|
+
"markdownDescription": "```yaml\ntypography:\n overrides:\n headings:\n h4:\n \n lineHeight: 1.5\n```\n\nUnitless heading line height between 1 and 3.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
1259
1356
|
},
|
|
1260
1357
|
"weight": {
|
|
1261
1358
|
"description": "Heading font weight. Omit this to keep the profile value.",
|
|
@@ -1263,45 +1360,49 @@
|
|
|
1263
1360
|
{
|
|
1264
1361
|
"const": 400,
|
|
1265
1362
|
"title": "Regular",
|
|
1266
|
-
"description": "Use regular font weight."
|
|
1363
|
+
"description": "Use regular font weight.",
|
|
1364
|
+
"markdownDescription": "Use regular font weight.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
1267
1365
|
},
|
|
1268
1366
|
{
|
|
1269
1367
|
"const": 500,
|
|
1270
1368
|
"title": "Medium",
|
|
1271
|
-
"description": "Use medium font weight."
|
|
1369
|
+
"description": "Use medium font weight.",
|
|
1370
|
+
"markdownDescription": "Use medium font weight.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
1272
1371
|
},
|
|
1273
1372
|
{
|
|
1274
1373
|
"const": 600,
|
|
1275
1374
|
"title": "Semibold",
|
|
1276
|
-
"description": "Use semibold font weight."
|
|
1375
|
+
"description": "Use semibold font weight.",
|
|
1376
|
+
"markdownDescription": "Use semibold font weight.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
1277
1377
|
},
|
|
1278
1378
|
{
|
|
1279
1379
|
"const": 700,
|
|
1280
1380
|
"title": "Bold",
|
|
1281
|
-
"description": "Use bold font weight."
|
|
1381
|
+
"description": "Use bold font weight.",
|
|
1382
|
+
"markdownDescription": "Use bold font weight.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
1282
1383
|
}
|
|
1283
1384
|
],
|
|
1284
|
-
"markdownDescription": "```yaml\ntypography:\n overrides:\n headings:\n h4:\n \n weight: 600\n```\n\nHeading font weight. Omit this to keep the profile value.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
1385
|
+
"markdownDescription": "```yaml\ntypography:\n overrides:\n headings:\n h4:\n \n weight: 600\n```\n\nHeading font weight. Omit this to keep the profile value.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
1285
1386
|
},
|
|
1286
1387
|
"spacingBefore": {
|
|
1287
1388
|
"description": "Vertical space before the heading.",
|
|
1288
1389
|
"type": "string",
|
|
1289
1390
|
"pattern": "^(?:0|(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|ch|lh))$",
|
|
1290
|
-
"markdownDescription": "```yaml\ntypography:\n overrides:\n headings:\n h4:\n \n spacingBefore: 1.5em\n```\n\nVertical space before the heading.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
1391
|
+
"markdownDescription": "```yaml\ntypography:\n overrides:\n headings:\n h4:\n \n spacingBefore: 1.5em\n```\n\nVertical space before the heading.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
1291
1392
|
},
|
|
1292
1393
|
"spacingAfter": {
|
|
1293
1394
|
"description": "Vertical space after the heading.",
|
|
1294
1395
|
"type": "string",
|
|
1295
1396
|
"pattern": "^(?:0|(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|ch|lh))$",
|
|
1296
|
-
"markdownDescription": "```yaml\ntypography:\n overrides:\n headings:\n h4:\n \n spacingAfter: 0.5em\n```\n\nVertical space after the heading.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
1397
|
+
"markdownDescription": "```yaml\ntypography:\n overrides:\n headings:\n h4:\n \n spacingAfter: 0.5em\n```\n\nVertical space after the heading.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
1297
1398
|
}
|
|
1298
1399
|
},
|
|
1299
1400
|
"additionalProperties": false,
|
|
1300
|
-
"markdownDescription": "```yaml\ntypography:\n overrides:\n headings:\n h4:\n size: medium\n```\n\nOverrides for Markdown level 4 headings.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
1401
|
+
"markdownDescription": "```yaml\ntypography:\n overrides:\n headings:\n h4:\n size: medium\n```\n\nOverrides for Markdown level 4 headings.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
1301
1402
|
}
|
|
1302
1403
|
},
|
|
1303
1404
|
"additionalProperties": false,
|
|
1304
|
-
"markdownDescription": "```yaml\ntypography:\n overrides:\n headings:\n h2:\n size: medium\n```\n\nOverrides for heading levels.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
1405
|
+
"markdownDescription": "```yaml\ntypography:\n overrides:\n headings:\n h2:\n size: medium\n```\n\nOverrides for heading levels.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
1305
1406
|
},
|
|
1306
1407
|
"body": {
|
|
1307
1408
|
"description": "Overrides for body text.",
|
|
@@ -1318,20 +1419,23 @@
|
|
|
1318
1419
|
{
|
|
1319
1420
|
"const": "left",
|
|
1320
1421
|
"title": "Left",
|
|
1321
|
-
"description": "Align text with the left edge of its text area."
|
|
1422
|
+
"description": "Align text with the left edge of its text area.",
|
|
1423
|
+
"markdownDescription": "Align text with the left edge of its text area.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
1322
1424
|
},
|
|
1323
1425
|
{
|
|
1324
1426
|
"const": "center",
|
|
1325
1427
|
"title": "Center",
|
|
1326
|
-
"description": "Center text within its text area."
|
|
1428
|
+
"description": "Center text within its text area.",
|
|
1429
|
+
"markdownDescription": "Center text within its text area.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
1327
1430
|
},
|
|
1328
1431
|
{
|
|
1329
1432
|
"const": "right",
|
|
1330
1433
|
"title": "Right",
|
|
1331
|
-
"description": "Align text with the right edge of its text area."
|
|
1434
|
+
"description": "Align text with the right edge of its text area.",
|
|
1435
|
+
"markdownDescription": "Align text with the right edge of its text area.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
1332
1436
|
}
|
|
1333
1437
|
],
|
|
1334
|
-
"markdownDescription": "```yaml\ntypography:\n overrides:\n body:\n align:\n desktop: left\n```\n\nText alignment on wider screens.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
1438
|
+
"markdownDescription": "```yaml\ntypography:\n overrides:\n body:\n align:\n desktop: left\n```\n\nText alignment on wider screens.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
1335
1439
|
},
|
|
1336
1440
|
"mobile": {
|
|
1337
1441
|
"description": "Text alignment on narrow screens.",
|
|
@@ -1340,28 +1444,31 @@
|
|
|
1340
1444
|
{
|
|
1341
1445
|
"const": "left",
|
|
1342
1446
|
"title": "Left",
|
|
1343
|
-
"description": "Align text with the left edge of its text area."
|
|
1447
|
+
"description": "Align text with the left edge of its text area.",
|
|
1448
|
+
"markdownDescription": "Align text with the left edge of its text area.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
1344
1449
|
},
|
|
1345
1450
|
{
|
|
1346
1451
|
"const": "center",
|
|
1347
1452
|
"title": "Center",
|
|
1348
|
-
"description": "Center text within its text area."
|
|
1453
|
+
"description": "Center text within its text area.",
|
|
1454
|
+
"markdownDescription": "Center text within its text area.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
1349
1455
|
},
|
|
1350
1456
|
{
|
|
1351
1457
|
"const": "right",
|
|
1352
1458
|
"title": "Right",
|
|
1353
|
-
"description": "Align text with the right edge of its text area."
|
|
1459
|
+
"description": "Align text with the right edge of its text area.",
|
|
1460
|
+
"markdownDescription": "Align text with the right edge of its text area.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
1354
1461
|
}
|
|
1355
1462
|
],
|
|
1356
|
-
"markdownDescription": "```yaml\ntypography:\n overrides:\n body:\n align:\n mobile: left\n```\n\nText alignment on narrow screens.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
1463
|
+
"markdownDescription": "```yaml\ntypography:\n overrides:\n body:\n align:\n mobile: left\n```\n\nText alignment on narrow screens.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
1357
1464
|
}
|
|
1358
1465
|
},
|
|
1359
1466
|
"additionalProperties": false,
|
|
1360
|
-
"markdownDescription": "```yaml\ntypography:\n overrides:\n body:\n align:\n desktop: left\n mobile: left\n```\n\nResponsive text alignment override.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
1467
|
+
"markdownDescription": "```yaml\ntypography:\n overrides:\n body:\n align:\n desktop: left\n mobile: left\n```\n\nResponsive text alignment override.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)",
|
|
1361
1468
|
"defaultSnippets": [
|
|
1362
1469
|
{
|
|
1363
1470
|
"label": "Responsive text alignment",
|
|
1364
|
-
"markdownDescription": "Set separate text alignment for wider and narrow screens.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
1471
|
+
"markdownDescription": "Set separate text alignment for wider and narrow screens.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)",
|
|
1365
1472
|
"body": {
|
|
1366
1473
|
"desktop": "${1:left}",
|
|
1367
1474
|
"mobile": "${2:left}"
|
|
@@ -1376,42 +1483,46 @@
|
|
|
1376
1483
|
{
|
|
1377
1484
|
"const": "small",
|
|
1378
1485
|
"title": "Small",
|
|
1379
|
-
"description": "Use the small type size from the active typography system."
|
|
1486
|
+
"description": "Use the small type size from the active typography system.",
|
|
1487
|
+
"markdownDescription": "Use the small type size from the active typography system.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
1380
1488
|
},
|
|
1381
1489
|
{
|
|
1382
1490
|
"const": "medium",
|
|
1383
1491
|
"title": "Medium",
|
|
1384
|
-
"description": "Use the standard type size from the active typography system."
|
|
1492
|
+
"description": "Use the standard type size from the active typography system.",
|
|
1493
|
+
"markdownDescription": "Use the standard type size from the active typography system.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
1385
1494
|
},
|
|
1386
1495
|
{
|
|
1387
1496
|
"const": "large",
|
|
1388
1497
|
"title": "Large",
|
|
1389
|
-
"description": "Use a larger type size for stronger emphasis."
|
|
1498
|
+
"description": "Use a larger type size for stronger emphasis.",
|
|
1499
|
+
"markdownDescription": "Use a larger type size for stronger emphasis.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
1390
1500
|
},
|
|
1391
1501
|
{
|
|
1392
1502
|
"const": "xlarge",
|
|
1393
1503
|
"title": "Extra large",
|
|
1394
|
-
"description": "Use the largest available type size for exceptional emphasis."
|
|
1504
|
+
"description": "Use the largest available type size for exceptional emphasis.",
|
|
1505
|
+
"markdownDescription": "Use the largest available type size for exceptional emphasis.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
1395
1506
|
}
|
|
1396
1507
|
],
|
|
1397
|
-
"markdownDescription": "```yaml\ntypography:\n overrides:\n body:\n size: medium\n```\n\nText size from the active typography system. Omit an override to keep the profile value.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
1508
|
+
"markdownDescription": "```yaml\ntypography:\n overrides:\n body:\n size: medium\n```\n\nText size from the active typography system. Omit an override to keep the profile value.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
1398
1509
|
},
|
|
1399
1510
|
"lineHeight": {
|
|
1400
1511
|
"type": "number",
|
|
1401
1512
|
"minimum": 1.4,
|
|
1402
1513
|
"maximum": 3,
|
|
1403
1514
|
"description": "Unitless body-text line height between 1.4 and 3.",
|
|
1404
|
-
"markdownDescription": "```yaml\ntypography:\n overrides:\n body:\n lineHeight: 1.5\n```\n\nUnitless body-text line height between 1.4 and 3.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
1515
|
+
"markdownDescription": "```yaml\ntypography:\n overrides:\n body:\n lineHeight: 1.5\n```\n\nUnitless body-text line height between 1.4 and 3.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
1405
1516
|
},
|
|
1406
1517
|
"paragraphSpacing": {
|
|
1407
1518
|
"description": "Vertical space between body paragraphs.",
|
|
1408
1519
|
"type": "string",
|
|
1409
1520
|
"pattern": "^(?:0|(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|ch|lh))$",
|
|
1410
|
-
"markdownDescription": "```yaml\ntypography:\n overrides:\n body:\n paragraphSpacing: 1em\n```\n\nVertical space between body paragraphs.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
1521
|
+
"markdownDescription": "```yaml\ntypography:\n overrides:\n body:\n paragraphSpacing: 1em\n```\n\nVertical space between body paragraphs.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
1411
1522
|
}
|
|
1412
1523
|
},
|
|
1413
1524
|
"additionalProperties": false,
|
|
1414
|
-
"markdownDescription": "```yaml\ntypography:\n overrides:\n body:\n lineHeight: 1.55\n```\n\nOverrides for body text.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
1525
|
+
"markdownDescription": "```yaml\ntypography:\n overrides:\n body:\n lineHeight: 1.55\n```\n\nOverrides for body text.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
1415
1526
|
},
|
|
1416
1527
|
"caption": {
|
|
1417
1528
|
"description": "Overrides for image captions.",
|
|
@@ -1428,20 +1539,23 @@
|
|
|
1428
1539
|
{
|
|
1429
1540
|
"const": "left",
|
|
1430
1541
|
"title": "Left",
|
|
1431
|
-
"description": "Align text with the left edge of its text area."
|
|
1542
|
+
"description": "Align text with the left edge of its text area.",
|
|
1543
|
+
"markdownDescription": "Align text with the left edge of its text area.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
1432
1544
|
},
|
|
1433
1545
|
{
|
|
1434
1546
|
"const": "center",
|
|
1435
1547
|
"title": "Center",
|
|
1436
|
-
"description": "Center text within its text area."
|
|
1548
|
+
"description": "Center text within its text area.",
|
|
1549
|
+
"markdownDescription": "Center text within its text area.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
1437
1550
|
},
|
|
1438
1551
|
{
|
|
1439
1552
|
"const": "right",
|
|
1440
1553
|
"title": "Right",
|
|
1441
|
-
"description": "Align text with the right edge of its text area."
|
|
1554
|
+
"description": "Align text with the right edge of its text area.",
|
|
1555
|
+
"markdownDescription": "Align text with the right edge of its text area.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
1442
1556
|
}
|
|
1443
1557
|
],
|
|
1444
|
-
"markdownDescription": "```yaml\ntypography:\n overrides:\n caption:\n align:\n desktop: left\n```\n\nText alignment on wider screens.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
1558
|
+
"markdownDescription": "```yaml\ntypography:\n overrides:\n caption:\n align:\n desktop: left\n```\n\nText alignment on wider screens.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
1445
1559
|
},
|
|
1446
1560
|
"mobile": {
|
|
1447
1561
|
"description": "Text alignment on narrow screens.",
|
|
@@ -1450,28 +1564,31 @@
|
|
|
1450
1564
|
{
|
|
1451
1565
|
"const": "left",
|
|
1452
1566
|
"title": "Left",
|
|
1453
|
-
"description": "Align text with the left edge of its text area."
|
|
1567
|
+
"description": "Align text with the left edge of its text area.",
|
|
1568
|
+
"markdownDescription": "Align text with the left edge of its text area.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
1454
1569
|
},
|
|
1455
1570
|
{
|
|
1456
1571
|
"const": "center",
|
|
1457
1572
|
"title": "Center",
|
|
1458
|
-
"description": "Center text within its text area."
|
|
1573
|
+
"description": "Center text within its text area.",
|
|
1574
|
+
"markdownDescription": "Center text within its text area.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
1459
1575
|
},
|
|
1460
1576
|
{
|
|
1461
1577
|
"const": "right",
|
|
1462
1578
|
"title": "Right",
|
|
1463
|
-
"description": "Align text with the right edge of its text area."
|
|
1579
|
+
"description": "Align text with the right edge of its text area.",
|
|
1580
|
+
"markdownDescription": "Align text with the right edge of its text area.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
1464
1581
|
}
|
|
1465
1582
|
],
|
|
1466
|
-
"markdownDescription": "```yaml\ntypography:\n overrides:\n caption:\n align:\n mobile: left\n```\n\nText alignment on narrow screens.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
1583
|
+
"markdownDescription": "```yaml\ntypography:\n overrides:\n caption:\n align:\n mobile: left\n```\n\nText alignment on narrow screens.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
1467
1584
|
}
|
|
1468
1585
|
},
|
|
1469
1586
|
"additionalProperties": false,
|
|
1470
|
-
"markdownDescription": "```yaml\ntypography:\n overrides:\n caption:\n align:\n desktop: left\n mobile: left\n```\n\nResponsive text alignment override.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
1587
|
+
"markdownDescription": "```yaml\ntypography:\n overrides:\n caption:\n align:\n desktop: left\n mobile: left\n```\n\nResponsive text alignment override.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)",
|
|
1471
1588
|
"defaultSnippets": [
|
|
1472
1589
|
{
|
|
1473
1590
|
"label": "Responsive text alignment",
|
|
1474
|
-
"markdownDescription": "Set separate text alignment for wider and narrow screens.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
1591
|
+
"markdownDescription": "Set separate text alignment for wider and narrow screens.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)",
|
|
1475
1592
|
"body": {
|
|
1476
1593
|
"desktop": "${1:left}",
|
|
1477
1594
|
"mobile": "${2:left}"
|
|
@@ -1486,50 +1603,54 @@
|
|
|
1486
1603
|
{
|
|
1487
1604
|
"const": "small",
|
|
1488
1605
|
"title": "Small",
|
|
1489
|
-
"description": "Use the small type size from the active typography system."
|
|
1606
|
+
"description": "Use the small type size from the active typography system.",
|
|
1607
|
+
"markdownDescription": "Use the small type size from the active typography system.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
1490
1608
|
},
|
|
1491
1609
|
{
|
|
1492
1610
|
"const": "medium",
|
|
1493
1611
|
"title": "Medium",
|
|
1494
|
-
"description": "Use the standard type size from the active typography system."
|
|
1612
|
+
"description": "Use the standard type size from the active typography system.",
|
|
1613
|
+
"markdownDescription": "Use the standard type size from the active typography system.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
1495
1614
|
},
|
|
1496
1615
|
{
|
|
1497
1616
|
"const": "large",
|
|
1498
1617
|
"title": "Large",
|
|
1499
|
-
"description": "Use a larger type size for stronger emphasis."
|
|
1618
|
+
"description": "Use a larger type size for stronger emphasis.",
|
|
1619
|
+
"markdownDescription": "Use a larger type size for stronger emphasis.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
1500
1620
|
},
|
|
1501
1621
|
{
|
|
1502
1622
|
"const": "xlarge",
|
|
1503
1623
|
"title": "Extra large",
|
|
1504
|
-
"description": "Use the largest available type size for exceptional emphasis."
|
|
1624
|
+
"description": "Use the largest available type size for exceptional emphasis.",
|
|
1625
|
+
"markdownDescription": "Use the largest available type size for exceptional emphasis.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
1505
1626
|
}
|
|
1506
1627
|
],
|
|
1507
|
-
"markdownDescription": "```yaml\ntypography:\n overrides:\n caption:\n size: medium\n```\n\nText size from the active typography system. Omit an override to keep the profile value.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
1628
|
+
"markdownDescription": "```yaml\ntypography:\n overrides:\n caption:\n size: medium\n```\n\nText size from the active typography system. Omit an override to keep the profile value.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
1508
1629
|
},
|
|
1509
1630
|
"lineHeight": {
|
|
1510
1631
|
"type": "number",
|
|
1511
1632
|
"minimum": 1.25,
|
|
1512
1633
|
"maximum": 3,
|
|
1513
1634
|
"description": "Unitless caption line height between 1.25 and 3.",
|
|
1514
|
-
"markdownDescription": "```yaml\ntypography:\n overrides:\n caption:\n lineHeight: 1.5\n```\n\nUnitless caption line height between 1.25 and 3.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
1635
|
+
"markdownDescription": "```yaml\ntypography:\n overrides:\n caption:\n lineHeight: 1.5\n```\n\nUnitless caption line height between 1.25 and 3.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
1515
1636
|
},
|
|
1516
1637
|
"spacingBefore": {
|
|
1517
1638
|
"description": "Vertical space between an image and its caption.",
|
|
1518
1639
|
"type": "string",
|
|
1519
1640
|
"pattern": "^(?:0|(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|ch|lh))$",
|
|
1520
|
-
"markdownDescription": "```yaml\ntypography:\n overrides:\n caption:\n spacingBefore: 0.5em\n```\n\nVertical space between an image and its caption.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
1641
|
+
"markdownDescription": "```yaml\ntypography:\n overrides:\n caption:\n spacingBefore: 0.5em\n```\n\nVertical space between an image and its caption.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
1521
1642
|
}
|
|
1522
1643
|
},
|
|
1523
1644
|
"additionalProperties": false,
|
|
1524
|
-
"markdownDescription": "```yaml\ntypography:\n overrides:\n caption:\n size: small\n```\n\nOverrides for image captions.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
1645
|
+
"markdownDescription": "```yaml\ntypography:\n overrides:\n caption:\n size: small\n```\n\nOverrides for image captions.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
1525
1646
|
}
|
|
1526
1647
|
},
|
|
1527
1648
|
"additionalProperties": false,
|
|
1528
|
-
"markdownDescription": "```yaml\ntypography:\n overrides:\n body:\n lineHeight: 1.55\n```\n\nFocused typography overrides applied after the profile.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
1649
|
+
"markdownDescription": "```yaml\ntypography:\n overrides:\n body:\n lineHeight: 1.55\n```\n\nFocused typography overrides applied after the profile.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)",
|
|
1529
1650
|
"defaultSnippets": [
|
|
1530
1651
|
{
|
|
1531
1652
|
"label": "Typography overrides",
|
|
1532
|
-
"markdownDescription": "Start a focused set of heading and body-text overrides.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
1653
|
+
"markdownDescription": "Start a focused set of heading and body-text overrides.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)",
|
|
1533
1654
|
"body": {
|
|
1534
1655
|
"headings": {
|
|
1535
1656
|
"h2": {
|
|
@@ -1547,59 +1668,68 @@
|
|
|
1547
1668
|
},
|
|
1548
1669
|
"additionalProperties": false,
|
|
1549
1670
|
"description": "Typography profile, rhythm, font family, and focused overrides.",
|
|
1550
|
-
"markdownDescription": "```yaml\ntypography:\n profile: reading\n rhythm: normal\n```\n\nOverrides the preset's font stack, typography profile, rhythm or individual text settings.\n\n[Typography configuration reference](https://github.com/janga/norna/blob/v0.7.
|
|
1671
|
+
"markdownDescription": "```yaml\ntypography:\n profile: reading\n rhythm: normal\n```\n\nOverrides the preset's font stack, typography profile, rhythm or individual text settings.\n\n[Typography configuration reference](https://github.com/janga/norna/blob/v0.7.24/docs/typography.md#configuration-shape)"
|
|
1551
1672
|
},
|
|
1552
1673
|
"palette": {
|
|
1553
1674
|
"type": "string",
|
|
1554
|
-
"description": "Coordinated site color palette. Every palette provides light and dark variants. Omit this to use the selected preset.",
|
|
1675
|
+
"description": "Coordinated site color palette. Every palette provides light and dark variants without changing the initial appearance. Omit this to use the selected preset.",
|
|
1555
1676
|
"oneOf": [
|
|
1556
1677
|
{
|
|
1557
1678
|
"const": "near-monochrome",
|
|
1558
1679
|
"title": "Near monochrome",
|
|
1559
|
-
"description": "Neutral grays and off-whites with almost no visible hue. Includes coordinated light and dark variants."
|
|
1680
|
+
"description": "Neutral grays and off-whites with almost no visible hue. Includes coordinated light and dark variants.",
|
|
1681
|
+
"markdownDescription": "Neutral grays and off-whites with almost no visible hue. Includes coordinated light and dark variants.\n\n[Palette and appearance](https://github.com/janga/norna/blob/v0.7.24/docs/theme.md#palette-and-appearance)"
|
|
1560
1682
|
},
|
|
1561
1683
|
{
|
|
1562
1684
|
"const": "warm-paper",
|
|
1563
1685
|
"title": "Warm paper",
|
|
1564
|
-
"description": "Warm off-whites and browns resembling paper and ink. Includes coordinated light and dark variants."
|
|
1686
|
+
"description": "Warm off-whites and browns resembling paper and ink. Includes coordinated light and dark variants.",
|
|
1687
|
+
"markdownDescription": "Warm off-whites and browns resembling paper and ink. Includes coordinated light and dark variants.\n\n[Palette and appearance](https://github.com/janga/norna/blob/v0.7.24/docs/theme.md#palette-and-appearance)"
|
|
1565
1688
|
},
|
|
1566
1689
|
{
|
|
1567
1690
|
"const": "retro-earth",
|
|
1568
1691
|
"title": "Retro earth",
|
|
1569
|
-
"description": "Earthy ochres, olives and warm neutrals with a subdued retro character. Includes coordinated light and dark variants."
|
|
1692
|
+
"description": "Earthy ochres, olives and warm neutrals with a subdued retro character. Includes coordinated light and dark variants.",
|
|
1693
|
+
"markdownDescription": "Earthy ochres, olives and warm neutrals with a subdued retro character. Includes coordinated light and dark variants.\n\n[Palette and appearance](https://github.com/janga/norna/blob/v0.7.24/docs/theme.md#palette-and-appearance)"
|
|
1570
1694
|
},
|
|
1571
1695
|
{
|
|
1572
1696
|
"const": "clay-rose",
|
|
1573
1697
|
"title": "Clay rose",
|
|
1574
|
-
"description": "Muted clay, rose and wine tones with a warm editorial character. Includes coordinated light and dark variants."
|
|
1698
|
+
"description": "Muted clay, rose and wine tones with a warm editorial character. Includes coordinated light and dark variants.",
|
|
1699
|
+
"markdownDescription": "Muted clay, rose and wine tones with a warm editorial character. Includes coordinated light and dark variants.\n\n[Palette and appearance](https://github.com/janga/norna/blob/v0.7.24/docs/theme.md#palette-and-appearance)"
|
|
1575
1700
|
},
|
|
1576
1701
|
{
|
|
1577
1702
|
"const": "forest-moss",
|
|
1578
1703
|
"title": "Forest moss",
|
|
1579
|
-
"description": "Botanical greens, mossy surfaces and warm lichen neutrals. Includes coordinated light and dark variants."
|
|
1704
|
+
"description": "Botanical greens, mossy surfaces and warm lichen neutrals. Includes coordinated light and dark variants.",
|
|
1705
|
+
"markdownDescription": "Botanical greens, mossy surfaces and warm lichen neutrals. Includes coordinated light and dark variants.\n\n[Palette and appearance](https://github.com/janga/norna/blob/v0.7.24/docs/theme.md#palette-and-appearance)"
|
|
1580
1706
|
},
|
|
1581
1707
|
{
|
|
1582
1708
|
"const": "mineral-teal",
|
|
1583
1709
|
"title": "Mineral teal",
|
|
1584
|
-
"description": "Cool mineral greens with muted teal accents and pale aqua-gray surfaces. Includes coordinated light and dark variants."
|
|
1710
|
+
"description": "Cool mineral greens with muted teal accents and pale aqua-gray surfaces. Includes coordinated light and dark variants.",
|
|
1711
|
+
"markdownDescription": "Cool mineral greens with muted teal accents and pale aqua-gray surfaces. Includes coordinated light and dark variants.\n\n[Palette and appearance](https://github.com/janga/norna/blob/v0.7.24/docs/theme.md#palette-and-appearance)"
|
|
1585
1712
|
},
|
|
1586
1713
|
{
|
|
1587
1714
|
"const": "arctic-blue",
|
|
1588
1715
|
"title": "Arctic blue",
|
|
1589
|
-
"description": "Cool blue-gray surfaces with clear, restrained blue accents. Includes coordinated light and dark variants."
|
|
1716
|
+
"description": "Cool blue-gray surfaces with clear, restrained blue accents. Includes coordinated light and dark variants.",
|
|
1717
|
+
"markdownDescription": "Cool blue-gray surfaces with clear, restrained blue accents. Includes coordinated light and dark variants.\n\n[Palette and appearance](https://github.com/janga/norna/blob/v0.7.24/docs/theme.md#palette-and-appearance)"
|
|
1590
1718
|
},
|
|
1591
1719
|
{
|
|
1592
1720
|
"const": "soft-lavender",
|
|
1593
1721
|
"title": "Soft lavender",
|
|
1594
|
-
"description": "Quiet lavender surfaces with low-key mauve accents. Includes coordinated light and dark variants."
|
|
1722
|
+
"description": "Quiet lavender surfaces with low-key mauve accents. Includes coordinated light and dark variants.",
|
|
1723
|
+
"markdownDescription": "Quiet lavender surfaces with low-key mauve accents. Includes coordinated light and dark variants.\n\n[Palette and appearance](https://github.com/janga/norna/blob/v0.7.24/docs/theme.md#palette-and-appearance)"
|
|
1595
1724
|
},
|
|
1596
1725
|
{
|
|
1597
1726
|
"const": "vivid-night",
|
|
1598
1727
|
"title": "Vivid night",
|
|
1599
|
-
"description": "Indigo surfaces with
|
|
1728
|
+
"description": "Indigo-led surfaces with brighter cyan and blue accents. Includes coordinated light and dark variants.",
|
|
1729
|
+
"markdownDescription": "Indigo-led surfaces with brighter cyan and blue accents. Includes coordinated light and dark variants.\n\n[Palette and appearance](https://github.com/janga/norna/blob/v0.7.24/docs/theme.md#palette-and-appearance)"
|
|
1600
1730
|
}
|
|
1601
1731
|
],
|
|
1602
|
-
"markdownDescription": "```yaml\npalette: warm-paper\n```\n\nChooses the site color character. Every palette provides coordinated light and dark variants.\n\n[Palette and
|
|
1732
|
+
"markdownDescription": "```yaml\npalette: warm-paper\n```\n\nChooses the site color character. Every palette provides coordinated light and dark variants without changing the initial Appearance.\n\n[Palette and appearance](https://github.com/janga/norna/blob/v0.7.24/docs/theme.md#palette-and-appearance)",
|
|
1603
1733
|
"examples": [
|
|
1604
1734
|
"near-monochrome",
|
|
1605
1735
|
"warm-paper",
|
|
@@ -1622,20 +1752,23 @@
|
|
|
1622
1752
|
{
|
|
1623
1753
|
"const": "uniform",
|
|
1624
1754
|
"title": "Uniform",
|
|
1625
|
-
"description": "Use the normal page background for every H2 section. Tree navigation requires this pattern."
|
|
1755
|
+
"description": "Use the normal page background for every H2 section. Tree navigation requires this pattern.",
|
|
1756
|
+
"markdownDescription": "Use the normal page background for every H2 section. Tree navigation requires this pattern.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/theme.md#section-backgrounds)"
|
|
1626
1757
|
},
|
|
1627
1758
|
{
|
|
1628
1759
|
"const": "alternating",
|
|
1629
1760
|
"title": "Alternating",
|
|
1630
|
-
"description": "Alternate normal and subtly contrasting full-width section backgrounds. Available with sections and top navigation."
|
|
1761
|
+
"description": "Alternate normal and subtly contrasting full-width section backgrounds. Available with sections and top navigation.",
|
|
1762
|
+
"markdownDescription": "Alternate normal and subtly contrasting full-width section backgrounds. Available with sections and top navigation.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/theme.md#section-backgrounds)"
|
|
1631
1763
|
},
|
|
1632
1764
|
{
|
|
1633
1765
|
"const": "accented",
|
|
1634
1766
|
"title": "Accented",
|
|
1635
|
-
"description": "Move through base, soft, emphasis and soft full-width section backgrounds before repeating. Available with sections and top navigation."
|
|
1767
|
+
"description": "Move through base, soft, emphasis and soft full-width section backgrounds before repeating. Available with sections and top navigation.",
|
|
1768
|
+
"markdownDescription": "Move through base, soft, emphasis and soft full-width section backgrounds before repeating. Available with sections and top navigation.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/theme.md#section-backgrounds)"
|
|
1636
1769
|
}
|
|
1637
1770
|
],
|
|
1638
|
-
"markdownDescription": "```yaml\nsections:\n backgroundPattern: alternating\n```\n\nSection background pattern. Alternating and accented create full-width bands with sections or top navigation; tree navigation requires uniform.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
1771
|
+
"markdownDescription": "```yaml\nsections:\n backgroundPattern: alternating\n```\n\nSection background pattern. Alternating and accented create full-width bands with sections or top navigation; tree navigation requires uniform.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.24/docs/theme.md#section-backgrounds)",
|
|
1639
1772
|
"examples": [
|
|
1640
1773
|
"uniform",
|
|
1641
1774
|
"alternating",
|
|
@@ -1645,12 +1778,12 @@
|
|
|
1645
1778
|
},
|
|
1646
1779
|
"additionalProperties": false,
|
|
1647
1780
|
"description": "Defaults for page section presentation.",
|
|
1648
|
-
"markdownDescription": "```yaml\nsections:\n backgroundPattern: alternating\n```\n\nChooses whether H2 section backgrounds stay uniform, alternate between two backgrounds or move from base to soft to emphasis and back through soft. Non-uniform patterns are available with sections and top navigation; tree navigation requires uniform.\n\n[Section backgrounds](https://github.com/janga/norna/blob/v0.7.
|
|
1781
|
+
"markdownDescription": "```yaml\nsections:\n backgroundPattern: alternating\n```\n\nChooses whether H2 section backgrounds stay uniform, alternate between two backgrounds or move from base to soft to emphasis and back through soft. Non-uniform patterns are available with sections and top navigation; tree navigation requires uniform.\n\n[Section backgrounds](https://github.com/janga/norna/blob/v0.7.24/docs/theme.md#section-backgrounds)"
|
|
1649
1782
|
}
|
|
1650
1783
|
},
|
|
1651
1784
|
"additionalProperties": false,
|
|
1652
1785
|
"description": "Site-wide visual identity and default page presentation. Presets may be selected only in the root theme.",
|
|
1653
1786
|
"$id": "https://janga.github.io/norna/schemas/theme.schema.json",
|
|
1654
1787
|
"title": "Norna visual theme",
|
|
1655
|
-
"markdownDescription": "```yaml\npreset: documentation\n```\n\nChoose one complete preset first. Add focused overrides only when the site needs to differ from it.\n\n[Theme reference](https://github.com/janga/norna/blob/v0.7.
|
|
1788
|
+
"markdownDescription": "```yaml\npreset: documentation\n```\n\nChoose one complete preset first. Add focused overrides only when the site needs to differ from it.\n\n[Theme reference](https://github.com/janga/norna/blob/v0.7.24/docs/theme.md)"
|
|
1656
1789
|
}
|