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