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