@scattered-light/loomiere-mojave 0.8.0 → 0.9.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 +4 -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/ToggleGroup/README.md +2 -2
- package/dist/exports/design-system/components/ToggleGroup/preview.html +1 -1
- package/dist/exports/design-system/components/bundle.css +362 -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 +24 -0
- package/dist/exports/tokens.dtcg.json +70 -0
- package/dist/tokens.css +144 -106
- package/dist/tokens.d.ts +20 -0
- package/dist/tokens.js +20 -0
- package/dist/tokens.json +128 -1
- package/package.json +2 -2
|
@@ -794,6 +794,7 @@
|
|
|
794
794
|
--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%. */
|
|
795
795
|
--sl-navigation-menu-popup-min-width: 400px; /** Narrowest a navigation panel gets on wider screens, and the widest a single column of links grows. */
|
|
796
796
|
--sl-navigation-menu-column-width: 12rem; /** Width of each column in a two-column link list. */
|
|
797
|
+
--sl-picker-button-max-width: 18rem; /** Widest the button grows. A longer choice is cut with an ellipsis; the label never is. */
|
|
797
798
|
--sl-preview-card-popup-min-width: 300px; /** Narrowest a preview card gets, so a short title still has room for its image. */
|
|
798
799
|
--sl-preview-card-popup-max-width: 450px; /** Widest a preview card gets, so its description keeps a comfortable line length. */
|
|
799
800
|
--sl-slider-vertical-height: 200px; /** Default length of a vertical slider. */
|
|
@@ -1680,111 +1681,6 @@
|
|
|
1680
1681
|
--sl-font-link-minimize-font-weight: var(--sl-font-weight-normal); /** font-weight of font.link-minimize. */
|
|
1681
1682
|
--sl-font-link-minimize-line-height: var(--sl-line-height-xs); /** line-height of font.link-minimize. */
|
|
1682
1683
|
--sl-font-link-minimize-letter-spacing: var(--sl-letter-spacing-normal); /** letter-spacing of font.link-minimize. */
|
|
1683
|
-
--sl-a11y-focus-ring-radius: var(--sl-radius-focus); /** Rounds the focus ring to match the small control radius. */
|
|
1684
|
-
--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. */
|
|
1685
|
-
--sl-calendar-day-radius: var(--sl-radius-pill); /** Selected days are circles. The pill radius is the same full radius badges and switches use. */
|
|
1686
|
-
--sl-check-border-width: var(--sl-stroke-default); /** Edge thickness. */
|
|
1687
|
-
--sl-check-radius: var(--sl-radius-box); /** Checkbox corners. Radios are always round. */
|
|
1688
|
-
--sl-check-transition: var(--sl-transition-input); /** Changes at the same speed as a field. */
|
|
1689
|
-
--sl-status-error: var(--sl-scope-error-signal); /** Errors and destructive actions. */
|
|
1690
|
-
--sl-status-error-dark: var(--sl-scope-error-fg); /** Error color for text or icons that need more contrast than the base color. */
|
|
1691
|
-
--sl-status-error-light: var(--sl-scope-error-soft); /** Error tint for backgrounds behind error messages. */
|
|
1692
|
-
--sl-status-info: var(--sl-scope-info-signal); /** Neutral notices and help. */
|
|
1693
|
-
--sl-status-info-dark: var(--sl-scope-info-fg); /** Info color for text or icons that need more contrast. */
|
|
1694
|
-
--sl-status-info-light: var(--sl-scope-info-soft); /** Info tint for notice backgrounds. */
|
|
1695
|
-
--sl-status-success: var(--sl-scope-success-signal); /** Confirmations and completed states. */
|
|
1696
|
-
--sl-status-success-dark: var(--sl-scope-success-fg); /** Success color for text or icons that need more contrast. */
|
|
1697
|
-
--sl-status-success-light: var(--sl-scope-success-soft); /** Success tint for confirmation backgrounds. */
|
|
1698
|
-
--sl-status-warning: var(--sl-scope-warning-signal); /** Warnings, and the required-field marker. */
|
|
1699
|
-
--sl-status-warning-dark: var(--sl-scope-warning-fg); /** Warning color for text or icons that need more contrast. */
|
|
1700
|
-
--sl-status-warning-light: var(--sl-scope-warning-soft); /** Warning tint for caution backgrounds. */
|
|
1701
|
-
--sl-text-primary: var(--sl-scope-chrome-fg); /** Body text and headings. The highest-contrast neutral. */
|
|
1702
|
-
--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. */
|
|
1703
|
-
--sl-disclosure-indicator-width: var(--sl-stroke-emphasis); /** Selected tab line thickness. */
|
|
1704
|
-
--sl-field-border-width: var(--sl-stroke-default); /** Field edge thickness. */
|
|
1705
|
-
--sl-field-radius: var(--sl-radius-control); /** Field corners, the same as every other control. */
|
|
1706
|
-
--sl-field-transition: var(--sl-transition-input); /** Border and halo ease in, never snap. */
|
|
1707
|
-
--sl-gauge-radius: var(--sl-radius-pill); /** Round ends on the track and the fill. */
|
|
1708
|
-
--sl-icon-button-radius: var(--sl-radius-item); /** Rounded like a menu item, since its hover fill reads as a highlighted item. */
|
|
1709
|
-
--sl-icon-button-transition: var(--sl-transition-button); /** Responds as fast as a button. */
|
|
1710
|
-
--sl-item-radius: var(--sl-radius-item); /** Row corners inside the popup. */
|
|
1711
|
-
--sl-modal-border-width: var(--sl-stroke-default); /** Modal edge thickness. */
|
|
1712
|
-
--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. */
|
|
1713
|
-
--sl-modal-shadow: var(--sl-elevation-xl); /** The deepest shadow, because a modal sits above everything but popups and toasts. */
|
|
1714
|
-
--sl-modal-backdrop: color-mix(in srgb, var(--sl-overlay-base) 50%, transparent); /** Scrim that dims the page behind a modal. */
|
|
1715
|
-
--sl-popup-border-width: var(--sl-stroke-default); /** Popup edge thickness. */
|
|
1716
|
-
--sl-popup-radius: var(--sl-radius-surface); /** Corners of a free-floating popup. */
|
|
1717
|
-
--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. */
|
|
1718
|
-
--sl-popup-shadow: var(--sl-elevation-lg); /** Lifts the popup above the page. */
|
|
1719
|
-
--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. */
|
|
1720
|
-
--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. */
|
|
1721
|
-
--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. */
|
|
1722
|
-
--sl-table-cell-padding-inline: var(--sl-control-padding-inline-sm); /** Space either side of cell text, matching small controls. */
|
|
1723
|
-
--sl-table-radius: var(--sl-radius-surface); /** Grid corners, like any card or panel. */
|
|
1724
|
-
--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. */
|
|
1725
|
-
--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. */
|
|
1726
|
-
--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. */
|
|
1727
|
-
--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. */
|
|
1728
|
-
--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. */
|
|
1729
|
-
--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. */
|
|
1730
|
-
--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. */
|
|
1731
|
-
--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. */
|
|
1732
|
-
--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. */
|
|
1733
|
-
--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. */
|
|
1734
|
-
--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. */
|
|
1735
|
-
--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. */
|
|
1736
|
-
--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. */
|
|
1737
|
-
--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. */
|
|
1738
|
-
--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. */
|
|
1739
|
-
--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. */
|
|
1740
|
-
--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. */
|
|
1741
|
-
--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. */
|
|
1742
|
-
--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. */
|
|
1743
|
-
--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. */
|
|
1744
|
-
--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. */
|
|
1745
|
-
--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. */
|
|
1746
|
-
--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. */
|
|
1747
|
-
--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. */
|
|
1748
|
-
--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. */
|
|
1749
|
-
--sl-focus-shadow-3px-error: 0 0 0 3px var(--sl-status-error); /** Focus halo for a field with an error. */
|
|
1750
|
-
--sl-calendar-day-color: var(--sl-text-primary); /** A day in the month being shown. */
|
|
1751
|
-
--sl-border-accent: var(--sl-scope-accent-border); /** Borders that signal selection or the active item. */
|
|
1752
|
-
--sl-border-default: var(--sl-scope-chrome-divider); /** Everyday dividers and control outlines. Darkens under prefers-contrast: more. */
|
|
1753
|
-
--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. */
|
|
1754
|
-
--sl-border-subtle: var(--sl-scope-chrome-border-subtle); /** Hairlines inside a surface (table rows, list separators) that should barely register. */
|
|
1755
|
-
--sl-border-control: var(--sl-scope-chrome-border); /** Edge of a small control (checkbox, radio, switch) that must be found before it is filled. */
|
|
1756
|
-
--sl-border-control-hover: var(--sl-scope-chrome-border-hover); /** Control edge under the pointer: one clear step darker than border.control. */
|
|
1757
|
-
--sl-interactive-active: var(--sl-scope-accent-solid-active); /** Pressed state of the main accent. Darker than hover so the press is felt. */
|
|
1758
|
-
--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. */
|
|
1759
|
-
--sl-interactive-disabled: var(--sl-scope-chrome-soft-active); /** Fill for disabled accent controls. Low contrast on purpose, but never invisible. */
|
|
1760
|
-
--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. */
|
|
1761
|
-
--sl-interactive-tint: var(--sl-scope-accent-soft); /** Faint accent wash behind a ghost or outline control on hover, or a selected row. */
|
|
1762
|
-
--sl-interactive-tint-hover: var(--sl-scope-accent-soft-hover); /** Accent wash for a highlighted menu item or a pressed toggle. */
|
|
1763
|
-
--sl-interactive-tint-active: var(--sl-scope-accent-soft-active); /** Accent wash for a selected or pressed item: one step past tint-hover. */
|
|
1764
|
-
--sl-interactive-tint-strong: var(--sl-scope-accent-soft-strong); /** Strongest accent wash, for hovering an item that is already pressed. */
|
|
1765
|
-
--sl-surface-canvas: var(--sl-scope-chrome-canvas); /** The page itself. Paper in light mode, the darkest neutral in dark mode. */
|
|
1766
|
-
--sl-surface-overlay: var(--sl-scope-chrome-overlay); /** Popups, menus and code blocks that sit above raised surfaces. */
|
|
1767
|
-
--sl-surface-raised: var(--sl-scope-chrome-raised); /** Cards and panels one level above the canvas. */
|
|
1768
|
-
--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. */
|
|
1769
|
-
--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. */
|
|
1770
|
-
--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. */
|
|
1771
|
-
--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. */
|
|
1772
|
-
--sl-text-disabled: var(--sl-scope-chrome-fg-disabled); /** Text in disabled controls. Deliberately below AA, which WCAG allows for disabled UI. */
|
|
1773
|
-
--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. */
|
|
1774
|
-
--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. */
|
|
1775
|
-
--sl-text-on-tint: var(--sl-scope-accent-on-soft); /** Text on an accent wash (interactive.tint*). Stays in the accent family. */
|
|
1776
|
-
--sl-text-on-tint-strong: var(--sl-scope-accent-ink); /** Text on the selected accent wash, a step darker than on-tint. */
|
|
1777
|
-
--sl-fill-subtle: var(--sl-scope-chrome-soft); /** Lightest fill: hovered rows, chips, empty tracks. */
|
|
1778
|
-
--sl-fill-default: var(--sl-scope-chrome-soft-hover); /** Standard fill: slider and switch tracks, pressed rows. */
|
|
1779
|
-
--sl-fill-strong: var(--sl-scope-chrome-soft-active); /** Heaviest fill: scroll thumbs, slider marks, hovered tracks. */
|
|
1780
|
-
--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. */
|
|
1781
|
-
--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. */
|
|
1782
|
-
--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. */
|
|
1783
|
-
--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. */
|
|
1784
|
-
--sl-content-selection-text: var(--sl-text-primary); /** Selected text stays body text so it reads the same on the tint. */
|
|
1785
|
-
--sl-field-border-color-error: var(--sl-status-error); /** Field edge when the value is invalid. */
|
|
1786
|
-
--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". */
|
|
1787
|
-
--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. */
|
|
1788
1684
|
--sl-font-subtitle-minimize-font-family: var(--sl-font-family-body); /** font-family of font.subtitle-minimize. */
|
|
1789
1685
|
--sl-font-subtitle-minimize-font-size: var(--sl-font-size-xs); /** font-size of font.subtitle-minimize. */
|
|
1790
1686
|
--sl-font-subtitle-minimize-font-weight: var(--sl-font-weight-bold); /** font-weight of font.subtitle-minimize. */
|
|
@@ -1952,6 +1848,10 @@
|
|
|
1952
1848
|
--sl-scope-info-signal: var(--sl-color-info-500); /** info signal: 500 in light, 400 in dark */
|
|
1953
1849
|
--sl-scope-info-focus: var(--sl-color-info-500); /** info focus: 500 in light, 400 in dark */
|
|
1954
1850
|
--sl-scope-chrome-fg: var(--sl-color-primary-1000); /** chrome fg, picked in the brand file (roles.concepts). */
|
|
1851
|
+
--sl-app-bar-height: var(--sl-space-16); /** Least height of the bar. It grows if its contents wrap. */
|
|
1852
|
+
--sl-app-bar-padding-inline: var(--sl-space-6); /** Space at the bar's start and end. */
|
|
1853
|
+
--sl-app-bar-gap: var(--sl-space-2-5); /** Space between the things in the bar. */
|
|
1854
|
+
--sl-app-bar-divider-height: var(--sl-space-6); /** Height of a vertical Separator between groups of actions in the bar. */
|
|
1955
1855
|
--sl-avatar-size-xs: var(--sl-space-8); /** 32px, inline with text and in dense lists. */
|
|
1956
1856
|
--sl-avatar-size-sm: var(--sl-space-10); /** 40px, in list rows and comments. */
|
|
1957
1857
|
--sl-avatar-size-md: var(--sl-space-12); /** 48px, the default. */
|
|
@@ -2039,7 +1939,72 @@
|
|
|
2039
1939
|
--sl-color-chrome-on-1000: var(--sl-color-neutral-on-1000);
|
|
2040
1940
|
--sl-color-chrome-on-1100: var(--sl-color-neutral-on-1100);
|
|
2041
1941
|
--sl-color-chrome-on-1200: var(--sl-color-neutral-on-1200);
|
|
2042
|
-
--sl-
|
|
1942
|
+
--sl-a11y-focus-ring-radius: var(--sl-radius-focus); /** Rounds the focus ring to match the small control radius. */
|
|
1943
|
+
--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. */
|
|
1944
|
+
--sl-calendar-day-radius: var(--sl-radius-pill); /** Selected days are circles. The pill radius is the same full radius badges and switches use. */
|
|
1945
|
+
--sl-check-border-width: var(--sl-stroke-default); /** Edge thickness. */
|
|
1946
|
+
--sl-check-radius: var(--sl-radius-box); /** Checkbox corners. Radios are always round. */
|
|
1947
|
+
--sl-check-transition: var(--sl-transition-input); /** Changes at the same speed as a field. */
|
|
1948
|
+
--sl-status-error: var(--sl-scope-error-signal); /** Errors and destructive actions. */
|
|
1949
|
+
--sl-status-error-dark: var(--sl-scope-error-fg); /** Error color for text or icons that need more contrast than the base color. */
|
|
1950
|
+
--sl-status-error-light: var(--sl-scope-error-soft); /** Error tint for backgrounds behind error messages. */
|
|
1951
|
+
--sl-status-info: var(--sl-scope-info-signal); /** Neutral notices and help. */
|
|
1952
|
+
--sl-status-info-dark: var(--sl-scope-info-fg); /** Info color for text or icons that need more contrast. */
|
|
1953
|
+
--sl-status-info-light: var(--sl-scope-info-soft); /** Info tint for notice backgrounds. */
|
|
1954
|
+
--sl-status-success: var(--sl-scope-success-signal); /** Confirmations and completed states. */
|
|
1955
|
+
--sl-status-success-dark: var(--sl-scope-success-fg); /** Success color for text or icons that need more contrast. */
|
|
1956
|
+
--sl-status-success-light: var(--sl-scope-success-soft); /** Success tint for confirmation backgrounds. */
|
|
1957
|
+
--sl-status-warning: var(--sl-scope-warning-signal); /** Warnings, and the required-field marker. */
|
|
1958
|
+
--sl-status-warning-dark: var(--sl-scope-warning-fg); /** Warning color for text or icons that need more contrast. */
|
|
1959
|
+
--sl-status-warning-light: var(--sl-scope-warning-soft); /** Warning tint for caution backgrounds. */
|
|
1960
|
+
--sl-text-primary: var(--sl-scope-chrome-fg); /** Body text and headings. The highest-contrast neutral. */
|
|
1961
|
+
--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. */
|
|
1962
|
+
--sl-disclosure-indicator-width: var(--sl-stroke-emphasis); /** Selected tab line thickness. */
|
|
1963
|
+
--sl-field-border-width: var(--sl-stroke-default); /** Field edge thickness. */
|
|
1964
|
+
--sl-field-radius: var(--sl-radius-control); /** Field corners, the same as every other control. */
|
|
1965
|
+
--sl-field-transition: var(--sl-transition-input); /** Border and halo ease in, never snap. */
|
|
1966
|
+
--sl-gauge-radius: var(--sl-radius-pill); /** Round ends on the track and the fill. */
|
|
1967
|
+
--sl-icon-button-radius: var(--sl-radius-item); /** Rounded like a menu item, since its hover fill reads as a highlighted item. */
|
|
1968
|
+
--sl-icon-button-transition: var(--sl-transition-button); /** Responds as fast as a button. */
|
|
1969
|
+
--sl-item-radius: var(--sl-radius-item); /** Row corners inside the popup. */
|
|
1970
|
+
--sl-modal-border-width: var(--sl-stroke-default); /** Modal edge thickness. */
|
|
1971
|
+
--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. */
|
|
1972
|
+
--sl-modal-shadow: var(--sl-elevation-xl); /** The deepest shadow, because a modal sits above everything but popups and toasts. */
|
|
1973
|
+
--sl-modal-backdrop: color-mix(in srgb, var(--sl-overlay-base) 50%, transparent); /** Scrim that dims the page behind a modal. */
|
|
1974
|
+
--sl-popup-border-width: var(--sl-stroke-default); /** Popup edge thickness. */
|
|
1975
|
+
--sl-popup-radius: var(--sl-radius-surface); /** Corners of a free-floating popup. */
|
|
1976
|
+
--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. */
|
|
1977
|
+
--sl-popup-shadow: var(--sl-elevation-lg); /** Lifts the popup above the page. */
|
|
1978
|
+
--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. */
|
|
1979
|
+
--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. */
|
|
1980
|
+
--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. */
|
|
1981
|
+
--sl-table-cell-padding-inline: var(--sl-control-padding-inline-sm); /** Space either side of cell text, matching small controls. */
|
|
1982
|
+
--sl-table-radius: var(--sl-radius-surface); /** Grid corners, like any card or panel. */
|
|
1983
|
+
--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. */
|
|
1984
|
+
--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. */
|
|
1985
|
+
--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. */
|
|
1986
|
+
--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. */
|
|
1987
|
+
--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. */
|
|
1988
|
+
--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. */
|
|
1989
|
+
--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. */
|
|
1990
|
+
--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. */
|
|
1991
|
+
--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. */
|
|
1992
|
+
--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. */
|
|
1993
|
+
--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. */
|
|
1994
|
+
--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. */
|
|
1995
|
+
--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. */
|
|
1996
|
+
--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. */
|
|
1997
|
+
--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. */
|
|
1998
|
+
--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. */
|
|
1999
|
+
--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. */
|
|
2000
|
+
--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. */
|
|
2001
|
+
--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. */
|
|
2002
|
+
--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. */
|
|
2003
|
+
--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. */
|
|
2004
|
+
--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. */
|
|
2005
|
+
--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. */
|
|
2006
|
+
--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. */
|
|
2007
|
+
--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. */
|
|
2043
2008
|
--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. */
|
|
2044
2009
|
--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. */
|
|
2045
2010
|
--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. */
|
|
@@ -2197,6 +2162,7 @@
|
|
|
2197
2162
|
--sl-status-level-error-quiet-fg: var(--sl-scope-error-fg); /** quiet in error: outline in error */
|
|
2198
2163
|
--sl-status-level-error-quiet-border: var(--sl-scope-error-border); /** quiet in error: outline in error */
|
|
2199
2164
|
--sl-status-level-error-quiet-border-hover: var(--sl-scope-error-solid-hover); /** quiet in error: outline in error */
|
|
2165
|
+
--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. */
|
|
2200
2166
|
--sl-button-radius: var(--sl-radius-pill); /** Buttons are pills, so they read as actions and never as fields or cards. */
|
|
2201
2167
|
--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. */
|
|
2202
2168
|
--sl-collection-row-height-md: var(--sl-control-height-md); /** A roomier row when the collection is the page rather than a dense register. */
|
|
@@ -2206,6 +2172,46 @@
|
|
|
2206
2172
|
--sl-sheet-border-width: var(--sl-stroke-default); /** Thickness of the sides and bottom. */
|
|
2207
2173
|
--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. */
|
|
2208
2174
|
--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. */
|
|
2175
|
+
--sl-focus-shadow-3px-error: 0 0 0 3px var(--sl-status-error); /** Focus halo for a field with an error. */
|
|
2176
|
+
--sl-calendar-day-color: var(--sl-text-primary); /** A day in the month being shown. */
|
|
2177
|
+
--sl-border-accent: var(--sl-scope-accent-border); /** Borders that signal selection or the active item. */
|
|
2178
|
+
--sl-border-default: var(--sl-scope-chrome-divider); /** Everyday dividers and control outlines. Darkens under prefers-contrast: more. */
|
|
2179
|
+
--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. */
|
|
2180
|
+
--sl-border-subtle: var(--sl-scope-chrome-border-subtle); /** Hairlines inside a surface (table rows, list separators) that should barely register. */
|
|
2181
|
+
--sl-border-control: var(--sl-scope-chrome-border); /** Edge of a small control (checkbox, radio, switch) that must be found before it is filled. */
|
|
2182
|
+
--sl-border-control-hover: var(--sl-scope-chrome-border-hover); /** Control edge under the pointer: one clear step darker than border.control. */
|
|
2183
|
+
--sl-interactive-active: var(--sl-scope-accent-solid-active); /** Pressed state of the main accent. Darker than hover so the press is felt. */
|
|
2184
|
+
--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. */
|
|
2185
|
+
--sl-interactive-disabled: var(--sl-scope-chrome-soft-active); /** Fill for disabled accent controls. Low contrast on purpose, but never invisible. */
|
|
2186
|
+
--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. */
|
|
2187
|
+
--sl-interactive-tint: var(--sl-scope-accent-soft); /** Faint accent wash behind a ghost or outline control on hover, or a selected row. */
|
|
2188
|
+
--sl-interactive-tint-hover: var(--sl-scope-accent-soft-hover); /** Accent wash for a highlighted menu item or a pressed toggle. */
|
|
2189
|
+
--sl-interactive-tint-active: var(--sl-scope-accent-soft-active); /** Accent wash for a selected or pressed item: one step past tint-hover. */
|
|
2190
|
+
--sl-interactive-tint-strong: var(--sl-scope-accent-soft-strong); /** Strongest accent wash, for hovering an item that is already pressed. */
|
|
2191
|
+
--sl-surface-canvas: var(--sl-scope-chrome-canvas); /** The page itself. Paper in light mode, the darkest neutral in dark mode. */
|
|
2192
|
+
--sl-surface-overlay: var(--sl-scope-chrome-overlay); /** Popups, menus and code blocks that sit above raised surfaces. */
|
|
2193
|
+
--sl-surface-raised: var(--sl-scope-chrome-raised); /** Cards and panels one level above the canvas. */
|
|
2194
|
+
--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. */
|
|
2195
|
+
--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. */
|
|
2196
|
+
--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. */
|
|
2197
|
+
--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. */
|
|
2198
|
+
--sl-text-disabled: var(--sl-scope-chrome-fg-disabled); /** Text in disabled controls. Deliberately below AA, which WCAG allows for disabled UI. */
|
|
2199
|
+
--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. */
|
|
2200
|
+
--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. */
|
|
2201
|
+
--sl-text-on-tint: var(--sl-scope-accent-on-soft); /** Text on an accent wash (interactive.tint*). Stays in the accent family. */
|
|
2202
|
+
--sl-text-on-tint-strong: var(--sl-scope-accent-ink); /** Text on the selected accent wash, a step darker than on-tint. */
|
|
2203
|
+
--sl-fill-subtle: var(--sl-scope-chrome-soft); /** Lightest fill: hovered rows, chips, empty tracks. */
|
|
2204
|
+
--sl-fill-default: var(--sl-scope-chrome-soft-hover); /** Standard fill: slider and switch tracks, pressed rows. */
|
|
2205
|
+
--sl-fill-strong: var(--sl-scope-chrome-soft-active); /** Heaviest fill: scroll thumbs, slider marks, hovered tracks. */
|
|
2206
|
+
--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. */
|
|
2207
|
+
--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. */
|
|
2208
|
+
--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. */
|
|
2209
|
+
--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. */
|
|
2210
|
+
--sl-content-selection-text: var(--sl-text-primary); /** Selected text stays body text so it reads the same on the tint. */
|
|
2211
|
+
--sl-field-border-color-error: var(--sl-status-error); /** Field edge when the value is invalid. */
|
|
2212
|
+
--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". */
|
|
2213
|
+
--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. */
|
|
2214
|
+
--sl-bar-border-width: var(--sl-stroke-default); /** Strip edge thickness. */
|
|
2209
2215
|
--sl-field-color: var(--sl-text-primary); /** The value you typed. */
|
|
2210
2216
|
--sl-gauge-label-color: var(--sl-text-primary); /** What is being measured. */
|
|
2211
2217
|
--sl-icon-button-color-hover: var(--sl-text-primary); /** Darkens on hover to confirm it's the target. */
|
|
@@ -2349,16 +2355,21 @@
|
|
|
2349
2355
|
--sl-table-range-background: var(--sl-interactive-tint); /** Cells inside a dragged range selection. */
|
|
2350
2356
|
--sl-emphasis-bold-fg: var(--sl-scope-accent-on-solid); /** bold in default: solid in accent (primary) */
|
|
2351
2357
|
--sl-status-level-default-bold-fg: var(--sl-scope-accent-on-solid); /** bold in default: solid in accent (primary) */
|
|
2358
|
+
--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. */
|
|
2359
|
+
--sl-app-bar-divider-color: var(--sl-border-strong); /** Color of a vertical Separator in the bar. */
|
|
2352
2360
|
--sl-description-list-row-border-color: var(--sl-border-subtle); /** Hairline between pairs, as quiet as a table's row lines. */
|
|
2353
2361
|
--sl-description-list-label-color: var(--sl-text-secondary); /** Labels. */
|
|
2354
2362
|
--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. */
|
|
2355
2363
|
--sl-drawer-handle-color: var(--sl-border-strong); /** The grab bar on bottom drawers. Strong border so it reads as something to drag. */
|
|
2364
|
+
--sl-picker-button-label-color: var(--sl-text-secondary); /** The caps label, quieter than the choice it names. */
|
|
2356
2365
|
--sl-sheet-background: var(--sl-surface-raised); /** The sheet's fill: the raised surface, one level above the page like any card or panel. */
|
|
2357
2366
|
--sl-sheet-border-color: var(--sl-border-default); /** The sheet's sides and bottom, the everyday divider. */
|
|
2358
2367
|
--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. */
|
|
2359
2368
|
--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). */
|
|
2360
2369
|
--sl-stat-figure-label-color: var(--sl-text-secondary); /** The caps label above the figure. */
|
|
2361
2370
|
--sl-stat-figure-caption-color: var(--sl-text-secondary); /** The caption under the figure. */
|
|
2371
|
+
--sl-toggle-group-segmented-background: var(--sl-surface-raised); /** Fill of a toggle that is not pressed. */
|
|
2372
|
+
--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. */
|
|
2362
2373
|
--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. */
|
|
2363
2374
|
--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. */
|
|
2364
2375
|
--sl-check-mark-color: var(--sl-text-on-primary); /** Check mark, dash or dot on a ticked fill. */
|
|
@@ -2376,9 +2387,12 @@
|
|
|
2376
2387
|
--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. */
|
|
2377
2388
|
--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. */
|
|
2378
2389
|
--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. */
|
|
2390
|
+
--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. */
|
|
2379
2391
|
--sl-sheet-rule-color: var(--sl-rule-color); /** The top rule's color: the working-paper rule color, so sheets and ruled tables match. */
|
|
2380
2392
|
--sl-sheet-tab-color: var(--sl-text-on-inverse-surface); /** Text on the tab label. */
|
|
2381
2393
|
--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. */
|
|
2394
|
+
--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. */
|
|
2395
|
+
--sl-toggle-group-segmented-pressed-color: var(--sl-text-on-inverse); /** Text on the pressed toggle. */
|
|
2382
2396
|
--sl-check-background: var(--sl-field-background); /** Empty box, the same fill as a field so it reads as something to fill in. */
|
|
2383
2397
|
--sl-popup-arrow-fill: var(--sl-popup-background); /** The arrow is part of the popup, so it takes the popup's fill. */
|
|
2384
2398
|
}
|
|
@@ -5862,11 +5876,15 @@
|
|
|
5862
5876
|
--sl-table-range-border: var(--sl-focus-ring);
|
|
5863
5877
|
--sl-table-total-rule-color: var(--sl-rule-color);
|
|
5864
5878
|
--sl-table-total-background: var(--sl-table-background);
|
|
5879
|
+
--sl-app-bar-background: var(--sl-surface-raised);
|
|
5880
|
+
--sl-app-bar-border-color: var(--sl-rule-color);
|
|
5881
|
+
--sl-app-bar-divider-color: var(--sl-border-strong);
|
|
5865
5882
|
--sl-description-list-row-border-color: var(--sl-border-subtle);
|
|
5866
5883
|
--sl-description-list-label-color: var(--sl-text-secondary);
|
|
5867
5884
|
--sl-description-list-value-color: var(--sl-text-primary);
|
|
5868
5885
|
--sl-description-list-leader-color: var(--sl-border-control);
|
|
5869
5886
|
--sl-drawer-handle-color: var(--sl-border-strong);
|
|
5887
|
+
--sl-picker-button-label-color: var(--sl-text-secondary);
|
|
5870
5888
|
--sl-sheet-background: var(--sl-surface-raised);
|
|
5871
5889
|
--sl-sheet-border-color: var(--sl-border-default);
|
|
5872
5890
|
--sl-sheet-rule-color: var(--sl-rule-color);
|
|
@@ -5877,6 +5895,10 @@
|
|
|
5877
5895
|
--sl-stat-figure-underline-color: var(--sl-rule-color);
|
|
5878
5896
|
--sl-stat-figure-label-color: var(--sl-text-secondary);
|
|
5879
5897
|
--sl-stat-figure-caption-color: var(--sl-text-secondary);
|
|
5898
|
+
--sl-toggle-group-segmented-border-color: var(--sl-rule-color);
|
|
5899
|
+
--sl-toggle-group-segmented-background: var(--sl-surface-raised);
|
|
5900
|
+
--sl-toggle-group-segmented-pressed-background: var(--sl-fill-inverse);
|
|
5901
|
+
--sl-toggle-group-segmented-pressed-color: var(--sl-text-on-inverse);
|
|
5880
5902
|
--sl-calendar-day-background-hover: var(--sl-item-background-hover);
|
|
5881
5903
|
--sl-check-background: var(--sl-field-background);
|
|
5882
5904
|
}
|
|
@@ -6025,11 +6047,15 @@
|
|
|
6025
6047
|
--sl-table-range-border: var(--sl-focus-ring);
|
|
6026
6048
|
--sl-table-total-rule-color: var(--sl-rule-color);
|
|
6027
6049
|
--sl-table-total-background: var(--sl-table-background);
|
|
6050
|
+
--sl-app-bar-background: var(--sl-surface-raised);
|
|
6051
|
+
--sl-app-bar-border-color: var(--sl-rule-color);
|
|
6052
|
+
--sl-app-bar-divider-color: var(--sl-border-strong);
|
|
6028
6053
|
--sl-description-list-row-border-color: var(--sl-border-subtle);
|
|
6029
6054
|
--sl-description-list-label-color: var(--sl-text-secondary);
|
|
6030
6055
|
--sl-description-list-value-color: var(--sl-text-primary);
|
|
6031
6056
|
--sl-description-list-leader-color: var(--sl-border-control);
|
|
6032
6057
|
--sl-drawer-handle-color: var(--sl-border-strong);
|
|
6058
|
+
--sl-picker-button-label-color: var(--sl-text-secondary);
|
|
6033
6059
|
--sl-sheet-background: var(--sl-surface-raised);
|
|
6034
6060
|
--sl-sheet-border-color: var(--sl-border-default);
|
|
6035
6061
|
--sl-sheet-rule-color: var(--sl-rule-color);
|
|
@@ -6040,6 +6066,10 @@
|
|
|
6040
6066
|
--sl-stat-figure-underline-color: var(--sl-rule-color);
|
|
6041
6067
|
--sl-stat-figure-label-color: var(--sl-text-secondary);
|
|
6042
6068
|
--sl-stat-figure-caption-color: var(--sl-text-secondary);
|
|
6069
|
+
--sl-toggle-group-segmented-border-color: var(--sl-rule-color);
|
|
6070
|
+
--sl-toggle-group-segmented-background: var(--sl-surface-raised);
|
|
6071
|
+
--sl-toggle-group-segmented-pressed-background: var(--sl-fill-inverse);
|
|
6072
|
+
--sl-toggle-group-segmented-pressed-color: var(--sl-text-on-inverse);
|
|
6043
6073
|
--sl-calendar-day-background-hover: var(--sl-item-background-hover);
|
|
6044
6074
|
--sl-check-background: var(--sl-field-background);
|
|
6045
6075
|
}
|
|
@@ -6188,11 +6218,15 @@
|
|
|
6188
6218
|
--sl-table-range-border: var(--sl-focus-ring);
|
|
6189
6219
|
--sl-table-total-rule-color: var(--sl-rule-color);
|
|
6190
6220
|
--sl-table-total-background: var(--sl-table-background);
|
|
6221
|
+
--sl-app-bar-background: var(--sl-surface-raised);
|
|
6222
|
+
--sl-app-bar-border-color: var(--sl-rule-color);
|
|
6223
|
+
--sl-app-bar-divider-color: var(--sl-border-strong);
|
|
6191
6224
|
--sl-description-list-row-border-color: var(--sl-border-subtle);
|
|
6192
6225
|
--sl-description-list-label-color: var(--sl-text-secondary);
|
|
6193
6226
|
--sl-description-list-value-color: var(--sl-text-primary);
|
|
6194
6227
|
--sl-description-list-leader-color: var(--sl-border-control);
|
|
6195
6228
|
--sl-drawer-handle-color: var(--sl-border-strong);
|
|
6229
|
+
--sl-picker-button-label-color: var(--sl-text-secondary);
|
|
6196
6230
|
--sl-sheet-background: var(--sl-surface-raised);
|
|
6197
6231
|
--sl-sheet-border-color: var(--sl-border-default);
|
|
6198
6232
|
--sl-sheet-rule-color: var(--sl-rule-color);
|
|
@@ -6203,6 +6237,10 @@
|
|
|
6203
6237
|
--sl-stat-figure-underline-color: var(--sl-rule-color);
|
|
6204
6238
|
--sl-stat-figure-label-color: var(--sl-text-secondary);
|
|
6205
6239
|
--sl-stat-figure-caption-color: var(--sl-text-secondary);
|
|
6240
|
+
--sl-toggle-group-segmented-border-color: var(--sl-rule-color);
|
|
6241
|
+
--sl-toggle-group-segmented-background: var(--sl-surface-raised);
|
|
6242
|
+
--sl-toggle-group-segmented-pressed-background: var(--sl-fill-inverse);
|
|
6243
|
+
--sl-toggle-group-segmented-pressed-color: var(--sl-text-on-inverse);
|
|
6206
6244
|
--sl-calendar-day-background-hover: var(--sl-item-background-hover);
|
|
6207
6245
|
--sl-check-background: var(--sl-field-background);
|
|
6208
6246
|
}
|
|
@@ -6559,7 +6597,7 @@
|
|
|
6559
6597
|
}
|
|
6560
6598
|
|
|
6561
6599
|
|
|
6562
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
6600
|
+
/* @scattered-light/loomiere-base-ui 0.9.0 · styles for @base-ui/react 1.9.0 */
|
|
6563
6601
|
/* Loomiere for Base UI: component styles. Brand-free: every value is a --sl- variable from a
|
|
6564
6602
|
Loomiere theme. Load the theme first:
|
|
6565
6603
|
@import '<your theme>/tokens.css';
|
|
@@ -6569,7 +6607,7 @@
|
|
|
6569
6607
|
/* Document defaults, in the reset layer so any unlayered rule wins over them, and so layered
|
|
6570
6608
|
frameworks (Chakra's recipes, Tailwind's utilities) are not undone by them. */
|
|
6571
6609
|
@layer reset {
|
|
6572
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
6610
|
+
/* @scattered-light/loomiere-base-ui 0.9.0 · styles for @base-ui/react 1.9.0 */
|
|
6573
6611
|
/* CSS Reset - Mojave Theme */
|
|
6574
6612
|
|
|
6575
6613
|
/* ============================================
|
|
@@ -7013,7 +7051,7 @@ hr {
|
|
|
7013
7051
|
}
|
|
7014
7052
|
}
|
|
7015
7053
|
@layer reset {
|
|
7016
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
7054
|
+
/* @scattered-light/loomiere-base-ui 0.9.0 · styles for @base-ui/react 1.9.0 */
|
|
7017
7055
|
/* Accessibility — base rules (no theme color dependencies). Theme-specific focus/invalid: accessibility-theme.css */
|
|
7018
7056
|
|
|
7019
7057
|
/* Remove default focus; keyboard focus styled in accessibility-theme.css */
|
|
@@ -7126,7 +7164,7 @@ main:focus {
|
|
|
7126
7164
|
|
|
7127
7165
|
}
|
|
7128
7166
|
@layer reset {
|
|
7129
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
7167
|
+
/* @scattered-light/loomiere-base-ui 0.9.0 · styles for @base-ui/react 1.9.0 */
|
|
7130
7168
|
/* Focus, invalid, contrast — requires theme tokens (after theme-accessibility.css). */
|
|
7131
7169
|
|
|
7132
7170
|
:focus-visible {
|
|
@@ -7194,7 +7232,7 @@ button,
|
|
|
7194
7232
|
|
|
7195
7233
|
}
|
|
7196
7234
|
/* Component styles */
|
|
7197
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
7235
|
+
/* @scattered-light/loomiere-base-ui 0.9.0 · styles for @base-ui/react 1.9.0 */
|
|
7198
7236
|
/* Accordion - Mojave Theme
|
|
7199
7237
|
*
|
|
7200
7238
|
* No component tokens. Hover, press, chevron, divider and motion are the disclosure
|
|
@@ -7315,7 +7353,7 @@ button,
|
|
|
7315
7353
|
overflow: hidden;
|
|
7316
7354
|
}
|
|
7317
7355
|
|
|
7318
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
7356
|
+
/* @scattered-light/loomiere-base-ui 0.9.0 · styles for @base-ui/react 1.9.0 */
|
|
7319
7357
|
/* Alert Dialog - Mojave Theme
|
|
7320
7358
|
*
|
|
7321
7359
|
* No component tokens and no rules of its own. An alert dialog looks exactly like a
|
|
@@ -7324,7 +7362,7 @@ button,
|
|
|
7324
7362
|
* cancel quiet, and a destructive one bold with data-color="error".
|
|
7325
7363
|
*/
|
|
7326
7364
|
|
|
7327
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
7365
|
+
/* @scattered-light/loomiere-base-ui 0.9.0 · styles for @base-ui/react 1.9.0 */
|
|
7328
7366
|
/* Autocomplete - Mojave Theme
|
|
7329
7367
|
*
|
|
7330
7368
|
* No component tokens. The input is Input (Input.css), the clear button is an icon
|
|
@@ -7526,7 +7564,7 @@ button,
|
|
|
7526
7564
|
(reset-accessibility.css).
|
|
7527
7565
|
============================================ */
|
|
7528
7566
|
|
|
7529
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
7567
|
+
/* @scattered-light/loomiere-base-ui 0.9.0 · styles for @base-ui/react 1.9.0 */
|
|
7530
7568
|
/* Avatar - Mojave Theme
|
|
7531
7569
|
*
|
|
7532
7570
|
* A round picture with a ring in the page color, so avatars in a group cut out of each other in
|
|
@@ -7634,7 +7672,7 @@ button,
|
|
|
7634
7672
|
}
|
|
7635
7673
|
}
|
|
7636
7674
|
|
|
7637
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
7675
|
+
/* @scattered-light/loomiere-base-ui 0.9.0 · styles for @base-ui/react 1.9.0 */
|
|
7638
7676
|
/* Button - Mojave Theme
|
|
7639
7677
|
*
|
|
7640
7678
|
* Colors are the brand's emphasis levels, sizes are control.*, text is the trigger
|
|
@@ -7784,7 +7822,7 @@ button,
|
|
|
7784
7822
|
font-size: var(--sl-icon-size-maximize);
|
|
7785
7823
|
}
|
|
7786
7824
|
|
|
7787
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
7825
|
+
/* @scattered-light/loomiere-base-ui 0.9.0 · styles for @base-ui/react 1.9.0 */
|
|
7788
7826
|
/* Checkbox - Mojave Theme
|
|
7789
7827
|
* Sizes follow the label: the box is the icon size one tier above the label's text
|
|
7790
7828
|
* tier (like a button's icon) and the check mark one tier below it.
|
|
@@ -7941,7 +7979,7 @@ button,
|
|
|
7941
7979
|
border-radius: var(--sl-radius-pill);
|
|
7942
7980
|
}
|
|
7943
7981
|
|
|
7944
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
7982
|
+
/* @scattered-light/loomiere-base-ui 0.9.0 · styles for @base-ui/react 1.9.0 */
|
|
7945
7983
|
/* Checkbox Group - Mojave Theme */
|
|
7946
7984
|
|
|
7947
7985
|
/* Each checkbox row is already a full tap target tall, so the rows sit close. */
|
|
@@ -7957,7 +7995,7 @@ button,
|
|
|
7957
7995
|
pointer-events: none;
|
|
7958
7996
|
}
|
|
7959
7997
|
|
|
7960
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
7998
|
+
/* @scattered-light/loomiere-base-ui 0.9.0 · styles for @base-ui/react 1.9.0 */
|
|
7961
7999
|
/* Collapsible - Mojave Theme
|
|
7962
8000
|
*
|
|
7963
8001
|
* No component tokens. Hover, press, chevron and motion are the disclosure concept
|
|
@@ -8073,7 +8111,7 @@ button,
|
|
|
8073
8111
|
background: var(--sl-surface-raised);
|
|
8074
8112
|
}
|
|
8075
8113
|
|
|
8076
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
8114
|
+
/* @scattered-light/loomiere-base-ui 0.9.0 · styles for @base-ui/react 1.9.0 */
|
|
8077
8115
|
/* Combobox - Mojave Theme
|
|
8078
8116
|
*
|
|
8079
8117
|
* No component tokens. The input is Input (Input.css); the chips box is a field; the
|
|
@@ -8558,7 +8596,7 @@ button,
|
|
|
8558
8596
|
color: var(--sl-text-tertiary);
|
|
8559
8597
|
}
|
|
8560
8598
|
|
|
8561
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
8599
|
+
/* @scattered-light/loomiere-base-ui 0.9.0 · styles for @base-ui/react 1.9.0 */
|
|
8562
8600
|
/* Context Menu - Mojave Theme
|
|
8563
8601
|
*
|
|
8564
8602
|
* No component tokens. Opens on right-click; the trigger area only sets the cursor. The popup is the popup concept, rows are item rows at the
|
|
@@ -8727,7 +8765,7 @@ button,
|
|
|
8727
8765
|
stroke-width: var(--sl-stroke-default);
|
|
8728
8766
|
}
|
|
8729
8767
|
|
|
8730
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
8768
|
+
/* @scattered-light/loomiere-base-ui 0.9.0 · styles for @base-ui/react 1.9.0 */
|
|
8731
8769
|
/* Dialog and Alert dialog - Mojave Theme
|
|
8732
8770
|
*
|
|
8733
8771
|
* Both are centered modals built from the modal concept (tokens/semantic/modal.json):
|
|
@@ -8873,7 +8911,7 @@ button,
|
|
|
8873
8911
|
margin-top: var(--sl-modal-actions-spacing);
|
|
8874
8912
|
}
|
|
8875
8913
|
|
|
8876
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
8914
|
+
/* @scattered-light/loomiere-base-ui 0.9.0 · styles for @base-ui/react 1.9.0 */
|
|
8877
8915
|
/* Drawer - a panel that slides in from an edge and can be swiped away.
|
|
8878
8916
|
The surface, scrim, heading and motion are the modal concept's (--sl-modal-*), so a
|
|
8879
8917
|
drawer reads as a dialog's sibling; only its size and grab bar are its own
|
|
@@ -9006,7 +9044,7 @@ button,
|
|
|
9006
9044
|
color: var(--sl-modal-description-color);
|
|
9007
9045
|
}
|
|
9008
9046
|
|
|
9009
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
9047
|
+
/* @scattered-light/loomiere-base-ui 0.9.0 · styles for @base-ui/react 1.9.0 */
|
|
9010
9048
|
/* Field - Mojave Theme
|
|
9011
9049
|
*
|
|
9012
9050
|
* Label, control, description and error. No component tokens: spacing is the field
|
|
@@ -9067,7 +9105,7 @@ textarea.FieldControl {
|
|
|
9067
9105
|
height: auto;
|
|
9068
9106
|
}
|
|
9069
9107
|
|
|
9070
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
9108
|
+
/* @scattered-light/loomiere-base-ui 0.9.0 · styles for @base-ui/react 1.9.0 */
|
|
9071
9109
|
/* Fieldset - Mojave Theme
|
|
9072
9110
|
*
|
|
9073
9111
|
* No component tokens: a titled group of fields, spaced by the stack gaps, with
|
|
@@ -9109,7 +9147,7 @@ textarea.FieldControl {
|
|
|
9109
9147
|
color: var(--sl-text-secondary);
|
|
9110
9148
|
}
|
|
9111
9149
|
|
|
9112
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
9150
|
+
/* @scattered-light/loomiere-base-ui 0.9.0 · styles for @base-ui/react 1.9.0 */
|
|
9113
9151
|
/* Form - Mojave Theme
|
|
9114
9152
|
*
|
|
9115
9153
|
* No component tokens: fields stack with the large block space, and the action
|
|
@@ -9129,7 +9167,7 @@ textarea.FieldControl {
|
|
|
9129
9167
|
margin-top: var(--sl-space-block-md);
|
|
9130
9168
|
}
|
|
9131
9169
|
|
|
9132
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
9170
|
+
/* @scattered-light/loomiere-base-ui 0.9.0 · styles for @base-ui/react 1.9.0 */
|
|
9133
9171
|
/* Input - Mojave Theme
|
|
9134
9172
|
*
|
|
9135
9173
|
* No component tokens: the look is the field concept (tokens/semantic/field.json),
|
|
@@ -9266,7 +9304,7 @@ textarea.FieldControl {
|
|
|
9266
9304
|
padding-inline: var(--sl-control-padding-inline-lg);
|
|
9267
9305
|
}
|
|
9268
9306
|
|
|
9269
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
9307
|
+
/* @scattered-light/loomiere-base-ui 0.9.0 · styles for @base-ui/react 1.9.0 */
|
|
9270
9308
|
/* Menu - Mojave Theme
|
|
9271
9309
|
*
|
|
9272
9310
|
* No component tokens. The trigger is a Button. The popup is the popup concept, rows are item rows at the
|
|
@@ -9415,7 +9453,7 @@ textarea.FieldControl {
|
|
|
9415
9453
|
color: var(--sl-text-tertiary);
|
|
9416
9454
|
}
|
|
9417
9455
|
|
|
9418
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
9456
|
+
/* @scattered-light/loomiere-base-ui 0.9.0 · styles for @base-ui/react 1.9.0 */
|
|
9419
9457
|
/* Menubar - Mojave Theme
|
|
9420
9458
|
*
|
|
9421
9459
|
* No component tokens. A row of quiet triggers, each opening a menu. The popup is the popup concept, rows are item rows at the
|
|
@@ -9608,7 +9646,7 @@ textarea.FieldControl {
|
|
|
9608
9646
|
color: var(--sl-text-tertiary);
|
|
9609
9647
|
}
|
|
9610
9648
|
|
|
9611
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
9649
|
+
/* @scattered-light/loomiere-base-ui 0.9.0 · styles for @base-ui/react 1.9.0 */
|
|
9612
9650
|
/* Meter - Mojave Theme
|
|
9613
9651
|
*
|
|
9614
9652
|
* A gauge (tokens/semantic/gauge.json). The fill is the solid color of the scope around it:
|
|
@@ -9671,7 +9709,7 @@ textarea.FieldControl {
|
|
|
9671
9709
|
height: var(--sl-gauge-height-lg);
|
|
9672
9710
|
}
|
|
9673
9711
|
|
|
9674
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
9712
|
+
/* @scattered-light/loomiere-base-ui 0.9.0 · styles for @base-ui/react 1.9.0 */
|
|
9675
9713
|
/* Navigation Menu - Mojave Theme
|
|
9676
9714
|
*
|
|
9677
9715
|
* The strip is the bar concept, the panel is the popup concept and each link is an item
|
|
@@ -10091,7 +10129,7 @@ textarea.FieldControl {
|
|
|
10091
10129
|
width: 100%;
|
|
10092
10130
|
}
|
|
10093
10131
|
|
|
10094
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
10132
|
+
/* @scattered-light/loomiere-base-ui 0.9.0 · styles for @base-ui/react 1.9.0 */
|
|
10095
10133
|
/* Number Field - Mojave Theme
|
|
10096
10134
|
*
|
|
10097
10135
|
* No component tokens. The input is Input (Input.css) and the label, description and
|
|
@@ -10182,7 +10220,7 @@ textarea.FieldControl {
|
|
|
10182
10220
|
user-select: none;
|
|
10183
10221
|
}
|
|
10184
10222
|
|
|
10185
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
10223
|
+
/* @scattered-light/loomiere-base-ui 0.9.0 · styles for @base-ui/react 1.9.0 */
|
|
10186
10224
|
/* OTP Field - Mojave Theme
|
|
10187
10225
|
*
|
|
10188
10226
|
* One-time code entry: a row of single-character inputs. Each slot is the same control as Input
|
|
@@ -10245,7 +10283,7 @@ textarea.FieldControl {
|
|
|
10245
10283
|
letter-spacing: var(--sl-font-body-magnify-letter-spacing);
|
|
10246
10284
|
}
|
|
10247
10285
|
|
|
10248
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
10286
|
+
/* @scattered-light/loomiere-base-ui 0.9.0 · styles for @base-ui/react 1.9.0 */
|
|
10249
10287
|
/* Popover - Mojave Theme */
|
|
10250
10288
|
|
|
10251
10289
|
/* ============================================
|
|
@@ -10410,7 +10448,7 @@ textarea.FieldControl {
|
|
|
10410
10448
|
fill: var(--sl-popup-arrow-stroke);
|
|
10411
10449
|
}
|
|
10412
10450
|
|
|
10413
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
10451
|
+
/* @scattered-light/loomiere-base-ui 0.9.0 · styles for @base-ui/react 1.9.0 */
|
|
10414
10452
|
/* Preview Card - Mojave Theme
|
|
10415
10453
|
*
|
|
10416
10454
|
* The popup concept (surface, arrow, motion) with a title-magnify title and condense
|
|
@@ -10527,7 +10565,7 @@ textarea.FieldControl {
|
|
|
10527
10565
|
fill: var(--sl-popup-arrow-stroke);
|
|
10528
10566
|
}
|
|
10529
10567
|
|
|
10530
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
10568
|
+
/* @scattered-light/loomiere-base-ui 0.9.0 · styles for @base-ui/react 1.9.0 */
|
|
10531
10569
|
/* Progress - Mojave Theme
|
|
10532
10570
|
*
|
|
10533
10571
|
* A gauge (tokens/semantic/gauge.json), the same bar as Meter. The fill is the solid color of
|
|
@@ -10604,7 +10642,7 @@ textarea.FieldControl {
|
|
|
10604
10642
|
height: var(--sl-gauge-height-lg);
|
|
10605
10643
|
}
|
|
10606
10644
|
|
|
10607
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
10645
|
+
/* @scattered-light/loomiere-base-ui 0.9.0 · styles for @base-ui/react 1.9.0 */
|
|
10608
10646
|
/* Radio - Mojave Theme
|
|
10609
10647
|
* Same box as Checkbox, always round. Sizes follow the label the same way, and the
|
|
10610
10648
|
* dot is a share of the circle (check.dot-scale).
|
|
@@ -10756,7 +10794,7 @@ textarea.FieldControl {
|
|
|
10756
10794
|
gap: var(--sl-gap-stack-sm);
|
|
10757
10795
|
}
|
|
10758
10796
|
|
|
10759
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
10797
|
+
/* @scattered-light/loomiere-base-ui 0.9.0 · styles for @base-ui/react 1.9.0 */
|
|
10760
10798
|
/* Scroll Area - Mojave Theme
|
|
10761
10799
|
*
|
|
10762
10800
|
* The scrollbar is the content scrollbar (content.scrollbar-*): a track that stays clear until
|
|
@@ -10838,7 +10876,7 @@ textarea.FieldControl {
|
|
|
10838
10876
|
background: transparent;
|
|
10839
10877
|
}
|
|
10840
10878
|
|
|
10841
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
10879
|
+
/* @scattered-light/loomiere-base-ui 0.9.0 · styles for @base-ui/react 1.9.0 */
|
|
10842
10880
|
/* Select - Mojave Theme
|
|
10843
10881
|
*
|
|
10844
10882
|
* The trigger is a field (the field pattern, control sizes, the base text style); the
|
|
@@ -11123,7 +11161,7 @@ textarea.FieldControl {
|
|
|
11123
11161
|
stroke-width: var(--sl-stroke-default);
|
|
11124
11162
|
}
|
|
11125
11163
|
|
|
11126
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
11164
|
+
/* @scattered-light/loomiere-base-ui 0.9.0 · styles for @base-ui/react 1.9.0 */
|
|
11127
11165
|
/* Separator - Mojave Theme
|
|
11128
11166
|
*
|
|
11129
11167
|
* A hairline in the everyday divider color (border.default), one stroke thick, with a step of
|
|
@@ -11151,7 +11189,7 @@ textarea.FieldControl {
|
|
|
11151
11189
|
margin-inline: var(--sl-space-4);
|
|
11152
11190
|
}
|
|
11153
11191
|
|
|
11154
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
11192
|
+
/* @scattered-light/loomiere-base-ui 0.9.0 · styles for @base-ui/react 1.9.0 */
|
|
11155
11193
|
/* Slider - Mojave Theme
|
|
11156
11194
|
*
|
|
11157
11195
|
* A slider is a gauge you can drag: the track, fill and label row are gauge.* (the same bar as
|
|
@@ -11317,7 +11355,7 @@ textarea.FieldControl {
|
|
|
11317
11355
|
transform: translate(-50%, 50%);
|
|
11318
11356
|
}
|
|
11319
11357
|
|
|
11320
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
11358
|
+
/* @scattered-light/loomiere-base-ui 0.9.0 · styles for @base-ui/react 1.9.0 */
|
|
11321
11359
|
/* Switch - Mojave Theme
|
|
11322
11360
|
* Switch keeps its track sizes. The thumb, its travel and the ON/OFF text are
|
|
11323
11361
|
* worked out from them: the thumb fills the track's height inside the padding,
|
|
@@ -11483,7 +11521,7 @@ textarea.FieldControl {
|
|
|
11483
11521
|
color: var(--sl-text-disabled);
|
|
11484
11522
|
}
|
|
11485
11523
|
|
|
11486
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
11524
|
+
/* @scattered-light/loomiere-base-ui 0.9.0 · styles for @base-ui/react 1.9.0 */
|
|
11487
11525
|
/* Tabs - Mojave Theme
|
|
11488
11526
|
*
|
|
11489
11527
|
* No component tokens. The divider, the selected line and color, hover and the disabled
|
|
@@ -11619,7 +11657,7 @@ textarea.FieldControl {
|
|
|
11619
11657
|
padding: var(--sl-space-6);
|
|
11620
11658
|
}
|
|
11621
11659
|
|
|
11622
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
11660
|
+
/* @scattered-light/loomiere-base-ui 0.9.0 · styles for @base-ui/react 1.9.0 */
|
|
11623
11661
|
/* Toast - Mojave Theme
|
|
11624
11662
|
*
|
|
11625
11663
|
* A toast is a notice (tokens/semantic/notice.json) on the popup surface. A toast whose type
|
|
@@ -11855,7 +11893,7 @@ textarea.FieldControl {
|
|
|
11855
11893
|
flex-shrink: 0;
|
|
11856
11894
|
}
|
|
11857
11895
|
|
|
11858
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
11896
|
+
/* @scattered-light/loomiere-base-ui 0.9.0 · styles for @base-ui/react 1.9.0 */
|
|
11859
11897
|
/* Toggle - Mojave Theme
|
|
11860
11898
|
* A toggle is a button that stays pressed: the same heights, padding, gap and
|
|
11861
11899
|
* trigger text style as a button of the same size. Pressed, it takes its emphasis level's
|
|
@@ -11967,7 +12005,7 @@ textarea.FieldControl {
|
|
|
11967
12005
|
height: var(--sl-icon-size-maximize);
|
|
11968
12006
|
}
|
|
11969
12007
|
|
|
11970
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
12008
|
+
/* @scattered-light/loomiere-base-ui 0.9.0 · styles for @base-ui/react 1.9.0 */
|
|
11971
12009
|
/* Toggle Group - Mojave Theme
|
|
11972
12010
|
*
|
|
11973
12011
|
* No component tokens. The strip is the bar concept (tokens/semantic/bar.json); the
|
|
@@ -11988,7 +12026,48 @@ textarea.FieldControl {
|
|
|
11988
12026
|
border-radius: var(--sl-radius-item);
|
|
11989
12027
|
}
|
|
11990
12028
|
|
|
11991
|
-
/*
|
|
12029
|
+
/* ============================================
|
|
12030
|
+
SEGMENTED (data-variant="segmented")
|
|
12031
|
+
Joined toggles in one outline, the pressed one filled solid: a switch between a few
|
|
12032
|
+
views or modules. Tokens: toggle-group.segmented-* (tokens/component/toggle-group.json).
|
|
12033
|
+
============================================ */
|
|
12034
|
+
|
|
12035
|
+
.ToggleGroup[data-variant='segmented'] {
|
|
12036
|
+
padding: 0;
|
|
12037
|
+
gap: 0;
|
|
12038
|
+
background: var(--sl-toggle-group-segmented-background);
|
|
12039
|
+
border: var(--sl-stroke-default) solid var(--sl-toggle-group-segmented-border-color);
|
|
12040
|
+
border-radius: var(--sl-radius-chrome);
|
|
12041
|
+
overflow: hidden;
|
|
12042
|
+
}
|
|
12043
|
+
|
|
12044
|
+
.ToggleGroup[data-variant='segmented'] .Toggle {
|
|
12045
|
+
height: calc(var(--sl-control-height-md) - 2 * var(--sl-stroke-default));
|
|
12046
|
+
border: 0;
|
|
12047
|
+
border-radius: 0;
|
|
12048
|
+
background: transparent;
|
|
12049
|
+
color: var(--sl-text-primary);
|
|
12050
|
+
}
|
|
12051
|
+
|
|
12052
|
+
.ToggleGroup[data-variant='segmented'] .Toggle + .Toggle {
|
|
12053
|
+
border-inline-start: var(--sl-stroke-default) solid var(--sl-toggle-group-segmented-border-color);
|
|
12054
|
+
}
|
|
12055
|
+
|
|
12056
|
+
.ToggleGroup[data-variant='segmented'] .Toggle:hover:not([data-disabled]):not(:disabled) {
|
|
12057
|
+
background: var(--sl-fill-subtle);
|
|
12058
|
+
}
|
|
12059
|
+
|
|
12060
|
+
.ToggleGroup[data-variant='segmented'] .Toggle[data-pressed],
|
|
12061
|
+
.ToggleGroup[data-variant='segmented'] .Toggle[data-pressed]:hover:not([data-disabled]):not(:disabled) {
|
|
12062
|
+
background: var(--sl-toggle-group-segmented-pressed-background);
|
|
12063
|
+
color: var(--sl-toggle-group-segmented-pressed-color);
|
|
12064
|
+
}
|
|
12065
|
+
|
|
12066
|
+
.ToggleGroup[data-variant='segmented'] .Toggle:focus-visible {
|
|
12067
|
+
outline-offset: var(--sl-focus-outline-offset-inset);
|
|
12068
|
+
}
|
|
12069
|
+
|
|
12070
|
+
/* @scattered-light/loomiere-base-ui 0.9.0 · styles for @base-ui/react 1.9.0 */
|
|
11992
12071
|
/* Toolbar - Mojave Theme
|
|
11993
12072
|
*
|
|
11994
12073
|
* The strip is the bar concept (tokens/semantic/bar.json). Buttons, toggles, selects
|
|
@@ -12050,7 +12129,7 @@ textarea.FieldControl {
|
|
|
12050
12129
|
max-width: var(--sl-toolbar-input-max-width);
|
|
12051
12130
|
}
|
|
12052
12131
|
|
|
12053
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
12132
|
+
/* @scattered-light/loomiere-base-ui 0.9.0 · styles for @base-ui/react 1.9.0 */
|
|
12054
12133
|
/* Tooltip - Mojave Theme
|
|
12055
12134
|
*
|
|
12056
12135
|
* The inverse surface (surface.inverse, text.on-inverse-surface) with condense text, so a tooltip
|
|
@@ -12111,7 +12190,7 @@ textarea.FieldControl {
|
|
|
12111
12190
|
}
|
|
12112
12191
|
|
|
12113
12192
|
/* Custom components: not Base UI parts. Built from existing concepts and tokens. */
|
|
12114
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
12193
|
+
/* @scattered-light/loomiere-base-ui 0.9.0 · styles for @base-ui/react 1.9.0 */
|
|
12115
12194
|
/* Badge
|
|
12116
12195
|
*
|
|
12117
12196
|
* A status or count label. Not a Base UI part, and not interactive: no hover or focus.
|
|
@@ -12216,7 +12295,7 @@ textarea.FieldControl {
|
|
|
12216
12295
|
height: var(--sl-badge-dot-base);
|
|
12217
12296
|
}
|
|
12218
12297
|
|
|
12219
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
12298
|
+
/* @scattered-light/loomiere-base-ui 0.9.0 · styles for @base-ui/react 1.9.0 */
|
|
12220
12299
|
/*
|
|
12221
12300
|
* DatePicker: a field that opens a calendar for one date or a period.
|
|
12222
12301
|
* Not a Base UI part. The popup is Popover on a wide viewport and Drawer
|
|
@@ -12789,7 +12868,7 @@ textarea.FieldControl {
|
|
|
12789
12868
|
flex-basis: 100%;
|
|
12790
12869
|
}
|
|
12791
12870
|
|
|
12792
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
12871
|
+
/* @scattered-light/loomiere-base-ui 0.9.0 · styles for @base-ui/react 1.9.0 */
|
|
12793
12872
|
/* Money field
|
|
12794
12873
|
*
|
|
12795
12874
|
* An amount of money, built on Number field. The value is an integer in minor units
|
|
@@ -13134,7 +13213,7 @@ textarea.FieldControl {
|
|
|
13134
13213
|
letter-spacing: var(--sl-font-body-base-letter-spacing);
|
|
13135
13214
|
}
|
|
13136
13215
|
|
|
13137
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
13216
|
+
/* @scattered-light/loomiere-base-ui 0.9.0 · styles for @base-ui/react 1.9.0 */
|
|
13138
13217
|
/* ListDetail
|
|
13139
13218
|
*
|
|
13140
13219
|
* The detail of one item, next to its list. Not a Base UI part. It is a Splitter
|
|
@@ -13261,7 +13340,7 @@ textarea.FieldControl {
|
|
|
13261
13340
|
background: transparent;
|
|
13262
13341
|
}
|
|
13263
13342
|
|
|
13264
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
13343
|
+
/* @scattered-light/loomiere-base-ui 0.9.0 · styles for @base-ui/react 1.9.0 */
|
|
13265
13344
|
/* Splitter
|
|
13266
13345
|
*
|
|
13267
13346
|
* Two or more panels and a handle between them. Not a Base UI part. It follows the
|
|
@@ -13469,7 +13548,7 @@ textarea.FieldControl {
|
|
|
13469
13548
|
background: var(--sl-border-default);
|
|
13470
13549
|
}
|
|
13471
13550
|
|
|
13472
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
13551
|
+
/* @scattered-light/loomiere-base-ui 0.9.0 · styles for @base-ui/react 1.9.0 */
|
|
13473
13552
|
/* EmptyState
|
|
13474
13553
|
*
|
|
13475
13554
|
* The block a page, pane, table, list or popup shows when it has nothing to show.
|
|
@@ -13725,7 +13804,7 @@ textarea.FieldControl {
|
|
|
13725
13804
|
color: inherit;
|
|
13726
13805
|
}
|
|
13727
13806
|
|
|
13728
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
13807
|
+
/* @scattered-light/loomiere-base-ui 0.9.0 · styles for @base-ui/react 1.9.0 */
|
|
13729
13808
|
/* Table - Mojave Theme
|
|
13730
13809
|
*
|
|
13731
13810
|
* Base UI has no table, so this styles the native <table class="Table"> elements with the
|
|
@@ -13959,7 +14038,7 @@ textarea.FieldControl {
|
|
|
13959
14038
|
color: inherit;
|
|
13960
14039
|
}
|
|
13961
14040
|
|
|
13962
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
14041
|
+
/* @scattered-light/loomiere-base-ui 0.9.0 · styles for @base-ui/react 1.9.0 */
|
|
13963
14042
|
/* Collection
|
|
13964
14043
|
*
|
|
13965
14044
|
* DataTable, DataList, the toolbar and the pagination, in one place so the two views
|
|
@@ -13970,7 +14049,7 @@ textarea.FieldControl {
|
|
|
13970
14049
|
* the tabs and the search where they are, so selecting rows does not grow the toolbar.
|
|
13971
14050
|
*/
|
|
13972
14051
|
|
|
13973
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
14052
|
+
/* @scattered-light/loomiere-base-ui 0.9.0 · styles for @base-ui/react 1.9.0 */
|
|
13974
14053
|
/* Collection toolbar
|
|
13975
14054
|
*
|
|
13976
14055
|
* The wrap follows the toolbar's own width, not the window: a table in a narrow pane wraps
|
|
@@ -14111,7 +14190,7 @@ textarea.FieldControl {
|
|
|
14111
14190
|
letter-spacing: var(--sl-font-body-condense-letter-spacing);
|
|
14112
14191
|
}
|
|
14113
14192
|
|
|
14114
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
14193
|
+
/* @scattered-light/loomiere-base-ui 0.9.0 · styles for @base-ui/react 1.9.0 */
|
|
14115
14194
|
/* DataTable additions on top of .Table.
|
|
14116
14195
|
*
|
|
14117
14196
|
* Sort buttons fill the header cell and inherit its hover, so old aria-sort markup keeps
|
|
@@ -14232,7 +14311,7 @@ textarea.FieldControl {
|
|
|
14232
14311
|
color: var(--sl-table-subtle-color);
|
|
14233
14312
|
}
|
|
14234
14313
|
|
|
14235
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
14314
|
+
/* @scattered-light/loomiere-base-ui 0.9.0 · styles for @base-ui/react 1.9.0 */
|
|
14236
14315
|
/* DataList
|
|
14237
14316
|
*
|
|
14238
14317
|
* The same rows as the table, in one container with the table's borders, hover, selected
|
|
@@ -14374,7 +14453,7 @@ textarea.FieldControl {
|
|
|
14374
14453
|
transition: opacity var(--sl-duration-fast) var(--sl-easing-default);
|
|
14375
14454
|
}
|
|
14376
14455
|
|
|
14377
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
14456
|
+
/* @scattered-light/loomiere-base-ui 0.9.0 · styles for @base-ui/react 1.9.0 */
|
|
14378
14457
|
/* Pagination
|
|
14379
14458
|
*
|
|
14380
14459
|
* Not tied to a collection. Anything with a page, a page count and a total can use it.
|
|
@@ -14399,7 +14478,7 @@ textarea.FieldControl {
|
|
|
14399
14478
|
margin: 0;
|
|
14400
14479
|
}
|
|
14401
14480
|
|
|
14402
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
14481
|
+
/* @scattered-light/loomiere-base-ui 0.9.0 · styles for @base-ui/react 1.9.0 */
|
|
14403
14482
|
/* EditableList
|
|
14404
14483
|
*
|
|
14405
14484
|
* One table at every width, so a field is not submitted twice. Under the stack width each
|
|
@@ -14498,7 +14577,7 @@ textarea.FieldControl {
|
|
|
14498
14577
|
}
|
|
14499
14578
|
}
|
|
14500
14579
|
|
|
14501
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
14580
|
+
/* @scattered-light/loomiere-base-ui 0.9.0 · styles for @base-ui/react 1.9.0 */
|
|
14502
14581
|
/* Sheet
|
|
14503
14582
|
*
|
|
14504
14583
|
* A working-paper surface: the raised surface with a heavier rule across its top
|
|
@@ -14589,7 +14668,7 @@ textarea.FieldControl {
|
|
|
14589
14668
|
border-top: 0;
|
|
14590
14669
|
}
|
|
14591
14670
|
|
|
14592
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
14671
|
+
/* @scattered-light/loomiere-base-ui 0.9.0 · styles for @base-ui/react 1.9.0 */
|
|
14593
14672
|
/* StatFigure
|
|
14594
14673
|
*
|
|
14595
14674
|
* One large figure with a caps label above and a caption under it. The label is
|
|
@@ -14650,7 +14729,7 @@ textarea.FieldControl {
|
|
|
14650
14729
|
color: var(--sl-stat-figure-caption-color);
|
|
14651
14730
|
}
|
|
14652
14731
|
|
|
14653
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
14732
|
+
/* @scattered-light/loomiere-base-ui 0.9.0 · styles for @base-ui/react 1.9.0 */
|
|
14654
14733
|
/* DescriptionList
|
|
14655
14734
|
*
|
|
14656
14735
|
* Label and value pairs in a native dl, one DescriptionItem (a div holding a dt and a dd)
|
|
@@ -14725,3 +14804,123 @@ textarea.FieldControl {
|
|
|
14725
14804
|
max-width: 60%;
|
|
14726
14805
|
text-align: end;
|
|
14727
14806
|
}
|
|
14807
|
+
|
|
14808
|
+
/* @scattered-light/loomiere-base-ui 0.9.0 · styles for @base-ui/react 1.9.0 */
|
|
14809
|
+
/* AppBar
|
|
14810
|
+
*
|
|
14811
|
+
* The bar across the top of an app window, one row on a line in the rule color. The line is
|
|
14812
|
+
* app-bar.border-width while rule.width is 0, and the thicker of the two once a brand turns the
|
|
14813
|
+
* rule on, so an ink-rule brand gets the working-paper rule under its app bar.
|
|
14814
|
+
* AppBarSpacer pushes what follows it to the end. A vertical Separator inside is a short
|
|
14815
|
+
* divider between groups of icon actions. Tokens: app-bar.* (tokens/component/app-bar.json).
|
|
14816
|
+
*/
|
|
14817
|
+
|
|
14818
|
+
.AppBar {
|
|
14819
|
+
box-sizing: border-box;
|
|
14820
|
+
display: flex;
|
|
14821
|
+
align-items: center;
|
|
14822
|
+
gap: var(--sl-app-bar-gap);
|
|
14823
|
+
min-height: var(--sl-app-bar-height);
|
|
14824
|
+
padding-inline: var(--sl-app-bar-padding-inline);
|
|
14825
|
+
padding-block: var(--sl-space-2);
|
|
14826
|
+
background: var(--sl-app-bar-background);
|
|
14827
|
+
border-bottom: max(var(--sl-app-bar-border-width), var(--sl-rule-width)) solid var(--sl-app-bar-border-color);
|
|
14828
|
+
min-width: 0;
|
|
14829
|
+
}
|
|
14830
|
+
|
|
14831
|
+
.AppBarSpacer {
|
|
14832
|
+
flex: 1 1 var(--sl-space-4);
|
|
14833
|
+
min-width: 0;
|
|
14834
|
+
}
|
|
14835
|
+
|
|
14836
|
+
.AppBar .Separator[data-orientation='vertical'] {
|
|
14837
|
+
height: var(--sl-app-bar-divider-height);
|
|
14838
|
+
margin-inline: var(--sl-space-1);
|
|
14839
|
+
background: var(--sl-app-bar-divider-color);
|
|
14840
|
+
}
|
|
14841
|
+
|
|
14842
|
+
/* @scattered-light/loomiere-base-ui 0.9.0 · styles for @base-ui/react 1.9.0 */
|
|
14843
|
+
/* PickerButton
|
|
14844
|
+
*
|
|
14845
|
+
* A trigger with a caps label before the current choice: CLIENT Alpha Services. The field
|
|
14846
|
+
* look and states of a Select trigger; the label is caps-condense in picker-button.label-color,
|
|
14847
|
+
* the choice is cut with an ellipsis at picker-button.max-width and the chevron turns while
|
|
14848
|
+
* its popup is open. Tokens: picker-button.* (tokens/component/picker-button.json) and field.*.
|
|
14849
|
+
*/
|
|
14850
|
+
|
|
14851
|
+
.PickerButton {
|
|
14852
|
+
box-sizing: border-box;
|
|
14853
|
+
color: var(--sl-field-color);
|
|
14854
|
+
background: var(--sl-field-background);
|
|
14855
|
+
border: var(--sl-field-border-width) solid var(--sl-field-border-color);
|
|
14856
|
+
border-radius: var(--sl-field-radius);
|
|
14857
|
+
transition: var(--sl-field-transition);
|
|
14858
|
+
outline: none;
|
|
14859
|
+
font-family: var(--sl-font-body-base-font-family);
|
|
14860
|
+
font-size: var(--sl-font-body-base-font-size);
|
|
14861
|
+
font-weight: var(--sl-font-body-base-font-weight);
|
|
14862
|
+
line-height: var(--sl-font-body-base-line-height);
|
|
14863
|
+
letter-spacing: var(--sl-font-body-base-letter-spacing);
|
|
14864
|
+
display: inline-flex;
|
|
14865
|
+
align-items: center;
|
|
14866
|
+
gap: var(--sl-gap-control);
|
|
14867
|
+
max-width: var(--sl-picker-button-max-width);
|
|
14868
|
+
min-width: 0;
|
|
14869
|
+
height: var(--sl-control-height-md);
|
|
14870
|
+
margin: 0;
|
|
14871
|
+
padding-block: var(--sl-control-padding-block);
|
|
14872
|
+
padding-inline: var(--sl-control-padding-inline);
|
|
14873
|
+
cursor: pointer;
|
|
14874
|
+
white-space: nowrap;
|
|
14875
|
+
}
|
|
14876
|
+
|
|
14877
|
+
.PickerButton:hover:not(:disabled) {
|
|
14878
|
+
border-color: var(--sl-field-border-color-hover);
|
|
14879
|
+
}
|
|
14880
|
+
|
|
14881
|
+
.PickerButton:focus-visible {
|
|
14882
|
+
border-color: var(--sl-field-border-color-focus);
|
|
14883
|
+
box-shadow: var(--sl-field-shadow-focus);
|
|
14884
|
+
}
|
|
14885
|
+
|
|
14886
|
+
.PickerButton:disabled {
|
|
14887
|
+
background: var(--sl-field-background-disabled);
|
|
14888
|
+
color: var(--sl-field-color-disabled);
|
|
14889
|
+
cursor: not-allowed;
|
|
14890
|
+
}
|
|
14891
|
+
|
|
14892
|
+
.PickerButtonLabel {
|
|
14893
|
+
font-family: var(--sl-font-caps-condense-font-family);
|
|
14894
|
+
font-size: var(--sl-font-caps-condense-font-size);
|
|
14895
|
+
font-weight: var(--sl-font-caps-condense-font-weight);
|
|
14896
|
+
line-height: var(--sl-font-caps-condense-line-height);
|
|
14897
|
+
letter-spacing: var(--sl-font-caps-condense-letter-spacing);
|
|
14898
|
+
text-transform: var(--sl-font-caps-condense-text-transform);
|
|
14899
|
+
flex: none;
|
|
14900
|
+
color: var(--sl-picker-button-label-color);
|
|
14901
|
+
}
|
|
14902
|
+
|
|
14903
|
+
.PickerButtonValue {
|
|
14904
|
+
flex: 0 1 auto;
|
|
14905
|
+
min-width: 0;
|
|
14906
|
+
overflow: hidden;
|
|
14907
|
+
text-overflow: ellipsis;
|
|
14908
|
+
color: var(--sl-field-color);
|
|
14909
|
+
}
|
|
14910
|
+
|
|
14911
|
+
.PickerButtonValue[data-placeholder] {
|
|
14912
|
+
color: var(--sl-field-placeholder-color);
|
|
14913
|
+
}
|
|
14914
|
+
|
|
14915
|
+
.PickerButtonIcon {
|
|
14916
|
+
flex: none;
|
|
14917
|
+
width: var(--sl-icon-size-base);
|
|
14918
|
+
height: var(--sl-icon-size-base);
|
|
14919
|
+
color: var(--sl-text-tertiary);
|
|
14920
|
+
transition: transform var(--sl-duration-normal) var(--sl-easing-default);
|
|
14921
|
+
}
|
|
14922
|
+
|
|
14923
|
+
.PickerButton[aria-expanded='true'] .PickerButtonIcon,
|
|
14924
|
+
.PickerButton[data-popup-open] .PickerButtonIcon {
|
|
14925
|
+
transform: rotate(180deg);
|
|
14926
|
+
}
|