@janga/norna 0.7.17 → 0.7.18
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 +15 -6
- package/bin/norna-cli.mjs +1 -1
- package/docs/README.md +11 -9
- package/docs/configuration.md +25 -2
- package/docs/content.md +21 -12
- package/docs/design/navigation-and-theme-plan.md +90 -19
- package/docs/design/site-examples-structure.md +7 -3
- package/docs/engine-development.md +19 -22
- package/docs/getting-started.md +3 -3
- package/docs/images-and-metadata.md +6 -4
- package/docs/pages.md +120 -64
- package/docs/public-files.md +1 -1
- package/docs/site-files.md +36 -29
- package/docs/sitewide-content.md +1 -1
- package/docs/theme.md +107 -141
- package/docs/typography.md +15 -27
- package/examples/README.md +8 -2
- package/examples/complete-sites/dog-shelter-multi-page/site/.norna/generated-images.json +5 -5
- package/examples/complete-sites/dog-shelter-single-page/site/.norna/generated-images.json +10 -10
- package/examples/feature-demos/media-and-surfaces/.astro/collections/theme.schema.json +35 -43
- package/examples/feature-demos/media-and-surfaces/.astro/data-store.json +1 -1
- package/examples/feature-demos/media-and-surfaces/site/pages/020-surfaces/content.md +2 -1
- package/examples/feature-demos/media-and-surfaces/site/pages/020-surfaces/theme.yaml +2 -3
- package/examples/feature-demos/theme-preset-documentation/README.md +16 -0
- package/examples/feature-demos/theme-preset-documentation/site/.norna/generated-images.json +74 -0
- package/examples/feature-demos/{theme-presets/site/pages/020-documentation → theme-preset-documentation/site/pages/000-home}/content.md +1 -1
- package/examples/feature-demos/theme-preset-portfolio/README.md +16 -0
- package/examples/feature-demos/theme-preset-portfolio/site/.norna/generated-images.json +74 -0
- package/examples/feature-demos/theme-preset-portfolio/site/config.yaml +1 -0
- package/examples/feature-demos/{theme-presets/site/pages/010-portfolio → theme-preset-portfolio/site/pages/000-home}/content.md +1 -1
- package/examples/feature-demos/theme-preset-portfolio/site/public/robots.txt +2 -0
- package/examples/feature-demos/theme-preset-portfolio/site/sitewide-content.yaml +3 -0
- package/examples/feature-demos/theme-preset-project/README.md +16 -0
- package/examples/feature-demos/theme-preset-project/site/.norna/generated-images.json +74 -0
- package/examples/feature-demos/theme-preset-project/site/config.yaml +1 -0
- package/examples/feature-demos/{theme-presets/site/pages/030-project → theme-preset-project/site/pages/000-home}/content.md +1 -1
- package/examples/feature-demos/theme-preset-project/site/public/robots.txt +2 -0
- package/examples/feature-demos/theme-preset-project/site/sitewide-content.yaml +3 -0
- package/examples/feature-demos/theme-preset-statement/README.md +16 -0
- package/examples/feature-demos/theme-preset-statement/site/.norna/generated-images.json +74 -0
- package/examples/feature-demos/theme-preset-statement/site/config.yaml +1 -0
- package/examples/feature-demos/{theme-presets/site/pages/040-statement → theme-preset-statement/site/pages/000-home}/content.md +1 -1
- package/examples/feature-demos/theme-preset-statement/site/public/robots.txt +2 -0
- package/examples/feature-demos/theme-preset-statement/site/sitewide-content.yaml +3 -0
- package/fixtures/basic/site/theme.yaml +1 -8
- package/fixtures/nested-pages/.astro/collections/site.schema.json +35 -0
- package/fixtures/nested-pages/.astro/collections/sitewide.schema.json +97 -0
- package/fixtures/nested-pages/.astro/collections/theme.schema.json +844 -0
- package/fixtures/nested-pages/.astro/content-assets.mjs +4 -0
- package/fixtures/nested-pages/.astro/content-modules.mjs +1 -0
- package/fixtures/nested-pages/.astro/content.d.ts +183 -0
- package/fixtures/nested-pages/.astro/data-store.json +1 -0
- package/fixtures/nested-pages/.astro/dev-local.json +8 -0
- package/fixtures/nested-pages/.astro/dev.log +1128 -0
- package/fixtures/nested-pages/.astro/settings.json +5 -0
- package/fixtures/nested-pages/.astro/types.d.ts +2 -0
- package/fixtures/nested-pages/node_modules/.vite/deps/_metadata.json +74 -0
- package/fixtures/nested-pages/node_modules/.vite/deps/astro-D_GIpJIE.js +434 -0
- package/fixtures/nested-pages/node_modules/.vite/deps/astro-D_GIpJIE.js.map +1 -0
- package/fixtures/nested-pages/node_modules/.vite/deps/astro_n_aria-query.js +6390 -0
- package/fixtures/nested-pages/node_modules/.vite/deps/astro_n_aria-query.js.map +1 -0
- package/fixtures/nested-pages/node_modules/.vite/deps/astro_n_axobject-query.js +2702 -0
- package/fixtures/nested-pages/node_modules/.vite/deps/astro_n_axobject-query.js.map +1 -0
- package/fixtures/nested-pages/node_modules/.vite/deps/astro_n_html-escaper.js +65 -0
- package/fixtures/nested-pages/node_modules/.vite/deps/astro_n_html-escaper.js.map +1 -0
- package/fixtures/nested-pages/node_modules/.vite/deps/astro_runtime_client_dev-toolbar_entrypoint__js.js +455 -0
- package/fixtures/nested-pages/node_modules/.vite/deps/astro_runtime_client_dev-toolbar_entrypoint__js.js.map +1 -0
- package/fixtures/nested-pages/node_modules/.vite/deps/audit-DM9Hkl5B.js +1534 -0
- package/fixtures/nested-pages/node_modules/.vite/deps/audit-DM9Hkl5B.js.map +1 -0
- package/fixtures/nested-pages/node_modules/.vite/deps/highlight-DnZ1ULOL.js +48 -0
- package/fixtures/nested-pages/node_modules/.vite/deps/highlight-DnZ1ULOL.js.map +1 -0
- package/fixtures/nested-pages/node_modules/.vite/deps/icons-RyebKi45.js +42 -0
- package/fixtures/nested-pages/node_modules/.vite/deps/icons-RyebKi45.js.map +1 -0
- package/fixtures/nested-pages/node_modules/.vite/deps/package.json +3 -0
- package/fixtures/nested-pages/node_modules/.vite/deps/rolldown-runtime-BvCyGRYZ.js +4 -0
- package/fixtures/nested-pages/node_modules/.vite/deps/settings-DaU-gNnK.js +190 -0
- package/fixtures/nested-pages/node_modules/.vite/deps/settings-DaU-gNnK.js.map +1 -0
- package/fixtures/nested-pages/node_modules/.vite/deps/toolbar-63PA619H.js +458 -0
- package/fixtures/nested-pages/node_modules/.vite/deps/toolbar-63PA619H.js.map +1 -0
- package/fixtures/nested-pages/node_modules/.vite/deps/ui-library--bkcNSYz.js +1016 -0
- package/fixtures/nested-pages/node_modules/.vite/deps/ui-library--bkcNSYz.js.map +1 -0
- package/fixtures/nested-pages/node_modules/.vite/deps/window-jPkpKVcy.js +32 -0
- package/fixtures/nested-pages/node_modules/.vite/deps/window-jPkpKVcy.js.map +1 -0
- package/fixtures/nested-pages/node_modules/.vite/deps/xray-BXCHpEJP.js +111 -0
- package/fixtures/nested-pages/node_modules/.vite/deps/xray-BXCHpEJP.js.map +1 -0
- package/fixtures/nested-pages/site/config.yaml +2 -0
- package/fixtures/nested-pages/site/pages/010-guides/pages/010-installation/pages/010-macos/content.md +4 -0
- package/fixtures/nested-pages/site/pages/010-guides/pages/010-installation/theme.yaml +2 -0
- package/fixtures/nested-pages/site/pages/010-guides/pages/030-release-notes/content.md +9 -0
- package/fixtures/nested-pages/site/pages/010-guides/pages/040-configuration/content.md +3 -0
- package/fixtures/nested-pages/site/pages/010-guides/pages/050-content/content.md +3 -0
- package/fixtures/nested-pages/site/pages/010-guides/pages/060-themes/content.md +3 -0
- package/fixtures/nested-pages/site/pages/010-guides/pages/070-images/content.md +3 -0
- package/fixtures/nested-pages/site/pages/010-guides/pages/080-cards/content.md +3 -0
- package/fixtures/nested-pages/site/pages/010-guides/pages/090-notes/content.md +3 -0
- package/fixtures/nested-pages/site/pages/010-guides/pages/100-validation/content.md +3 -0
- package/fixtures/nested-pages/site/pages/010-guides/pages/110-synchronization/content.md +3 -0
- package/fixtures/nested-pages/site/pages/010-guides/pages/120-building/content.md +3 -0
- package/fixtures/nested-pages/site/pages/010-guides/pages/130-publishing/content.md +3 -0
- package/fixtures/nested-pages/site/pages/010-guides/pages/140-troubleshooting/content.md +3 -0
- package/fixtures/nested-pages/site/pages/010-guides/pages/150-migration/content.md +3 -0
- package/fixtures/nested-pages/site/pages/010-guides/pages/160-accessibility/content.md +3 -0
- package/fixtures/nested-pages/site/pages/010-guides/pages/170-performance/content.md +3 -0
- package/fixtures/nested-pages/site/pages/010-guides/pages/180-security/content.md +3 -0
- package/fixtures/nested-pages/site/pages/010-guides/pages/190-localization/content.md +3 -0
- package/fixtures/nested-pages/site/pages/010-guides/pages/200-upgrading/content.md +3 -0
- package/fixtures/nested-pages/site/pages/010-guides/pages/210-faq/content.md +3 -0
- package/fixtures/nested-pages/site/pages/010-guides/theme.yaml +7 -3
- package/fixtures/nested-pages/site/theme.yaml +1 -3
- package/package.json +2 -1
- package/schemas/config.schema.json +45 -4
- package/schemas/content-frontmatter.schema.json +5 -5
- package/schemas/manifest.json +3 -2
- package/schemas/page-theme.schema.json +192 -0
- package/schemas/sitewide-content.schema.json +17 -17
- package/schemas/theme.schema.json +188 -216
- package/scripts/check-config.mjs +2 -1
- package/scripts/deploy-site.mjs +1 -1
- package/scripts/generate-images.mjs +7 -14
- package/scripts/generate-schemas.mjs +4 -1
- package/scripts/lib/editor-language-service.mjs +0 -14
- package/scripts/lib/example-sites.mjs +15 -3
- package/scripts/lib/page-model.mjs +26 -7
- package/scripts/lib/presentation.mjs +25 -17
- package/scripts/lib/project-config.mjs +26 -16
- package/scripts/lib/schema-definitions.mjs +42 -14
- package/scripts/lib/schema-editor-metadata.mjs +70 -26
- package/scripts/lib/schema-value-definitions.mjs +14 -0
- package/scripts/lib/site-content.mjs +50 -25
- package/scripts/lib/site-conventions.mjs +1 -0
- package/scripts/lib/site-paths.mjs +9 -3
- package/scripts/lib/theme-config.mjs +3 -2
- package/scripts/lib/theme-presets.mjs +54 -21
- package/scripts/show-typography.mjs +1 -33
- package/scripts/sync-content-sections.mjs +1 -3
- package/scripts/test-banner-visibility.mjs +2 -2
- package/scripts/test-client-javascript.mjs +11 -4
- package/scripts/test-content-check.mjs +25 -25
- package/scripts/test-content-model-v2.mjs +165 -101
- package/scripts/test-documentation.mjs +4 -2
- package/scripts/test-editor-language-service.mjs +11 -8
- package/scripts/test-engine-commands.mjs +5 -5
- package/scripts/test-examples.mjs +30 -1
- package/scripts/test-heading-ids.mjs +2 -2
- package/scripts/test-navigation.mjs +11 -2
- package/scripts/test-nested-pages.mjs +25 -10
- package/scripts/test-package-check.mjs +29 -60
- package/scripts/test-page-model.mjs +30 -2
- package/scripts/test-project-config.mjs +5 -10
- package/scripts/test-schemas.mjs +18 -3
- package/scripts/test-theme-presets.mjs +33 -27
- package/src/components/NavigationPageTree.astro +114 -25
- package/src/components/PageContentsLinks.astro +40 -0
- package/src/components/SectionNavigationScript.astro +12 -5
- package/src/components/SiteBreadcrumbs.astro +17 -14
- package/src/components/SiteNavigation.astro +45 -12
- package/src/components/SitePage.astro +37 -23
- package/src/components/SiteSection.astro +2 -7
- package/src/components/SiteTreeNavigation.astro +35 -0
- package/src/components/TreeNavigationScript.astro +83 -0
- package/src/content.config.ts +2 -8
- package/src/layouts/BaseLayout.astro +10 -0
- package/src/lib/pageThemes.ts +11 -9
- package/src/lib/sectionContent.ts +1 -5
- package/src/lib/siteNavigation.ts +2 -1
- package/src/lib/sitePages.ts +25 -14
- package/src/pages/index.astro +2 -1
- package/src/styles/global.css +411 -43
- package/starters/basic/README.md +7 -7
- package/starters/basic/site/theme.yaml +1 -105
- package/starters/project/README.md +8 -8
- package/starters/project/site/theme.yaml +1 -31
- package/examples/feature-demos/theme-presets/README.md +0 -18
- package/examples/feature-demos/theme-presets/site/.norna/generated-images.json +0 -290
- package/examples/feature-demos/theme-presets/site/content.md +0 -14
- package/examples/feature-demos/theme-presets/site/theme.yaml +0 -1
- /package/examples/complete-sites/dog-shelter-multi-page/site/{content.md → pages/000-home/content.md} +0 -0
- /package/examples/complete-sites/dog-shelter-multi-page/site/{images → pages/000-home/images}/shelter-dog.jpg +0 -0
- /package/examples/complete-sites/dog-shelter-single-page/site/{content.md → pages/000-home/content.md} +0 -0
- /package/examples/complete-sites/dog-shelter-single-page/site/{images → pages/000-home/images}/foster-dog.jpg +0 -0
- /package/examples/complete-sites/dog-shelter-single-page/site/{images → pages/000-home/images}/rescue-dog.jpg +0 -0
- /package/examples/feature-demos/media-and-surfaces/site/{content.md → pages/000-home/content.md} +0 -0
- /package/examples/feature-demos/sitewide-content/site/{content.md → pages/000-home/content.md} +0 -0
- /package/examples/feature-demos/{theme-presets → theme-preset-documentation}/site/config.yaml +0 -0
- /package/examples/feature-demos/{theme-presets/site/pages/020-documentation → theme-preset-documentation/site/pages/000-home}/images/black-schnauzer.jpg +0 -0
- /package/examples/feature-demos/{theme-presets/site/pages/020-documentation → theme-preset-documentation/site/pages/000-home}/images/retriever-portrait.jpg +0 -0
- /package/examples/feature-demos/{theme-presets/site/pages/020-documentation → theme-preset-documentation/site/pages/000-home}/images/schnauzer-portrait.jpg +0 -0
- /package/examples/feature-demos/{theme-presets → theme-preset-documentation}/site/public/robots.txt +0 -0
- /package/examples/feature-demos/{theme-presets → theme-preset-documentation}/site/sitewide-content.yaml +0 -0
- /package/examples/feature-demos/{theme-presets/site/pages/020-documentation → theme-preset-documentation/site}/theme.yaml +0 -0
- /package/examples/feature-demos/{theme-presets/site/pages/010-portfolio → theme-preset-portfolio/site/pages/000-home}/images/puppy-portrait.jpg +0 -0
- /package/examples/feature-demos/{theme-presets/site/pages/010-portfolio → theme-preset-portfolio/site/pages/000-home}/images/shepherd-portrait.jpg +0 -0
- /package/examples/feature-demos/{theme-presets/site/pages/010-portfolio → theme-preset-portfolio/site/pages/000-home}/images/white-puppy.jpg +0 -0
- /package/examples/feature-demos/{theme-presets/site/pages/010-portfolio → theme-preset-portfolio/site}/theme.yaml +0 -0
- /package/examples/feature-demos/{theme-presets → theme-preset-project}/.astro/collections/routeTheme.schema.json +0 -0
- /package/examples/feature-demos/{theme-presets → theme-preset-project}/.astro/collections/site.schema.json +0 -0
- /package/examples/feature-demos/{theme-presets → theme-preset-project}/.astro/collections/sitewide.schema.json +0 -0
- /package/examples/feature-demos/{theme-presets → theme-preset-project}/.astro/collections/theme.schema.json +0 -0
- /package/examples/feature-demos/{theme-presets → theme-preset-project}/.astro/content-assets.mjs +0 -0
- /package/examples/feature-demos/{theme-presets → theme-preset-project}/.astro/content-modules.mjs +0 -0
- /package/examples/feature-demos/{theme-presets → theme-preset-project}/.astro/content.d.ts +0 -0
- /package/examples/feature-demos/{theme-presets → theme-preset-project}/.astro/data-store.json +0 -0
- /package/examples/feature-demos/{theme-presets → theme-preset-project}/.astro/dev-local.json +0 -0
- /package/examples/feature-demos/{theme-presets → theme-preset-project}/.astro/dev.json +0 -0
- /package/examples/feature-demos/{theme-presets → theme-preset-project}/.astro/dev.log +0 -0
- /package/examples/feature-demos/{theme-presets → theme-preset-project}/.astro/settings.json +0 -0
- /package/examples/feature-demos/{theme-presets → theme-preset-project}/.astro/types.d.ts +0 -0
- /package/examples/feature-demos/{theme-presets → theme-preset-project}/node_modules/.vite/deps/_metadata.json +0 -0
- /package/examples/feature-demos/{theme-presets → theme-preset-project}/node_modules/.vite/deps/astro-D_GIpJIE.js +0 -0
- /package/examples/feature-demos/{theme-presets → theme-preset-project}/node_modules/.vite/deps/astro-D_GIpJIE.js.map +0 -0
- /package/examples/feature-demos/{theme-presets → theme-preset-project}/node_modules/.vite/deps/astro_n_aria-query.js +0 -0
- /package/examples/feature-demos/{theme-presets → theme-preset-project}/node_modules/.vite/deps/astro_n_aria-query.js.map +0 -0
- /package/examples/feature-demos/{theme-presets → theme-preset-project}/node_modules/.vite/deps/astro_n_axobject-query.js +0 -0
- /package/examples/feature-demos/{theme-presets → theme-preset-project}/node_modules/.vite/deps/astro_n_axobject-query.js.map +0 -0
- /package/examples/feature-demos/{theme-presets → theme-preset-project}/node_modules/.vite/deps/astro_n_html-escaper.js +0 -0
- /package/examples/feature-demos/{theme-presets → theme-preset-project}/node_modules/.vite/deps/astro_n_html-escaper.js.map +0 -0
- /package/examples/feature-demos/{theme-presets → theme-preset-project}/node_modules/.vite/deps/astro_runtime_client_dev-toolbar_entrypoint__js.js +0 -0
- /package/examples/feature-demos/{theme-presets → theme-preset-project}/node_modules/.vite/deps/astro_runtime_client_dev-toolbar_entrypoint__js.js.map +0 -0
- /package/examples/feature-demos/{theme-presets → theme-preset-project}/node_modules/.vite/deps/audit-DM9Hkl5B.js +0 -0
- /package/examples/feature-demos/{theme-presets → theme-preset-project}/node_modules/.vite/deps/audit-DM9Hkl5B.js.map +0 -0
- /package/examples/feature-demos/{theme-presets → theme-preset-project}/node_modules/.vite/deps/embla-carousel.js +0 -0
- /package/examples/feature-demos/{theme-presets → theme-preset-project}/node_modules/.vite/deps/embla-carousel.js.map +0 -0
- /package/examples/feature-demos/{theme-presets → theme-preset-project}/node_modules/.vite/deps/highlight-DnZ1ULOL.js +0 -0
- /package/examples/feature-demos/{theme-presets → theme-preset-project}/node_modules/.vite/deps/highlight-DnZ1ULOL.js.map +0 -0
- /package/examples/feature-demos/{theme-presets → theme-preset-project}/node_modules/.vite/deps/icons-RyebKi45.js +0 -0
- /package/examples/feature-demos/{theme-presets → theme-preset-project}/node_modules/.vite/deps/icons-RyebKi45.js.map +0 -0
- /package/examples/feature-demos/{theme-presets → theme-preset-project}/node_modules/.vite/deps/package.json +0 -0
- /package/examples/feature-demos/{theme-presets → theme-preset-project}/node_modules/.vite/deps/rolldown-runtime-BvCyGRYZ.js +0 -0
- /package/examples/feature-demos/{theme-presets → theme-preset-project}/node_modules/.vite/deps/settings-DaU-gNnK.js +0 -0
- /package/examples/feature-demos/{theme-presets → theme-preset-project}/node_modules/.vite/deps/settings-DaU-gNnK.js.map +0 -0
- /package/examples/feature-demos/{theme-presets → theme-preset-project}/node_modules/.vite/deps/toolbar-63PA619H.js +0 -0
- /package/examples/feature-demos/{theme-presets → theme-preset-project}/node_modules/.vite/deps/toolbar-63PA619H.js.map +0 -0
- /package/examples/feature-demos/{theme-presets → theme-preset-project}/node_modules/.vite/deps/ui-library--bkcNSYz.js +0 -0
- /package/examples/feature-demos/{theme-presets → theme-preset-project}/node_modules/.vite/deps/ui-library--bkcNSYz.js.map +0 -0
- /package/examples/feature-demos/{theme-presets → theme-preset-project}/node_modules/.vite/deps/window-jPkpKVcy.js +0 -0
- /package/examples/feature-demos/{theme-presets → theme-preset-project}/node_modules/.vite/deps/window-jPkpKVcy.js.map +0 -0
- /package/examples/feature-demos/{theme-presets → theme-preset-project}/node_modules/.vite/deps/xray-BXCHpEJP.js +0 -0
- /package/examples/feature-demos/{theme-presets → theme-preset-project}/node_modules/.vite/deps/xray-BXCHpEJP.js.map +0 -0
- /package/examples/feature-demos/{theme-presets/site/pages/030-project → theme-preset-project/site/pages/000-home}/images/boxer-portrait.jpg +0 -0
- /package/examples/feature-demos/{theme-presets/site/pages/030-project → theme-preset-project/site/pages/000-home}/images/grass-puppy.jpg +0 -0
- /package/examples/feature-demos/{theme-presets/site/pages/030-project → theme-preset-project/site/pages/000-home}/images/grey-street-dog.jpg +0 -0
- /package/examples/feature-demos/{theme-presets/site/pages/030-project → theme-preset-project/site}/theme.yaml +0 -0
- /package/examples/feature-demos/{theme-presets/site/pages/040-statement → theme-preset-statement/site/pages/000-home}/images/black-pedigree.jpg +0 -0
- /package/examples/feature-demos/{theme-presets/site/pages/040-statement → theme-preset-statement/site/pages/000-home}/images/sheepdog-grass.jpg +0 -0
- /package/examples/feature-demos/{theme-presets/site/pages/040-statement → theme-preset-statement/site/pages/000-home}/images/sheepdog-wide.jpg +0 -0
- /package/examples/feature-demos/{theme-presets/site/pages/040-statement → theme-preset-statement/site}/theme.yaml +0 -0
- /package/fixtures/basic/site/{content.md → pages/000-home/content.md} +0 -0
- /package/fixtures/basic/site/{images → pages/000-home/images}/.gitkeep +0 -0
- /package/fixtures/content-model-v2/site/{content.md → pages/000-home/content.md} +0 -0
- /package/fixtures/content-model-v2/site/{images → pages/000-home/images}/adopt.svg +0 -0
- /package/fixtures/content-model-v2/site/{images → pages/000-home/images}/detail.jpg +0 -0
- /package/fixtures/content-model-v2/site/{images → pages/000-home/images}/duplicate.jpg +0 -0
- /package/fixtures/content-model-v2/site/{images → pages/000-home/images}/foster.svg +0 -0
- /package/fixtures/content-model-v2/site/{images → pages/000-home/images}/hero.jpg +0 -0
- /package/fixtures/content-model-v2/site/{images → pages/000-home/images}/image.jpg +0 -0
- /package/fixtures/content-model-v2/site/{images → pages/000-home/images}/slide-one.jpg +0 -0
- /package/fixtures/content-model-v2/site/{images → pages/000-home/images}/slide-three.jpg +0 -0
- /package/fixtures/content-model-v2/site/{images → pages/000-home/images}/slide-two.jpg +0 -0
- /package/fixtures/nested-pages/site/{content.md → pages/000-home/content.md} +0 -0
- /package/starters/basic/site/{content.md → pages/000-home/content.md} +0 -0
- /package/starters/basic/site/{images → pages/000-home/images}/.gitkeep +0 -0
- /package/starters/project/site/{content.md → pages/000-home/content.md} +0 -0
|
@@ -27,79 +27,81 @@
|
|
|
27
27
|
"description": "For short, expressive sites, with larger typography, airy spacing, and stronger section emphasis."
|
|
28
28
|
}
|
|
29
29
|
],
|
|
30
|
-
"markdownDescription": "```yaml\npreset: documentation\n```\n\nSelects coordinated
|
|
30
|
+
"markdownDescription": "```yaml\npreset: documentation\n```\n\nSelects coordinated shapes, layout, image sizing, 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.18/docs/theme.md#theme-presets)"
|
|
31
31
|
},
|
|
32
|
-
"
|
|
32
|
+
"shape": {
|
|
33
|
+
"description": "Site-wide shape profile. Omit this to use the selected preset.",
|
|
34
|
+
"type": "string",
|
|
35
|
+
"oneOf": [
|
|
36
|
+
{
|
|
37
|
+
"const": "square",
|
|
38
|
+
"title": "Square",
|
|
39
|
+
"description": "Use square corners for navigation, cards and framed content."
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"const": "soft",
|
|
43
|
+
"title": "Soft",
|
|
44
|
+
"description": "Use restrained rounded corners consistently across the site."
|
|
45
|
+
}
|
|
46
|
+
],
|
|
47
|
+
"markdownDescription": "```yaml\nshape: soft\n```\n\nChooses one consistent corner treatment for navigation, cards and framed content throughout the site.\n\n[Theme reference](https://github.com/janga/norna/blob/v0.7.18/docs/theme.md)",
|
|
48
|
+
"examples": [
|
|
49
|
+
"square",
|
|
50
|
+
"soft"
|
|
51
|
+
]
|
|
52
|
+
},
|
|
53
|
+
"layout": {
|
|
33
54
|
"type": "object",
|
|
34
55
|
"properties": {
|
|
35
|
-
"
|
|
36
|
-
"description": "
|
|
56
|
+
"contentSpacing": {
|
|
57
|
+
"description": "Page content spacing. Omit this to keep the selected preset or inherited page setting.",
|
|
37
58
|
"type": "string",
|
|
38
59
|
"oneOf": [
|
|
39
60
|
{
|
|
40
|
-
"const": "
|
|
41
|
-
"title": "
|
|
42
|
-
"description": "
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
"const": "sections",
|
|
46
|
-
"title": "Sections",
|
|
47
|
-
"description": "Navigate the sections of the current page."
|
|
61
|
+
"const": "compact",
|
|
62
|
+
"title": "Compact",
|
|
63
|
+
"description": "Use restrained spacing between sections and structured blocks."
|
|
48
64
|
},
|
|
49
65
|
{
|
|
50
|
-
"const": "
|
|
51
|
-
"title": "
|
|
52
|
-
"description": "Use
|
|
66
|
+
"const": "normal",
|
|
67
|
+
"title": "Normal",
|
|
68
|
+
"description": "Use balanced content spacing."
|
|
53
69
|
},
|
|
54
70
|
{
|
|
55
|
-
"const": "
|
|
56
|
-
"title": "
|
|
57
|
-
"description": "Use
|
|
71
|
+
"const": "spacious",
|
|
72
|
+
"title": "Spacious",
|
|
73
|
+
"description": "Use more expansive spacing between sections and structured blocks."
|
|
58
74
|
}
|
|
59
75
|
],
|
|
60
|
-
"markdownDescription": "```yaml\
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
"top",
|
|
65
|
-
"tree"
|
|
66
|
-
]
|
|
67
|
-
}
|
|
68
|
-
},
|
|
69
|
-
"additionalProperties": false,
|
|
70
|
-
"description": "Site-wide navigation behavior. This may be set only in the root theme.",
|
|
71
|
-
"markdownDescription": "```yaml\nnavigation:\n mode: automatic\n```\n\nSets the site-wide navigation model. Only the root theme may override this preset value.\n\n[Theme reference](https://github.com/janga/norna/blob/v0.7.17/docs/theme.md)"
|
|
72
|
-
},
|
|
73
|
-
"layout": {
|
|
74
|
-
"type": "object",
|
|
75
|
-
"properties": {
|
|
76
|
-
"density": {
|
|
77
|
-
"description": "Overall spacing density. Omit this to keep the selected preset.",
|
|
76
|
+
"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.18/docs/theme.md#layout)"
|
|
77
|
+
},
|
|
78
|
+
"textWidth": {
|
|
79
|
+
"description": "Body-text line length. Omit this to keep the selected preset or inherited page setting.",
|
|
78
80
|
"type": "string",
|
|
79
81
|
"oneOf": [
|
|
80
82
|
{
|
|
81
|
-
"const": "
|
|
82
|
-
"title": "
|
|
83
|
-
"description": "
|
|
83
|
+
"const": "narrow",
|
|
84
|
+
"title": "Narrow",
|
|
85
|
+
"description": "Use a shorter line length suited to reading-focused text."
|
|
84
86
|
},
|
|
85
87
|
{
|
|
86
88
|
"const": "normal",
|
|
87
89
|
"title": "Normal",
|
|
88
|
-
"description": "Use balanced
|
|
90
|
+
"description": "Use the balanced default line length."
|
|
89
91
|
},
|
|
90
92
|
{
|
|
91
|
-
"const": "
|
|
92
|
-
"title": "
|
|
93
|
-
"description": "
|
|
93
|
+
"const": "wide",
|
|
94
|
+
"title": "Wide",
|
|
95
|
+
"description": "Allow body text to use more horizontal space."
|
|
94
96
|
}
|
|
95
97
|
],
|
|
96
|
-
"markdownDescription": "```yaml\nlayout:\n
|
|
98
|
+
"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.18/docs/theme.md#layout)"
|
|
97
99
|
},
|
|
98
100
|
"pageWidth": {
|
|
99
101
|
"description": "Maximum width of the site layout. Omit this to keep the selected preset.",
|
|
100
102
|
"type": "string",
|
|
101
103
|
"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*\\))$",
|
|
102
|
-
"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.
|
|
104
|
+
"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.18/docs/theme.md#layout)"
|
|
103
105
|
},
|
|
104
106
|
"gutter": {
|
|
105
107
|
"description": "Horizontal page gutter as one value or separate desktop and mobile values.",
|
|
@@ -116,13 +118,13 @@
|
|
|
116
118
|
"type": "string",
|
|
117
119
|
"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*\\))$",
|
|
118
120
|
"description": "Responsive CSS length or clamp() expression.",
|
|
119
|
-
"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.
|
|
121
|
+
"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.18/docs/theme.md#layout)"
|
|
120
122
|
},
|
|
121
123
|
"mobile": {
|
|
122
124
|
"type": "string",
|
|
123
125
|
"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*\\))$",
|
|
124
126
|
"description": "Responsive CSS length or clamp() expression.",
|
|
125
|
-
"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.
|
|
127
|
+
"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.18/docs/theme.md#layout)"
|
|
126
128
|
}
|
|
127
129
|
},
|
|
128
130
|
"required": [
|
|
@@ -132,11 +134,11 @@
|
|
|
132
134
|
"additionalProperties": false
|
|
133
135
|
}
|
|
134
136
|
],
|
|
135
|
-
"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.
|
|
137
|
+
"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.18/docs/theme.md#layout)",
|
|
136
138
|
"defaultSnippets": [
|
|
137
139
|
{
|
|
138
140
|
"label": "Responsive page gutter",
|
|
139
|
-
"markdownDescription": "Set separate page gutters for wider and narrow screens.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
141
|
+
"markdownDescription": "Set separate page gutters for wider and narrow screens.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.18/docs/theme.md#layout)",
|
|
140
142
|
"body": {
|
|
141
143
|
"desktop": "${1:clamp(1.25rem, 4vw, 3rem)}",
|
|
142
144
|
"mobile": "${2:1rem}"
|
|
@@ -163,13 +165,13 @@
|
|
|
163
165
|
"type": "string",
|
|
164
166
|
"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*\\))$",
|
|
165
167
|
"description": "Responsive CSS length or clamp() expression.",
|
|
166
|
-
"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.
|
|
168
|
+
"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.18/docs/theme.md#layout)"
|
|
167
169
|
},
|
|
168
170
|
"mobile": {
|
|
169
171
|
"type": "string",
|
|
170
172
|
"pattern": "^(?:0|(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)|clamp\\(\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*,\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*,\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*\\))$",
|
|
171
173
|
"description": "Responsive CSS length or clamp() expression.",
|
|
172
|
-
"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.
|
|
174
|
+
"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.18/docs/theme.md#layout)"
|
|
173
175
|
}
|
|
174
176
|
},
|
|
175
177
|
"required": [
|
|
@@ -179,11 +181,11 @@
|
|
|
179
181
|
"additionalProperties": false
|
|
180
182
|
}
|
|
181
183
|
],
|
|
182
|
-
"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.
|
|
184
|
+
"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.18/docs/theme.md#layout)",
|
|
183
185
|
"defaultSnippets": [
|
|
184
186
|
{
|
|
185
187
|
"label": "Responsive spacing",
|
|
186
|
-
"markdownDescription": "Set separate spacing values for wider and narrow screens.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
188
|
+
"markdownDescription": "Set separate spacing values for wider and narrow screens.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.18/docs/theme.md#layout)",
|
|
187
189
|
"body": {
|
|
188
190
|
"desktop": "${1:1.5em}",
|
|
189
191
|
"mobile": "${2:1.5em}"
|
|
@@ -206,13 +208,13 @@
|
|
|
206
208
|
"type": "string",
|
|
207
209
|
"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
210
|
"description": "Responsive CSS length or clamp() expression.",
|
|
209
|
-
"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.
|
|
211
|
+
"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.18/docs/theme.md#layout)"
|
|
210
212
|
},
|
|
211
213
|
"mobile": {
|
|
212
214
|
"type": "string",
|
|
213
215
|
"pattern": "^(?:0|(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)|clamp\\(\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*,\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*,\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*\\))$",
|
|
214
216
|
"description": "Responsive CSS length or clamp() expression.",
|
|
215
|
-
"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.
|
|
217
|
+
"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.18/docs/theme.md#layout)"
|
|
216
218
|
}
|
|
217
219
|
},
|
|
218
220
|
"required": [
|
|
@@ -222,11 +224,11 @@
|
|
|
222
224
|
"additionalProperties": false
|
|
223
225
|
}
|
|
224
226
|
],
|
|
225
|
-
"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.
|
|
227
|
+
"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.18/docs/theme.md#layout)",
|
|
226
228
|
"defaultSnippets": [
|
|
227
229
|
{
|
|
228
230
|
"label": "Responsive spacing",
|
|
229
|
-
"markdownDescription": "Set separate spacing values for wider and narrow screens.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
231
|
+
"markdownDescription": "Set separate spacing values for wider and narrow screens.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.18/docs/theme.md#layout)",
|
|
230
232
|
"body": {
|
|
231
233
|
"desktop": "${1:2rem}",
|
|
232
234
|
"mobile": "${2:2rem}"
|
|
@@ -249,13 +251,13 @@
|
|
|
249
251
|
"type": "string",
|
|
250
252
|
"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*\\))$",
|
|
251
253
|
"description": "Responsive CSS length or clamp() expression.",
|
|
252
|
-
"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.
|
|
254
|
+
"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.18/docs/theme.md#layout)"
|
|
253
255
|
},
|
|
254
256
|
"mobile": {
|
|
255
257
|
"type": "string",
|
|
256
258
|
"pattern": "^(?:0|(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)|clamp\\(\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*,\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*,\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*\\))$",
|
|
257
259
|
"description": "Responsive CSS length or clamp() expression.",
|
|
258
|
-
"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.
|
|
260
|
+
"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.18/docs/theme.md#layout)"
|
|
259
261
|
}
|
|
260
262
|
},
|
|
261
263
|
"required": [
|
|
@@ -265,11 +267,11 @@
|
|
|
265
267
|
"additionalProperties": false
|
|
266
268
|
}
|
|
267
269
|
],
|
|
268
|
-
"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.
|
|
270
|
+
"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.18/docs/theme.md#layout)",
|
|
269
271
|
"defaultSnippets": [
|
|
270
272
|
{
|
|
271
273
|
"label": "Responsive spacing",
|
|
272
|
-
"markdownDescription": "Set separate spacing values for wider and narrow screens.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
274
|
+
"markdownDescription": "Set separate spacing values for wider and narrow screens.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.18/docs/theme.md#layout)",
|
|
273
275
|
"body": {
|
|
274
276
|
"desktop": "${1:1.5rem}",
|
|
275
277
|
"mobile": "${2:1.5rem}"
|
|
@@ -292,13 +294,13 @@
|
|
|
292
294
|
"type": "string",
|
|
293
295
|
"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*\\))$",
|
|
294
296
|
"description": "Responsive CSS length or clamp() expression.",
|
|
295
|
-
"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.
|
|
297
|
+
"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.18/docs/theme.md#layout)"
|
|
296
298
|
},
|
|
297
299
|
"mobile": {
|
|
298
300
|
"type": "string",
|
|
299
301
|
"pattern": "^(?:0|(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)|clamp\\(\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*,\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*,\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*\\))$",
|
|
300
302
|
"description": "Responsive CSS length or clamp() expression.",
|
|
301
|
-
"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.
|
|
303
|
+
"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.18/docs/theme.md#layout)"
|
|
302
304
|
}
|
|
303
305
|
},
|
|
304
306
|
"required": [
|
|
@@ -308,11 +310,11 @@
|
|
|
308
310
|
"additionalProperties": false
|
|
309
311
|
}
|
|
310
312
|
],
|
|
311
|
-
"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.
|
|
313
|
+
"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.18/docs/theme.md#layout)",
|
|
312
314
|
"defaultSnippets": [
|
|
313
315
|
{
|
|
314
316
|
"label": "Responsive spacing",
|
|
315
|
-
"markdownDescription": "Set separate spacing values for wider and narrow screens.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
317
|
+
"markdownDescription": "Set separate spacing values for wider and narrow screens.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.18/docs/theme.md#layout)",
|
|
316
318
|
"body": {
|
|
317
319
|
"desktop": "${1:0.75em}",
|
|
318
320
|
"mobile": "${2:0.75em}"
|
|
@@ -335,13 +337,13 @@
|
|
|
335
337
|
"type": "string",
|
|
336
338
|
"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*\\))$",
|
|
337
339
|
"description": "Responsive CSS length or clamp() expression.",
|
|
338
|
-
"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.
|
|
340
|
+
"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.18/docs/theme.md#layout)"
|
|
339
341
|
},
|
|
340
342
|
"mobile": {
|
|
341
343
|
"type": "string",
|
|
342
344
|
"pattern": "^(?:0|(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)|clamp\\(\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*,\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*,\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*\\))$",
|
|
343
345
|
"description": "Responsive CSS length or clamp() expression.",
|
|
344
|
-
"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.
|
|
346
|
+
"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.18/docs/theme.md#layout)"
|
|
345
347
|
}
|
|
346
348
|
},
|
|
347
349
|
"required": [
|
|
@@ -351,11 +353,11 @@
|
|
|
351
353
|
"additionalProperties": false
|
|
352
354
|
}
|
|
353
355
|
],
|
|
354
|
-
"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.
|
|
356
|
+
"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.18/docs/theme.md#layout)",
|
|
355
357
|
"defaultSnippets": [
|
|
356
358
|
{
|
|
357
359
|
"label": "Responsive spacing",
|
|
358
|
-
"markdownDescription": "Set separate spacing values for wider and narrow screens.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
360
|
+
"markdownDescription": "Set separate spacing values for wider and narrow screens.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.18/docs/theme.md#layout)",
|
|
359
361
|
"body": {
|
|
360
362
|
"desktop": "${1:1rem}",
|
|
361
363
|
"mobile": "${2:1rem}"
|
|
@@ -378,13 +380,13 @@
|
|
|
378
380
|
"type": "string",
|
|
379
381
|
"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*\\))$",
|
|
380
382
|
"description": "Responsive CSS length or clamp() expression.",
|
|
381
|
-
"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.
|
|
383
|
+
"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.18/docs/theme.md#layout)"
|
|
382
384
|
},
|
|
383
385
|
"mobile": {
|
|
384
386
|
"type": "string",
|
|
385
387
|
"pattern": "^(?:0|(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)|clamp\\(\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*,\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*,\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*\\))$",
|
|
386
388
|
"description": "Responsive CSS length or clamp() expression.",
|
|
387
|
-
"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.
|
|
389
|
+
"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.18/docs/theme.md#layout)"
|
|
388
390
|
}
|
|
389
391
|
},
|
|
390
392
|
"required": [
|
|
@@ -394,11 +396,11 @@
|
|
|
394
396
|
"additionalProperties": false
|
|
395
397
|
}
|
|
396
398
|
],
|
|
397
|
-
"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.
|
|
399
|
+
"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.18/docs/theme.md#layout)",
|
|
398
400
|
"defaultSnippets": [
|
|
399
401
|
{
|
|
400
402
|
"label": "Responsive spacing",
|
|
401
|
-
"markdownDescription": "Set separate spacing values for wider and narrow screens.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
403
|
+
"markdownDescription": "Set separate spacing values for wider and narrow screens.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.18/docs/theme.md#layout)",
|
|
402
404
|
"body": {
|
|
403
405
|
"desktop": "${1:2rem}",
|
|
404
406
|
"mobile": "${2:2rem}"
|
|
@@ -408,11 +410,11 @@
|
|
|
408
410
|
}
|
|
409
411
|
},
|
|
410
412
|
"additionalProperties": false,
|
|
411
|
-
"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.
|
|
413
|
+
"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.18/docs/theme.md#layout)",
|
|
412
414
|
"defaultSnippets": [
|
|
413
415
|
{
|
|
414
416
|
"label": "Layout spacing overrides",
|
|
415
|
-
"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.
|
|
417
|
+
"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.18/docs/theme.md#layout)",
|
|
416
418
|
"body": {
|
|
417
419
|
"sectionGap": {
|
|
418
420
|
"desktop": "${1:2rem}",
|
|
@@ -427,7 +429,7 @@
|
|
|
427
429
|
},
|
|
428
430
|
"additionalProperties": false,
|
|
429
431
|
"description": "Optional layout overrides applied after the preset.",
|
|
430
|
-
"markdownDescription": "```yaml\nlayout:\n
|
|
432
|
+
"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.18/docs/theme.md#layout)"
|
|
431
433
|
},
|
|
432
434
|
"images": {
|
|
433
435
|
"type": "object",
|
|
@@ -436,7 +438,7 @@
|
|
|
436
438
|
"description": "Maximum managed-image width. Omit this to keep the selected preset.",
|
|
437
439
|
"type": "string",
|
|
438
440
|
"pattern": "^(?:0|(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)|clamp\\(\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*,\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*,\\s*(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|vw|vh|vmin|vmax|ch|%)\\s*\\))$",
|
|
439
|
-
"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.
|
|
441
|
+
"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.18/docs/theme.md#image-sizing)"
|
|
440
442
|
},
|
|
441
443
|
"maxAvailableWidthPercent": {
|
|
442
444
|
"description": "Maximum percentage of available horizontal space used by managed images.",
|
|
@@ -454,14 +456,14 @@
|
|
|
454
456
|
"exclusiveMinimum": 0,
|
|
455
457
|
"maximum": 100,
|
|
456
458
|
"description": "Percentage used on wider screens.",
|
|
457
|
-
"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.
|
|
459
|
+
"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.18/docs/theme.md#image-sizing)"
|
|
458
460
|
},
|
|
459
461
|
"mobile": {
|
|
460
462
|
"type": "number",
|
|
461
463
|
"exclusiveMinimum": 0,
|
|
462
464
|
"maximum": 100,
|
|
463
465
|
"description": "Percentage used on narrow screens.",
|
|
464
|
-
"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.
|
|
466
|
+
"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.18/docs/theme.md#image-sizing)"
|
|
465
467
|
}
|
|
466
468
|
},
|
|
467
469
|
"required": [
|
|
@@ -471,11 +473,11 @@
|
|
|
471
473
|
"additionalProperties": false
|
|
472
474
|
}
|
|
473
475
|
],
|
|
474
|
-
"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.
|
|
476
|
+
"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.18/docs/theme.md#image-sizing)",
|
|
475
477
|
"defaultSnippets": [
|
|
476
478
|
{
|
|
477
479
|
"label": "Responsive image limit",
|
|
478
|
-
"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.
|
|
480
|
+
"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.18/docs/theme.md#image-sizing)",
|
|
479
481
|
"body": {
|
|
480
482
|
"desktop": "${1:100}",
|
|
481
483
|
"mobile": "${2:100}"
|
|
@@ -499,14 +501,14 @@
|
|
|
499
501
|
"exclusiveMinimum": 0,
|
|
500
502
|
"maximum": 100,
|
|
501
503
|
"description": "Percentage used on wider screens.",
|
|
502
|
-
"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.
|
|
504
|
+
"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.18/docs/theme.md#image-sizing)"
|
|
503
505
|
},
|
|
504
506
|
"mobile": {
|
|
505
507
|
"type": "number",
|
|
506
508
|
"exclusiveMinimum": 0,
|
|
507
509
|
"maximum": 100,
|
|
508
510
|
"description": "Percentage used on narrow screens.",
|
|
509
|
-
"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.
|
|
511
|
+
"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.18/docs/theme.md#image-sizing)"
|
|
510
512
|
}
|
|
511
513
|
},
|
|
512
514
|
"required": [
|
|
@@ -516,11 +518,11 @@
|
|
|
516
518
|
"additionalProperties": false
|
|
517
519
|
}
|
|
518
520
|
],
|
|
519
|
-
"markdownDescription": "```yaml\nimages:\n maxAvailableHeightPercent:\n desktop: 74\n mobile: 68\n```\n\nMaximum percentage of viewport height used by managed images.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
521
|
+
"markdownDescription": "```yaml\nimages:\n maxAvailableHeightPercent:\n desktop: 74\n mobile: 68\n```\n\nMaximum percentage of viewport height used by managed images.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.18/docs/theme.md#image-sizing)",
|
|
520
522
|
"defaultSnippets": [
|
|
521
523
|
{
|
|
522
524
|
"label": "Responsive image limit",
|
|
523
|
-
"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.
|
|
525
|
+
"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.18/docs/theme.md#image-sizing)",
|
|
524
526
|
"body": {
|
|
525
527
|
"desktop": "${1:74}",
|
|
526
528
|
"mobile": "${2:68}"
|
|
@@ -531,7 +533,7 @@
|
|
|
531
533
|
},
|
|
532
534
|
"additionalProperties": false,
|
|
533
535
|
"description": "Optional defaults for managed image presentation.",
|
|
534
|
-
"markdownDescription": "```yaml\nimages:\n width: 900px\n maxAvailableHeightPercent: 74\n```\n\nOverrides the available width and height used by Norna-managed images.\n\n[Image sizing reference](https://github.com/janga/norna/blob/v0.7.
|
|
536
|
+
"markdownDescription": "```yaml\nimages:\n width: 900px\n maxAvailableHeightPercent: 74\n```\n\nOverrides the available width and height used by Norna-managed images.\n\n[Image sizing reference](https://github.com/janga/norna/blob/v0.7.18/docs/theme.md#image-sizing)"
|
|
535
537
|
},
|
|
536
538
|
"typography": {
|
|
537
539
|
"type": "object",
|
|
@@ -540,7 +542,7 @@
|
|
|
540
542
|
"description": "CSS font-family stack.",
|
|
541
543
|
"type": "string",
|
|
542
544
|
"minLength": 1,
|
|
543
|
-
"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.
|
|
545
|
+
"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.18/docs/typography.md#configuration-shape)"
|
|
544
546
|
},
|
|
545
547
|
"profile": {
|
|
546
548
|
"description": "Typography profile. Omit this to keep the selected preset.",
|
|
@@ -567,7 +569,7 @@
|
|
|
567
569
|
"description": "Stronger headings and tighter body rhythm for short, expressive pages."
|
|
568
570
|
}
|
|
569
571
|
],
|
|
570
|
-
"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.
|
|
572
|
+
"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.18/docs/typography.md#configuration-shape)"
|
|
571
573
|
},
|
|
572
574
|
"rhythm": {
|
|
573
575
|
"description": "Typography spacing rhythm. Omit this to keep the selected preset.",
|
|
@@ -589,7 +591,7 @@
|
|
|
589
591
|
"description": "Increase vertical spacing for a more expansive presentation."
|
|
590
592
|
}
|
|
591
593
|
],
|
|
592
|
-
"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.
|
|
594
|
+
"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.18/docs/typography.md#configuration-shape)"
|
|
593
595
|
},
|
|
594
596
|
"overrides": {
|
|
595
597
|
"description": "Focused typography overrides applied after the profile.",
|
|
@@ -627,7 +629,7 @@
|
|
|
627
629
|
"description": "Align text with the right edge of its text area."
|
|
628
630
|
}
|
|
629
631
|
],
|
|
630
|
-
"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.
|
|
632
|
+
"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.18/docs/typography.md#configuration-shape)"
|
|
631
633
|
},
|
|
632
634
|
"mobile": {
|
|
633
635
|
"description": "Text alignment on narrow screens.",
|
|
@@ -649,15 +651,15 @@
|
|
|
649
651
|
"description": "Align text with the right edge of its text area."
|
|
650
652
|
}
|
|
651
653
|
],
|
|
652
|
-
"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.
|
|
654
|
+
"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.18/docs/typography.md#configuration-shape)"
|
|
653
655
|
}
|
|
654
656
|
},
|
|
655
657
|
"additionalProperties": false,
|
|
656
|
-
"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.
|
|
658
|
+
"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.18/docs/typography.md#configuration-shape)",
|
|
657
659
|
"defaultSnippets": [
|
|
658
660
|
{
|
|
659
661
|
"label": "Responsive text alignment",
|
|
660
|
-
"markdownDescription": "Set separate text alignment for wider and narrow screens.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
662
|
+
"markdownDescription": "Set separate text alignment for wider and narrow screens.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.18/docs/typography.md#configuration-shape)",
|
|
661
663
|
"body": {
|
|
662
664
|
"desktop": "${1:left}",
|
|
663
665
|
"mobile": "${2:left}"
|
|
@@ -690,14 +692,14 @@
|
|
|
690
692
|
"description": "Use the largest available type size for exceptional emphasis."
|
|
691
693
|
}
|
|
692
694
|
],
|
|
693
|
-
"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.
|
|
695
|
+
"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.18/docs/typography.md#configuration-shape)"
|
|
694
696
|
},
|
|
695
697
|
"lineHeight": {
|
|
696
698
|
"type": "number",
|
|
697
699
|
"minimum": 1,
|
|
698
700
|
"maximum": 3,
|
|
699
701
|
"description": "Unitless line height between 1 and 3.",
|
|
700
|
-
"markdownDescription": "```yaml\ntypography:\n overrides:\n headings:\n h1:\n \n lineHeight: 1.5\n```\n\nUnitless line height between 1 and 3.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
702
|
+
"markdownDescription": "```yaml\ntypography:\n overrides:\n headings:\n h1:\n \n lineHeight: 1.5\n```\n\nUnitless line height between 1 and 3.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.18/docs/typography.md#configuration-shape)"
|
|
701
703
|
},
|
|
702
704
|
"weight": {
|
|
703
705
|
"description": "Heading font weight. Omit this to keep the profile value.",
|
|
@@ -723,23 +725,23 @@
|
|
|
723
725
|
"description": "Use bold font weight."
|
|
724
726
|
}
|
|
725
727
|
],
|
|
726
|
-
"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.
|
|
728
|
+
"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.18/docs/typography.md#configuration-shape)"
|
|
727
729
|
},
|
|
728
730
|
"spacingBefore": {
|
|
729
731
|
"description": "Vertical space before the heading.",
|
|
730
732
|
"type": "string",
|
|
731
733
|
"pattern": "^(?:0|(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|ch|lh))$",
|
|
732
|
-
"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.
|
|
734
|
+
"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.18/docs/typography.md#configuration-shape)"
|
|
733
735
|
},
|
|
734
736
|
"spacingAfter": {
|
|
735
737
|
"description": "Vertical space after the heading.",
|
|
736
738
|
"type": "string",
|
|
737
739
|
"pattern": "^(?:0|(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|ch|lh))$",
|
|
738
|
-
"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.
|
|
740
|
+
"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.18/docs/typography.md#configuration-shape)"
|
|
739
741
|
}
|
|
740
742
|
},
|
|
741
743
|
"additionalProperties": false,
|
|
742
|
-
"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.
|
|
744
|
+
"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.18/docs/typography.md#configuration-shape)"
|
|
743
745
|
},
|
|
744
746
|
"h2": {
|
|
745
747
|
"description": "Overrides for Markdown level 2 section headings.",
|
|
@@ -769,7 +771,7 @@
|
|
|
769
771
|
"description": "Align text with the right edge of its text area."
|
|
770
772
|
}
|
|
771
773
|
],
|
|
772
|
-
"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.
|
|
774
|
+
"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.18/docs/typography.md#configuration-shape)"
|
|
773
775
|
},
|
|
774
776
|
"mobile": {
|
|
775
777
|
"description": "Text alignment on narrow screens.",
|
|
@@ -791,15 +793,15 @@
|
|
|
791
793
|
"description": "Align text with the right edge of its text area."
|
|
792
794
|
}
|
|
793
795
|
],
|
|
794
|
-
"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.
|
|
796
|
+
"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.18/docs/typography.md#configuration-shape)"
|
|
795
797
|
}
|
|
796
798
|
},
|
|
797
799
|
"additionalProperties": false,
|
|
798
|
-
"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.
|
|
800
|
+
"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.18/docs/typography.md#configuration-shape)",
|
|
799
801
|
"defaultSnippets": [
|
|
800
802
|
{
|
|
801
803
|
"label": "Responsive text alignment",
|
|
802
|
-
"markdownDescription": "Set separate text alignment for wider and narrow screens.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
804
|
+
"markdownDescription": "Set separate text alignment for wider and narrow screens.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.18/docs/typography.md#configuration-shape)",
|
|
803
805
|
"body": {
|
|
804
806
|
"desktop": "${1:left}",
|
|
805
807
|
"mobile": "${2:left}"
|
|
@@ -832,14 +834,14 @@
|
|
|
832
834
|
"description": "Use the largest available type size for exceptional emphasis."
|
|
833
835
|
}
|
|
834
836
|
],
|
|
835
|
-
"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.
|
|
837
|
+
"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.18/docs/typography.md#configuration-shape)"
|
|
836
838
|
},
|
|
837
839
|
"lineHeight": {
|
|
838
840
|
"type": "number",
|
|
839
841
|
"minimum": 1,
|
|
840
842
|
"maximum": 3,
|
|
841
843
|
"description": "Unitless line height between 1 and 3.",
|
|
842
|
-
"markdownDescription": "```yaml\ntypography:\n overrides:\n headings:\n h2:\n \n lineHeight: 1.5\n```\n\nUnitless line height between 1 and 3.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
844
|
+
"markdownDescription": "```yaml\ntypography:\n overrides:\n headings:\n h2:\n \n lineHeight: 1.5\n```\n\nUnitless line height between 1 and 3.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.18/docs/typography.md#configuration-shape)"
|
|
843
845
|
},
|
|
844
846
|
"weight": {
|
|
845
847
|
"description": "Heading font weight. Omit this to keep the profile value.",
|
|
@@ -865,23 +867,23 @@
|
|
|
865
867
|
"description": "Use bold font weight."
|
|
866
868
|
}
|
|
867
869
|
],
|
|
868
|
-
"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.
|
|
870
|
+
"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.18/docs/typography.md#configuration-shape)"
|
|
869
871
|
},
|
|
870
872
|
"spacingBefore": {
|
|
871
873
|
"description": "Vertical space before the heading.",
|
|
872
874
|
"type": "string",
|
|
873
875
|
"pattern": "^(?:0|(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|ch|lh))$",
|
|
874
|
-
"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.
|
|
876
|
+
"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.18/docs/typography.md#configuration-shape)"
|
|
875
877
|
},
|
|
876
878
|
"spacingAfter": {
|
|
877
879
|
"description": "Vertical space after the heading.",
|
|
878
880
|
"type": "string",
|
|
879
881
|
"pattern": "^(?:0|(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|ch|lh))$",
|
|
880
|
-
"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.
|
|
882
|
+
"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.18/docs/typography.md#configuration-shape)"
|
|
881
883
|
}
|
|
882
884
|
},
|
|
883
885
|
"additionalProperties": false,
|
|
884
|
-
"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.
|
|
886
|
+
"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.18/docs/typography.md#configuration-shape)"
|
|
885
887
|
},
|
|
886
888
|
"h3": {
|
|
887
889
|
"description": "Overrides for Markdown level 3 headings.",
|
|
@@ -911,7 +913,7 @@
|
|
|
911
913
|
"description": "Align text with the right edge of its text area."
|
|
912
914
|
}
|
|
913
915
|
],
|
|
914
|
-
"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.
|
|
916
|
+
"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.18/docs/typography.md#configuration-shape)"
|
|
915
917
|
},
|
|
916
918
|
"mobile": {
|
|
917
919
|
"description": "Text alignment on narrow screens.",
|
|
@@ -933,15 +935,15 @@
|
|
|
933
935
|
"description": "Align text with the right edge of its text area."
|
|
934
936
|
}
|
|
935
937
|
],
|
|
936
|
-
"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.
|
|
938
|
+
"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.18/docs/typography.md#configuration-shape)"
|
|
937
939
|
}
|
|
938
940
|
},
|
|
939
941
|
"additionalProperties": false,
|
|
940
|
-
"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.
|
|
942
|
+
"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.18/docs/typography.md#configuration-shape)",
|
|
941
943
|
"defaultSnippets": [
|
|
942
944
|
{
|
|
943
945
|
"label": "Responsive text alignment",
|
|
944
|
-
"markdownDescription": "Set separate text alignment for wider and narrow screens.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
946
|
+
"markdownDescription": "Set separate text alignment for wider and narrow screens.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.18/docs/typography.md#configuration-shape)",
|
|
945
947
|
"body": {
|
|
946
948
|
"desktop": "${1:left}",
|
|
947
949
|
"mobile": "${2:left}"
|
|
@@ -974,14 +976,14 @@
|
|
|
974
976
|
"description": "Use the largest available type size for exceptional emphasis."
|
|
975
977
|
}
|
|
976
978
|
],
|
|
977
|
-
"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.
|
|
979
|
+
"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.18/docs/typography.md#configuration-shape)"
|
|
978
980
|
},
|
|
979
981
|
"lineHeight": {
|
|
980
982
|
"type": "number",
|
|
981
983
|
"minimum": 1,
|
|
982
984
|
"maximum": 3,
|
|
983
985
|
"description": "Unitless line height between 1 and 3.",
|
|
984
|
-
"markdownDescription": "```yaml\ntypography:\n overrides:\n headings:\n h3:\n \n lineHeight: 1.5\n```\n\nUnitless line height between 1 and 3.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
986
|
+
"markdownDescription": "```yaml\ntypography:\n overrides:\n headings:\n h3:\n \n lineHeight: 1.5\n```\n\nUnitless line height between 1 and 3.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.18/docs/typography.md#configuration-shape)"
|
|
985
987
|
},
|
|
986
988
|
"weight": {
|
|
987
989
|
"description": "Heading font weight. Omit this to keep the profile value.",
|
|
@@ -1007,23 +1009,23 @@
|
|
|
1007
1009
|
"description": "Use bold font weight."
|
|
1008
1010
|
}
|
|
1009
1011
|
],
|
|
1010
|
-
"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.
|
|
1012
|
+
"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.18/docs/typography.md#configuration-shape)"
|
|
1011
1013
|
},
|
|
1012
1014
|
"spacingBefore": {
|
|
1013
1015
|
"description": "Vertical space before the heading.",
|
|
1014
1016
|
"type": "string",
|
|
1015
1017
|
"pattern": "^(?:0|(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|ch|lh))$",
|
|
1016
|
-
"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.
|
|
1018
|
+
"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.18/docs/typography.md#configuration-shape)"
|
|
1017
1019
|
},
|
|
1018
1020
|
"spacingAfter": {
|
|
1019
1021
|
"description": "Vertical space after the heading.",
|
|
1020
1022
|
"type": "string",
|
|
1021
1023
|
"pattern": "^(?:0|(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|ch|lh))$",
|
|
1022
|
-
"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.
|
|
1024
|
+
"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.18/docs/typography.md#configuration-shape)"
|
|
1023
1025
|
}
|
|
1024
1026
|
},
|
|
1025
1027
|
"additionalProperties": false,
|
|
1026
|
-
"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.
|
|
1028
|
+
"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.18/docs/typography.md#configuration-shape)"
|
|
1027
1029
|
},
|
|
1028
1030
|
"h4": {
|
|
1029
1031
|
"description": "Overrides for Markdown level 4 headings.",
|
|
@@ -1053,7 +1055,7 @@
|
|
|
1053
1055
|
"description": "Align text with the right edge of its text area."
|
|
1054
1056
|
}
|
|
1055
1057
|
],
|
|
1056
|
-
"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.
|
|
1058
|
+
"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.18/docs/typography.md#configuration-shape)"
|
|
1057
1059
|
},
|
|
1058
1060
|
"mobile": {
|
|
1059
1061
|
"description": "Text alignment on narrow screens.",
|
|
@@ -1075,15 +1077,15 @@
|
|
|
1075
1077
|
"description": "Align text with the right edge of its text area."
|
|
1076
1078
|
}
|
|
1077
1079
|
],
|
|
1078
|
-
"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.
|
|
1080
|
+
"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.18/docs/typography.md#configuration-shape)"
|
|
1079
1081
|
}
|
|
1080
1082
|
},
|
|
1081
1083
|
"additionalProperties": false,
|
|
1082
|
-
"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.
|
|
1084
|
+
"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.18/docs/typography.md#configuration-shape)",
|
|
1083
1085
|
"defaultSnippets": [
|
|
1084
1086
|
{
|
|
1085
1087
|
"label": "Responsive text alignment",
|
|
1086
|
-
"markdownDescription": "Set separate text alignment for wider and narrow screens.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
1088
|
+
"markdownDescription": "Set separate text alignment for wider and narrow screens.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.18/docs/typography.md#configuration-shape)",
|
|
1087
1089
|
"body": {
|
|
1088
1090
|
"desktop": "${1:left}",
|
|
1089
1091
|
"mobile": "${2:left}"
|
|
@@ -1116,14 +1118,14 @@
|
|
|
1116
1118
|
"description": "Use the largest available type size for exceptional emphasis."
|
|
1117
1119
|
}
|
|
1118
1120
|
],
|
|
1119
|
-
"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.
|
|
1121
|
+
"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.18/docs/typography.md#configuration-shape)"
|
|
1120
1122
|
},
|
|
1121
1123
|
"lineHeight": {
|
|
1122
1124
|
"type": "number",
|
|
1123
1125
|
"minimum": 1,
|
|
1124
1126
|
"maximum": 3,
|
|
1125
1127
|
"description": "Unitless line height between 1 and 3.",
|
|
1126
|
-
"markdownDescription": "```yaml\ntypography:\n overrides:\n headings:\n h4:\n \n lineHeight: 1.5\n```\n\nUnitless line height between 1 and 3.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
1128
|
+
"markdownDescription": "```yaml\ntypography:\n overrides:\n headings:\n h4:\n \n lineHeight: 1.5\n```\n\nUnitless line height between 1 and 3.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.18/docs/typography.md#configuration-shape)"
|
|
1127
1129
|
},
|
|
1128
1130
|
"weight": {
|
|
1129
1131
|
"description": "Heading font weight. Omit this to keep the profile value.",
|
|
@@ -1149,27 +1151,27 @@
|
|
|
1149
1151
|
"description": "Use bold font weight."
|
|
1150
1152
|
}
|
|
1151
1153
|
],
|
|
1152
|
-
"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.
|
|
1154
|
+
"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.18/docs/typography.md#configuration-shape)"
|
|
1153
1155
|
},
|
|
1154
1156
|
"spacingBefore": {
|
|
1155
1157
|
"description": "Vertical space before the heading.",
|
|
1156
1158
|
"type": "string",
|
|
1157
1159
|
"pattern": "^(?:0|(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|ch|lh))$",
|
|
1158
|
-
"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.
|
|
1160
|
+
"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.18/docs/typography.md#configuration-shape)"
|
|
1159
1161
|
},
|
|
1160
1162
|
"spacingAfter": {
|
|
1161
1163
|
"description": "Vertical space after the heading.",
|
|
1162
1164
|
"type": "string",
|
|
1163
1165
|
"pattern": "^(?:0|(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|ch|lh))$",
|
|
1164
|
-
"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.
|
|
1166
|
+
"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.18/docs/typography.md#configuration-shape)"
|
|
1165
1167
|
}
|
|
1166
1168
|
},
|
|
1167
1169
|
"additionalProperties": false,
|
|
1168
|
-
"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.
|
|
1170
|
+
"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.18/docs/typography.md#configuration-shape)"
|
|
1169
1171
|
}
|
|
1170
1172
|
},
|
|
1171
1173
|
"additionalProperties": false,
|
|
1172
|
-
"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.
|
|
1174
|
+
"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.18/docs/typography.md#configuration-shape)"
|
|
1173
1175
|
},
|
|
1174
1176
|
"body": {
|
|
1175
1177
|
"description": "Overrides for body text.",
|
|
@@ -1199,7 +1201,7 @@
|
|
|
1199
1201
|
"description": "Align text with the right edge of its text area."
|
|
1200
1202
|
}
|
|
1201
1203
|
],
|
|
1202
|
-
"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.
|
|
1204
|
+
"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.18/docs/typography.md#configuration-shape)"
|
|
1203
1205
|
},
|
|
1204
1206
|
"mobile": {
|
|
1205
1207
|
"description": "Text alignment on narrow screens.",
|
|
@@ -1221,15 +1223,15 @@
|
|
|
1221
1223
|
"description": "Align text with the right edge of its text area."
|
|
1222
1224
|
}
|
|
1223
1225
|
],
|
|
1224
|
-
"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.
|
|
1226
|
+
"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.18/docs/typography.md#configuration-shape)"
|
|
1225
1227
|
}
|
|
1226
1228
|
},
|
|
1227
1229
|
"additionalProperties": false,
|
|
1228
|
-
"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.
|
|
1230
|
+
"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.18/docs/typography.md#configuration-shape)",
|
|
1229
1231
|
"defaultSnippets": [
|
|
1230
1232
|
{
|
|
1231
1233
|
"label": "Responsive text alignment",
|
|
1232
|
-
"markdownDescription": "Set separate text alignment for wider and narrow screens.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
1234
|
+
"markdownDescription": "Set separate text alignment for wider and narrow screens.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.18/docs/typography.md#configuration-shape)",
|
|
1233
1235
|
"body": {
|
|
1234
1236
|
"desktop": "${1:left}",
|
|
1235
1237
|
"mobile": "${2:left}"
|
|
@@ -1262,46 +1264,24 @@
|
|
|
1262
1264
|
"description": "Use the largest available type size for exceptional emphasis."
|
|
1263
1265
|
}
|
|
1264
1266
|
],
|
|
1265
|
-
"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.
|
|
1267
|
+
"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.18/docs/typography.md#configuration-shape)"
|
|
1266
1268
|
},
|
|
1267
1269
|
"lineHeight": {
|
|
1268
1270
|
"type": "number",
|
|
1269
1271
|
"minimum": 1,
|
|
1270
1272
|
"maximum": 3,
|
|
1271
1273
|
"description": "Unitless line height between 1 and 3.",
|
|
1272
|
-
"markdownDescription": "```yaml\ntypography:\n overrides:\n body:\n lineHeight: 1.5\n```\n\nUnitless line height between 1 and 3.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
1273
|
-
},
|
|
1274
|
-
"width": {
|
|
1275
|
-
"description": "Maximum body-text line length.",
|
|
1276
|
-
"type": "string",
|
|
1277
|
-
"oneOf": [
|
|
1278
|
-
{
|
|
1279
|
-
"const": "narrow",
|
|
1280
|
-
"title": "Narrow",
|
|
1281
|
-
"description": "Use a shorter line length suited to reading-focused text."
|
|
1282
|
-
},
|
|
1283
|
-
{
|
|
1284
|
-
"const": "normal",
|
|
1285
|
-
"title": "Normal",
|
|
1286
|
-
"description": "Use the balanced default line length."
|
|
1287
|
-
},
|
|
1288
|
-
{
|
|
1289
|
-
"const": "wide",
|
|
1290
|
-
"title": "Wide",
|
|
1291
|
-
"description": "Allow body text to use more horizontal space."
|
|
1292
|
-
}
|
|
1293
|
-
],
|
|
1294
|
-
"markdownDescription": "```yaml\ntypography:\n overrides:\n body:\n width: narrow\n```\n\nMaximum body-text line length.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.17/docs/typography.md#configuration-shape)"
|
|
1274
|
+
"markdownDescription": "```yaml\ntypography:\n overrides:\n body:\n lineHeight: 1.5\n```\n\nUnitless line height between 1 and 3.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.18/docs/typography.md#configuration-shape)"
|
|
1295
1275
|
},
|
|
1296
1276
|
"paragraphSpacing": {
|
|
1297
1277
|
"description": "Vertical space between body paragraphs.",
|
|
1298
1278
|
"type": "string",
|
|
1299
1279
|
"pattern": "^(?:0|(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|ch|lh))$",
|
|
1300
|
-
"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.
|
|
1280
|
+
"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.18/docs/typography.md#configuration-shape)"
|
|
1301
1281
|
}
|
|
1302
1282
|
},
|
|
1303
1283
|
"additionalProperties": false,
|
|
1304
|
-
"markdownDescription": "```yaml\ntypography:\n overrides:\n body:\n
|
|
1284
|
+
"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.18/docs/typography.md#configuration-shape)"
|
|
1305
1285
|
},
|
|
1306
1286
|
"caption": {
|
|
1307
1287
|
"description": "Overrides for image captions.",
|
|
@@ -1331,7 +1311,7 @@
|
|
|
1331
1311
|
"description": "Align text with the right edge of its text area."
|
|
1332
1312
|
}
|
|
1333
1313
|
],
|
|
1334
|
-
"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.
|
|
1314
|
+
"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.18/docs/typography.md#configuration-shape)"
|
|
1335
1315
|
},
|
|
1336
1316
|
"mobile": {
|
|
1337
1317
|
"description": "Text alignment on narrow screens.",
|
|
@@ -1353,15 +1333,15 @@
|
|
|
1353
1333
|
"description": "Align text with the right edge of its text area."
|
|
1354
1334
|
}
|
|
1355
1335
|
],
|
|
1356
|
-
"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.
|
|
1336
|
+
"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.18/docs/typography.md#configuration-shape)"
|
|
1357
1337
|
}
|
|
1358
1338
|
},
|
|
1359
1339
|
"additionalProperties": false,
|
|
1360
|
-
"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.
|
|
1340
|
+
"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.18/docs/typography.md#configuration-shape)",
|
|
1361
1341
|
"defaultSnippets": [
|
|
1362
1342
|
{
|
|
1363
1343
|
"label": "Responsive text alignment",
|
|
1364
|
-
"markdownDescription": "Set separate text alignment for wider and narrow screens.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
1344
|
+
"markdownDescription": "Set separate text alignment for wider and narrow screens.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.18/docs/typography.md#configuration-shape)",
|
|
1365
1345
|
"body": {
|
|
1366
1346
|
"desktop": "${1:left}",
|
|
1367
1347
|
"mobile": "${2:left}"
|
|
@@ -1394,32 +1374,32 @@
|
|
|
1394
1374
|
"description": "Use the largest available type size for exceptional emphasis."
|
|
1395
1375
|
}
|
|
1396
1376
|
],
|
|
1397
|
-
"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.
|
|
1377
|
+
"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.18/docs/typography.md#configuration-shape)"
|
|
1398
1378
|
},
|
|
1399
1379
|
"lineHeight": {
|
|
1400
1380
|
"type": "number",
|
|
1401
1381
|
"minimum": 1,
|
|
1402
1382
|
"maximum": 3,
|
|
1403
1383
|
"description": "Unitless line height between 1 and 3.",
|
|
1404
|
-
"markdownDescription": "```yaml\ntypography:\n overrides:\n caption:\n lineHeight: 1.5\n```\n\nUnitless line height between 1 and 3.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
1384
|
+
"markdownDescription": "```yaml\ntypography:\n overrides:\n caption:\n lineHeight: 1.5\n```\n\nUnitless line height between 1 and 3.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.18/docs/typography.md#configuration-shape)"
|
|
1405
1385
|
},
|
|
1406
1386
|
"spacingBefore": {
|
|
1407
1387
|
"description": "Vertical space between an image and its caption.",
|
|
1408
1388
|
"type": "string",
|
|
1409
1389
|
"pattern": "^(?:0|(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:px|rem|em|ch|lh))$",
|
|
1410
|
-
"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.
|
|
1390
|
+
"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.18/docs/typography.md#configuration-shape)"
|
|
1411
1391
|
}
|
|
1412
1392
|
},
|
|
1413
1393
|
"additionalProperties": false,
|
|
1414
|
-
"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.
|
|
1394
|
+
"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.18/docs/typography.md#configuration-shape)"
|
|
1415
1395
|
}
|
|
1416
1396
|
},
|
|
1417
1397
|
"additionalProperties": false,
|
|
1418
|
-
"markdownDescription": "```yaml\ntypography:\n overrides:\n body:\n
|
|
1398
|
+
"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.18/docs/typography.md#configuration-shape)",
|
|
1419
1399
|
"defaultSnippets": [
|
|
1420
1400
|
{
|
|
1421
1401
|
"label": "Typography overrides",
|
|
1422
|
-
"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.
|
|
1402
|
+
"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.18/docs/typography.md#configuration-shape)",
|
|
1423
1403
|
"body": {
|
|
1424
1404
|
"headings": {
|
|
1425
1405
|
"h2": {
|
|
@@ -1428,8 +1408,7 @@
|
|
|
1428
1408
|
}
|
|
1429
1409
|
},
|
|
1430
1410
|
"body": {
|
|
1431
|
-
"
|
|
1432
|
-
"lineHeight": "${4:1.55}"
|
|
1411
|
+
"lineHeight": "${3:1.55}"
|
|
1433
1412
|
}
|
|
1434
1413
|
}
|
|
1435
1414
|
}
|
|
@@ -1438,7 +1417,7 @@
|
|
|
1438
1417
|
},
|
|
1439
1418
|
"additionalProperties": false,
|
|
1440
1419
|
"description": "Typography profile, rhythm, font family, and focused overrides.",
|
|
1441
|
-
"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.
|
|
1420
|
+
"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.18/docs/typography.md#configuration-shape)"
|
|
1442
1421
|
},
|
|
1443
1422
|
"palette": {
|
|
1444
1423
|
"type": "string",
|
|
@@ -1460,59 +1439,52 @@
|
|
|
1460
1439
|
"description": "Warm off-white surfaces with dark text."
|
|
1461
1440
|
}
|
|
1462
1441
|
],
|
|
1463
|
-
"markdownDescription": "```yaml\npalette: paper\n```\n\nChooses a coordinated color system for the page frame, navigation, footer and section surfaces.\n\n[Palette and section surfaces](https://github.com/janga/norna/blob/v0.7.
|
|
1442
|
+
"markdownDescription": "```yaml\npalette: paper\n```\n\nChooses a coordinated color system for the page frame, navigation, footer and section surfaces.\n\n[Palette and section surfaces](https://github.com/janga/norna/blob/v0.7.18/docs/theme.md#palette-and-section-surfaces)",
|
|
1464
1443
|
"examples": [
|
|
1465
1444
|
"dark",
|
|
1466
1445
|
"light",
|
|
1467
1446
|
"paper"
|
|
1468
1447
|
]
|
|
1469
1448
|
},
|
|
1470
|
-
"
|
|
1471
|
-
"
|
|
1472
|
-
"
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1449
|
+
"sections": {
|
|
1450
|
+
"type": "object",
|
|
1451
|
+
"properties": {
|
|
1452
|
+
"backgroundPattern": {
|
|
1453
|
+
"description": "Section background sequence. Omit this to keep the selected preset or inherited page setting.",
|
|
1454
|
+
"type": "string",
|
|
1455
|
+
"oneOf": [
|
|
1456
|
+
{
|
|
1457
|
+
"const": "uniform",
|
|
1458
|
+
"title": "Uniform",
|
|
1459
|
+
"description": "Use the palette base surface for every section."
|
|
1460
|
+
},
|
|
1461
|
+
{
|
|
1462
|
+
"const": "alternating",
|
|
1463
|
+
"title": "Alternating",
|
|
1464
|
+
"description": "Alternate between the palette base and soft surfaces."
|
|
1465
|
+
},
|
|
1466
|
+
{
|
|
1467
|
+
"const": "cycling",
|
|
1468
|
+
"title": "Cycling",
|
|
1469
|
+
"description": "Cycle through the palette base, soft and emphasis surfaces."
|
|
1470
|
+
}
|
|
1471
|
+
],
|
|
1472
|
+
"markdownDescription": "```yaml\nsections:\n backgroundPattern: alternating\n```\n\nSection background sequence. 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.18/docs/theme.md#palette-and-section-surfaces)",
|
|
1473
|
+
"examples": [
|
|
1474
|
+
"uniform",
|
|
1475
|
+
"alternating",
|
|
1476
|
+
"cycling"
|
|
1477
|
+
]
|
|
1478
|
+
}
|
|
1495
1479
|
},
|
|
1496
|
-
"
|
|
1497
|
-
"
|
|
1498
|
-
|
|
1499
|
-
"base"
|
|
1500
|
-
],
|
|
1501
|
-
[
|
|
1502
|
-
"base",
|
|
1503
|
-
"soft"
|
|
1504
|
-
],
|
|
1505
|
-
[
|
|
1506
|
-
"base",
|
|
1507
|
-
"soft",
|
|
1508
|
-
"emphasis"
|
|
1509
|
-
]
|
|
1510
|
-
]
|
|
1480
|
+
"additionalProperties": false,
|
|
1481
|
+
"description": "Defaults for page section presentation.",
|
|
1482
|
+
"markdownDescription": "```yaml\nsections:\n backgroundPattern: alternating\n```\n\nChooses whether section backgrounds stay uniform, alternate between two surfaces or cycle through three.\n\n[Palette and section surfaces](https://github.com/janga/norna/blob/v0.7.18/docs/theme.md#palette-and-section-surfaces)"
|
|
1511
1483
|
}
|
|
1512
1484
|
},
|
|
1513
1485
|
"additionalProperties": false,
|
|
1514
|
-
"description": "
|
|
1486
|
+
"description": "Site-wide visual identity and default page presentation. Presets may be selected only in the root theme.",
|
|
1515
1487
|
"$id": "https://janga.github.io/norna/schemas/theme.schema.json",
|
|
1516
1488
|
"title": "Norna visual theme",
|
|
1517
|
-
"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.
|
|
1489
|
+
"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.18/docs/theme.md)"
|
|
1518
1490
|
}
|