@scattered-light/loomiere-mojave 0.8.0 → 0.10.0
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/dist/exports/AGENTS.md +3 -3
- package/dist/exports/catalog.json +6 -0
- package/dist/exports/design-system/README.md +3 -3
- package/dist/exports/design-system/components/AppBar/README.md +58 -0
- package/dist/exports/design-system/components/AppBar/preview.html +19 -0
- package/dist/exports/design-system/components/PickerButton/README.md +56 -0
- package/dist/exports/design-system/components/PickerButton/preview.html +19 -0
- package/dist/exports/design-system/components/SideNav/README.md +73 -0
- package/dist/exports/design-system/components/SideNav/preview.html +19 -0
- package/dist/exports/design-system/components/ToggleGroup/README.md +2 -2
- package/dist/exports/design-system/components/ToggleGroup/preview.html +1 -1
- package/dist/exports/design-system/components/bundle.css +604 -163
- package/dist/exports/design-system/components/bundle.js +7 -7
- package/dist/exports/design-system/components/index.d.ts +1 -1
- package/dist/exports/figma.json +1 -1
- package/dist/exports/tailwind.css +63 -0
- package/dist/exports/tokens.dtcg.json +169 -0
- package/dist/tokens.css +204 -106
- package/dist/tokens.d.ts +43 -0
- package/dist/tokens.js +43 -0
- package/dist/tokens.json +322 -1
- package/package.json +2 -2
package/dist/tokens.css
CHANGED
|
@@ -792,6 +792,7 @@
|
|
|
792
792
|
--sl-list-detail-detail-max-size: 65%; /** The detail cannot cover more than this, so the list stays usable. Dryden kept the detail between 35% and 65%. */
|
|
793
793
|
--sl-navigation-menu-popup-min-width: 400px; /** Narrowest a navigation panel gets on wider screens, and the widest a single column of links grows. */
|
|
794
794
|
--sl-navigation-menu-column-width: 12rem; /** Width of each column in a two-column link list. */
|
|
795
|
+
--sl-picker-button-max-width: 18rem; /** Widest the button grows. A longer choice is cut with an ellipsis; the label never is. */
|
|
795
796
|
--sl-preview-card-popup-min-width: 300px; /** Narrowest a preview card gets, so a short title still has room for its image. */
|
|
796
797
|
--sl-preview-card-popup-max-width: 450px; /** Widest a preview card gets, so its description keeps a comfortable line length. */
|
|
797
798
|
--sl-slider-vertical-height: 200px; /** Default length of a vertical slider. */
|
|
@@ -1678,111 +1679,6 @@
|
|
|
1678
1679
|
--sl-font-link-minimize-font-weight: var(--sl-font-weight-normal); /** font-weight of font.link-minimize. */
|
|
1679
1680
|
--sl-font-link-minimize-line-height: var(--sl-line-height-xs); /** line-height of font.link-minimize. */
|
|
1680
1681
|
--sl-font-link-minimize-letter-spacing: var(--sl-letter-spacing-normal); /** letter-spacing of font.link-minimize. */
|
|
1681
|
-
--sl-a11y-focus-ring-radius: var(--sl-radius-focus); /** Rounds the focus ring to match the small control radius. */
|
|
1682
|
-
--sl-bar-radius: var(--sl-radius-surface); /** Strip corners. Controls inside a toggle group take radius.item, so the inner corners follow the outer ones. */
|
|
1683
|
-
--sl-calendar-day-radius: var(--sl-radius-pill); /** Selected days are circles. The pill radius is the same full radius badges and switches use. */
|
|
1684
|
-
--sl-check-border-width: var(--sl-stroke-default); /** Edge thickness. */
|
|
1685
|
-
--sl-check-radius: var(--sl-radius-box); /** Checkbox corners. Radios are always round. */
|
|
1686
|
-
--sl-check-transition: var(--sl-transition-input); /** Changes at the same speed as a field. */
|
|
1687
|
-
--sl-status-error: var(--sl-scope-error-signal); /** Errors and destructive actions. */
|
|
1688
|
-
--sl-status-error-dark: var(--sl-scope-error-fg); /** Error color for text or icons that need more contrast than the base color. */
|
|
1689
|
-
--sl-status-error-light: var(--sl-scope-error-soft); /** Error tint for backgrounds behind error messages. */
|
|
1690
|
-
--sl-status-info: var(--sl-scope-info-signal); /** Neutral notices and help. */
|
|
1691
|
-
--sl-status-info-dark: var(--sl-scope-info-fg); /** Info color for text or icons that need more contrast. */
|
|
1692
|
-
--sl-status-info-light: var(--sl-scope-info-soft); /** Info tint for notice backgrounds. */
|
|
1693
|
-
--sl-status-success: var(--sl-scope-success-signal); /** Confirmations and completed states. */
|
|
1694
|
-
--sl-status-success-dark: var(--sl-scope-success-fg); /** Success color for text or icons that need more contrast. */
|
|
1695
|
-
--sl-status-success-light: var(--sl-scope-success-soft); /** Success tint for confirmation backgrounds. */
|
|
1696
|
-
--sl-status-warning: var(--sl-scope-warning-signal); /** Warnings, and the required-field marker. */
|
|
1697
|
-
--sl-status-warning-dark: var(--sl-scope-warning-fg); /** Warning color for text or icons that need more contrast. */
|
|
1698
|
-
--sl-status-warning-light: var(--sl-scope-warning-soft); /** Warning tint for caution backgrounds. */
|
|
1699
|
-
--sl-text-primary: var(--sl-scope-chrome-fg); /** Body text and headings. The highest-contrast neutral. */
|
|
1700
|
-
--sl-content-pre-radius: var(--sl-radius-surface); /** Code block corners, like any panel, so a brand that squares its surfaces squares code blocks too. */
|
|
1701
|
-
--sl-disclosure-indicator-width: var(--sl-stroke-emphasis); /** Selected tab line thickness. */
|
|
1702
|
-
--sl-field-border-width: var(--sl-stroke-default); /** Field edge thickness. */
|
|
1703
|
-
--sl-field-radius: var(--sl-radius-control); /** Field corners, the same as every other control. */
|
|
1704
|
-
--sl-field-transition: var(--sl-transition-input); /** Border and halo ease in, never snap. */
|
|
1705
|
-
--sl-gauge-radius: var(--sl-radius-pill); /** Round ends on the track and the fill. */
|
|
1706
|
-
--sl-icon-button-radius: var(--sl-radius-item); /** Rounded like a menu item, since its hover fill reads as a highlighted item. */
|
|
1707
|
-
--sl-icon-button-transition: var(--sl-transition-button); /** Responds as fast as a button. */
|
|
1708
|
-
--sl-item-radius: var(--sl-radius-item); /** Row corners inside the popup. */
|
|
1709
|
-
--sl-modal-border-width: var(--sl-stroke-default); /** Modal edge thickness. */
|
|
1710
|
-
--sl-modal-radius: var(--sl-radius-modal); /** The largest radius, so a modal reads as its own layer. A drawer rounds only the edge facing the page. */
|
|
1711
|
-
--sl-modal-shadow: var(--sl-elevation-xl); /** The deepest shadow, because a modal sits above everything but popups and toasts. */
|
|
1712
|
-
--sl-modal-backdrop: color-mix(in srgb, var(--sl-overlay-base) 50%, transparent); /** Scrim that dims the page behind a modal. */
|
|
1713
|
-
--sl-popup-border-width: var(--sl-stroke-default); /** Popup edge thickness. */
|
|
1714
|
-
--sl-popup-radius: var(--sl-radius-surface); /** Corners of a free-floating popup. */
|
|
1715
|
-
--sl-popup-radius-field: var(--sl-radius-control); /** Corners of a list that drops from a field, matching the field so the two read as one control. */
|
|
1716
|
-
--sl-popup-shadow: var(--sl-elevation-lg); /** Lifts the popup above the page. */
|
|
1717
|
-
--sl-popup-empty-padding-block: var(--sl-empty-padding-block-compact); /** Room around a plain 'No results' line. The same padding as a compact empty state, so a sentence and an EmptyState in that slot take the same space. An EmptyState drops this padding and uses its own. */
|
|
1718
|
-
--sl-table-row-height: var(--sl-control-height-sm); /** Row height: the small control height, so a checkbox, input or button in a cell fits without growing the row. */
|
|
1719
|
-
--sl-table-header-height: var(--sl-control-height-md); /** Header row height: the regular control height, a little taller than rows so the header reads as its own band. */
|
|
1720
|
-
--sl-table-cell-padding-inline: var(--sl-control-padding-inline-sm); /** Space either side of cell text, matching small controls. */
|
|
1721
|
-
--sl-table-radius: var(--sl-radius-surface); /** Grid corners, like any card or panel. */
|
|
1722
|
-
--sl-table-subtotal-rule-width: var(--sl-stroke-default); /** The single line above a subtotal row (tr data-total="subtotal"), the line an accountant draws before adding a column. */
|
|
1723
|
-
--sl-font-body-base-font: var(--sl-font-body-base-font-weight) var(--sl-font-body-base-font-size) / var(--sl-font-body-base-line-height) var(--sl-font-body-base-font-family); /** Body copy in the base tier, the default UI and body text. As a font shorthand; letter-spacing, text-transform and font-variant-numeric are separate. */
|
|
1724
|
-
--sl-font-selected-base-font: var(--sl-font-selected-base-font-weight) var(--sl-font-selected-base-font-size) / var(--sl-font-selected-base-line-height) var(--sl-font-selected-base-font-family); /** The selected or current item in the base tier (the default UI and body text): selected tabs and toggles, the current nav item or page. Base body text at semibold, so selection reads without changing size. As a font shorthand; letter-spacing, text-transform and font-variant-numeric are separate. */
|
|
1725
|
-
--sl-font-label-base-font: var(--sl-font-label-base-font-weight) var(--sl-font-label-base-font-size) / var(--sl-font-label-base-line-height) var(--sl-font-label-base-font-family); /** Form labels in the base tier, the default UI and body text. As a font shorthand; letter-spacing, text-transform and font-variant-numeric are separate. */
|
|
1726
|
-
--sl-font-link-base-font: var(--sl-font-link-base-font-weight) var(--sl-font-link-base-font-size) / var(--sl-font-link-base-line-height) var(--sl-font-link-base-font-family); /** Links in the base tier. The same type as base body text: a link stands out by color and underline, not by its type. As a font shorthand; letter-spacing, text-transform and font-variant-numeric are separate. */
|
|
1727
|
-
--sl-font-subtitle-base-font: var(--sl-font-subtitle-base-font-weight) var(--sl-font-subtitle-base-font-size) / var(--sl-font-subtitle-base-line-height) var(--sl-font-subtitle-base-font-family); /** Subtitles in the base tier, the default UI and body text. As a font shorthand; letter-spacing, text-transform and font-variant-numeric are separate. */
|
|
1728
|
-
--sl-font-trigger-base-font: var(--sl-font-trigger-base-font-weight) var(--sl-font-trigger-base-font-size) / var(--sl-font-trigger-base-line-height) var(--sl-font-trigger-base-font-family); /** Buttons and triggers in the base tier, the default UI and body text. As a font shorthand; letter-spacing, text-transform and font-variant-numeric are separate. */
|
|
1729
|
-
--sl-font-title-base-font: var(--sl-font-title-base-font-weight) var(--sl-font-title-base-font-size) / var(--sl-font-title-base-line-height) var(--sl-font-title-base-font-family); /** Titles in the base tier: a toast, an accordion row, a list item heading. Titles use the display family; the tier sets the size. As a font shorthand; letter-spacing, text-transform and font-variant-numeric are separate. */
|
|
1730
|
-
--sl-font-figures-base-font: var(--sl-font-figures-base-font-weight) var(--sl-font-figures-base-font-size) / var(--sl-font-figures-base-line-height) var(--sl-font-figures-base-font-family); /** Figures in the base tier: an amount beside base text, a balance in a card. The mono family with tabular numbers, so digits line up. As a font shorthand; letter-spacing, text-transform and font-variant-numeric are separate. */
|
|
1731
|
-
--sl-font-code-condense-font: var(--sl-font-code-condense-font-weight) var(--sl-font-code-condense-font-size) / var(--sl-font-code-condense-line-height) var(--sl-font-code-condense-font-family); /** Code uses the mono family so characters line up. As a font shorthand; letter-spacing, text-transform and font-variant-numeric are separate. */
|
|
1732
|
-
--sl-font-figures-condense-font: var(--sl-font-figures-condense-font-weight) var(--sl-font-figures-condense-font-size) / var(--sl-font-figures-condense-line-height) var(--sl-font-figures-condense-font-family); /** Figures in the condense tier: amounts and counts in tables and dense rows. The mono family with tabular numbers, so digits line up down a column. As a font shorthand; letter-spacing, text-transform and font-variant-numeric are separate. */
|
|
1733
|
-
--sl-font-body-condense-font: var(--sl-font-body-condense-font-weight) var(--sl-font-body-condense-font-size) / var(--sl-font-body-condense-line-height) var(--sl-font-body-condense-font-family); /** Body copy in the condense tier, dense UI text (tables, secondary labels). As a font shorthand; letter-spacing, text-transform and font-variant-numeric are separate. */
|
|
1734
|
-
--sl-font-trigger-condense-font: var(--sl-font-trigger-condense-font-weight) var(--sl-font-trigger-condense-font-size) / var(--sl-font-trigger-condense-line-height) var(--sl-font-trigger-condense-font-family); /** Buttons and triggers in the condense tier (dense UI): condense body text at medium, like base-trigger one tier down. As a font shorthand; letter-spacing, text-transform and font-variant-numeric are separate. */
|
|
1735
|
-
--sl-font-selected-condense-font: var(--sl-font-selected-condense-font-weight) var(--sl-font-selected-condense-font-size) / var(--sl-font-selected-condense-line-height) var(--sl-font-selected-condense-font-family); /** The selected or current item in the condense tier (dense UI text): selected tabs and toggles, the current nav item or page. Condense body text at semibold, so selection reads without changing size. As a font shorthand; letter-spacing, text-transform and font-variant-numeric are separate. */
|
|
1736
|
-
--sl-font-link-condense-font: var(--sl-font-link-condense-font-weight) var(--sl-font-link-condense-font-size) / var(--sl-font-link-condense-line-height) var(--sl-font-link-condense-font-family); /** Links in the condense tier. The same type as condense body text: a link stands out by color and underline, not by its type. As a font shorthand; letter-spacing, text-transform and font-variant-numeric are separate. */
|
|
1737
|
-
--sl-font-subtitle-condense-font: var(--sl-font-subtitle-condense-font-weight) var(--sl-font-subtitle-condense-font-size) / var(--sl-font-subtitle-condense-line-height) var(--sl-font-subtitle-condense-font-family); /** Subtitles in the condense tier, dense UI text (tables, secondary labels). As a font shorthand; letter-spacing, text-transform and font-variant-numeric are separate. */
|
|
1738
|
-
--sl-font-eyebrow-condense-font: var(--sl-font-eyebrow-condense-font-weight) var(--sl-font-eyebrow-condense-font-size) / var(--sl-font-eyebrow-condense-line-height) var(--sl-font-eyebrow-condense-font-family); /** Small uppercase eyebrow labels in the condense tier, dense UI text (tables, secondary labels). As a font shorthand; letter-spacing, text-transform and font-variant-numeric are separate. */
|
|
1739
|
-
--sl-font-caps-condense-font: var(--sl-font-caps-condense-font-weight) var(--sl-font-caps-condense-font-size) / var(--sl-font-caps-condense-line-height) var(--sl-font-caps-condense-font-family); /** Caps labels in the condense tier: a working-paper caption, a column head over figures, a sheet's tab label. Uppercase and tracked a little wider than an eyebrow, so it reads as a label and not a heading. As a font shorthand; letter-spacing, text-transform and font-variant-numeric are separate. */
|
|
1740
|
-
--sl-font-title-condense-font: var(--sl-font-title-condense-font-weight) var(--sl-font-title-condense-font-size) / var(--sl-font-title-condense-line-height) var(--sl-font-title-condense-font-family); /** Titles in the condense tier: group headers in tables, menus and dense panels. Titles use the display family; the tier sets the size. As a font shorthand; letter-spacing, text-transform and font-variant-numeric are separate. */
|
|
1741
|
-
--sl-font-body-magnify-font: var(--sl-font-body-magnify-font-weight) var(--sl-font-body-magnify-font-size) / var(--sl-font-body-magnify-line-height) var(--sl-font-body-magnify-font-family); /** Body copy in the magnify tier, emphasized body text (lead paragraphs). As a font shorthand; letter-spacing, text-transform and font-variant-numeric are separate. */
|
|
1742
|
-
--sl-font-trigger-magnify-font: var(--sl-font-trigger-magnify-font-weight) var(--sl-font-trigger-magnify-font-size) / var(--sl-font-trigger-magnify-line-height) var(--sl-font-trigger-magnify-font-family); /** Buttons and triggers in the magnify tier (emphasized, larger UI): magnify body text at medium, like base-trigger one tier up. As a font shorthand; letter-spacing, text-transform and font-variant-numeric are separate. */
|
|
1743
|
-
--sl-font-title-magnify-font: var(--sl-font-title-magnify-font-weight) var(--sl-font-title-magnify-font-size) / var(--sl-font-title-magnify-line-height) var(--sl-font-title-magnify-font-family); /** Titles in the magnify tier: popovers, cards and fieldsets. Titles use the display family; the tier sets the size. As a font shorthand; letter-spacing, text-transform and font-variant-numeric are separate. */
|
|
1744
|
-
--sl-font-body-minimize-font: var(--sl-font-body-minimize-font-weight) var(--sl-font-body-minimize-font-size) / var(--sl-font-body-minimize-line-height) var(--sl-font-body-minimize-font-family); /** Body copy in the minimize tier, the smallest functional text (captions, fine print). As a font shorthand; letter-spacing, text-transform and font-variant-numeric are separate. */
|
|
1745
|
-
--sl-font-trigger-minimize-font: var(--sl-font-trigger-minimize-font-weight) var(--sl-font-trigger-minimize-font-size) / var(--sl-font-trigger-minimize-line-height) var(--sl-font-trigger-minimize-font-family); /** Buttons and triggers in the minimize tier (the smallest UI): minimize body text at medium, like base-trigger one tier down. As a font shorthand; letter-spacing, text-transform and font-variant-numeric are separate. */
|
|
1746
|
-
--sl-font-selected-minimize-font: var(--sl-font-selected-minimize-font-weight) var(--sl-font-selected-minimize-font-size) / var(--sl-font-selected-minimize-line-height) var(--sl-font-selected-minimize-font-family); /** The selected or current item in the minimize tier (the smallest functional text): selected tabs and toggles, the current nav item or page. Minimize body text at semibold, so selection reads without changing size. As a font shorthand; letter-spacing, text-transform and font-variant-numeric are separate. */
|
|
1747
|
-
--sl-focus-shadow-3px-error: 0 0 0 3px var(--sl-status-error); /** Focus halo for a field with an error. */
|
|
1748
|
-
--sl-calendar-day-color: var(--sl-text-primary); /** A day in the month being shown. */
|
|
1749
|
-
--sl-border-accent: var(--sl-scope-accent-border); /** Borders that signal selection or the active item. */
|
|
1750
|
-
--sl-border-default: var(--sl-scope-chrome-divider); /** Everyday dividers and control outlines. Darkens under prefers-contrast: more. */
|
|
1751
|
-
--sl-border-strong: var(--sl-scope-chrome-border-strong); /** Borders that identify a control, such as inputs and unchecked checkboxes. 3:1 against the canvas, as WCAG asks for control boundaries. */
|
|
1752
|
-
--sl-border-subtle: var(--sl-scope-chrome-border-subtle); /** Hairlines inside a surface (table rows, list separators) that should barely register. */
|
|
1753
|
-
--sl-border-control: var(--sl-scope-chrome-border); /** Edge of a small control (checkbox, radio, switch) that must be found before it is filled. */
|
|
1754
|
-
--sl-border-control-hover: var(--sl-scope-chrome-border-hover); /** Control edge under the pointer: one clear step darker than border.control. */
|
|
1755
|
-
--sl-interactive-active: var(--sl-scope-accent-solid-active); /** Pressed state of the main accent. Darker than hover so the press is felt. */
|
|
1756
|
-
--sl-interactive-default: var(--sl-scope-accent-solid); /** Primary accent for buttons, links and selected states. Step 600 is 6.1:1 on paper; step 400 is 5.6:1 on the dark canvas. */
|
|
1757
|
-
--sl-interactive-disabled: var(--sl-scope-chrome-soft-active); /** Fill for disabled accent controls. Low contrast on purpose, but never invisible. */
|
|
1758
|
-
--sl-interactive-hover: var(--sl-scope-accent-solid-hover); /** Hover state of the main accent. One step away from default in the direction of more contrast. */
|
|
1759
|
-
--sl-interactive-tint: var(--sl-scope-accent-soft); /** Faint accent wash behind a ghost or outline control on hover, or a selected row. */
|
|
1760
|
-
--sl-interactive-tint-hover: var(--sl-scope-accent-soft-hover); /** Accent wash for a highlighted menu item or a pressed toggle. */
|
|
1761
|
-
--sl-interactive-tint-active: var(--sl-scope-accent-soft-active); /** Accent wash for a selected or pressed item: one step past tint-hover. */
|
|
1762
|
-
--sl-interactive-tint-strong: var(--sl-scope-accent-soft-strong); /** Strongest accent wash, for hovering an item that is already pressed. */
|
|
1763
|
-
--sl-surface-canvas: var(--sl-scope-chrome-canvas); /** The page itself. Paper in light mode, the darkest neutral in dark mode. */
|
|
1764
|
-
--sl-surface-overlay: var(--sl-scope-chrome-overlay); /** Popups, menus and code blocks that sit above raised surfaces. */
|
|
1765
|
-
--sl-surface-raised: var(--sl-scope-chrome-raised); /** Cards and panels one level above the canvas. */
|
|
1766
|
-
--sl-surface-modal: var(--sl-scope-chrome-modal); /** Dialogs and drawers. Paper in light mode; in dark mode one step lighter than the page, so a modal lifts off the dimmed page under it. */
|
|
1767
|
-
--sl-surface-tray: var(--sl-scope-chrome-tray); /** The strip behind a row of controls (toolbars, toggle groups). A step off the page in both themes, so the controls sitting on it stand out, while secondary and accent text on it still pass AA. */
|
|
1768
|
-
--sl-surface-inverse: var(--sl-scope-chrome-inverse); /** Dark-on-light flip for small floating things such as tooltips. Inside a brand pair it becomes the pair's text color. */
|
|
1769
|
-
--sl-text-accent: var(--sl-scope-accent-fg); /** Accent text such as active tabs. One step darker than the interactive color so it stays AA as text. */
|
|
1770
|
-
--sl-text-disabled: var(--sl-scope-chrome-fg-disabled); /** Text in disabled controls. Deliberately below AA, which WCAG allows for disabled UI. */
|
|
1771
|
-
--sl-text-secondary: var(--sl-scope-chrome-fg-secondary); /** Supporting text such as descriptions and helper copy. Over 7:1 on every surface, and darker still under prefers-contrast: more. */
|
|
1772
|
-
--sl-text-tertiary: var(--sl-scope-chrome-fg-tertiary); /** Placeholders, captions and metadata. The lightest text that still passes AA (4.5:1) on every surface. */
|
|
1773
|
-
--sl-text-on-tint: var(--sl-scope-accent-on-soft); /** Text on an accent wash (interactive.tint*). Stays in the accent family. */
|
|
1774
|
-
--sl-text-on-tint-strong: var(--sl-scope-accent-ink); /** Text on the selected accent wash, a step darker than on-tint. */
|
|
1775
|
-
--sl-fill-subtle: var(--sl-scope-chrome-soft); /** Lightest fill: hovered rows, chips, empty tracks. */
|
|
1776
|
-
--sl-fill-default: var(--sl-scope-chrome-soft-hover); /** Standard fill: slider and switch tracks, pressed rows. */
|
|
1777
|
-
--sl-fill-strong: var(--sl-scope-chrome-soft-active); /** Heaviest fill: scroll thumbs, slider marks, hovered tracks. */
|
|
1778
|
-
--sl-fill-inverse: var(--sl-scope-chrome-solid); /** A small solid chip in the chrome color that flips with the theme: dark on light pages, light on dark ones. Keyboard keys use it. */
|
|
1779
|
-
--sl-fill-stronger: var(--sl-scope-chrome-soft-strong); /** One step past fill.strong, for the hover state of a strong fill such as a scrollbar thumb. */
|
|
1780
|
-
--sl-fill-track: var(--sl-scope-chrome-track); /** The empty part of a meter or progress bar. Light like fill.subtle in light mode; near the page in dark mode, so any palette's fill reads 3:1 against it. */
|
|
1781
|
-
--sl-content-prose-color: var(--sl-text-primary); /** Long-form body text. The same as body text, so prose and UI read as one voice. */
|
|
1782
|
-
--sl-content-selection-text: var(--sl-text-primary); /** Selected text stays body text so it reads the same on the tint. */
|
|
1783
|
-
--sl-field-border-color-error: var(--sl-status-error); /** Field edge when the value is invalid. */
|
|
1784
|
-
--sl-focus-ring: var(--sl-interactive-default); /** Focus ring color. Uses the interactive accent so focus reads as "this is the thing you can act on". */
|
|
1785
|
-
--sl-focus-outline: var(--sl-a11y-focus-outline-width) solid var(--sl-focus-ring); /** The one keyboard focus ring. Every control uses it, outside or inset. */
|
|
1786
1682
|
--sl-font-subtitle-minimize-font-family: var(--sl-font-family-body); /** font-family of font.subtitle-minimize. */
|
|
1787
1683
|
--sl-font-subtitle-minimize-font-size: var(--sl-font-size-xs); /** font-size of font.subtitle-minimize. */
|
|
1788
1684
|
--sl-font-subtitle-minimize-font-weight: var(--sl-font-weight-bold); /** font-weight of font.subtitle-minimize. */
|
|
@@ -1950,6 +1846,10 @@
|
|
|
1950
1846
|
--sl-scope-info-signal: var(--sl-color-info-500); /** info signal: 500 in light, 400 in dark */
|
|
1951
1847
|
--sl-scope-info-focus: var(--sl-color-info-500); /** info focus: 500 in light, 400 in dark */
|
|
1952
1848
|
--sl-scope-chrome-fg: var(--sl-color-primary-1000); /** chrome fg, picked in the brand file (roles.concepts). */
|
|
1849
|
+
--sl-app-bar-height: var(--sl-space-16); /** Least height of the bar. It grows if its contents wrap. */
|
|
1850
|
+
--sl-app-bar-padding-inline: var(--sl-space-6); /** Space at the bar's start and end. */
|
|
1851
|
+
--sl-app-bar-gap: var(--sl-space-2-5); /** Space between the things in the bar. */
|
|
1852
|
+
--sl-app-bar-divider-height: var(--sl-space-6); /** Height of a vertical Separator between groups of actions in the bar. */
|
|
1953
1853
|
--sl-avatar-size-xs: var(--sl-space-8); /** 32px, inline with text and in dense lists. */
|
|
1954
1854
|
--sl-avatar-size-sm: var(--sl-space-10); /** 40px, in list rows and comments. */
|
|
1955
1855
|
--sl-avatar-size-md: var(--sl-space-12); /** 48px, the default. */
|
|
@@ -1997,6 +1897,13 @@
|
|
|
1997
1897
|
--sl-sheet-tab-padding-inline: var(--sl-space-3-5); /** Space either side of the tab label's text. */
|
|
1998
1898
|
--sl-sheet-tab-radius: var(--sl-radius-sm); /** The tab label's top corners. Its bottom corners stay square where it meets the rule. */
|
|
1999
1899
|
--sl-sheet-header-gap: var(--sl-space-3); /** Space between the tab label and an action at the end of the header row, such as an Edit link. */
|
|
1900
|
+
--sl-side-nav-item-padding-inline: var(--sl-space-5); /** Space at each end of a row. */
|
|
1901
|
+
--sl-side-nav-item-gap: var(--sl-space-2); /** Space between a row's label and its count. */
|
|
1902
|
+
--sl-side-nav-indicator-width: var(--sl-stroke-medium); /** The line under the current row. */
|
|
1903
|
+
--sl-side-nav-group-padding-top: var(--sl-space-5); /** Space above a group heading. */
|
|
1904
|
+
--sl-side-nav-toggle-size: var(--sl-space-6); /** The collapse button's width and height. It sits on the column's edge. */
|
|
1905
|
+
--sl-side-nav-toggle-offset: var(--sl-space-4); /** Distance of the collapse button from the top of the column. */
|
|
1906
|
+
--sl-side-nav-collapsed-width: var(--sl-space-11); /** Width of the column when it is collapsed, wide enough for the collapse button. */
|
|
2000
1907
|
--sl-slider-thumb-size: var(--sl-space-5); /** Knob diameter, big enough to grab with a finger on a 4px track. */
|
|
2001
1908
|
--sl-splitter-handle-hit-size: var(--sl-a11y-min-touch-target); /** The part a finger grabs. The line stays one stroke. A fine pointer uses a11y.min-target (24px) instead, so the grab area does not cover the panel's scrollbar. Coarse pointers keep this 44px. */
|
|
2002
1909
|
--sl-splitter-grip-size: var(--sl-space-1); /** 4px. The diameter of one grip dot. Small enough to sit on the hairline without becoming a second control. */
|
|
@@ -2037,7 +1944,72 @@
|
|
|
2037
1944
|
--sl-color-chrome-on-1000: var(--sl-color-neutral-on-1000);
|
|
2038
1945
|
--sl-color-chrome-on-1100: var(--sl-color-neutral-on-1100);
|
|
2039
1946
|
--sl-color-chrome-on-1200: var(--sl-color-neutral-on-1200);
|
|
2040
|
-
--sl-
|
|
1947
|
+
--sl-a11y-focus-ring-radius: var(--sl-radius-focus); /** Rounds the focus ring to match the small control radius. */
|
|
1948
|
+
--sl-bar-radius: var(--sl-radius-surface); /** Strip corners. Controls inside a toggle group take radius.item, so the inner corners follow the outer ones. */
|
|
1949
|
+
--sl-calendar-day-radius: var(--sl-radius-pill); /** Selected days are circles. The pill radius is the same full radius badges and switches use. */
|
|
1950
|
+
--sl-check-border-width: var(--sl-stroke-default); /** Edge thickness. */
|
|
1951
|
+
--sl-check-radius: var(--sl-radius-box); /** Checkbox corners. Radios are always round. */
|
|
1952
|
+
--sl-check-transition: var(--sl-transition-input); /** Changes at the same speed as a field. */
|
|
1953
|
+
--sl-status-error: var(--sl-scope-error-signal); /** Errors and destructive actions. */
|
|
1954
|
+
--sl-status-error-dark: var(--sl-scope-error-fg); /** Error color for text or icons that need more contrast than the base color. */
|
|
1955
|
+
--sl-status-error-light: var(--sl-scope-error-soft); /** Error tint for backgrounds behind error messages. */
|
|
1956
|
+
--sl-status-info: var(--sl-scope-info-signal); /** Neutral notices and help. */
|
|
1957
|
+
--sl-status-info-dark: var(--sl-scope-info-fg); /** Info color for text or icons that need more contrast. */
|
|
1958
|
+
--sl-status-info-light: var(--sl-scope-info-soft); /** Info tint for notice backgrounds. */
|
|
1959
|
+
--sl-status-success: var(--sl-scope-success-signal); /** Confirmations and completed states. */
|
|
1960
|
+
--sl-status-success-dark: var(--sl-scope-success-fg); /** Success color for text or icons that need more contrast. */
|
|
1961
|
+
--sl-status-success-light: var(--sl-scope-success-soft); /** Success tint for confirmation backgrounds. */
|
|
1962
|
+
--sl-status-warning: var(--sl-scope-warning-signal); /** Warnings, and the required-field marker. */
|
|
1963
|
+
--sl-status-warning-dark: var(--sl-scope-warning-fg); /** Warning color for text or icons that need more contrast. */
|
|
1964
|
+
--sl-status-warning-light: var(--sl-scope-warning-soft); /** Warning tint for caution backgrounds. */
|
|
1965
|
+
--sl-text-primary: var(--sl-scope-chrome-fg); /** Body text and headings. The highest-contrast neutral. */
|
|
1966
|
+
--sl-content-pre-radius: var(--sl-radius-surface); /** Code block corners, like any panel, so a brand that squares its surfaces squares code blocks too. */
|
|
1967
|
+
--sl-disclosure-indicator-width: var(--sl-stroke-emphasis); /** Selected tab line thickness. */
|
|
1968
|
+
--sl-field-border-width: var(--sl-stroke-default); /** Field edge thickness. */
|
|
1969
|
+
--sl-field-radius: var(--sl-radius-control); /** Field corners, the same as every other control. */
|
|
1970
|
+
--sl-field-transition: var(--sl-transition-input); /** Border and halo ease in, never snap. */
|
|
1971
|
+
--sl-gauge-radius: var(--sl-radius-pill); /** Round ends on the track and the fill. */
|
|
1972
|
+
--sl-icon-button-radius: var(--sl-radius-item); /** Rounded like a menu item, since its hover fill reads as a highlighted item. */
|
|
1973
|
+
--sl-icon-button-transition: var(--sl-transition-button); /** Responds as fast as a button. */
|
|
1974
|
+
--sl-item-radius: var(--sl-radius-item); /** Row corners inside the popup. */
|
|
1975
|
+
--sl-modal-border-width: var(--sl-stroke-default); /** Modal edge thickness. */
|
|
1976
|
+
--sl-modal-radius: var(--sl-radius-modal); /** The largest radius, so a modal reads as its own layer. A drawer rounds only the edge facing the page. */
|
|
1977
|
+
--sl-modal-shadow: var(--sl-elevation-xl); /** The deepest shadow, because a modal sits above everything but popups and toasts. */
|
|
1978
|
+
--sl-modal-backdrop: color-mix(in srgb, var(--sl-overlay-base) 50%, transparent); /** Scrim that dims the page behind a modal. */
|
|
1979
|
+
--sl-popup-border-width: var(--sl-stroke-default); /** Popup edge thickness. */
|
|
1980
|
+
--sl-popup-radius: var(--sl-radius-surface); /** Corners of a free-floating popup. */
|
|
1981
|
+
--sl-popup-radius-field: var(--sl-radius-control); /** Corners of a list that drops from a field, matching the field so the two read as one control. */
|
|
1982
|
+
--sl-popup-shadow: var(--sl-elevation-lg); /** Lifts the popup above the page. */
|
|
1983
|
+
--sl-popup-empty-padding-block: var(--sl-empty-padding-block-compact); /** Room around a plain 'No results' line. The same padding as a compact empty state, so a sentence and an EmptyState in that slot take the same space. An EmptyState drops this padding and uses its own. */
|
|
1984
|
+
--sl-table-row-height: var(--sl-control-height-sm); /** Row height: the small control height, so a checkbox, input or button in a cell fits without growing the row. */
|
|
1985
|
+
--sl-table-header-height: var(--sl-control-height-md); /** Header row height: the regular control height, a little taller than rows so the header reads as its own band. */
|
|
1986
|
+
--sl-table-cell-padding-inline: var(--sl-control-padding-inline-sm); /** Space either side of cell text, matching small controls. */
|
|
1987
|
+
--sl-table-radius: var(--sl-radius-surface); /** Grid corners, like any card or panel. */
|
|
1988
|
+
--sl-table-subtotal-rule-width: var(--sl-stroke-default); /** The single line above a subtotal row (tr data-total="subtotal"), the line an accountant draws before adding a column. */
|
|
1989
|
+
--sl-font-body-base-font: var(--sl-font-body-base-font-weight) var(--sl-font-body-base-font-size) / var(--sl-font-body-base-line-height) var(--sl-font-body-base-font-family); /** Body copy in the base tier, the default UI and body text. As a font shorthand; letter-spacing, text-transform and font-variant-numeric are separate. */
|
|
1990
|
+
--sl-font-selected-base-font: var(--sl-font-selected-base-font-weight) var(--sl-font-selected-base-font-size) / var(--sl-font-selected-base-line-height) var(--sl-font-selected-base-font-family); /** The selected or current item in the base tier (the default UI and body text): selected tabs and toggles, the current nav item or page. Base body text at semibold, so selection reads without changing size. As a font shorthand; letter-spacing, text-transform and font-variant-numeric are separate. */
|
|
1991
|
+
--sl-font-label-base-font: var(--sl-font-label-base-font-weight) var(--sl-font-label-base-font-size) / var(--sl-font-label-base-line-height) var(--sl-font-label-base-font-family); /** Form labels in the base tier, the default UI and body text. As a font shorthand; letter-spacing, text-transform and font-variant-numeric are separate. */
|
|
1992
|
+
--sl-font-link-base-font: var(--sl-font-link-base-font-weight) var(--sl-font-link-base-font-size) / var(--sl-font-link-base-line-height) var(--sl-font-link-base-font-family); /** Links in the base tier. The same type as base body text: a link stands out by color and underline, not by its type. As a font shorthand; letter-spacing, text-transform and font-variant-numeric are separate. */
|
|
1993
|
+
--sl-font-subtitle-base-font: var(--sl-font-subtitle-base-font-weight) var(--sl-font-subtitle-base-font-size) / var(--sl-font-subtitle-base-line-height) var(--sl-font-subtitle-base-font-family); /** Subtitles in the base tier, the default UI and body text. As a font shorthand; letter-spacing, text-transform and font-variant-numeric are separate. */
|
|
1994
|
+
--sl-font-trigger-base-font: var(--sl-font-trigger-base-font-weight) var(--sl-font-trigger-base-font-size) / var(--sl-font-trigger-base-line-height) var(--sl-font-trigger-base-font-family); /** Buttons and triggers in the base tier, the default UI and body text. As a font shorthand; letter-spacing, text-transform and font-variant-numeric are separate. */
|
|
1995
|
+
--sl-font-title-base-font: var(--sl-font-title-base-font-weight) var(--sl-font-title-base-font-size) / var(--sl-font-title-base-line-height) var(--sl-font-title-base-font-family); /** Titles in the base tier: a toast, an accordion row, a list item heading. Titles use the display family; the tier sets the size. As a font shorthand; letter-spacing, text-transform and font-variant-numeric are separate. */
|
|
1996
|
+
--sl-font-figures-base-font: var(--sl-font-figures-base-font-weight) var(--sl-font-figures-base-font-size) / var(--sl-font-figures-base-line-height) var(--sl-font-figures-base-font-family); /** Figures in the base tier: an amount beside base text, a balance in a card. The mono family with tabular numbers, so digits line up. As a font shorthand; letter-spacing, text-transform and font-variant-numeric are separate. */
|
|
1997
|
+
--sl-font-code-condense-font: var(--sl-font-code-condense-font-weight) var(--sl-font-code-condense-font-size) / var(--sl-font-code-condense-line-height) var(--sl-font-code-condense-font-family); /** Code uses the mono family so characters line up. As a font shorthand; letter-spacing, text-transform and font-variant-numeric are separate. */
|
|
1998
|
+
--sl-font-figures-condense-font: var(--sl-font-figures-condense-font-weight) var(--sl-font-figures-condense-font-size) / var(--sl-font-figures-condense-line-height) var(--sl-font-figures-condense-font-family); /** Figures in the condense tier: amounts and counts in tables and dense rows. The mono family with tabular numbers, so digits line up down a column. As a font shorthand; letter-spacing, text-transform and font-variant-numeric are separate. */
|
|
1999
|
+
--sl-font-body-condense-font: var(--sl-font-body-condense-font-weight) var(--sl-font-body-condense-font-size) / var(--sl-font-body-condense-line-height) var(--sl-font-body-condense-font-family); /** Body copy in the condense tier, dense UI text (tables, secondary labels). As a font shorthand; letter-spacing, text-transform and font-variant-numeric are separate. */
|
|
2000
|
+
--sl-font-trigger-condense-font: var(--sl-font-trigger-condense-font-weight) var(--sl-font-trigger-condense-font-size) / var(--sl-font-trigger-condense-line-height) var(--sl-font-trigger-condense-font-family); /** Buttons and triggers in the condense tier (dense UI): condense body text at medium, like base-trigger one tier down. As a font shorthand; letter-spacing, text-transform and font-variant-numeric are separate. */
|
|
2001
|
+
--sl-font-selected-condense-font: var(--sl-font-selected-condense-font-weight) var(--sl-font-selected-condense-font-size) / var(--sl-font-selected-condense-line-height) var(--sl-font-selected-condense-font-family); /** The selected or current item in the condense tier (dense UI text): selected tabs and toggles, the current nav item or page. Condense body text at semibold, so selection reads without changing size. As a font shorthand; letter-spacing, text-transform and font-variant-numeric are separate. */
|
|
2002
|
+
--sl-font-link-condense-font: var(--sl-font-link-condense-font-weight) var(--sl-font-link-condense-font-size) / var(--sl-font-link-condense-line-height) var(--sl-font-link-condense-font-family); /** Links in the condense tier. The same type as condense body text: a link stands out by color and underline, not by its type. As a font shorthand; letter-spacing, text-transform and font-variant-numeric are separate. */
|
|
2003
|
+
--sl-font-subtitle-condense-font: var(--sl-font-subtitle-condense-font-weight) var(--sl-font-subtitle-condense-font-size) / var(--sl-font-subtitle-condense-line-height) var(--sl-font-subtitle-condense-font-family); /** Subtitles in the condense tier, dense UI text (tables, secondary labels). As a font shorthand; letter-spacing, text-transform and font-variant-numeric are separate. */
|
|
2004
|
+
--sl-font-eyebrow-condense-font: var(--sl-font-eyebrow-condense-font-weight) var(--sl-font-eyebrow-condense-font-size) / var(--sl-font-eyebrow-condense-line-height) var(--sl-font-eyebrow-condense-font-family); /** Small uppercase eyebrow labels in the condense tier, dense UI text (tables, secondary labels). As a font shorthand; letter-spacing, text-transform and font-variant-numeric are separate. */
|
|
2005
|
+
--sl-font-caps-condense-font: var(--sl-font-caps-condense-font-weight) var(--sl-font-caps-condense-font-size) / var(--sl-font-caps-condense-line-height) var(--sl-font-caps-condense-font-family); /** Caps labels in the condense tier: a working-paper caption, a column head over figures, a sheet's tab label. Uppercase and tracked a little wider than an eyebrow, so it reads as a label and not a heading. As a font shorthand; letter-spacing, text-transform and font-variant-numeric are separate. */
|
|
2006
|
+
--sl-font-title-condense-font: var(--sl-font-title-condense-font-weight) var(--sl-font-title-condense-font-size) / var(--sl-font-title-condense-line-height) var(--sl-font-title-condense-font-family); /** Titles in the condense tier: group headers in tables, menus and dense panels. Titles use the display family; the tier sets the size. As a font shorthand; letter-spacing, text-transform and font-variant-numeric are separate. */
|
|
2007
|
+
--sl-font-body-magnify-font: var(--sl-font-body-magnify-font-weight) var(--sl-font-body-magnify-font-size) / var(--sl-font-body-magnify-line-height) var(--sl-font-body-magnify-font-family); /** Body copy in the magnify tier, emphasized body text (lead paragraphs). As a font shorthand; letter-spacing, text-transform and font-variant-numeric are separate. */
|
|
2008
|
+
--sl-font-trigger-magnify-font: var(--sl-font-trigger-magnify-font-weight) var(--sl-font-trigger-magnify-font-size) / var(--sl-font-trigger-magnify-line-height) var(--sl-font-trigger-magnify-font-family); /** Buttons and triggers in the magnify tier (emphasized, larger UI): magnify body text at medium, like base-trigger one tier up. As a font shorthand; letter-spacing, text-transform and font-variant-numeric are separate. */
|
|
2009
|
+
--sl-font-title-magnify-font: var(--sl-font-title-magnify-font-weight) var(--sl-font-title-magnify-font-size) / var(--sl-font-title-magnify-line-height) var(--sl-font-title-magnify-font-family); /** Titles in the magnify tier: popovers, cards and fieldsets. Titles use the display family; the tier sets the size. As a font shorthand; letter-spacing, text-transform and font-variant-numeric are separate. */
|
|
2010
|
+
--sl-font-body-minimize-font: var(--sl-font-body-minimize-font-weight) var(--sl-font-body-minimize-font-size) / var(--sl-font-body-minimize-line-height) var(--sl-font-body-minimize-font-family); /** Body copy in the minimize tier, the smallest functional text (captions, fine print). As a font shorthand; letter-spacing, text-transform and font-variant-numeric are separate. */
|
|
2011
|
+
--sl-font-trigger-minimize-font: var(--sl-font-trigger-minimize-font-weight) var(--sl-font-trigger-minimize-font-size) / var(--sl-font-trigger-minimize-line-height) var(--sl-font-trigger-minimize-font-family); /** Buttons and triggers in the minimize tier (the smallest UI): minimize body text at medium, like base-trigger one tier down. As a font shorthand; letter-spacing, text-transform and font-variant-numeric are separate. */
|
|
2012
|
+
--sl-font-selected-minimize-font: var(--sl-font-selected-minimize-font-weight) var(--sl-font-selected-minimize-font-size) / var(--sl-font-selected-minimize-line-height) var(--sl-font-selected-minimize-font-family); /** The selected or current item in the minimize tier (the smallest functional text): selected tabs and toggles, the current nav item or page. Minimize body text at semibold, so selection reads without changing size. As a font shorthand; letter-spacing, text-transform and font-variant-numeric are separate. */
|
|
2041
2013
|
--sl-font-link-minimize-font: var(--sl-font-link-minimize-font-weight) var(--sl-font-link-minimize-font-size) / var(--sl-font-link-minimize-line-height) var(--sl-font-link-minimize-font-family); /** Links in the minimize tier. The same type as minimize body text: a link stands out by color and underline, not by its type. As a font shorthand; letter-spacing, text-transform and font-variant-numeric are separate. */
|
|
2042
2014
|
--sl-font-subtitle-minimize-font: var(--sl-font-subtitle-minimize-font-weight) var(--sl-font-subtitle-minimize-font-size) / var(--sl-font-subtitle-minimize-line-height) var(--sl-font-subtitle-minimize-font-family); /** Subtitles in the minimize tier, the smallest functional text (captions, fine print). As a font shorthand; letter-spacing, text-transform and font-variant-numeric are separate. */
|
|
2043
2015
|
--sl-font-eyebrow-minimize-font: var(--sl-font-eyebrow-minimize-font-weight) var(--sl-font-eyebrow-minimize-font-size) / var(--sl-font-eyebrow-minimize-line-height) var(--sl-font-eyebrow-minimize-font-family); /** Small uppercase eyebrow labels in the minimize tier, the smallest functional text (captions, fine print). As a font shorthand; letter-spacing, text-transform and font-variant-numeric are separate. */
|
|
@@ -2195,6 +2167,7 @@
|
|
|
2195
2167
|
--sl-status-level-error-quiet-fg: var(--sl-scope-error-fg); /** quiet in error: outline in error */
|
|
2196
2168
|
--sl-status-level-error-quiet-border: var(--sl-scope-error-border); /** quiet in error: outline in error */
|
|
2197
2169
|
--sl-status-level-error-quiet-border-hover: var(--sl-scope-error-solid-hover); /** quiet in error: outline in error */
|
|
2170
|
+
--sl-app-bar-border-width: var(--sl-stroke-default); /** The line under the bar while rule.width is 0. With rule.width on, the line takes the thicker of the two. */
|
|
2198
2171
|
--sl-button-radius: var(--sl-radius-pill); /** Buttons are pills, so they read as actions and never as fields or cards. */
|
|
2199
2172
|
--sl-collection-row-height-sm: var(--sl-control-height-sm); /** The dense row, the same height the plain table already uses, so a checkbox fits. */
|
|
2200
2173
|
--sl-collection-row-height-md: var(--sl-control-height-md); /** A roomier row when the collection is the page rather than a dense register. */
|
|
@@ -2203,7 +2176,48 @@
|
|
|
2203
2176
|
--sl-description-list-leader-width: var(--sl-stroke-default); /** Thickness of the dotted leader. */
|
|
2204
2177
|
--sl-sheet-border-width: var(--sl-stroke-default); /** Thickness of the sides and bottom. */
|
|
2205
2178
|
--sl-sheet-radius: var(--sl-radius-surface); /** Corners, like any card or panel. The top corners stay square under a tab label, so the tab sits flush on the rule. */
|
|
2179
|
+
--sl-side-nav-item-height: var(--sl-control-height-md); /** Least height of a row: the regular control height, so a row is as tall as a button. */
|
|
2206
2180
|
--sl-splitter-handle-size: var(--sl-stroke-default); /** The visible separator. One stroke, the same hairline as Separator, so a splitter reads as a divider you can grab. */
|
|
2181
|
+
--sl-focus-shadow-3px-error: 0 0 0 3px var(--sl-status-error); /** Focus halo for a field with an error. */
|
|
2182
|
+
--sl-calendar-day-color: var(--sl-text-primary); /** A day in the month being shown. */
|
|
2183
|
+
--sl-border-accent: var(--sl-scope-accent-border); /** Borders that signal selection or the active item. */
|
|
2184
|
+
--sl-border-default: var(--sl-scope-chrome-divider); /** Everyday dividers and control outlines. Darkens under prefers-contrast: more. */
|
|
2185
|
+
--sl-border-strong: var(--sl-scope-chrome-border-strong); /** Borders that identify a control, such as inputs and unchecked checkboxes. 3:1 against the canvas, as WCAG asks for control boundaries. */
|
|
2186
|
+
--sl-border-subtle: var(--sl-scope-chrome-border-subtle); /** Hairlines inside a surface (table rows, list separators) that should barely register. */
|
|
2187
|
+
--sl-border-control: var(--sl-scope-chrome-border); /** Edge of a small control (checkbox, radio, switch) that must be found before it is filled. */
|
|
2188
|
+
--sl-border-control-hover: var(--sl-scope-chrome-border-hover); /** Control edge under the pointer: one clear step darker than border.control. */
|
|
2189
|
+
--sl-interactive-active: var(--sl-scope-accent-solid-active); /** Pressed state of the main accent. Darker than hover so the press is felt. */
|
|
2190
|
+
--sl-interactive-default: var(--sl-scope-accent-solid); /** Primary accent for buttons, links and selected states. Step 600 is 6.1:1 on paper; step 400 is 5.6:1 on the dark canvas. */
|
|
2191
|
+
--sl-interactive-disabled: var(--sl-scope-chrome-soft-active); /** Fill for disabled accent controls. Low contrast on purpose, but never invisible. */
|
|
2192
|
+
--sl-interactive-hover: var(--sl-scope-accent-solid-hover); /** Hover state of the main accent. One step away from default in the direction of more contrast. */
|
|
2193
|
+
--sl-interactive-tint: var(--sl-scope-accent-soft); /** Faint accent wash behind a ghost or outline control on hover, or a selected row. */
|
|
2194
|
+
--sl-interactive-tint-hover: var(--sl-scope-accent-soft-hover); /** Accent wash for a highlighted menu item or a pressed toggle. */
|
|
2195
|
+
--sl-interactive-tint-active: var(--sl-scope-accent-soft-active); /** Accent wash for a selected or pressed item: one step past tint-hover. */
|
|
2196
|
+
--sl-interactive-tint-strong: var(--sl-scope-accent-soft-strong); /** Strongest accent wash, for hovering an item that is already pressed. */
|
|
2197
|
+
--sl-surface-canvas: var(--sl-scope-chrome-canvas); /** The page itself. Paper in light mode, the darkest neutral in dark mode. */
|
|
2198
|
+
--sl-surface-overlay: var(--sl-scope-chrome-overlay); /** Popups, menus and code blocks that sit above raised surfaces. */
|
|
2199
|
+
--sl-surface-raised: var(--sl-scope-chrome-raised); /** Cards and panels one level above the canvas. */
|
|
2200
|
+
--sl-surface-modal: var(--sl-scope-chrome-modal); /** Dialogs and drawers. Paper in light mode; in dark mode one step lighter than the page, so a modal lifts off the dimmed page under it. */
|
|
2201
|
+
--sl-surface-tray: var(--sl-scope-chrome-tray); /** The strip behind a row of controls (toolbars, toggle groups). A step off the page in both themes, so the controls sitting on it stand out, while secondary and accent text on it still pass AA. */
|
|
2202
|
+
--sl-surface-inverse: var(--sl-scope-chrome-inverse); /** Dark-on-light flip for small floating things such as tooltips. Inside a brand pair it becomes the pair's text color. */
|
|
2203
|
+
--sl-text-accent: var(--sl-scope-accent-fg); /** Accent text such as active tabs. One step darker than the interactive color so it stays AA as text. */
|
|
2204
|
+
--sl-text-disabled: var(--sl-scope-chrome-fg-disabled); /** Text in disabled controls. Deliberately below AA, which WCAG allows for disabled UI. */
|
|
2205
|
+
--sl-text-secondary: var(--sl-scope-chrome-fg-secondary); /** Supporting text such as descriptions and helper copy. Over 7:1 on every surface, and darker still under prefers-contrast: more. */
|
|
2206
|
+
--sl-text-tertiary: var(--sl-scope-chrome-fg-tertiary); /** Placeholders, captions and metadata. The lightest text that still passes AA (4.5:1) on every surface. */
|
|
2207
|
+
--sl-text-on-tint: var(--sl-scope-accent-on-soft); /** Text on an accent wash (interactive.tint*). Stays in the accent family. */
|
|
2208
|
+
--sl-text-on-tint-strong: var(--sl-scope-accent-ink); /** Text on the selected accent wash, a step darker than on-tint. */
|
|
2209
|
+
--sl-fill-subtle: var(--sl-scope-chrome-soft); /** Lightest fill: hovered rows, chips, empty tracks. */
|
|
2210
|
+
--sl-fill-default: var(--sl-scope-chrome-soft-hover); /** Standard fill: slider and switch tracks, pressed rows. */
|
|
2211
|
+
--sl-fill-strong: var(--sl-scope-chrome-soft-active); /** Heaviest fill: scroll thumbs, slider marks, hovered tracks. */
|
|
2212
|
+
--sl-fill-inverse: var(--sl-scope-chrome-solid); /** A small solid chip in the chrome color that flips with the theme: dark on light pages, light on dark ones. Keyboard keys use it. */
|
|
2213
|
+
--sl-fill-stronger: var(--sl-scope-chrome-soft-strong); /** One step past fill.strong, for the hover state of a strong fill such as a scrollbar thumb. */
|
|
2214
|
+
--sl-fill-track: var(--sl-scope-chrome-track); /** The empty part of a meter or progress bar. Light like fill.subtle in light mode; near the page in dark mode, so any palette's fill reads 3:1 against it. */
|
|
2215
|
+
--sl-content-prose-color: var(--sl-text-primary); /** Long-form body text. The same as body text, so prose and UI read as one voice. */
|
|
2216
|
+
--sl-content-selection-text: var(--sl-text-primary); /** Selected text stays body text so it reads the same on the tint. */
|
|
2217
|
+
--sl-field-border-color-error: var(--sl-status-error); /** Field edge when the value is invalid. */
|
|
2218
|
+
--sl-focus-ring: var(--sl-interactive-default); /** Focus ring color. Uses the interactive accent so focus reads as "this is the thing you can act on". */
|
|
2219
|
+
--sl-focus-outline: var(--sl-a11y-focus-outline-width) solid var(--sl-focus-ring); /** The one keyboard focus ring. Every control uses it, outside or inset. */
|
|
2220
|
+
--sl-bar-border-width: var(--sl-stroke-default); /** Strip edge thickness. */
|
|
2207
2221
|
--sl-field-color: var(--sl-text-primary); /** The value you typed. */
|
|
2208
2222
|
--sl-gauge-label-color: var(--sl-text-primary); /** What is being measured. */
|
|
2209
2223
|
--sl-icon-button-color-hover: var(--sl-text-primary); /** Darkens on hover to confirm it's the target. */
|
|
@@ -2262,6 +2276,7 @@
|
|
|
2262
2276
|
--sl-status-level-warning-bold-fg: var(--sl-scope-warning-on-solid); /** bold in warning: solid in warning */
|
|
2263
2277
|
--sl-status-level-error-bold-fg: var(--sl-scope-error-on-solid); /** bold in error: solid in error */
|
|
2264
2278
|
--sl-description-list-value-color: var(--sl-text-primary); /** Values. */
|
|
2279
|
+
--sl-side-nav-item-color: var(--sl-text-primary); /** A row's text. */
|
|
2265
2280
|
--sl-stat-figure-figure-color: var(--sl-text-primary); /** The figure's color. */
|
|
2266
2281
|
--sl-focus-shadow-3px-primary: 0 0 0 3px var(--sl-interactive-tint-hover); /** Soft focus halo for inputs. */
|
|
2267
2282
|
--sl-focus-shadow-3px-primary-soft: 0 0 0 3px var(--sl-interactive-tint-active); /** Slightly stronger focus halo for inputs on tinted surfaces. */
|
|
@@ -2347,16 +2362,32 @@
|
|
|
2347
2362
|
--sl-table-range-background: var(--sl-interactive-tint); /** Cells inside a dragged range selection. */
|
|
2348
2363
|
--sl-emphasis-bold-fg: var(--sl-scope-accent-on-solid); /** bold in default: solid in accent (primary) */
|
|
2349
2364
|
--sl-status-level-default-bold-fg: var(--sl-scope-accent-on-solid); /** bold in default: solid in accent (primary) */
|
|
2365
|
+
--sl-app-bar-background: var(--sl-surface-raised); /** The bar's fill: one step off the page, like a card, so the page reads as sitting under it. */
|
|
2366
|
+
--sl-app-bar-divider-color: var(--sl-border-strong); /** Color of a vertical Separator in the bar. */
|
|
2350
2367
|
--sl-description-list-row-border-color: var(--sl-border-subtle); /** Hairline between pairs, as quiet as a table's row lines. */
|
|
2351
2368
|
--sl-description-list-label-color: var(--sl-text-secondary); /** Labels. */
|
|
2352
2369
|
--sl-description-list-leader-color: var(--sl-border-control); /** The dotted leader at variant="leader". The control edge color: dark enough to lead the eye, still lighter than the text. */
|
|
2353
2370
|
--sl-drawer-handle-color: var(--sl-border-strong); /** The grab bar on bottom drawers. Strong border so it reads as something to drag. */
|
|
2371
|
+
--sl-picker-button-label-color: var(--sl-text-secondary); /** The caps label, quieter than the choice it names. */
|
|
2354
2372
|
--sl-sheet-background: var(--sl-surface-raised); /** The sheet's fill: the raised surface, one level above the page like any card or panel. */
|
|
2355
2373
|
--sl-sheet-border-color: var(--sl-border-default); /** The sheet's sides and bottom, the everyday divider. */
|
|
2356
2374
|
--sl-sheet-tab-background: var(--sl-surface-inverse); /** The tab label's fill: the inverse surface, so the label reads as the sheet's name, and its text passes AA in every theme. */
|
|
2375
|
+
--sl-side-nav-background: var(--sl-surface-tray); /** The column's fill: the tray surface, a step off the page, so the current row on the raised surface stands out from it. */
|
|
2376
|
+
--sl-side-nav-border-color: var(--sl-border-default); /** The line between the column and the page. */
|
|
2377
|
+
--sl-side-nav-item-divider-color: var(--sl-border-subtle); /** The hairline under each row. */
|
|
2378
|
+
--sl-side-nav-item-color-disabled: var(--sl-text-secondary); /** A row that is not available yet. Secondary text, not the faded disabled color, so its hint stays readable. */
|
|
2379
|
+
--sl-side-nav-item-background-hover: var(--sl-fill-subtle); /** A row under the pointer. */
|
|
2380
|
+
--sl-side-nav-item-background-current: var(--sl-surface-raised); /** The current row: the raised surface, so it reads as the open page. */
|
|
2381
|
+
--sl-side-nav-count-color: var(--sl-text-accent); /** A count at the end of a row, such as items open. Accent text so it asks for attention. */
|
|
2382
|
+
--sl-side-nav-count-color-quiet: var(--sl-text-secondary); /** A count that is only information (tone="quiet"), such as a total. */
|
|
2383
|
+
--sl-side-nav-group-label-color: var(--sl-text-secondary); /** A group heading's caps label. */
|
|
2384
|
+
--sl-side-nav-toggle-background: var(--sl-surface-raised); /** The collapse button's fill. */
|
|
2385
|
+
--sl-side-nav-toggle-border-color: var(--sl-border-strong); /** The collapse button's outline. */
|
|
2357
2386
|
--sl-stat-figure-figure-color-accent: var(--sl-text-accent); /** The figure's color at tone="accent", for a figure that asks for action (open questions, items to review). */
|
|
2358
2387
|
--sl-stat-figure-label-color: var(--sl-text-secondary); /** The caps label above the figure. */
|
|
2359
2388
|
--sl-stat-figure-caption-color: var(--sl-text-secondary); /** The caption under the figure. */
|
|
2389
|
+
--sl-toggle-group-segmented-background: var(--sl-surface-raised); /** Fill of a toggle that is not pressed. */
|
|
2390
|
+
--sl-toggle-group-segmented-pressed-background: var(--sl-fill-inverse); /** Fill of the pressed toggle: the solid chrome color, dark on light pages and light on dark ones. */
|
|
2360
2391
|
--sl-shadow-outline: 0 0 0 3px color-mix(in oklab, var(--sl-focus-ring) 60%, transparent); /** Focus halo for controls that use box-shadow instead of outline: the focus ring color at 60% opacity, so it follows the accent and the theme. Becomes currentColor under prefers-contrast: more. */
|
|
2361
2392
|
--sl-calendar-day-background-hover: var(--sl-item-background-hover); /** The same hover tint as a list item, so a day feels like a choice in a list. */
|
|
2362
2393
|
--sl-check-mark-color: var(--sl-text-on-primary); /** Check mark, dash or dot on a ticked fill. */
|
|
@@ -2374,9 +2405,13 @@
|
|
|
2374
2405
|
--sl-table-range-border: var(--sl-focus-ring); /** Edge of a range selection and of the focused cell, the same color as every focus ring. */
|
|
2375
2406
|
--sl-table-total-rule-color: var(--sl-rule-color); /** The line above a subtotal or total row and the double line under a grand total. The working-paper rule color, so totals and sheet tops are ruled in the same ink. */
|
|
2376
2407
|
--sl-table-total-background: var(--sl-table-background); /** Fill of a subtotal or grand total row: the cell color, so the rules mark the total instead of a band. The footer's default totals row keeps the header tray. */
|
|
2408
|
+
--sl-app-bar-border-color: var(--sl-rule-color); /** The line under the bar, in the rule color, so an ink rule brand gets an ink line here too. */
|
|
2377
2409
|
--sl-sheet-rule-color: var(--sl-rule-color); /** The top rule's color: the working-paper rule color, so sheets and ruled tables match. */
|
|
2378
2410
|
--sl-sheet-tab-color: var(--sl-text-on-inverse-surface); /** Text on the tab label. */
|
|
2411
|
+
--sl-side-nav-indicator-color: var(--sl-rule-color); /** The current row's line: the working-paper rule color, so the nav and the sheets share one ink. */
|
|
2379
2412
|
--sl-stat-figure-underline-color: var(--sl-rule-color); /** The double underline's color: the working-paper rule color, like a grand total's double rule. */
|
|
2413
|
+
--sl-toggle-group-segmented-border-color: var(--sl-rule-color); /** The outline around a segmented group and the line between its toggles. The rule color, so it is a control edge by default and ink with an ink rule. */
|
|
2414
|
+
--sl-toggle-group-segmented-pressed-color: var(--sl-text-on-inverse); /** Text on the pressed toggle. */
|
|
2380
2415
|
--sl-check-background: var(--sl-field-background); /** Empty box, the same fill as a field so it reads as something to fill in. */
|
|
2381
2416
|
--sl-popup-arrow-fill: var(--sl-popup-background); /** The arrow is part of the popup, so it takes the popup's fill. */
|
|
2382
2417
|
}
|
|
@@ -5860,21 +5895,42 @@
|
|
|
5860
5895
|
--sl-table-range-border: var(--sl-focus-ring);
|
|
5861
5896
|
--sl-table-total-rule-color: var(--sl-rule-color);
|
|
5862
5897
|
--sl-table-total-background: var(--sl-table-background);
|
|
5898
|
+
--sl-app-bar-background: var(--sl-surface-raised);
|
|
5899
|
+
--sl-app-bar-border-color: var(--sl-rule-color);
|
|
5900
|
+
--sl-app-bar-divider-color: var(--sl-border-strong);
|
|
5863
5901
|
--sl-description-list-row-border-color: var(--sl-border-subtle);
|
|
5864
5902
|
--sl-description-list-label-color: var(--sl-text-secondary);
|
|
5865
5903
|
--sl-description-list-value-color: var(--sl-text-primary);
|
|
5866
5904
|
--sl-description-list-leader-color: var(--sl-border-control);
|
|
5867
5905
|
--sl-drawer-handle-color: var(--sl-border-strong);
|
|
5906
|
+
--sl-picker-button-label-color: var(--sl-text-secondary);
|
|
5868
5907
|
--sl-sheet-background: var(--sl-surface-raised);
|
|
5869
5908
|
--sl-sheet-border-color: var(--sl-border-default);
|
|
5870
5909
|
--sl-sheet-rule-color: var(--sl-rule-color);
|
|
5871
5910
|
--sl-sheet-tab-background: var(--sl-surface-inverse);
|
|
5872
5911
|
--sl-sheet-tab-color: var(--sl-text-on-inverse-surface);
|
|
5912
|
+
--sl-side-nav-background: var(--sl-surface-tray);
|
|
5913
|
+
--sl-side-nav-border-color: var(--sl-border-default);
|
|
5914
|
+
--sl-side-nav-item-divider-color: var(--sl-border-subtle);
|
|
5915
|
+
--sl-side-nav-item-color: var(--sl-text-primary);
|
|
5916
|
+
--sl-side-nav-item-color-disabled: var(--sl-text-secondary);
|
|
5917
|
+
--sl-side-nav-item-background-hover: var(--sl-fill-subtle);
|
|
5918
|
+
--sl-side-nav-item-background-current: var(--sl-surface-raised);
|
|
5919
|
+
--sl-side-nav-indicator-color: var(--sl-rule-color);
|
|
5920
|
+
--sl-side-nav-count-color: var(--sl-text-accent);
|
|
5921
|
+
--sl-side-nav-count-color-quiet: var(--sl-text-secondary);
|
|
5922
|
+
--sl-side-nav-group-label-color: var(--sl-text-secondary);
|
|
5923
|
+
--sl-side-nav-toggle-background: var(--sl-surface-raised);
|
|
5924
|
+
--sl-side-nav-toggle-border-color: var(--sl-border-strong);
|
|
5873
5925
|
--sl-stat-figure-figure-color: var(--sl-text-primary);
|
|
5874
5926
|
--sl-stat-figure-figure-color-accent: var(--sl-text-accent);
|
|
5875
5927
|
--sl-stat-figure-underline-color: var(--sl-rule-color);
|
|
5876
5928
|
--sl-stat-figure-label-color: var(--sl-text-secondary);
|
|
5877
5929
|
--sl-stat-figure-caption-color: var(--sl-text-secondary);
|
|
5930
|
+
--sl-toggle-group-segmented-border-color: var(--sl-rule-color);
|
|
5931
|
+
--sl-toggle-group-segmented-background: var(--sl-surface-raised);
|
|
5932
|
+
--sl-toggle-group-segmented-pressed-background: var(--sl-fill-inverse);
|
|
5933
|
+
--sl-toggle-group-segmented-pressed-color: var(--sl-text-on-inverse);
|
|
5878
5934
|
--sl-calendar-day-background-hover: var(--sl-item-background-hover);
|
|
5879
5935
|
--sl-check-background: var(--sl-field-background);
|
|
5880
5936
|
}
|
|
@@ -6023,21 +6079,42 @@
|
|
|
6023
6079
|
--sl-table-range-border: var(--sl-focus-ring);
|
|
6024
6080
|
--sl-table-total-rule-color: var(--sl-rule-color);
|
|
6025
6081
|
--sl-table-total-background: var(--sl-table-background);
|
|
6082
|
+
--sl-app-bar-background: var(--sl-surface-raised);
|
|
6083
|
+
--sl-app-bar-border-color: var(--sl-rule-color);
|
|
6084
|
+
--sl-app-bar-divider-color: var(--sl-border-strong);
|
|
6026
6085
|
--sl-description-list-row-border-color: var(--sl-border-subtle);
|
|
6027
6086
|
--sl-description-list-label-color: var(--sl-text-secondary);
|
|
6028
6087
|
--sl-description-list-value-color: var(--sl-text-primary);
|
|
6029
6088
|
--sl-description-list-leader-color: var(--sl-border-control);
|
|
6030
6089
|
--sl-drawer-handle-color: var(--sl-border-strong);
|
|
6090
|
+
--sl-picker-button-label-color: var(--sl-text-secondary);
|
|
6031
6091
|
--sl-sheet-background: var(--sl-surface-raised);
|
|
6032
6092
|
--sl-sheet-border-color: var(--sl-border-default);
|
|
6033
6093
|
--sl-sheet-rule-color: var(--sl-rule-color);
|
|
6034
6094
|
--sl-sheet-tab-background: var(--sl-surface-inverse);
|
|
6035
6095
|
--sl-sheet-tab-color: var(--sl-text-on-inverse-surface);
|
|
6096
|
+
--sl-side-nav-background: var(--sl-surface-tray);
|
|
6097
|
+
--sl-side-nav-border-color: var(--sl-border-default);
|
|
6098
|
+
--sl-side-nav-item-divider-color: var(--sl-border-subtle);
|
|
6099
|
+
--sl-side-nav-item-color: var(--sl-text-primary);
|
|
6100
|
+
--sl-side-nav-item-color-disabled: var(--sl-text-secondary);
|
|
6101
|
+
--sl-side-nav-item-background-hover: var(--sl-fill-subtle);
|
|
6102
|
+
--sl-side-nav-item-background-current: var(--sl-surface-raised);
|
|
6103
|
+
--sl-side-nav-indicator-color: var(--sl-rule-color);
|
|
6104
|
+
--sl-side-nav-count-color: var(--sl-text-accent);
|
|
6105
|
+
--sl-side-nav-count-color-quiet: var(--sl-text-secondary);
|
|
6106
|
+
--sl-side-nav-group-label-color: var(--sl-text-secondary);
|
|
6107
|
+
--sl-side-nav-toggle-background: var(--sl-surface-raised);
|
|
6108
|
+
--sl-side-nav-toggle-border-color: var(--sl-border-strong);
|
|
6036
6109
|
--sl-stat-figure-figure-color: var(--sl-text-primary);
|
|
6037
6110
|
--sl-stat-figure-figure-color-accent: var(--sl-text-accent);
|
|
6038
6111
|
--sl-stat-figure-underline-color: var(--sl-rule-color);
|
|
6039
6112
|
--sl-stat-figure-label-color: var(--sl-text-secondary);
|
|
6040
6113
|
--sl-stat-figure-caption-color: var(--sl-text-secondary);
|
|
6114
|
+
--sl-toggle-group-segmented-border-color: var(--sl-rule-color);
|
|
6115
|
+
--sl-toggle-group-segmented-background: var(--sl-surface-raised);
|
|
6116
|
+
--sl-toggle-group-segmented-pressed-background: var(--sl-fill-inverse);
|
|
6117
|
+
--sl-toggle-group-segmented-pressed-color: var(--sl-text-on-inverse);
|
|
6041
6118
|
--sl-calendar-day-background-hover: var(--sl-item-background-hover);
|
|
6042
6119
|
--sl-check-background: var(--sl-field-background);
|
|
6043
6120
|
}
|
|
@@ -6186,21 +6263,42 @@
|
|
|
6186
6263
|
--sl-table-range-border: var(--sl-focus-ring);
|
|
6187
6264
|
--sl-table-total-rule-color: var(--sl-rule-color);
|
|
6188
6265
|
--sl-table-total-background: var(--sl-table-background);
|
|
6266
|
+
--sl-app-bar-background: var(--sl-surface-raised);
|
|
6267
|
+
--sl-app-bar-border-color: var(--sl-rule-color);
|
|
6268
|
+
--sl-app-bar-divider-color: var(--sl-border-strong);
|
|
6189
6269
|
--sl-description-list-row-border-color: var(--sl-border-subtle);
|
|
6190
6270
|
--sl-description-list-label-color: var(--sl-text-secondary);
|
|
6191
6271
|
--sl-description-list-value-color: var(--sl-text-primary);
|
|
6192
6272
|
--sl-description-list-leader-color: var(--sl-border-control);
|
|
6193
6273
|
--sl-drawer-handle-color: var(--sl-border-strong);
|
|
6274
|
+
--sl-picker-button-label-color: var(--sl-text-secondary);
|
|
6194
6275
|
--sl-sheet-background: var(--sl-surface-raised);
|
|
6195
6276
|
--sl-sheet-border-color: var(--sl-border-default);
|
|
6196
6277
|
--sl-sheet-rule-color: var(--sl-rule-color);
|
|
6197
6278
|
--sl-sheet-tab-background: var(--sl-surface-inverse);
|
|
6198
6279
|
--sl-sheet-tab-color: var(--sl-text-on-inverse-surface);
|
|
6280
|
+
--sl-side-nav-background: var(--sl-surface-tray);
|
|
6281
|
+
--sl-side-nav-border-color: var(--sl-border-default);
|
|
6282
|
+
--sl-side-nav-item-divider-color: var(--sl-border-subtle);
|
|
6283
|
+
--sl-side-nav-item-color: var(--sl-text-primary);
|
|
6284
|
+
--sl-side-nav-item-color-disabled: var(--sl-text-secondary);
|
|
6285
|
+
--sl-side-nav-item-background-hover: var(--sl-fill-subtle);
|
|
6286
|
+
--sl-side-nav-item-background-current: var(--sl-surface-raised);
|
|
6287
|
+
--sl-side-nav-indicator-color: var(--sl-rule-color);
|
|
6288
|
+
--sl-side-nav-count-color: var(--sl-text-accent);
|
|
6289
|
+
--sl-side-nav-count-color-quiet: var(--sl-text-secondary);
|
|
6290
|
+
--sl-side-nav-group-label-color: var(--sl-text-secondary);
|
|
6291
|
+
--sl-side-nav-toggle-background: var(--sl-surface-raised);
|
|
6292
|
+
--sl-side-nav-toggle-border-color: var(--sl-border-strong);
|
|
6199
6293
|
--sl-stat-figure-figure-color: var(--sl-text-primary);
|
|
6200
6294
|
--sl-stat-figure-figure-color-accent: var(--sl-text-accent);
|
|
6201
6295
|
--sl-stat-figure-underline-color: var(--sl-rule-color);
|
|
6202
6296
|
--sl-stat-figure-label-color: var(--sl-text-secondary);
|
|
6203
6297
|
--sl-stat-figure-caption-color: var(--sl-text-secondary);
|
|
6298
|
+
--sl-toggle-group-segmented-border-color: var(--sl-rule-color);
|
|
6299
|
+
--sl-toggle-group-segmented-background: var(--sl-surface-raised);
|
|
6300
|
+
--sl-toggle-group-segmented-pressed-background: var(--sl-fill-inverse);
|
|
6301
|
+
--sl-toggle-group-segmented-pressed-color: var(--sl-text-on-inverse);
|
|
6204
6302
|
--sl-calendar-day-background-hover: var(--sl-item-background-hover);
|
|
6205
6303
|
--sl-check-background: var(--sl-field-background);
|
|
6206
6304
|
}
|
package/dist/tokens.d.ts
CHANGED
|
@@ -2723,6 +2723,16 @@ declare const tokens: {
|
|
|
2723
2723
|
};
|
|
2724
2724
|
};
|
|
2725
2725
|
};
|
|
2726
|
+
readonly "app-bar": {
|
|
2727
|
+
readonly "height": string;
|
|
2728
|
+
readonly "padding-inline": string;
|
|
2729
|
+
readonly "gap": string;
|
|
2730
|
+
readonly "background": string;
|
|
2731
|
+
readonly "border-width": string;
|
|
2732
|
+
readonly "border-color": string;
|
|
2733
|
+
readonly "divider-height": string;
|
|
2734
|
+
readonly "divider-color": string;
|
|
2735
|
+
};
|
|
2726
2736
|
readonly "avatar": {
|
|
2727
2737
|
readonly "size-xs": string;
|
|
2728
2738
|
readonly "size-sm": string;
|
|
@@ -2801,6 +2811,10 @@ declare const tokens: {
|
|
|
2801
2811
|
readonly "popup-min-width": string;
|
|
2802
2812
|
readonly "column-width": string;
|
|
2803
2813
|
};
|
|
2814
|
+
readonly "picker-button": {
|
|
2815
|
+
readonly "max-width": string;
|
|
2816
|
+
readonly "label-color": string;
|
|
2817
|
+
};
|
|
2804
2818
|
readonly "popover": {
|
|
2805
2819
|
readonly "text-max-width": string;
|
|
2806
2820
|
readonly "popup-min-width": string;
|
|
@@ -2824,6 +2838,29 @@ declare const tokens: {
|
|
|
2824
2838
|
readonly "tab-radius": string;
|
|
2825
2839
|
readonly "header-gap": string;
|
|
2826
2840
|
};
|
|
2841
|
+
readonly "side-nav": {
|
|
2842
|
+
readonly "background": string;
|
|
2843
|
+
readonly "border-color": string;
|
|
2844
|
+
readonly "item-height": string;
|
|
2845
|
+
readonly "item-padding-inline": string;
|
|
2846
|
+
readonly "item-gap": string;
|
|
2847
|
+
readonly "item-divider-color": string;
|
|
2848
|
+
readonly "item-color": string;
|
|
2849
|
+
readonly "item-color-disabled": string;
|
|
2850
|
+
readonly "item-background-hover": string;
|
|
2851
|
+
readonly "item-background-current": string;
|
|
2852
|
+
readonly "indicator-width": string;
|
|
2853
|
+
readonly "indicator-color": string;
|
|
2854
|
+
readonly "count-color": string;
|
|
2855
|
+
readonly "count-color-quiet": string;
|
|
2856
|
+
readonly "group-padding-top": string;
|
|
2857
|
+
readonly "group-label-color": string;
|
|
2858
|
+
readonly "toggle-size": string;
|
|
2859
|
+
readonly "toggle-offset": string;
|
|
2860
|
+
readonly "toggle-background": string;
|
|
2861
|
+
readonly "toggle-border-color": string;
|
|
2862
|
+
readonly "collapsed-width": string;
|
|
2863
|
+
};
|
|
2827
2864
|
readonly "slider": {
|
|
2828
2865
|
readonly "thumb-size": string;
|
|
2829
2866
|
readonly "vertical-height": string;
|
|
@@ -2867,6 +2904,12 @@ declare const tokens: {
|
|
|
2867
2904
|
readonly "viewport-margin": string;
|
|
2868
2905
|
readonly "viewport-margin-md": string;
|
|
2869
2906
|
};
|
|
2907
|
+
readonly "toggle-group": {
|
|
2908
|
+
readonly "segmented-border-color": string;
|
|
2909
|
+
readonly "segmented-background": string;
|
|
2910
|
+
readonly "segmented-pressed-background": string;
|
|
2911
|
+
readonly "segmented-pressed-color": string;
|
|
2912
|
+
};
|
|
2870
2913
|
readonly "toggle": {
|
|
2871
2914
|
readonly "opacity-disabled": string;
|
|
2872
2915
|
};
|