Muted caption · secondary hierarchy · auto-contrasting.
Display type
+Display L
+Display M
+Display S
+Type scale
+--sf-text-{s}
+ Surfaces
@@ -239,6 +261,34 @@ font-size: var(--sf-text-s, 0.85rem); color: var(--sf-color-text--muted, inherit); } + + /* Display type + type scale */ + .pv__display { + margin: 0; + font-family: var(--sf-font-display, var(--sf-font-heading, inherit)); + font-weight: var(--sf-font-weight-display, 800); + color: var(--sf-color-heading, inherit); + line-height: 1.05; + overflow-wrap: anywhere; + max-width: 100%; + } + .pv__display--l { font-size: var(--sf-text-display-l, 3rem); line-height: var(--sf-display-l-line-height, 1.05); } + .pv__display--m { font-size: var(--sf-text-display-m, 2.4rem); line-height: var(--sf-display-m-line-height, 1.1); } + .pv__display--s { font-size: var(--sf-text-display-s, 1.9rem); line-height: var(--sf-display-s-line-height, 1.15); } + + .pv__scale { display: flex; flex-direction: column; gap: 6px; } + .pv__scale-row { display: flex; align-items: baseline; gap: 10px; } + .pv__scale-sample { + font-family: var(--sf-font-heading, inherit); + color: var(--sf-color-text, inherit); + line-height: 1.1; + min-width: 2.2em; + } + .pv__scale-row code { + font-family: var(--sf-font-mono, monospace); + font-size: 11px; + color: var(--sf-color-text--muted, inherit); + } .pv__a { color: var(--sf-color-link, #4f8cff); } diff --git a/configurator/src/components/WcagPanel.svelte b/configurator/src/components/WcagPanel.svelte index d0f92c94..966eb201 100644 --- a/configurator/src/components/WcagPanel.svelte +++ b/configurator/src/components/WcagPanel.svelte @@ -218,7 +218,14 @@ {/each} -diff --git a/configurator/src/data/api-index.generated.json b/configurator/src/data/api-index.generated.json index 12eda948..a3da51e5 100644 --- a/configurator/src/data/api-index.generated.json +++ b/configurator/src/data/api-index.generated.json @@ -2,7 +2,7 @@ "_sync": { "generatedBy": "configurator/scripts/sync-api.mjs", "source": "docs/api-index.json", - "frameworkVersion": "0.5.28", + "frameworkVersion": "0.5.29", "tokensHash": "e3312bd5fde6", "bundles": [ "essential",