@janga/norna 0.7.23 → 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 +12 -0
- package/bin/norna-cli.mjs +6 -0
- package/package.json +13 -2
- package/schemas/category.schema.json +2 -2
- package/schemas/config.schema.json +45 -15
- package/schemas/content-frontmatter.schema.json +7 -7
- package/schemas/page-theme.schema.json +26 -26
- package/schemas/sitewide-content.schema.json +18 -18
- package/schemas/theme.schema.json +246 -246
- package/scripts/build-site.mjs +1 -0
- package/scripts/check-config.mjs +12 -1
- 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/edit-source-link.mjs +49 -0
- package/scripts/lib/editor-language-service.mjs +32 -12
- package/scripts/lib/image-presentation.mjs +4 -0
- package/scripts/lib/navigation-model.mjs +34 -13
- package/scripts/lib/navigation-review.mjs +396 -0
- package/scripts/lib/norna-markdown-blocks.mjs +73 -26
- package/scripts/lib/norna-markdown-render-plugin.mjs +64 -1
- package/scripts/lib/page-aliases.mjs +21 -1
- package/scripts/lib/page-markdown.mjs +32 -1
- package/scripts/lib/page-move-plan.mjs +659 -0
- package/scripts/lib/presentation-palette-metadata.mjs +1 -1
- package/scripts/lib/presentation.mjs +1 -10
- package/scripts/lib/project-config.mjs +111 -5
- package/scripts/lib/public-asset-conventions.mjs +36 -2
- package/scripts/lib/schema-definitions.mjs +22 -5
- package/scripts/lib/schema-editor-metadata.mjs +19 -4
- package/scripts/lib/schema-value-definitions.mjs +1 -1
- package/scripts/lib/semantic-callouts.mjs +128 -0
- package/scripts/lib/site-content.mjs +2 -1
- package/scripts/lib/site-link-graph.mjs +33 -2
- package/scripts/lib/site-navigation-tree.mjs +85 -0
- package/scripts/lib/social-image-assets.mjs +30 -0
- package/scripts/lib/theme-presets.mjs +2 -2
- package/scripts/lib/theme-profiles.mjs +0 -4
- package/scripts/move-site-page.mjs +256 -0
- package/scripts/review-navigation.mjs +32 -0
- package/scripts/sync-content-sections.mjs +67 -4
- package/scripts/sync-site-public.mjs +24 -5
- package/src/components/CodeBlockCopyScript.astro +9 -4
- package/src/components/EditSourceLink.astro +17 -0
- package/src/components/ImageCarousel.astro +5 -6
- package/src/components/NavigationPageTree.astro +66 -55
- package/src/components/NavigationTreeControls.astro +77 -0
- package/src/components/PageAliasRedirect.astro +1 -1
- package/src/components/PageList.astro +33 -0
- package/src/components/PageSequenceNavigation.astro +37 -0
- package/src/components/SearchPage.astro +151 -0
- package/src/components/SiteNavigation.astro +35 -8
- package/src/components/SitePage.astro +79 -26
- package/src/components/SiteSection.astro +11 -3
- package/src/components/SiteTreeNavigation.astro +8 -1
- package/src/components/TreeNavigationScript.astro +207 -26
- package/src/layouts/BaseLayout.astro +57 -2
- package/src/lib/sectionContent.ts +32 -3
- package/src/lib/siteNavigation.ts +31 -52
- package/src/lib/sitePublicAssets.ts +1 -0
- package/src/pages/404.astro +110 -0
- package/src/pages/[...slug].astro +15 -5
- package/src/styles/content.css +242 -18
- package/src/styles/media.css +0 -5
- package/src/styles/navigation.css +31 -0
- package/src/styles/page-layout.css +438 -89
- package/src/styles/responsive.css +77 -8
- 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
|
@@ -10,56 +10,56 @@
|
|
|
10
10
|
"const": "portfolio",
|
|
11
11
|
"title": "Portfolio",
|
|
12
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.
|
|
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)"
|
|
14
14
|
},
|
|
15
15
|
{
|
|
16
16
|
"const": "documentation",
|
|
17
17
|
"title": "Documentation",
|
|
18
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.
|
|
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)"
|
|
20
20
|
},
|
|
21
21
|
{
|
|
22
22
|
"const": "project",
|
|
23
23
|
"title": "Project",
|
|
24
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.
|
|
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)"
|
|
26
26
|
},
|
|
27
27
|
{
|
|
28
28
|
"const": "statement",
|
|
29
29
|
"title": "Statement",
|
|
30
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.
|
|
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)"
|
|
32
32
|
}
|
|
33
33
|
],
|
|
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.
|
|
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)"
|
|
35
35
|
},
|
|
36
36
|
"appearance": {
|
|
37
37
|
"type": "object",
|
|
38
38
|
"properties": {
|
|
39
39
|
"default": {
|
|
40
|
-
"description": "Initial appearance.
|
|
40
|
+
"description": "Initial appearance. Omit this setting to follow the visitor's operating-system preference.",
|
|
41
41
|
"type": "string",
|
|
42
42
|
"oneOf": [
|
|
43
43
|
{
|
|
44
44
|
"const": "system",
|
|
45
45
|
"title": "System",
|
|
46
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.
|
|
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)"
|
|
48
48
|
},
|
|
49
49
|
{
|
|
50
50
|
"const": "light",
|
|
51
51
|
"title": "Light",
|
|
52
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.
|
|
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)"
|
|
54
54
|
},
|
|
55
55
|
{
|
|
56
56
|
"const": "dark",
|
|
57
57
|
"title": "Dark",
|
|
58
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.
|
|
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)"
|
|
60
60
|
}
|
|
61
61
|
],
|
|
62
|
-
"markdownDescription": "```yaml\nappearance:\n default: system\n```\n\nInitial appearance.
|
|
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)",
|
|
63
63
|
"examples": [
|
|
64
64
|
"system",
|
|
65
65
|
"light",
|
|
@@ -68,12 +68,12 @@
|
|
|
68
68
|
}
|
|
69
69
|
},
|
|
70
70
|
"additionalProperties": false,
|
|
71
|
-
"description": "Site-wide initial appearance.",
|
|
72
|
-
"markdownDescription": "```yaml\nappearance:\n default: system\n```\n\nSelects the initial
|
|
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)",
|
|
73
73
|
"defaultSnippets": [
|
|
74
74
|
{
|
|
75
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.
|
|
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
77
|
"body": "appearance:\n default: ${1:system}"
|
|
78
78
|
}
|
|
79
79
|
]
|
|
@@ -84,21 +84,21 @@
|
|
|
84
84
|
"appearance": {
|
|
85
85
|
"description": "Show an Appearance control that lets readers choose System, Light, or Dark.",
|
|
86
86
|
"type": "boolean",
|
|
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.
|
|
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)"
|
|
88
88
|
},
|
|
89
89
|
"focusReading": {
|
|
90
90
|
"description": "Show a Focus reading control that lets readers hide navigation, breadcrumbs, and the footer. Sites with tree navigation always show this control.",
|
|
91
91
|
"type": "boolean",
|
|
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.
|
|
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)"
|
|
93
93
|
}
|
|
94
94
|
},
|
|
95
95
|
"additionalProperties": false,
|
|
96
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.
|
|
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)",
|
|
98
98
|
"defaultSnippets": [
|
|
99
99
|
{
|
|
100
100
|
"label": "Configure the Display panel",
|
|
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.
|
|
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
102
|
"body": "readerControls:\n appearance: ${1:true}\n focusReading: ${2:true}"
|
|
103
103
|
}
|
|
104
104
|
]
|
|
@@ -111,16 +111,16 @@
|
|
|
111
111
|
"const": "square",
|
|
112
112
|
"title": "Square",
|
|
113
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.
|
|
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)"
|
|
115
115
|
},
|
|
116
116
|
{
|
|
117
117
|
"const": "rounded",
|
|
118
118
|
"title": "Rounded",
|
|
119
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.
|
|
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)"
|
|
121
121
|
}
|
|
122
122
|
],
|
|
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.
|
|
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)",
|
|
124
124
|
"examples": [
|
|
125
125
|
"square",
|
|
126
126
|
"rounded"
|
|
@@ -137,22 +137,22 @@
|
|
|
137
137
|
"const": "compact",
|
|
138
138
|
"title": "Compact",
|
|
139
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.
|
|
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)"
|
|
141
141
|
},
|
|
142
142
|
{
|
|
143
143
|
"const": "normal",
|
|
144
144
|
"title": "Normal",
|
|
145
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.
|
|
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)"
|
|
147
147
|
},
|
|
148
148
|
{
|
|
149
149
|
"const": "spacious",
|
|
150
150
|
"title": "Spacious",
|
|
151
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.
|
|
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)"
|
|
153
153
|
}
|
|
154
154
|
],
|
|
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.
|
|
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)"
|
|
156
156
|
},
|
|
157
157
|
"textWidth": {
|
|
158
158
|
"description": "Body-text line length. Omit this to keep the selected preset or inherited page setting.",
|
|
@@ -162,28 +162,28 @@
|
|
|
162
162
|
"const": "narrow",
|
|
163
163
|
"title": "Narrow",
|
|
164
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.
|
|
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)"
|
|
166
166
|
},
|
|
167
167
|
{
|
|
168
168
|
"const": "normal",
|
|
169
169
|
"title": "Normal",
|
|
170
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.
|
|
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)"
|
|
172
172
|
},
|
|
173
173
|
{
|
|
174
174
|
"const": "wide",
|
|
175
175
|
"title": "Wide",
|
|
176
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.
|
|
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)"
|
|
178
178
|
}
|
|
179
179
|
],
|
|
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.
|
|
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)"
|
|
181
181
|
},
|
|
182
182
|
"pageWidth": {
|
|
183
183
|
"description": "Maximum width of the site layout. Omit this to keep the selected preset.",
|
|
184
184
|
"type": "string",
|
|
185
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*\\))$",
|
|
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.
|
|
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)"
|
|
187
187
|
},
|
|
188
188
|
"gutter": {
|
|
189
189
|
"description": "Horizontal page gutter as one value or separate desktop and mobile values.",
|
|
@@ -200,13 +200,13 @@
|
|
|
200
200
|
"type": "string",
|
|
201
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*\\))$",
|
|
202
202
|
"description": "Responsive CSS length or clamp() expression.",
|
|
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.
|
|
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)"
|
|
204
204
|
},
|
|
205
205
|
"mobile": {
|
|
206
206
|
"type": "string",
|
|
207
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*\\))$",
|
|
208
208
|
"description": "Responsive CSS length or clamp() expression.",
|
|
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.
|
|
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)"
|
|
210
210
|
}
|
|
211
211
|
},
|
|
212
212
|
"required": [
|
|
@@ -216,11 +216,11 @@
|
|
|
216
216
|
"additionalProperties": false
|
|
217
217
|
}
|
|
218
218
|
],
|
|
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.
|
|
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)",
|
|
220
220
|
"defaultSnippets": [
|
|
221
221
|
{
|
|
222
222
|
"label": "Responsive page gutter",
|
|
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.
|
|
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)",
|
|
224
224
|
"body": {
|
|
225
225
|
"desktop": "${1:clamp(1.25rem, 4vw, 3rem)}",
|
|
226
226
|
"mobile": "${2:1rem}"
|
|
@@ -247,13 +247,13 @@
|
|
|
247
247
|
"type": "string",
|
|
248
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*\\))$",
|
|
249
249
|
"description": "Responsive CSS length or clamp() expression.",
|
|
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.
|
|
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)"
|
|
251
251
|
},
|
|
252
252
|
"mobile": {
|
|
253
253
|
"type": "string",
|
|
254
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*\\))$",
|
|
255
255
|
"description": "Responsive CSS length or clamp() expression.",
|
|
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.
|
|
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)"
|
|
257
257
|
}
|
|
258
258
|
},
|
|
259
259
|
"required": [
|
|
@@ -263,11 +263,11 @@
|
|
|
263
263
|
"additionalProperties": false
|
|
264
264
|
}
|
|
265
265
|
],
|
|
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.
|
|
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)",
|
|
267
267
|
"defaultSnippets": [
|
|
268
268
|
{
|
|
269
269
|
"label": "Responsive spacing",
|
|
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.
|
|
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)",
|
|
271
271
|
"body": {
|
|
272
272
|
"desktop": "${1:1.5em}",
|
|
273
273
|
"mobile": "${2:1.5em}"
|
|
@@ -290,13 +290,13 @@
|
|
|
290
290
|
"type": "string",
|
|
291
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*\\))$",
|
|
292
292
|
"description": "Responsive CSS length or clamp() expression.",
|
|
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.
|
|
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)"
|
|
294
294
|
},
|
|
295
295
|
"mobile": {
|
|
296
296
|
"type": "string",
|
|
297
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*\\))$",
|
|
298
298
|
"description": "Responsive CSS length or clamp() expression.",
|
|
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.
|
|
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)"
|
|
300
300
|
}
|
|
301
301
|
},
|
|
302
302
|
"required": [
|
|
@@ -306,11 +306,11 @@
|
|
|
306
306
|
"additionalProperties": false
|
|
307
307
|
}
|
|
308
308
|
],
|
|
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.
|
|
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)",
|
|
310
310
|
"defaultSnippets": [
|
|
311
311
|
{
|
|
312
312
|
"label": "Responsive spacing",
|
|
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.
|
|
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)",
|
|
314
314
|
"body": {
|
|
315
315
|
"desktop": "${1:2rem}",
|
|
316
316
|
"mobile": "${2:2rem}"
|
|
@@ -333,13 +333,13 @@
|
|
|
333
333
|
"type": "string",
|
|
334
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*\\))$",
|
|
335
335
|
"description": "Responsive CSS length or clamp() expression.",
|
|
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.
|
|
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)"
|
|
337
337
|
},
|
|
338
338
|
"mobile": {
|
|
339
339
|
"type": "string",
|
|
340
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*\\))$",
|
|
341
341
|
"description": "Responsive CSS length or clamp() expression.",
|
|
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.
|
|
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)"
|
|
343
343
|
}
|
|
344
344
|
},
|
|
345
345
|
"required": [
|
|
@@ -349,11 +349,11 @@
|
|
|
349
349
|
"additionalProperties": false
|
|
350
350
|
}
|
|
351
351
|
],
|
|
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.
|
|
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)",
|
|
353
353
|
"defaultSnippets": [
|
|
354
354
|
{
|
|
355
355
|
"label": "Responsive spacing",
|
|
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.
|
|
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)",
|
|
357
357
|
"body": {
|
|
358
358
|
"desktop": "${1:1.5rem}",
|
|
359
359
|
"mobile": "${2:1.5rem}"
|
|
@@ -376,13 +376,13 @@
|
|
|
376
376
|
"type": "string",
|
|
377
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*\\))$",
|
|
378
378
|
"description": "Responsive CSS length or clamp() expression.",
|
|
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.
|
|
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)"
|
|
380
380
|
},
|
|
381
381
|
"mobile": {
|
|
382
382
|
"type": "string",
|
|
383
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*\\))$",
|
|
384
384
|
"description": "Responsive CSS length or clamp() expression.",
|
|
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.
|
|
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)"
|
|
386
386
|
}
|
|
387
387
|
},
|
|
388
388
|
"required": [
|
|
@@ -392,11 +392,11 @@
|
|
|
392
392
|
"additionalProperties": false
|
|
393
393
|
}
|
|
394
394
|
],
|
|
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.
|
|
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)",
|
|
396
396
|
"defaultSnippets": [
|
|
397
397
|
{
|
|
398
398
|
"label": "Responsive spacing",
|
|
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.
|
|
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)",
|
|
400
400
|
"body": {
|
|
401
401
|
"desktop": "${1:0.75em}",
|
|
402
402
|
"mobile": "${2:0.75em}"
|
|
@@ -419,13 +419,13 @@
|
|
|
419
419
|
"type": "string",
|
|
420
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*\\))$",
|
|
421
421
|
"description": "Responsive CSS length or clamp() expression.",
|
|
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.
|
|
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)"
|
|
423
423
|
},
|
|
424
424
|
"mobile": {
|
|
425
425
|
"type": "string",
|
|
426
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*\\))$",
|
|
427
427
|
"description": "Responsive CSS length or clamp() expression.",
|
|
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.
|
|
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)"
|
|
429
429
|
}
|
|
430
430
|
},
|
|
431
431
|
"required": [
|
|
@@ -435,11 +435,11 @@
|
|
|
435
435
|
"additionalProperties": false
|
|
436
436
|
}
|
|
437
437
|
],
|
|
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.
|
|
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)",
|
|
439
439
|
"defaultSnippets": [
|
|
440
440
|
{
|
|
441
441
|
"label": "Responsive spacing",
|
|
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.
|
|
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)",
|
|
443
443
|
"body": {
|
|
444
444
|
"desktop": "${1:1rem}",
|
|
445
445
|
"mobile": "${2:1rem}"
|
|
@@ -462,13 +462,13 @@
|
|
|
462
462
|
"type": "string",
|
|
463
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*\\))$",
|
|
464
464
|
"description": "Responsive CSS length or clamp() expression.",
|
|
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.
|
|
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)"
|
|
466
466
|
},
|
|
467
467
|
"mobile": {
|
|
468
468
|
"type": "string",
|
|
469
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*\\))$",
|
|
470
470
|
"description": "Responsive CSS length or clamp() expression.",
|
|
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.
|
|
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)"
|
|
472
472
|
}
|
|
473
473
|
},
|
|
474
474
|
"required": [
|
|
@@ -478,11 +478,11 @@
|
|
|
478
478
|
"additionalProperties": false
|
|
479
479
|
}
|
|
480
480
|
],
|
|
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.
|
|
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)",
|
|
482
482
|
"defaultSnippets": [
|
|
483
483
|
{
|
|
484
484
|
"label": "Responsive spacing",
|
|
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.
|
|
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)",
|
|
486
486
|
"body": {
|
|
487
487
|
"desktop": "${1:2rem}",
|
|
488
488
|
"mobile": "${2:2rem}"
|
|
@@ -492,11 +492,11 @@
|
|
|
492
492
|
}
|
|
493
493
|
},
|
|
494
494
|
"additionalProperties": false,
|
|
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.
|
|
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)",
|
|
496
496
|
"defaultSnippets": [
|
|
497
497
|
{
|
|
498
498
|
"label": "Layout spacing overrides",
|
|
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.
|
|
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)",
|
|
500
500
|
"body": {
|
|
501
501
|
"sectionGap": {
|
|
502
502
|
"desktop": "${1:2rem}",
|
|
@@ -511,7 +511,7 @@
|
|
|
511
511
|
},
|
|
512
512
|
"additionalProperties": false,
|
|
513
513
|
"description": "Optional layout overrides applied after the preset.",
|
|
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.
|
|
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)"
|
|
515
515
|
},
|
|
516
516
|
"images": {
|
|
517
517
|
"type": "object",
|
|
@@ -524,22 +524,22 @@
|
|
|
524
524
|
"const": "prose-aligned",
|
|
525
525
|
"title": "Prose-aligned",
|
|
526
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.
|
|
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
528
|
},
|
|
529
529
|
{
|
|
530
530
|
"const": "centered-fit",
|
|
531
531
|
"title": "Centered fit",
|
|
532
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.
|
|
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
534
|
}
|
|
535
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.
|
|
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
537
|
},
|
|
538
538
|
"width": {
|
|
539
539
|
"description": "Maximum managed-image width. Omit this to keep the selected preset.",
|
|
540
540
|
"type": "string",
|
|
541
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*\\))$",
|
|
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.
|
|
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)"
|
|
543
543
|
},
|
|
544
544
|
"maxAvailableWidthPercent": {
|
|
545
545
|
"description": "Maximum percentage of available horizontal space used by managed images.",
|
|
@@ -557,14 +557,14 @@
|
|
|
557
557
|
"exclusiveMinimum": 0,
|
|
558
558
|
"maximum": 100,
|
|
559
559
|
"description": "Percentage used on wider screens.",
|
|
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.
|
|
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)"
|
|
561
561
|
},
|
|
562
562
|
"mobile": {
|
|
563
563
|
"type": "number",
|
|
564
564
|
"exclusiveMinimum": 0,
|
|
565
565
|
"maximum": 100,
|
|
566
566
|
"description": "Percentage used on narrow screens.",
|
|
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.
|
|
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)"
|
|
568
568
|
}
|
|
569
569
|
},
|
|
570
570
|
"required": [
|
|
@@ -574,11 +574,11 @@
|
|
|
574
574
|
"additionalProperties": false
|
|
575
575
|
}
|
|
576
576
|
],
|
|
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.
|
|
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)",
|
|
578
578
|
"defaultSnippets": [
|
|
579
579
|
{
|
|
580
580
|
"label": "Responsive image limit",
|
|
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.
|
|
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)",
|
|
582
582
|
"body": {
|
|
583
583
|
"desktop": "${1:100}",
|
|
584
584
|
"mobile": "${2:100}"
|
|
@@ -602,14 +602,14 @@
|
|
|
602
602
|
"exclusiveMinimum": 0,
|
|
603
603
|
"maximum": 100,
|
|
604
604
|
"description": "Percentage used on wider screens.",
|
|
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.
|
|
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)"
|
|
606
606
|
},
|
|
607
607
|
"mobile": {
|
|
608
608
|
"type": "number",
|
|
609
609
|
"exclusiveMinimum": 0,
|
|
610
610
|
"maximum": 100,
|
|
611
611
|
"description": "Percentage used on narrow screens.",
|
|
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.
|
|
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)"
|
|
613
613
|
}
|
|
614
614
|
},
|
|
615
615
|
"required": [
|
|
@@ -619,11 +619,11 @@
|
|
|
619
619
|
"additionalProperties": false
|
|
620
620
|
}
|
|
621
621
|
],
|
|
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.
|
|
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)",
|
|
623
623
|
"defaultSnippets": [
|
|
624
624
|
{
|
|
625
625
|
"label": "Responsive image limit",
|
|
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.
|
|
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)",
|
|
627
627
|
"body": {
|
|
628
628
|
"desktop": "${1:74}",
|
|
629
629
|
"mobile": "${2:68}"
|
|
@@ -634,7 +634,7 @@
|
|
|
634
634
|
},
|
|
635
635
|
"additionalProperties": false,
|
|
636
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.
|
|
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)"
|
|
638
638
|
},
|
|
639
639
|
"blocks": {
|
|
640
640
|
"type": "object",
|
|
@@ -644,34 +644,34 @@
|
|
|
644
644
|
"properties": {
|
|
645
645
|
"width": {
|
|
646
646
|
"type": "string",
|
|
647
|
-
"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.",
|
|
648
648
|
"oneOf": [
|
|
649
649
|
{
|
|
650
650
|
"const": "text",
|
|
651
651
|
"title": "Text width",
|
|
652
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.
|
|
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)"
|
|
654
654
|
},
|
|
655
655
|
{
|
|
656
656
|
"const": "narrow",
|
|
657
657
|
"title": "Narrow",
|
|
658
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.
|
|
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)"
|
|
660
660
|
},
|
|
661
661
|
{
|
|
662
662
|
"const": "normal",
|
|
663
663
|
"title": "Normal",
|
|
664
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.
|
|
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)"
|
|
666
666
|
},
|
|
667
667
|
{
|
|
668
668
|
"const": "wide",
|
|
669
669
|
"title": "Wide",
|
|
670
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.
|
|
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)"
|
|
672
672
|
}
|
|
673
673
|
],
|
|
674
|
-
"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)",
|
|
675
675
|
"examples": [
|
|
676
676
|
"text",
|
|
677
677
|
"narrow",
|
|
@@ -685,16 +685,16 @@
|
|
|
685
685
|
],
|
|
686
686
|
"additionalProperties": false,
|
|
687
687
|
"description": "Site-wide card-list defaults.",
|
|
688
|
-
"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)"
|
|
689
689
|
}
|
|
690
690
|
},
|
|
691
691
|
"additionalProperties": false,
|
|
692
692
|
"description": "Optional site-wide defaults for structured Norna content blocks.",
|
|
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.
|
|
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)",
|
|
694
694
|
"defaultSnippets": [
|
|
695
695
|
{
|
|
696
696
|
"label": "Override content-block defaults",
|
|
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.
|
|
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)",
|
|
698
698
|
"body": {
|
|
699
699
|
"cardList": {
|
|
700
700
|
"width": "${1:text}"
|
|
@@ -710,7 +710,7 @@
|
|
|
710
710
|
"description": "CSS font-family stack.",
|
|
711
711
|
"type": "string",
|
|
712
712
|
"minLength": 1,
|
|
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.
|
|
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)"
|
|
714
714
|
},
|
|
715
715
|
"profile": {
|
|
716
716
|
"description": "Typography profile. Omit this to keep the selected preset.",
|
|
@@ -720,28 +720,28 @@
|
|
|
720
720
|
"const": "restrained",
|
|
721
721
|
"title": "Restrained",
|
|
722
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.
|
|
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)"
|
|
724
724
|
},
|
|
725
725
|
{
|
|
726
726
|
"const": "dense",
|
|
727
727
|
"title": "Dense",
|
|
728
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.
|
|
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)"
|
|
730
730
|
},
|
|
731
731
|
{
|
|
732
732
|
"const": "reading",
|
|
733
733
|
"title": "Reading",
|
|
734
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.
|
|
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)"
|
|
736
736
|
},
|
|
737
737
|
{
|
|
738
738
|
"const": "statement",
|
|
739
739
|
"title": "Statement",
|
|
740
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.
|
|
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)"
|
|
742
742
|
}
|
|
743
743
|
],
|
|
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.
|
|
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)"
|
|
745
745
|
},
|
|
746
746
|
"rhythm": {
|
|
747
747
|
"description": "Typography spacing rhythm. Omit this to keep the selected preset.",
|
|
@@ -751,22 +751,22 @@
|
|
|
751
751
|
"const": "compact",
|
|
752
752
|
"title": "Compact",
|
|
753
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.
|
|
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)"
|
|
755
755
|
},
|
|
756
756
|
{
|
|
757
757
|
"const": "normal",
|
|
758
758
|
"title": "Normal",
|
|
759
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.
|
|
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)"
|
|
761
761
|
},
|
|
762
762
|
{
|
|
763
763
|
"const": "airy",
|
|
764
764
|
"title": "Airy",
|
|
765
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.
|
|
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)"
|
|
767
767
|
}
|
|
768
768
|
],
|
|
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.
|
|
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)"
|
|
770
770
|
},
|
|
771
771
|
"overrides": {
|
|
772
772
|
"description": "Focused typography overrides applied after the profile.",
|
|
@@ -792,22 +792,22 @@
|
|
|
792
792
|
"const": "left",
|
|
793
793
|
"title": "Left",
|
|
794
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.
|
|
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)"
|
|
796
796
|
},
|
|
797
797
|
{
|
|
798
798
|
"const": "center",
|
|
799
799
|
"title": "Center",
|
|
800
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.
|
|
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)"
|
|
802
802
|
},
|
|
803
803
|
{
|
|
804
804
|
"const": "right",
|
|
805
805
|
"title": "Right",
|
|
806
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.
|
|
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)"
|
|
808
808
|
}
|
|
809
809
|
],
|
|
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.
|
|
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)"
|
|
811
811
|
},
|
|
812
812
|
"mobile": {
|
|
813
813
|
"description": "Text alignment on narrow screens.",
|
|
@@ -817,30 +817,30 @@
|
|
|
817
817
|
"const": "left",
|
|
818
818
|
"title": "Left",
|
|
819
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.
|
|
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)"
|
|
821
821
|
},
|
|
822
822
|
{
|
|
823
823
|
"const": "center",
|
|
824
824
|
"title": "Center",
|
|
825
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.
|
|
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)"
|
|
827
827
|
},
|
|
828
828
|
{
|
|
829
829
|
"const": "right",
|
|
830
830
|
"title": "Right",
|
|
831
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.
|
|
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)"
|
|
833
833
|
}
|
|
834
834
|
],
|
|
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.
|
|
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)"
|
|
836
836
|
}
|
|
837
837
|
},
|
|
838
838
|
"additionalProperties": false,
|
|
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.
|
|
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)",
|
|
840
840
|
"defaultSnippets": [
|
|
841
841
|
{
|
|
842
842
|
"label": "Responsive text alignment",
|
|
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.
|
|
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)",
|
|
844
844
|
"body": {
|
|
845
845
|
"desktop": "${1:left}",
|
|
846
846
|
"mobile": "${2:left}"
|
|
@@ -856,35 +856,35 @@
|
|
|
856
856
|
"const": "small",
|
|
857
857
|
"title": "Small",
|
|
858
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.
|
|
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)"
|
|
860
860
|
},
|
|
861
861
|
{
|
|
862
862
|
"const": "medium",
|
|
863
863
|
"title": "Medium",
|
|
864
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.
|
|
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)"
|
|
866
866
|
},
|
|
867
867
|
{
|
|
868
868
|
"const": "large",
|
|
869
869
|
"title": "Large",
|
|
870
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.
|
|
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)"
|
|
872
872
|
},
|
|
873
873
|
{
|
|
874
874
|
"const": "xlarge",
|
|
875
875
|
"title": "Extra large",
|
|
876
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.
|
|
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)"
|
|
878
878
|
}
|
|
879
879
|
],
|
|
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.
|
|
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)"
|
|
881
881
|
},
|
|
882
882
|
"lineHeight": {
|
|
883
883
|
"type": "number",
|
|
884
884
|
"minimum": 1,
|
|
885
885
|
"maximum": 3,
|
|
886
886
|
"description": "Unitless heading line height between 1 and 3.",
|
|
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.
|
|
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)"
|
|
888
888
|
},
|
|
889
889
|
"weight": {
|
|
890
890
|
"description": "Heading font weight. Omit this to keep the profile value.",
|
|
@@ -893,44 +893,44 @@
|
|
|
893
893
|
"const": 400,
|
|
894
894
|
"title": "Regular",
|
|
895
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.
|
|
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)"
|
|
897
897
|
},
|
|
898
898
|
{
|
|
899
899
|
"const": 500,
|
|
900
900
|
"title": "Medium",
|
|
901
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.
|
|
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)"
|
|
903
903
|
},
|
|
904
904
|
{
|
|
905
905
|
"const": 600,
|
|
906
906
|
"title": "Semibold",
|
|
907
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.
|
|
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)"
|
|
909
909
|
},
|
|
910
910
|
{
|
|
911
911
|
"const": 700,
|
|
912
912
|
"title": "Bold",
|
|
913
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.
|
|
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)"
|
|
915
915
|
}
|
|
916
916
|
],
|
|
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.
|
|
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)"
|
|
918
918
|
},
|
|
919
919
|
"spacingBefore": {
|
|
920
920
|
"description": "Vertical space before the heading.",
|
|
921
921
|
"type": "string",
|
|
922
922
|
"pattern": "^(?:0|(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|ch|lh))$",
|
|
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.
|
|
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)"
|
|
924
924
|
},
|
|
925
925
|
"spacingAfter": {
|
|
926
926
|
"description": "Vertical space after the heading.",
|
|
927
927
|
"type": "string",
|
|
928
928
|
"pattern": "^(?:0|(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|ch|lh))$",
|
|
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.
|
|
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)"
|
|
930
930
|
}
|
|
931
931
|
},
|
|
932
932
|
"additionalProperties": false,
|
|
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.
|
|
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)"
|
|
934
934
|
},
|
|
935
935
|
"h2": {
|
|
936
936
|
"description": "Overrides for Markdown level 2 section headings.",
|
|
@@ -948,22 +948,22 @@
|
|
|
948
948
|
"const": "left",
|
|
949
949
|
"title": "Left",
|
|
950
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.
|
|
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)"
|
|
952
952
|
},
|
|
953
953
|
{
|
|
954
954
|
"const": "center",
|
|
955
955
|
"title": "Center",
|
|
956
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.
|
|
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)"
|
|
958
958
|
},
|
|
959
959
|
{
|
|
960
960
|
"const": "right",
|
|
961
961
|
"title": "Right",
|
|
962
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.
|
|
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)"
|
|
964
964
|
}
|
|
965
965
|
],
|
|
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.
|
|
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)"
|
|
967
967
|
},
|
|
968
968
|
"mobile": {
|
|
969
969
|
"description": "Text alignment on narrow screens.",
|
|
@@ -973,30 +973,30 @@
|
|
|
973
973
|
"const": "left",
|
|
974
974
|
"title": "Left",
|
|
975
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.
|
|
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)"
|
|
977
977
|
},
|
|
978
978
|
{
|
|
979
979
|
"const": "center",
|
|
980
980
|
"title": "Center",
|
|
981
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.
|
|
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)"
|
|
983
983
|
},
|
|
984
984
|
{
|
|
985
985
|
"const": "right",
|
|
986
986
|
"title": "Right",
|
|
987
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.
|
|
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)"
|
|
989
989
|
}
|
|
990
990
|
],
|
|
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.
|
|
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)"
|
|
992
992
|
}
|
|
993
993
|
},
|
|
994
994
|
"additionalProperties": false,
|
|
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.
|
|
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)",
|
|
996
996
|
"defaultSnippets": [
|
|
997
997
|
{
|
|
998
998
|
"label": "Responsive text alignment",
|
|
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.
|
|
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)",
|
|
1000
1000
|
"body": {
|
|
1001
1001
|
"desktop": "${1:left}",
|
|
1002
1002
|
"mobile": "${2:left}"
|
|
@@ -1012,35 +1012,35 @@
|
|
|
1012
1012
|
"const": "small",
|
|
1013
1013
|
"title": "Small",
|
|
1014
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.
|
|
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)"
|
|
1016
1016
|
},
|
|
1017
1017
|
{
|
|
1018
1018
|
"const": "medium",
|
|
1019
1019
|
"title": "Medium",
|
|
1020
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.
|
|
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)"
|
|
1022
1022
|
},
|
|
1023
1023
|
{
|
|
1024
1024
|
"const": "large",
|
|
1025
1025
|
"title": "Large",
|
|
1026
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.
|
|
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)"
|
|
1028
1028
|
},
|
|
1029
1029
|
{
|
|
1030
1030
|
"const": "xlarge",
|
|
1031
1031
|
"title": "Extra large",
|
|
1032
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.
|
|
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)"
|
|
1034
1034
|
}
|
|
1035
1035
|
],
|
|
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.
|
|
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)"
|
|
1037
1037
|
},
|
|
1038
1038
|
"lineHeight": {
|
|
1039
1039
|
"type": "number",
|
|
1040
1040
|
"minimum": 1,
|
|
1041
1041
|
"maximum": 3,
|
|
1042
1042
|
"description": "Unitless heading line height between 1 and 3.",
|
|
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.
|
|
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)"
|
|
1044
1044
|
},
|
|
1045
1045
|
"weight": {
|
|
1046
1046
|
"description": "Heading font weight. Omit this to keep the profile value.",
|
|
@@ -1049,44 +1049,44 @@
|
|
|
1049
1049
|
"const": 400,
|
|
1050
1050
|
"title": "Regular",
|
|
1051
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.
|
|
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)"
|
|
1053
1053
|
},
|
|
1054
1054
|
{
|
|
1055
1055
|
"const": 500,
|
|
1056
1056
|
"title": "Medium",
|
|
1057
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.
|
|
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)"
|
|
1059
1059
|
},
|
|
1060
1060
|
{
|
|
1061
1061
|
"const": 600,
|
|
1062
1062
|
"title": "Semibold",
|
|
1063
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.
|
|
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)"
|
|
1065
1065
|
},
|
|
1066
1066
|
{
|
|
1067
1067
|
"const": 700,
|
|
1068
1068
|
"title": "Bold",
|
|
1069
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.
|
|
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)"
|
|
1071
1071
|
}
|
|
1072
1072
|
],
|
|
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.
|
|
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)"
|
|
1074
1074
|
},
|
|
1075
1075
|
"spacingBefore": {
|
|
1076
1076
|
"description": "Vertical space before the heading.",
|
|
1077
1077
|
"type": "string",
|
|
1078
1078
|
"pattern": "^(?:0|(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|ch|lh))$",
|
|
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.
|
|
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)"
|
|
1080
1080
|
},
|
|
1081
1081
|
"spacingAfter": {
|
|
1082
1082
|
"description": "Vertical space after the heading.",
|
|
1083
1083
|
"type": "string",
|
|
1084
1084
|
"pattern": "^(?:0|(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|ch|lh))$",
|
|
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.
|
|
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)"
|
|
1086
1086
|
}
|
|
1087
1087
|
},
|
|
1088
1088
|
"additionalProperties": false,
|
|
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.
|
|
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)"
|
|
1090
1090
|
},
|
|
1091
1091
|
"h3": {
|
|
1092
1092
|
"description": "Overrides for Markdown level 3 headings.",
|
|
@@ -1104,22 +1104,22 @@
|
|
|
1104
1104
|
"const": "left",
|
|
1105
1105
|
"title": "Left",
|
|
1106
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.
|
|
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)"
|
|
1108
1108
|
},
|
|
1109
1109
|
{
|
|
1110
1110
|
"const": "center",
|
|
1111
1111
|
"title": "Center",
|
|
1112
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.
|
|
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)"
|
|
1114
1114
|
},
|
|
1115
1115
|
{
|
|
1116
1116
|
"const": "right",
|
|
1117
1117
|
"title": "Right",
|
|
1118
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.
|
|
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)"
|
|
1120
1120
|
}
|
|
1121
1121
|
],
|
|
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.
|
|
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)"
|
|
1123
1123
|
},
|
|
1124
1124
|
"mobile": {
|
|
1125
1125
|
"description": "Text alignment on narrow screens.",
|
|
@@ -1129,30 +1129,30 @@
|
|
|
1129
1129
|
"const": "left",
|
|
1130
1130
|
"title": "Left",
|
|
1131
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.
|
|
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)"
|
|
1133
1133
|
},
|
|
1134
1134
|
{
|
|
1135
1135
|
"const": "center",
|
|
1136
1136
|
"title": "Center",
|
|
1137
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.
|
|
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)"
|
|
1139
1139
|
},
|
|
1140
1140
|
{
|
|
1141
1141
|
"const": "right",
|
|
1142
1142
|
"title": "Right",
|
|
1143
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.
|
|
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)"
|
|
1145
1145
|
}
|
|
1146
1146
|
],
|
|
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.
|
|
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)"
|
|
1148
1148
|
}
|
|
1149
1149
|
},
|
|
1150
1150
|
"additionalProperties": false,
|
|
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.
|
|
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)",
|
|
1152
1152
|
"defaultSnippets": [
|
|
1153
1153
|
{
|
|
1154
1154
|
"label": "Responsive text alignment",
|
|
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.
|
|
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)",
|
|
1156
1156
|
"body": {
|
|
1157
1157
|
"desktop": "${1:left}",
|
|
1158
1158
|
"mobile": "${2:left}"
|
|
@@ -1168,35 +1168,35 @@
|
|
|
1168
1168
|
"const": "small",
|
|
1169
1169
|
"title": "Small",
|
|
1170
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.
|
|
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)"
|
|
1172
1172
|
},
|
|
1173
1173
|
{
|
|
1174
1174
|
"const": "medium",
|
|
1175
1175
|
"title": "Medium",
|
|
1176
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.
|
|
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)"
|
|
1178
1178
|
},
|
|
1179
1179
|
{
|
|
1180
1180
|
"const": "large",
|
|
1181
1181
|
"title": "Large",
|
|
1182
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.
|
|
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)"
|
|
1184
1184
|
},
|
|
1185
1185
|
{
|
|
1186
1186
|
"const": "xlarge",
|
|
1187
1187
|
"title": "Extra large",
|
|
1188
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.
|
|
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)"
|
|
1190
1190
|
}
|
|
1191
1191
|
],
|
|
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.
|
|
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)"
|
|
1193
1193
|
},
|
|
1194
1194
|
"lineHeight": {
|
|
1195
1195
|
"type": "number",
|
|
1196
1196
|
"minimum": 1,
|
|
1197
1197
|
"maximum": 3,
|
|
1198
1198
|
"description": "Unitless heading line height between 1 and 3.",
|
|
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.
|
|
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)"
|
|
1200
1200
|
},
|
|
1201
1201
|
"weight": {
|
|
1202
1202
|
"description": "Heading font weight. Omit this to keep the profile value.",
|
|
@@ -1205,44 +1205,44 @@
|
|
|
1205
1205
|
"const": 400,
|
|
1206
1206
|
"title": "Regular",
|
|
1207
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.
|
|
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)"
|
|
1209
1209
|
},
|
|
1210
1210
|
{
|
|
1211
1211
|
"const": 500,
|
|
1212
1212
|
"title": "Medium",
|
|
1213
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.
|
|
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)"
|
|
1215
1215
|
},
|
|
1216
1216
|
{
|
|
1217
1217
|
"const": 600,
|
|
1218
1218
|
"title": "Semibold",
|
|
1219
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.
|
|
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)"
|
|
1221
1221
|
},
|
|
1222
1222
|
{
|
|
1223
1223
|
"const": 700,
|
|
1224
1224
|
"title": "Bold",
|
|
1225
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.
|
|
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)"
|
|
1227
1227
|
}
|
|
1228
1228
|
],
|
|
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.
|
|
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)"
|
|
1230
1230
|
},
|
|
1231
1231
|
"spacingBefore": {
|
|
1232
1232
|
"description": "Vertical space before the heading.",
|
|
1233
1233
|
"type": "string",
|
|
1234
1234
|
"pattern": "^(?:0|(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|ch|lh))$",
|
|
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.
|
|
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)"
|
|
1236
1236
|
},
|
|
1237
1237
|
"spacingAfter": {
|
|
1238
1238
|
"description": "Vertical space after the heading.",
|
|
1239
1239
|
"type": "string",
|
|
1240
1240
|
"pattern": "^(?:0|(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|ch|lh))$",
|
|
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.
|
|
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)"
|
|
1242
1242
|
}
|
|
1243
1243
|
},
|
|
1244
1244
|
"additionalProperties": false,
|
|
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.
|
|
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)"
|
|
1246
1246
|
},
|
|
1247
1247
|
"h4": {
|
|
1248
1248
|
"description": "Overrides for Markdown level 4 headings.",
|
|
@@ -1260,22 +1260,22 @@
|
|
|
1260
1260
|
"const": "left",
|
|
1261
1261
|
"title": "Left",
|
|
1262
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.
|
|
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)"
|
|
1264
1264
|
},
|
|
1265
1265
|
{
|
|
1266
1266
|
"const": "center",
|
|
1267
1267
|
"title": "Center",
|
|
1268
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.
|
|
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)"
|
|
1270
1270
|
},
|
|
1271
1271
|
{
|
|
1272
1272
|
"const": "right",
|
|
1273
1273
|
"title": "Right",
|
|
1274
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.
|
|
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)"
|
|
1276
1276
|
}
|
|
1277
1277
|
],
|
|
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.
|
|
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)"
|
|
1279
1279
|
},
|
|
1280
1280
|
"mobile": {
|
|
1281
1281
|
"description": "Text alignment on narrow screens.",
|
|
@@ -1285,30 +1285,30 @@
|
|
|
1285
1285
|
"const": "left",
|
|
1286
1286
|
"title": "Left",
|
|
1287
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.
|
|
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)"
|
|
1289
1289
|
},
|
|
1290
1290
|
{
|
|
1291
1291
|
"const": "center",
|
|
1292
1292
|
"title": "Center",
|
|
1293
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.
|
|
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)"
|
|
1295
1295
|
},
|
|
1296
1296
|
{
|
|
1297
1297
|
"const": "right",
|
|
1298
1298
|
"title": "Right",
|
|
1299
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.
|
|
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)"
|
|
1301
1301
|
}
|
|
1302
1302
|
],
|
|
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.
|
|
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)"
|
|
1304
1304
|
}
|
|
1305
1305
|
},
|
|
1306
1306
|
"additionalProperties": false,
|
|
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.
|
|
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)",
|
|
1308
1308
|
"defaultSnippets": [
|
|
1309
1309
|
{
|
|
1310
1310
|
"label": "Responsive text alignment",
|
|
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.
|
|
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)",
|
|
1312
1312
|
"body": {
|
|
1313
1313
|
"desktop": "${1:left}",
|
|
1314
1314
|
"mobile": "${2:left}"
|
|
@@ -1324,35 +1324,35 @@
|
|
|
1324
1324
|
"const": "small",
|
|
1325
1325
|
"title": "Small",
|
|
1326
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.
|
|
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)"
|
|
1328
1328
|
},
|
|
1329
1329
|
{
|
|
1330
1330
|
"const": "medium",
|
|
1331
1331
|
"title": "Medium",
|
|
1332
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.
|
|
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)"
|
|
1334
1334
|
},
|
|
1335
1335
|
{
|
|
1336
1336
|
"const": "large",
|
|
1337
1337
|
"title": "Large",
|
|
1338
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.
|
|
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)"
|
|
1340
1340
|
},
|
|
1341
1341
|
{
|
|
1342
1342
|
"const": "xlarge",
|
|
1343
1343
|
"title": "Extra large",
|
|
1344
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.
|
|
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)"
|
|
1346
1346
|
}
|
|
1347
1347
|
],
|
|
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.
|
|
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)"
|
|
1349
1349
|
},
|
|
1350
1350
|
"lineHeight": {
|
|
1351
1351
|
"type": "number",
|
|
1352
1352
|
"minimum": 1,
|
|
1353
1353
|
"maximum": 3,
|
|
1354
1354
|
"description": "Unitless heading line height between 1 and 3.",
|
|
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.
|
|
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)"
|
|
1356
1356
|
},
|
|
1357
1357
|
"weight": {
|
|
1358
1358
|
"description": "Heading font weight. Omit this to keep the profile value.",
|
|
@@ -1361,48 +1361,48 @@
|
|
|
1361
1361
|
"const": 400,
|
|
1362
1362
|
"title": "Regular",
|
|
1363
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.
|
|
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)"
|
|
1365
1365
|
},
|
|
1366
1366
|
{
|
|
1367
1367
|
"const": 500,
|
|
1368
1368
|
"title": "Medium",
|
|
1369
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.
|
|
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)"
|
|
1371
1371
|
},
|
|
1372
1372
|
{
|
|
1373
1373
|
"const": 600,
|
|
1374
1374
|
"title": "Semibold",
|
|
1375
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.
|
|
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)"
|
|
1377
1377
|
},
|
|
1378
1378
|
{
|
|
1379
1379
|
"const": 700,
|
|
1380
1380
|
"title": "Bold",
|
|
1381
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.
|
|
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)"
|
|
1383
1383
|
}
|
|
1384
1384
|
],
|
|
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.
|
|
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)"
|
|
1386
1386
|
},
|
|
1387
1387
|
"spacingBefore": {
|
|
1388
1388
|
"description": "Vertical space before the heading.",
|
|
1389
1389
|
"type": "string",
|
|
1390
1390
|
"pattern": "^(?:0|(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|ch|lh))$",
|
|
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.
|
|
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)"
|
|
1392
1392
|
},
|
|
1393
1393
|
"spacingAfter": {
|
|
1394
1394
|
"description": "Vertical space after the heading.",
|
|
1395
1395
|
"type": "string",
|
|
1396
1396
|
"pattern": "^(?:0|(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|ch|lh))$",
|
|
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.
|
|
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)"
|
|
1398
1398
|
}
|
|
1399
1399
|
},
|
|
1400
1400
|
"additionalProperties": false,
|
|
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.
|
|
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)"
|
|
1402
1402
|
}
|
|
1403
1403
|
},
|
|
1404
1404
|
"additionalProperties": false,
|
|
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.
|
|
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)"
|
|
1406
1406
|
},
|
|
1407
1407
|
"body": {
|
|
1408
1408
|
"description": "Overrides for body text.",
|
|
@@ -1420,22 +1420,22 @@
|
|
|
1420
1420
|
"const": "left",
|
|
1421
1421
|
"title": "Left",
|
|
1422
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.
|
|
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)"
|
|
1424
1424
|
},
|
|
1425
1425
|
{
|
|
1426
1426
|
"const": "center",
|
|
1427
1427
|
"title": "Center",
|
|
1428
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.
|
|
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)"
|
|
1430
1430
|
},
|
|
1431
1431
|
{
|
|
1432
1432
|
"const": "right",
|
|
1433
1433
|
"title": "Right",
|
|
1434
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.
|
|
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)"
|
|
1436
1436
|
}
|
|
1437
1437
|
],
|
|
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.
|
|
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)"
|
|
1439
1439
|
},
|
|
1440
1440
|
"mobile": {
|
|
1441
1441
|
"description": "Text alignment on narrow screens.",
|
|
@@ -1445,30 +1445,30 @@
|
|
|
1445
1445
|
"const": "left",
|
|
1446
1446
|
"title": "Left",
|
|
1447
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.
|
|
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)"
|
|
1449
1449
|
},
|
|
1450
1450
|
{
|
|
1451
1451
|
"const": "center",
|
|
1452
1452
|
"title": "Center",
|
|
1453
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.
|
|
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)"
|
|
1455
1455
|
},
|
|
1456
1456
|
{
|
|
1457
1457
|
"const": "right",
|
|
1458
1458
|
"title": "Right",
|
|
1459
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.
|
|
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)"
|
|
1461
1461
|
}
|
|
1462
1462
|
],
|
|
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.
|
|
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)"
|
|
1464
1464
|
}
|
|
1465
1465
|
},
|
|
1466
1466
|
"additionalProperties": false,
|
|
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.
|
|
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)",
|
|
1468
1468
|
"defaultSnippets": [
|
|
1469
1469
|
{
|
|
1470
1470
|
"label": "Responsive text alignment",
|
|
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.
|
|
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)",
|
|
1472
1472
|
"body": {
|
|
1473
1473
|
"desktop": "${1:left}",
|
|
1474
1474
|
"mobile": "${2:left}"
|
|
@@ -1484,45 +1484,45 @@
|
|
|
1484
1484
|
"const": "small",
|
|
1485
1485
|
"title": "Small",
|
|
1486
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.
|
|
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)"
|
|
1488
1488
|
},
|
|
1489
1489
|
{
|
|
1490
1490
|
"const": "medium",
|
|
1491
1491
|
"title": "Medium",
|
|
1492
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.
|
|
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)"
|
|
1494
1494
|
},
|
|
1495
1495
|
{
|
|
1496
1496
|
"const": "large",
|
|
1497
1497
|
"title": "Large",
|
|
1498
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.
|
|
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)"
|
|
1500
1500
|
},
|
|
1501
1501
|
{
|
|
1502
1502
|
"const": "xlarge",
|
|
1503
1503
|
"title": "Extra large",
|
|
1504
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.
|
|
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)"
|
|
1506
1506
|
}
|
|
1507
1507
|
],
|
|
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.
|
|
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)"
|
|
1509
1509
|
},
|
|
1510
1510
|
"lineHeight": {
|
|
1511
1511
|
"type": "number",
|
|
1512
1512
|
"minimum": 1.4,
|
|
1513
1513
|
"maximum": 3,
|
|
1514
1514
|
"description": "Unitless body-text line height between 1.4 and 3.",
|
|
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.
|
|
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)"
|
|
1516
1516
|
},
|
|
1517
1517
|
"paragraphSpacing": {
|
|
1518
1518
|
"description": "Vertical space between body paragraphs.",
|
|
1519
1519
|
"type": "string",
|
|
1520
1520
|
"pattern": "^(?:0|(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|ch|lh))$",
|
|
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.
|
|
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)"
|
|
1522
1522
|
}
|
|
1523
1523
|
},
|
|
1524
1524
|
"additionalProperties": false,
|
|
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.
|
|
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)"
|
|
1526
1526
|
},
|
|
1527
1527
|
"caption": {
|
|
1528
1528
|
"description": "Overrides for image captions.",
|
|
@@ -1540,22 +1540,22 @@
|
|
|
1540
1540
|
"const": "left",
|
|
1541
1541
|
"title": "Left",
|
|
1542
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.
|
|
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)"
|
|
1544
1544
|
},
|
|
1545
1545
|
{
|
|
1546
1546
|
"const": "center",
|
|
1547
1547
|
"title": "Center",
|
|
1548
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.
|
|
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)"
|
|
1550
1550
|
},
|
|
1551
1551
|
{
|
|
1552
1552
|
"const": "right",
|
|
1553
1553
|
"title": "Right",
|
|
1554
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.
|
|
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)"
|
|
1556
1556
|
}
|
|
1557
1557
|
],
|
|
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.
|
|
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)"
|
|
1559
1559
|
},
|
|
1560
1560
|
"mobile": {
|
|
1561
1561
|
"description": "Text alignment on narrow screens.",
|
|
@@ -1565,30 +1565,30 @@
|
|
|
1565
1565
|
"const": "left",
|
|
1566
1566
|
"title": "Left",
|
|
1567
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.
|
|
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)"
|
|
1569
1569
|
},
|
|
1570
1570
|
{
|
|
1571
1571
|
"const": "center",
|
|
1572
1572
|
"title": "Center",
|
|
1573
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.
|
|
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)"
|
|
1575
1575
|
},
|
|
1576
1576
|
{
|
|
1577
1577
|
"const": "right",
|
|
1578
1578
|
"title": "Right",
|
|
1579
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.
|
|
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)"
|
|
1581
1581
|
}
|
|
1582
1582
|
],
|
|
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.
|
|
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)"
|
|
1584
1584
|
}
|
|
1585
1585
|
},
|
|
1586
1586
|
"additionalProperties": false,
|
|
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.
|
|
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)",
|
|
1588
1588
|
"defaultSnippets": [
|
|
1589
1589
|
{
|
|
1590
1590
|
"label": "Responsive text alignment",
|
|
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.
|
|
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)",
|
|
1592
1592
|
"body": {
|
|
1593
1593
|
"desktop": "${1:left}",
|
|
1594
1594
|
"mobile": "${2:left}"
|
|
@@ -1604,53 +1604,53 @@
|
|
|
1604
1604
|
"const": "small",
|
|
1605
1605
|
"title": "Small",
|
|
1606
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.
|
|
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)"
|
|
1608
1608
|
},
|
|
1609
1609
|
{
|
|
1610
1610
|
"const": "medium",
|
|
1611
1611
|
"title": "Medium",
|
|
1612
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.
|
|
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)"
|
|
1614
1614
|
},
|
|
1615
1615
|
{
|
|
1616
1616
|
"const": "large",
|
|
1617
1617
|
"title": "Large",
|
|
1618
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.
|
|
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)"
|
|
1620
1620
|
},
|
|
1621
1621
|
{
|
|
1622
1622
|
"const": "xlarge",
|
|
1623
1623
|
"title": "Extra large",
|
|
1624
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.
|
|
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)"
|
|
1626
1626
|
}
|
|
1627
1627
|
],
|
|
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.
|
|
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)"
|
|
1629
1629
|
},
|
|
1630
1630
|
"lineHeight": {
|
|
1631
1631
|
"type": "number",
|
|
1632
1632
|
"minimum": 1.25,
|
|
1633
1633
|
"maximum": 3,
|
|
1634
1634
|
"description": "Unitless caption line height between 1.25 and 3.",
|
|
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.
|
|
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)"
|
|
1636
1636
|
},
|
|
1637
1637
|
"spacingBefore": {
|
|
1638
1638
|
"description": "Vertical space between an image and its caption.",
|
|
1639
1639
|
"type": "string",
|
|
1640
1640
|
"pattern": "^(?:0|(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|ch|lh))$",
|
|
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.
|
|
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)"
|
|
1642
1642
|
}
|
|
1643
1643
|
},
|
|
1644
1644
|
"additionalProperties": false,
|
|
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.
|
|
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)"
|
|
1646
1646
|
}
|
|
1647
1647
|
},
|
|
1648
1648
|
"additionalProperties": false,
|
|
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.
|
|
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)",
|
|
1650
1650
|
"defaultSnippets": [
|
|
1651
1651
|
{
|
|
1652
1652
|
"label": "Typography overrides",
|
|
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.
|
|
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)",
|
|
1654
1654
|
"body": {
|
|
1655
1655
|
"headings": {
|
|
1656
1656
|
"h2": {
|
|
@@ -1668,68 +1668,68 @@
|
|
|
1668
1668
|
},
|
|
1669
1669
|
"additionalProperties": false,
|
|
1670
1670
|
"description": "Typography profile, rhythm, font family, and focused overrides.",
|
|
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.
|
|
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)"
|
|
1672
1672
|
},
|
|
1673
1673
|
"palette": {
|
|
1674
1674
|
"type": "string",
|
|
1675
|
-
"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.",
|
|
1676
1676
|
"oneOf": [
|
|
1677
1677
|
{
|
|
1678
1678
|
"const": "near-monochrome",
|
|
1679
1679
|
"title": "Near monochrome",
|
|
1680
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.
|
|
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)"
|
|
1682
1682
|
},
|
|
1683
1683
|
{
|
|
1684
1684
|
"const": "warm-paper",
|
|
1685
1685
|
"title": "Warm paper",
|
|
1686
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.
|
|
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)"
|
|
1688
1688
|
},
|
|
1689
1689
|
{
|
|
1690
1690
|
"const": "retro-earth",
|
|
1691
1691
|
"title": "Retro earth",
|
|
1692
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.
|
|
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)"
|
|
1694
1694
|
},
|
|
1695
1695
|
{
|
|
1696
1696
|
"const": "clay-rose",
|
|
1697
1697
|
"title": "Clay rose",
|
|
1698
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.
|
|
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)"
|
|
1700
1700
|
},
|
|
1701
1701
|
{
|
|
1702
1702
|
"const": "forest-moss",
|
|
1703
1703
|
"title": "Forest moss",
|
|
1704
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.
|
|
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)"
|
|
1706
1706
|
},
|
|
1707
1707
|
{
|
|
1708
1708
|
"const": "mineral-teal",
|
|
1709
1709
|
"title": "Mineral teal",
|
|
1710
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.
|
|
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)"
|
|
1712
1712
|
},
|
|
1713
1713
|
{
|
|
1714
1714
|
"const": "arctic-blue",
|
|
1715
1715
|
"title": "Arctic blue",
|
|
1716
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.
|
|
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)"
|
|
1718
1718
|
},
|
|
1719
1719
|
{
|
|
1720
1720
|
"const": "soft-lavender",
|
|
1721
1721
|
"title": "Soft lavender",
|
|
1722
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.
|
|
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)"
|
|
1724
1724
|
},
|
|
1725
1725
|
{
|
|
1726
1726
|
"const": "vivid-night",
|
|
1727
1727
|
"title": "Vivid night",
|
|
1728
|
-
"description": "Indigo surfaces with
|
|
1729
|
-
"markdownDescription": "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)"
|
|
1730
1730
|
}
|
|
1731
1731
|
],
|
|
1732
|
-
"markdownDescription": "```yaml\npalette: warm-paper\n```\n\nChooses the site color character. Every palette provides coordinated light and dark variants.\n\n[Palette and appearance](https://github.com/janga/norna/blob/v0.7.
|
|
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)",
|
|
1733
1733
|
"examples": [
|
|
1734
1734
|
"near-monochrome",
|
|
1735
1735
|
"warm-paper",
|
|
@@ -1753,22 +1753,22 @@
|
|
|
1753
1753
|
"const": "uniform",
|
|
1754
1754
|
"title": "Uniform",
|
|
1755
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.
|
|
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)"
|
|
1757
1757
|
},
|
|
1758
1758
|
{
|
|
1759
1759
|
"const": "alternating",
|
|
1760
1760
|
"title": "Alternating",
|
|
1761
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.
|
|
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)"
|
|
1763
1763
|
},
|
|
1764
1764
|
{
|
|
1765
1765
|
"const": "accented",
|
|
1766
1766
|
"title": "Accented",
|
|
1767
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.
|
|
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)"
|
|
1769
1769
|
}
|
|
1770
1770
|
],
|
|
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.
|
|
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)",
|
|
1772
1772
|
"examples": [
|
|
1773
1773
|
"uniform",
|
|
1774
1774
|
"alternating",
|
|
@@ -1778,12 +1778,12 @@
|
|
|
1778
1778
|
},
|
|
1779
1779
|
"additionalProperties": false,
|
|
1780
1780
|
"description": "Defaults for page section presentation.",
|
|
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.
|
|
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)"
|
|
1782
1782
|
}
|
|
1783
1783
|
},
|
|
1784
1784
|
"additionalProperties": false,
|
|
1785
1785
|
"description": "Site-wide visual identity and default page presentation. Presets may be selected only in the root theme.",
|
|
1786
1786
|
"$id": "https://janga.github.io/norna/schemas/theme.schema.json",
|
|
1787
1787
|
"title": "Norna visual theme",
|
|
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.
|
|
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)"
|
|
1789
1789
|
}
|