@gemologic/sheen 0.2.1 → 0.3.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/README.md +1 -1
- package/THIRD_PARTY_NOTICES.md +1 -1
- package/dist/ai.d.ts +8 -0
- package/dist/ai.js +5 -0
- package/dist/core.d.ts +11 -4
- package/dist/core.js +32 -28
- package/dist/formisch.js +1 -2
- package/dist/forms.d.ts +2 -0
- package/dist/forms.js +16 -15
- package/dist/index.d.ts +25 -5
- package/dist/index.js +86 -76
- package/dist/layout/Layout.js +1 -2
- package/dist/metadata.js +1 -2
- package/dist/navigation.d.ts +2 -1
- package/dist/navigation.js +16 -16
- package/dist/primitives/Accordion.js +9 -9
- package/dist/primitives/ActivityTimeline.js +57 -49
- package/dist/primitives/AlertDialog.js +1 -2
- package/dist/primitives/Avatar.js +16 -17
- package/dist/primitives/Board.d.ts +39 -0
- package/dist/primitives/Board.js +471 -0
- package/dist/primitives/Breadcrumb.js +1 -2
- package/dist/primitives/Button.js +38 -27
- package/dist/primitives/ButtonGroup.js +1 -2
- package/dist/primitives/Checkbox.js +1 -2
- package/dist/primitives/CheckboxGroup.js +11 -12
- package/dist/primitives/Collapsible.js +6 -6
- package/dist/primitives/Combobox.js +203 -201
- package/dist/primitives/CommandPalette.js +2 -4
- package/dist/primitives/ConfirmDialog.js +5 -6
- package/dist/primitives/ContextMenu.js +7 -8
- package/dist/primitives/Conversation.d.ts +17 -0
- package/dist/primitives/Conversation.js +107 -0
- package/dist/primitives/DescriptionList.js +1 -2
- package/dist/primitives/Dialog.js +101 -68
- package/dist/primitives/Drawer.js +12 -13
- package/dist/primitives/DropdownMenu.js +163 -157
- package/dist/primitives/EditableTextField.js +3 -8
- package/dist/primitives/EmptyState.js +1 -2
- package/dist/primitives/Field.js +1 -2
- package/dist/primitives/FileDropzone.js +19 -18
- package/dist/primitives/Form.d.ts +23 -0
- package/dist/primitives/Form.js +76 -0
- package/dist/primitives/Glyph.d.ts +40 -0
- package/dist/primitives/Glyph.js +65 -0
- package/dist/primitives/IconButton.js +5 -6
- package/dist/primitives/Input.js +1 -2
- package/dist/primitives/InputGroup.js +8 -9
- package/dist/primitives/Link.d.ts +9 -1
- package/dist/primitives/Link.js +23 -17
- package/dist/primitives/LinkTooltip.js +6 -7
- package/dist/primitives/List.d.ts +34 -0
- package/dist/primitives/List.js +135 -0
- package/dist/primitives/Message.d.ts +13 -0
- package/dist/primitives/Message.js +75 -0
- package/dist/primitives/NavList.js +15 -16
- package/dist/primitives/Notice.d.ts +15 -1
- package/dist/primitives/Notice.js +91 -43
- package/dist/primitives/NumberField.js +81 -81
- package/dist/primitives/NumberText.d.ts +4 -0
- package/dist/primitives/NumberText.js +50 -25
- package/dist/primitives/Pagination.js +81 -60
- package/dist/primitives/Popover.js +57 -57
- package/dist/primitives/Progress.js +1 -2
- package/dist/primitives/PromptInput.d.ts +23 -0
- package/dist/primitives/PromptInput.js +135 -0
- package/dist/primitives/RadioGroup.js +12 -17
- package/dist/primitives/Resizable.js +1 -2
- package/dist/primitives/ScrollArea.js +1 -2
- package/dist/primitives/SearchInput.js +45 -38
- package/dist/primitives/SegmentedControl.d.ts +2 -0
- package/dist/primitives/SegmentedControl.js +92 -78
- package/dist/primitives/Select.js +105 -100
- package/dist/primitives/Separator.js +1 -2
- package/dist/primitives/ShortcutPending.js +11 -12
- package/dist/primitives/ShortcutProvider.d.ts +5 -0
- package/dist/primitives/ShortcutProvider.js +71 -65
- package/dist/primitives/ShortcutScope.js +8 -9
- package/dist/primitives/ShortcutSheet.js +30 -24
- package/dist/primitives/Skeleton.js +1 -2
- package/dist/primitives/Slider.js +1 -2
- package/dist/primitives/SortableList.d.ts +19 -0
- package/dist/primitives/SortableList.js +235 -0
- package/dist/primitives/Spinner.js +1 -2
- package/dist/primitives/Status.js +14 -14
- package/dist/primitives/Stepper.js +54 -52
- package/dist/primitives/StreamingText.d.ts +12 -0
- package/dist/primitives/StreamingText.js +42 -0
- package/dist/primitives/Surface.js +1 -2
- package/dist/primitives/Switch.js +1 -2
- package/dist/primitives/Table.js +1 -2
- package/dist/primitives/Tabs.js +20 -17
- package/dist/primitives/TagInput.js +6 -9
- package/dist/primitives/Textarea.js +37 -63
- package/dist/primitives/Toast.js +42 -41
- package/dist/primitives/Toaster.js +27 -28
- package/dist/primitives/Tooltip.js +32 -32
- package/dist/primitives/Tree.js +1 -2
- package/dist/primitives/Typography.d.ts +6 -2
- package/dist/primitives/Typography.js +20 -12
- package/dist/primitives/boolean-input-state.js +3 -8
- package/dist/primitives/button-variants.js +2 -3
- package/dist/primitives/choice-options.js +1 -2
- package/dist/primitives/create-confirm.js +1 -2
- package/dist/primitives/create-toaster.js +1 -2
- package/dist/primitives/link-focus.js +1 -2
- package/dist/primitives/menu-focus.js +1 -2
- package/dist/primitives/sortable-core.d.ts +70 -0
- package/dist/primitives/sortable-core.js +109 -0
- package/dist/primitives/sortable-drag.d.ts +29 -0
- package/dist/primitives/sortable-drag.js +50 -0
- package/dist/primitives/tooltip-layer.js +26 -27
- package/dist/sortable.d.ts +6 -0
- package/dist/sortable.js +4 -0
- package/dist/theme/ThemeProvider.d.ts +6 -1
- package/dist/theme/ThemeProvider.js +65 -58
- package/dist/theme/intl.js +1 -2
- package/dist/theme/keyboard-script.js +1 -2
- package/dist/theme/layers.js +1 -2
- package/dist/theme/messages.d.ts +26 -0
- package/dist/theme/messages.js +9 -2
- package/dist/theme/number-format-cache.js +1 -2
- package/dist/theme/script.d.ts +1 -0
- package/dist/theme/script.js +3 -3
- package/dist/theme/state.d.ts +4 -4
- package/dist/theme/state.js +12 -13
- package/dist/utils/auto-resize.d.ts +6 -0
- package/dist/utils/auto-resize.js +31 -0
- package/dist/utils/browser-status.js +1 -2
- package/dist/utils/change-motion.d.ts +8 -0
- package/dist/utils/change-motion.js +19 -0
- package/dist/utils/cn.js +1 -2
- package/dist/utils/media-query.d.ts +10 -0
- package/dist/utils/media-query.js +16 -0
- package/dist/utils/optimistic.js +1 -2
- package/dist/utils/shortcut-platform.js +1 -2
- package/dist/utils/shortcut-registry.d.ts +5 -0
- package/dist/utils/shortcut-registry.js +61 -51
- package/dist/vite.js +3 -4
- package/package.json +23 -5
- package/src/ai.ts +8 -0
- package/src/core.ts +11 -4
- package/src/forms.ts +2 -0
- package/src/index.ts +25 -5
- package/src/navigation.ts +2 -1
- package/src/primitives/Accordion.tsx +1 -1
- package/src/primitives/ActivityTimeline.tsx +12 -7
- package/src/primitives/Board.tsx +406 -0
- package/src/primitives/Button.tsx +15 -4
- package/src/primitives/Collapsible.tsx +1 -1
- package/src/primitives/Combobox.tsx +2 -1
- package/src/primitives/CommandPalette.tsx +2 -2
- package/src/primitives/Conversation.tsx +108 -0
- package/src/primitives/Dialog.tsx +5 -1
- package/src/primitives/DropdownMenu.tsx +12 -6
- package/src/primitives/FileDropzone.tsx +2 -2
- package/src/primitives/Form.tsx +58 -0
- package/src/primitives/Glyph.tsx +55 -0
- package/src/primitives/Link.tsx +15 -6
- package/src/primitives/List.tsx +68 -0
- package/src/primitives/Message.tsx +40 -0
- package/src/primitives/Notice.tsx +45 -12
- package/src/primitives/NumberField.tsx +3 -2
- package/src/primitives/NumberText.tsx +31 -4
- package/src/primitives/Pagination.tsx +6 -5
- package/src/primitives/Popover.tsx +2 -1
- package/src/primitives/PromptInput.tsx +116 -0
- package/src/primitives/SearchInput.tsx +4 -3
- package/src/primitives/SegmentedControl.tsx +29 -4
- package/src/primitives/Select.tsx +3 -2
- package/src/primitives/ShortcutProvider.tsx +14 -1
- package/src/primitives/ShortcutSheet.tsx +1 -1
- package/src/primitives/SortableList.tsx +208 -0
- package/src/primitives/Status.tsx +1 -1
- package/src/primitives/Stepper.tsx +7 -7
- package/src/primitives/StreamingText.tsx +32 -0
- package/src/primitives/Tabs.tsx +2 -1
- package/src/primitives/TagInput.tsx +1 -1
- package/src/primitives/Textarea.tsx +3 -47
- package/src/primitives/Toast.tsx +2 -1
- package/src/primitives/Tooltip.tsx +4 -2
- package/src/primitives/Typography.tsx +11 -2
- package/src/primitives/button-variants.ts +1 -1
- package/src/primitives/sortable-core.ts +139 -0
- package/src/primitives/sortable-drag.ts +75 -0
- package/src/sortable.ts +6 -0
- package/src/styles/ai.css +57 -0
- package/src/styles/core.css +321 -0
- package/src/styles/forms.css +261 -0
- package/src/styles/navigation.css +137 -0
- package/src/styles/overlays.css +104 -0
- package/src/styles/sortable.css +87 -0
- package/src/styles.css +5 -658
- package/src/theme/ThemeProvider.tsx +20 -8
- package/src/theme/messages.ts +20 -1
- package/src/theme/script.ts +2 -2
- package/src/theme/state.ts +5 -5
- package/src/utils/auto-resize.ts +58 -0
- package/src/utils/change-motion.ts +28 -0
- package/src/utils/media-query.ts +26 -0
- package/src/utils/shortcut-registry.ts +19 -2
- package/src/vite.ts +3 -3
- package/vendor/integrity.json +13 -13
- package/vendor/kobalte-core/chunk/3D6FM2PJ.js +7 -1
- package/vendor/kobalte-core/chunk/G3KI2B4X.js +2 -1
- package/vendor/kobalte-core/chunk/KEL2LLJM.jsx +2 -1
- package/vendor/kobalte-core/chunk/RFN6X5VH.jsx +7 -1
- package/vendor/origins.json +4 -4
- package/vendor/solid-web/dev.cjs +21 -17
- package/vendor/solid-web/dev.js +21 -17
- package/vendor/solid-web/server.cjs +1 -1
- package/vendor/solid-web/server.js +1 -1
- package/vendor/solid-web/web.cjs +21 -17
- package/vendor/solid-web/web.js +21 -17
|
@@ -0,0 +1,321 @@
|
|
|
1
|
+
@layer theme, base, components, utilities;
|
|
2
|
+
@layer components {
|
|
3
|
+
.sheen-number-text { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }
|
|
4
|
+
.sheen-number-text > :is([data-number-part="decimal"], [data-number-part="fraction"], [data-number-part="unit"], [data-number-part="percentSign"], [data-number-part="currency"], [data-number-part="compact"]) { color: var(--sheen-color-fg-muted); }
|
|
5
|
+
.sheen-button.sheen-icon-button[data-size] { --sheen-icon-button-size: var(--sheen-control-h-md); inline-size: var(--sheen-icon-button-size); block-size: var(--sheen-icon-button-size); padding: 0; flex: none; }
|
|
6
|
+
.sheen-button.sheen-icon-button[data-size="xs"] { --sheen-icon-button-size: var(--sheen-control-h-xs); }
|
|
7
|
+
.sheen-button.sheen-icon-button[data-size="sm"] { --sheen-icon-button-size: var(--sheen-control-h-sm); }
|
|
8
|
+
.sheen-button.sheen-icon-button[data-size="lg"] { --sheen-icon-button-size: var(--sheen-control-h-lg); }
|
|
9
|
+
.sheen-icon-button-glyph { display: inline-flex; align-items: center; justify-content: center; inline-size: var(--sheen-icon-size-md); block-size: var(--sheen-icon-size-md); font-size: var(--sheen-icon-size-md); line-height: 1; }
|
|
10
|
+
.sheen-icon-button-glyph > svg, .sheen-icon-button-glyph > img { max-inline-size: 100%; max-block-size: 100%; }
|
|
11
|
+
.sheen-button-group { display: inline-flex; align-items: center; flex-wrap: wrap; gap: var(--sheen-space-inline-xs); max-inline-size: 100%; }
|
|
12
|
+
.sheen-button-group[data-orientation="vertical"] { flex-direction: column; align-items: stretch; }
|
|
13
|
+
.sheen-link-tooltip { color: var(--sheen-color-fg); text-underline-offset: 0.2em; }
|
|
14
|
+
.sheen-link-tooltip:focus-visible { outline: 2px solid var(--sheen-color-focus-ring); outline-offset: 2px; }
|
|
15
|
+
[data-sheen-theme] {
|
|
16
|
+
color: var(--sheen-color-fg);
|
|
17
|
+
background-color: var(--sheen-color-bg);
|
|
18
|
+
font-family: var(--sheen-font-sans);
|
|
19
|
+
font-size: var(--sheen-text-ui-size);
|
|
20
|
+
line-height: var(--sheen-text-ui-leading);
|
|
21
|
+
}
|
|
22
|
+
.sheen-button, .sheen-input {
|
|
23
|
+
font: inherit;
|
|
24
|
+
color: inherit;
|
|
25
|
+
border: var(--sheen-control-border-width) solid transparent;
|
|
26
|
+
border-radius: var(--sheen-control-radius);
|
|
27
|
+
min-block-size: var(--sheen-control-h-md);
|
|
28
|
+
padding-inline: var(--sheen-control-px-md);
|
|
29
|
+
}
|
|
30
|
+
.sheen-button {
|
|
31
|
+
--sheen-tone: var(--sheen-color-neutral);
|
|
32
|
+
--sheen-tone-fg: var(--sheen-color-neutral-fg);
|
|
33
|
+
--sheen-tone-subtle: var(--sheen-color-neutral-subtle);
|
|
34
|
+
--sheen-tone-on: var(--sheen-color-neutral-on);
|
|
35
|
+
cursor: pointer;
|
|
36
|
+
display: inline-flex;
|
|
37
|
+
align-items: center;
|
|
38
|
+
justify-content: center;
|
|
39
|
+
box-sizing: border-box;
|
|
40
|
+
gap: var(--sheen-space-inline-sm);
|
|
41
|
+
user-select: none;
|
|
42
|
+
background: transparent;
|
|
43
|
+
white-space: nowrap;
|
|
44
|
+
transition: background-color var(--sheen-duration-fast) var(--sheen-ease-standard), color var(--sheen-duration-fast) var(--sheen-ease-standard), border-color var(--sheen-duration-fast) var(--sheen-ease-standard), box-shadow var(--sheen-duration-fast) var(--sheen-ease-standard), scale var(--sheen-duration-press) var(--sheen-ease-standard);
|
|
45
|
+
}
|
|
46
|
+
.sheen-button:hover { background: var(--sheen-color-bg-hover); }
|
|
47
|
+
/* Paint transitions ease interaction states only; theme, layout, and data-driven restyles land at once instead of cross-fading every control on the main thread. */
|
|
48
|
+
.sheen-button:not(:hover, :focus-visible, :active) { transition-property: none; }
|
|
49
|
+
.sheen-button.sheen-button-accent { --sheen-tone: var(--sheen-color-accent); --sheen-tone-fg: var(--sheen-color-accent-fg); --sheen-tone-subtle: var(--sheen-color-accent-subtle); --sheen-tone-on: var(--sheen-color-fg-on-accent); }
|
|
50
|
+
.sheen-button.sheen-button-danger { --sheen-tone: var(--sheen-color-danger); --sheen-tone-fg: var(--sheen-color-danger-fg); --sheen-tone-subtle: var(--sheen-color-danger-subtle); --sheen-tone-on: var(--sheen-color-danger-on); }
|
|
51
|
+
.sheen-button.sheen-button-success { --sheen-tone: var(--sheen-color-success); --sheen-tone-fg: var(--sheen-color-success-fg); --sheen-tone-subtle: var(--sheen-color-success-subtle); --sheen-tone-on: var(--sheen-color-success-on); }
|
|
52
|
+
.sheen-button.sheen-button-solid { background: var(--sheen-tone); color: var(--sheen-tone-on); }
|
|
53
|
+
.sheen-button.sheen-button-solid:hover:enabled { background: color-mix(in oklab, var(--sheen-tone) 86%, var(--sheen-tone-on)); }
|
|
54
|
+
.sheen-button.sheen-button-solid:active:enabled { background: color-mix(in oklab, var(--sheen-tone) 76%, var(--sheen-tone-on)); }
|
|
55
|
+
.sheen-button.sheen-button-solid.sheen-button-accent:hover:enabled { background: var(--sheen-color-accent-hover); }
|
|
56
|
+
.sheen-button.sheen-button-solid.sheen-button-accent:active:enabled { background: var(--sheen-color-accent-active); }
|
|
57
|
+
.sheen-button.sheen-button-soft { background: var(--sheen-tone-subtle); color: var(--sheen-tone-fg); }
|
|
58
|
+
.sheen-button.sheen-button-soft.sheen-button-neutral { background: var(--sheen-color-bg-hover); color: var(--sheen-color-fg); }
|
|
59
|
+
.sheen-button.sheen-button-soft:hover:enabled { background: color-mix(in oklab, var(--sheen-tone-subtle) 82%, var(--sheen-tone)); }
|
|
60
|
+
.sheen-button.sheen-button-soft.sheen-button-neutral:hover:enabled { background: var(--sheen-color-bg-active); }
|
|
61
|
+
/* The default button: a quiet raised fill with a 3:1 control boundary, so an unstyled <Button> still reads as a button. */
|
|
62
|
+
.sheen-button.sheen-button-outline { background: var(--sheen-color-bg-raised); border-color: var(--sheen-color-border-control); box-shadow: var(--sheen-elevation-raised); }
|
|
63
|
+
.sheen-button.sheen-button-outline:hover:enabled { background: var(--sheen-color-bg-hover); }
|
|
64
|
+
.sheen-button.sheen-button-outline:active:enabled { background: var(--sheen-color-bg-active); box-shadow: none; }
|
|
65
|
+
.sheen-button:is(.sheen-button-outline, .sheen-button-ghost):not(.sheen-button-neutral) { color: var(--sheen-tone-fg); }
|
|
66
|
+
.sheen-button.sheen-button-outline:not(.sheen-button-neutral) { border-color: color-mix(in oklab, var(--sheen-tone-fg) 70%, var(--sheen-color-border-control)); }
|
|
67
|
+
.sheen-button.sheen-button-ghost:not(.sheen-button-neutral):hover:enabled { background: var(--sheen-tone-subtle); }
|
|
68
|
+
.sheen-button.sheen-button-link { color: var(--sheen-color-accent-fg); text-decoration: underline; }
|
|
69
|
+
.sheen-button:disabled { cursor: default; opacity: 0.5; }
|
|
70
|
+
.sheen-button[aria-busy="true"] { cursor: progress; opacity: 0.5; }
|
|
71
|
+
.sheen-button:active:enabled:not([aria-busy="true"], .sheen-button-link) { scale: 0.97; }
|
|
72
|
+
.sheen-button.sheen-button-xs { min-block-size: var(--sheen-control-h-xs); padding-inline: var(--sheen-control-px-xs); font-size: var(--sheen-text-ui-sm-size); line-height: var(--sheen-text-ui-sm-leading); }
|
|
73
|
+
.sheen-button.sheen-button-sm { min-block-size: var(--sheen-control-h-sm); padding-inline: var(--sheen-control-px-sm); font-size: var(--sheen-text-ui-sm-size); line-height: var(--sheen-text-ui-sm-leading); }
|
|
74
|
+
.sheen-button.sheen-button-lg { min-block-size: var(--sheen-control-h-lg); padding-inline: var(--sheen-control-px-lg); }
|
|
75
|
+
.sheen-link[data-link-variant="text"] { color: var(--sheen-color-accent-fg); text-decoration: underline; text-underline-offset: 0.15em; }
|
|
76
|
+
.sheen-link[data-link-variant="quiet"] { color: inherit; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 0.2em; transition: text-decoration-color var(--sheen-duration-fast) var(--sheen-ease-standard), color var(--sheen-duration-fast) var(--sheen-ease-standard); }
|
|
77
|
+
.sheen-link[data-link-variant="quiet"]:not(:hover, :focus-visible) { transition-property: none; }
|
|
78
|
+
.sheen-link[data-link-variant="quiet"]:is(:hover, :focus-visible) { color: var(--sheen-color-accent-fg); text-decoration-color: currentColor; }
|
|
79
|
+
.sheen-link[data-link-variant="button"] { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; text-decoration: none; }
|
|
80
|
+
.sheen-button:focus-visible, .sheen-input:focus-visible, .sheen-link:focus-visible {
|
|
81
|
+
outline: 2px solid var(--sheen-color-focus-ring);
|
|
82
|
+
outline-offset: 2px;
|
|
83
|
+
box-shadow: 0 0 0 2px var(--sheen-color-focus-ring-offset);
|
|
84
|
+
}
|
|
85
|
+
.sheen-activity-timeline { margin: 0; padding: 0; list-style: none; }
|
|
86
|
+
.sheen-activity-timeline { display: grid; min-inline-size: 0; container-type: inline-size; }
|
|
87
|
+
.sheen-activity-timeline-item { position: relative; display: grid; grid-template-columns: var(--sheen-control-h-sm) minmax(0, 1fr); min-inline-size: 0; gap: var(--sheen-space-inline-md); padding-block-end: var(--sheen-space-section); }
|
|
88
|
+
.sheen-activity-timeline-item:not(:last-child)::after { content: ""; position: absolute; inset-block: var(--sheen-control-h-sm) 0; inset-inline-start: calc(var(--sheen-control-h-sm) / 2); inline-size: var(--sheen-control-border-width); background: var(--sheen-color-border-control); }
|
|
89
|
+
.sheen-workflow-marker { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; inline-size: var(--sheen-control-h-sm); block-size: var(--sheen-control-h-sm); border: var(--sheen-control-border-width) solid var(--sheen-color-border-control); border-radius: 50%; background: var(--sheen-color-bg); color: var(--sheen-color-fg-muted); font-weight: 700; }
|
|
90
|
+
.sheen-workflow-marker[data-state="completed"] { border-color: var(--sheen-color-success-border); background: var(--sheen-color-success-subtle); color: var(--sheen-color-success-fg); }
|
|
91
|
+
.sheen-workflow-marker[data-state="current"] { border-color: var(--sheen-color-accent-fg); background: var(--sheen-color-accent-subtle); color: var(--sheen-color-accent-fg); }
|
|
92
|
+
.sheen-workflow-marker[data-state="error"] { border-color: var(--sheen-color-danger-border); background: var(--sheen-color-danger-subtle); color: var(--sheen-color-danger-fg); }
|
|
93
|
+
.sheen-activity-timeline-content { display: grid; min-inline-size: 0; gap: var(--sheen-space-block-xs); }
|
|
94
|
+
.sheen-activity-timeline-content > header { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--sheen-space-inline-md); }
|
|
95
|
+
.sheen-activity-timeline-content p { margin: 0; color: var(--sheen-color-fg-muted); overflow-wrap: anywhere; }
|
|
96
|
+
.sheen-activity-timeline-content time, .sheen-activity-timeline-actor, .sheen-workflow-state { color: var(--sheen-color-fg-muted); font-size: var(--sheen-text-caption-size); line-height: var(--sheen-text-caption-leading); }
|
|
97
|
+
.sheen-activity-timeline-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 var(--sheen-space-inline-sm); }
|
|
98
|
+
.sheen-activity-timeline-actor + time::before { content: "·"; margin-inline-end: var(--sheen-space-inline-sm); }
|
|
99
|
+
.sheen-activity-timeline[data-density="compact"] .sheen-activity-timeline-item { padding-block-end: var(--sheen-space-block-md); gap: var(--sheen-space-inline-sm); }
|
|
100
|
+
@keyframes sheen-dialog-enter { from { opacity: 0; } to { opacity: 1; } }
|
|
101
|
+
@keyframes sheen-dialog-exit { from { opacity: 1; } to { opacity: 0; } }
|
|
102
|
+
@keyframes sheen-layer-enter { from { opacity: 0; scale: 0.96; translate: 0 calc(-1 * var(--sheen-motion-distance-sm)); } to { opacity: 1; scale: 1; translate: 0 0; } }
|
|
103
|
+
.sheen-tooltip { --sheen-color-focus-ring-offset: var(--sheen-color-bg-raised); background: var(--sheen-color-bg-raised); color: var(--sheen-color-fg); border: var(--sheen-control-border-width) solid var(--sheen-color-border); border-radius: var(--sheen-surface-radius); box-shadow: var(--sheen-elevation-overlay); box-sizing: border-box; overflow-wrap: anywhere; }
|
|
104
|
+
.sheen-tooltip { display: flex; align-items: center; gap: var(--sheen-space-inline-md); padding: var(--sheen-space-block-xs) var(--sheen-space-inline-md); max-inline-size: min(24rem, 90vw); font-size: var(--sheen-text-ui-sm-size); box-shadow: var(--sheen-elevation-raised); }
|
|
105
|
+
.sheen-tooltip[data-expanded] { animation: sheen-dialog-enter var(--sheen-duration-fast) var(--sheen-ease-entrance); }
|
|
106
|
+
.sheen-tooltip[data-closed] { animation: sheen-dialog-exit var(--sheen-duration-fast) var(--sheen-ease-exit); pointer-events: none; }
|
|
107
|
+
.sheen-layout { box-sizing: border-box; min-inline-size: 0; min-block-size: 0; }
|
|
108
|
+
.sheen-stack, .sheen-row, .sheen-center { display: flex; }
|
|
109
|
+
.sheen-stack { flex-direction: column; }
|
|
110
|
+
.sheen-row { flex-direction: row; }
|
|
111
|
+
.sheen-row[data-wrap="true"] { flex-wrap: wrap; }
|
|
112
|
+
.sheen-row[data-wrap="false"] { flex-wrap: nowrap; }
|
|
113
|
+
.sheen-grid { display: grid; grid-template-columns: repeat(var(--sheen-grid-columns, 1), minmax(0, 1fr)); }
|
|
114
|
+
.sheen-stack, .sheen-row, .sheen-grid { row-gap: var(--sheen-layout-block-gap); column-gap: var(--sheen-layout-inline-gap); }
|
|
115
|
+
.sheen-layout[data-gap="none"] { --sheen-layout-block-gap: 0px; --sheen-layout-inline-gap: 0px; }
|
|
116
|
+
.sheen-layout[data-gap="xs"] { --sheen-layout-block-gap: var(--sheen-space-block-xs); --sheen-layout-inline-gap: var(--sheen-space-inline-xs); }
|
|
117
|
+
.sheen-layout[data-gap="sm"] { --sheen-layout-block-gap: var(--sheen-space-block-sm); --sheen-layout-inline-gap: var(--sheen-space-inline-sm); }
|
|
118
|
+
.sheen-layout[data-gap="md"] { --sheen-layout-block-gap: var(--sheen-space-block-md); --sheen-layout-inline-gap: var(--sheen-space-inline-md); }
|
|
119
|
+
.sheen-layout[data-gap="lg"] { --sheen-layout-block-gap: var(--sheen-space-block-lg); --sheen-layout-inline-gap: var(--sheen-space-inline-lg); }
|
|
120
|
+
.sheen-layout[data-gap="xl"] { --sheen-layout-block-gap: var(--sheen-space-block-xl); --sheen-layout-inline-gap: var(--sheen-space-inline-xl); }
|
|
121
|
+
.sheen-layout[data-align="start"] { align-items: flex-start; }
|
|
122
|
+
.sheen-layout[data-align="center"] { align-items: center; }
|
|
123
|
+
.sheen-layout[data-align="end"] { align-items: flex-end; }
|
|
124
|
+
.sheen-layout[data-align="stretch"] { align-items: stretch; }
|
|
125
|
+
.sheen-layout[data-justify="start"] { justify-content: flex-start; }
|
|
126
|
+
.sheen-layout[data-justify="center"] { justify-content: center; }
|
|
127
|
+
.sheen-layout[data-justify="end"] { justify-content: flex-end; }
|
|
128
|
+
.sheen-layout[data-justify="between"] { justify-content: space-between; }
|
|
129
|
+
.sheen-grid[data-columns="1"] { --sheen-grid-columns: 1; }
|
|
130
|
+
.sheen-grid[data-columns="2"] { --sheen-grid-columns: 2; }
|
|
131
|
+
.sheen-grid[data-columns="3"] { --sheen-grid-columns: 3; }
|
|
132
|
+
.sheen-grid[data-columns="4"] { --sheen-grid-columns: 4; }
|
|
133
|
+
.sheen-grid[data-columns="5"] { --sheen-grid-columns: 5; }
|
|
134
|
+
.sheen-grid[data-columns="6"] { --sheen-grid-columns: 6; }
|
|
135
|
+
.sheen-grid[data-columns="7"] { --sheen-grid-columns: 7; }
|
|
136
|
+
.sheen-grid[data-columns="8"] { --sheen-grid-columns: 8; }
|
|
137
|
+
.sheen-grid[data-columns="9"] { --sheen-grid-columns: 9; }
|
|
138
|
+
.sheen-grid[data-columns="10"] { --sheen-grid-columns: 10; }
|
|
139
|
+
.sheen-grid[data-columns="11"] { --sheen-grid-columns: 11; }
|
|
140
|
+
.sheen-grid[data-columns="12"] { --sheen-grid-columns: 12; }
|
|
141
|
+
.sheen-container { inline-size: 100%; padding-inline: var(--sheen-layout-inline-gap); padding-block: var(--sheen-layout-block-gap); }
|
|
142
|
+
.sheen-center { align-items: center; justify-content: center; }
|
|
143
|
+
.sheen-spacer { flex: 1 1 0%; pointer-events: none; }
|
|
144
|
+
.sheen-layout[hidden] { display: none; }
|
|
145
|
+
.sheen-text, .sheen-heading, .sheen-code, .sheen-kbd, .sheen-badge { font-family: var(--sheen-font-sans); color: var(--sheen-color-fg); }
|
|
146
|
+
.sheen-text[data-tone="muted"] { color: var(--sheen-color-fg-muted); }
|
|
147
|
+
.sheen-text[data-numeric="true"], .sheen-code, .sheen-kbd { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }
|
|
148
|
+
.sheen-heading { margin: 0; }
|
|
149
|
+
.sheen-text[data-size="caption"] { font-size: var(--sheen-text-caption-size); line-height: var(--sheen-text-caption-leading); font-weight: var(--sheen-text-caption-weight); }
|
|
150
|
+
.sheen-text[data-size="ui-sm"] { font-size: var(--sheen-text-ui-sm-size); line-height: var(--sheen-text-ui-sm-leading); font-weight: var(--sheen-text-ui-sm-weight); }
|
|
151
|
+
.sheen-text[data-size="ui"] { font-size: var(--sheen-text-ui-size); line-height: var(--sheen-text-ui-leading); font-weight: var(--sheen-text-ui-weight); }
|
|
152
|
+
.sheen-text[data-size="body"] { font-size: var(--sheen-text-body-size); line-height: var(--sheen-text-body-leading); font-weight: var(--sheen-text-body-weight); }
|
|
153
|
+
.sheen-heading:is([data-size="h1"], [data-size="h2"], [data-size="h3"]) { letter-spacing: var(--sheen-text-title-tracking); text-wrap: balance; }
|
|
154
|
+
.sheen-text[data-size="lead"] { font-size: var(--sheen-text-lead-size); line-height: var(--sheen-text-lead-leading); font-weight: var(--sheen-text-lead-weight); color: var(--sheen-color-fg-muted); text-wrap: pretty; }
|
|
155
|
+
.sheen-heading:is([data-size="display-1"], [data-size="display-2"]) { letter-spacing: var(--sheen-text-display-tracking); text-wrap: balance; }
|
|
156
|
+
.sheen-heading[data-size="display-1"] { font-size: clamp(var(--sheen-text-display-2-size), 7vw, var(--sheen-text-display-1-size)); line-height: 1.08; font-weight: var(--sheen-text-display-1-weight); }
|
|
157
|
+
.sheen-heading[data-size="display-2"] { font-size: clamp(var(--sheen-text-h1-size), 5.5vw, var(--sheen-text-display-2-size)); line-height: 1.15; font-weight: var(--sheen-text-display-2-weight); }
|
|
158
|
+
.sheen-prose { max-inline-size: 68ch; color: var(--sheen-color-fg); font-size: var(--sheen-text-body-size); line-height: var(--sheen-text-body-leading); overflow-wrap: break-word; }
|
|
159
|
+
.sheen-prose > * { margin-block: 0; }
|
|
160
|
+
.sheen-prose > * + * { margin-block-start: 1em; }
|
|
161
|
+
.sheen-prose :is(h1, h2, h3, h4) { color: var(--sheen-color-fg); letter-spacing: var(--sheen-text-title-tracking); text-wrap: balance; }
|
|
162
|
+
.sheen-prose > :is(h1, h2, h3, h4) + * { margin-block-start: 0.5em; }
|
|
163
|
+
.sheen-prose > * + :is(h2, h3, h4) { margin-block-start: 1.75em; }
|
|
164
|
+
.sheen-prose h1 { font-size: var(--sheen-text-h1-size); line-height: var(--sheen-text-h1-leading); font-weight: var(--sheen-text-h1-weight); }
|
|
165
|
+
.sheen-prose h2 { font-size: var(--sheen-text-h2-size); line-height: var(--sheen-text-h2-leading); font-weight: var(--sheen-text-h2-weight); }
|
|
166
|
+
.sheen-prose h3 { font-size: var(--sheen-text-h3-size); line-height: var(--sheen-text-h3-leading); font-weight: var(--sheen-text-h3-weight); }
|
|
167
|
+
.sheen-prose h4 { font-size: var(--sheen-text-h4-size); line-height: var(--sheen-text-h4-leading); font-weight: var(--sheen-text-h4-weight); }
|
|
168
|
+
.sheen-prose a { color: var(--sheen-color-accent-fg); text-decoration: underline; text-underline-offset: 0.15em; }
|
|
169
|
+
.sheen-prose a:focus-visible { outline: 2px solid var(--sheen-color-focus-ring); outline-offset: 2px; border-radius: 2px; }
|
|
170
|
+
.sheen-prose :is(ul, ol) { padding-inline-start: 1.4em; }
|
|
171
|
+
.sheen-prose li + li { margin-block-start: 0.35em; }
|
|
172
|
+
.sheen-prose li::marker { color: var(--sheen-color-fg-muted); }
|
|
173
|
+
.sheen-prose blockquote { margin-inline: 0; padding-inline-start: 1em; border-inline-start: 2px solid var(--sheen-color-border-control); color: var(--sheen-color-fg-muted); }
|
|
174
|
+
.sheen-prose :not(pre) > code { padding: 0.1em 0.35em; border-radius: calc(var(--sheen-control-radius) * 0.75); background: var(--sheen-color-bg-inset); font-family: var(--sheen-font-mono); font-size: 0.9em; }
|
|
175
|
+
.sheen-prose pre { overflow-x: auto; padding: var(--sheen-space-block-md) var(--sheen-space-inline-lg); border: 1px solid var(--sheen-color-border); border-radius: var(--sheen-surface-radius); background: var(--sheen-color-bg-inset); font-family: var(--sheen-font-mono); font-size: var(--sheen-text-code-size); line-height: var(--sheen-text-code-leading); }
|
|
176
|
+
.sheen-prose hr { border: 0; border-block-start: 1px solid var(--sheen-color-border); margin-block: 2em; }
|
|
177
|
+
.sheen-prose img { display: block; max-inline-size: 100%; block-size: auto; border-radius: var(--sheen-surface-radius); }
|
|
178
|
+
.sheen-prose table { inline-size: 100%; border-collapse: collapse; font-size: var(--sheen-text-ui-size); }
|
|
179
|
+
.sheen-prose :is(th, td) { padding: var(--sheen-space-block-sm) var(--sheen-space-inline-sm); border-block-end: 1px solid var(--sheen-color-border); text-align: start; }
|
|
180
|
+
.sheen-prose th { color: var(--sheen-color-fg-muted); font-weight: 600; }
|
|
181
|
+
.sheen-heading[data-size="h1"] { font-size: var(--sheen-text-h1-size); line-height: var(--sheen-text-h1-leading); font-weight: var(--sheen-text-h1-weight); }
|
|
182
|
+
.sheen-heading[data-size="h2"] { font-size: var(--sheen-text-h2-size); line-height: var(--sheen-text-h2-leading); font-weight: var(--sheen-text-h2-weight); }
|
|
183
|
+
.sheen-heading[data-size="h3"] { font-size: var(--sheen-text-h3-size); line-height: var(--sheen-text-h3-leading); font-weight: var(--sheen-text-h3-weight); }
|
|
184
|
+
.sheen-heading[data-size="h4"] { font-size: var(--sheen-text-h4-size); line-height: var(--sheen-text-h4-leading); font-weight: var(--sheen-text-h4-weight); }
|
|
185
|
+
.sheen-code, .sheen-kbd { font-family: var(--sheen-font-mono); font-size: var(--sheen-text-code-size); line-height: var(--sheen-text-code-leading); font-weight: var(--sheen-text-code-weight); background: var(--sheen-color-bg-subtle); border: var(--sheen-control-border-width) solid var(--sheen-color-border); border-radius: var(--sheen-control-radius); padding-inline: var(--sheen-space-inline-xs); }
|
|
186
|
+
.sheen-code { overflow-wrap: anywhere; }
|
|
187
|
+
.sheen-kbd { display: inline-block; white-space: nowrap; color: var(--sheen-color-fg-muted); }
|
|
188
|
+
.sheen-badge { --sheen-tone: var(--sheen-color-neutral); --sheen-tone-fg: var(--sheen-color-neutral-fg); --sheen-tone-on: var(--sheen-color-neutral-on); --sheen-tone-subtle: var(--sheen-color-neutral-subtle); --sheen-tone-border: var(--sheen-color-border-control); display: inline-flex; align-items: center; vertical-align: middle; gap: var(--sheen-space-inline-xs); padding-inline: var(--sheen-space-inline-xs); border: var(--sheen-control-border-width) solid transparent; border-radius: var(--sheen-control-radius); font-size: var(--sheen-text-caption-size); line-height: var(--sheen-text-caption-leading); font-weight: var(--sheen-text-caption-weight); min-block-size: var(--sheen-control-h-xs); max-inline-size: 100%; }
|
|
189
|
+
/* Coarse pointers enlarge control heights for tap targets; a badge is a label, so it keeps its text-derived height. */
|
|
190
|
+
@media (pointer: coarse) { .sheen-badge { min-block-size: calc(var(--sheen-text-caption-leading) + 2 * var(--sheen-control-border-width) + 4px); } }
|
|
191
|
+
.sheen-badge[data-tone="accent"] { --sheen-tone: var(--sheen-color-accent); --sheen-tone-fg: var(--sheen-color-accent-fg); --sheen-tone-on: var(--sheen-color-fg-on-accent); --sheen-tone-subtle: var(--sheen-color-accent-subtle); --sheen-tone-border: var(--sheen-color-accent-fg); }
|
|
192
|
+
.sheen-badge[data-tone="info"] { --sheen-tone: var(--sheen-color-info); --sheen-tone-fg: var(--sheen-color-info-fg); --sheen-tone-on: var(--sheen-color-info-on); --sheen-tone-subtle: var(--sheen-color-info-subtle); --sheen-tone-border: var(--sheen-color-info-border); }
|
|
193
|
+
.sheen-badge[data-tone="success"] { --sheen-tone: var(--sheen-color-success); --sheen-tone-fg: var(--sheen-color-success-fg); --sheen-tone-on: var(--sheen-color-success-on); --sheen-tone-subtle: var(--sheen-color-success-subtle); --sheen-tone-border: var(--sheen-color-success-border); }
|
|
194
|
+
.sheen-badge[data-tone="warning"] { --sheen-tone: var(--sheen-color-warning); --sheen-tone-fg: var(--sheen-color-warning-fg); --sheen-tone-on: var(--sheen-color-warning-on); --sheen-tone-subtle: var(--sheen-color-warning-subtle); --sheen-tone-border: var(--sheen-color-warning-border); }
|
|
195
|
+
.sheen-badge[data-tone="danger"] { --sheen-tone: var(--sheen-color-danger); --sheen-tone-fg: var(--sheen-color-danger-fg); --sheen-tone-on: var(--sheen-color-danger-on); --sheen-tone-subtle: var(--sheen-color-danger-subtle); --sheen-tone-border: var(--sheen-color-danger-border); }
|
|
196
|
+
.sheen-badge[data-tone="market-up"] { --sheen-tone: var(--sheen-color-market-up); --sheen-tone-fg: var(--sheen-color-market-up-fg); --sheen-tone-on: var(--sheen-color-market-up-on); --sheen-tone-subtle: var(--sheen-color-market-up-subtle); --sheen-tone-border: var(--sheen-color-market-up-border); }
|
|
197
|
+
.sheen-badge[data-tone="market-down"] { --sheen-tone: var(--sheen-color-market-down); --sheen-tone-fg: var(--sheen-color-market-down-fg); --sheen-tone-on: var(--sheen-color-market-down-on); --sheen-tone-subtle: var(--sheen-color-market-down-subtle); --sheen-tone-border: var(--sheen-color-market-down-border); }
|
|
198
|
+
.sheen-badge[data-tone="market-flat"] { --sheen-tone: var(--sheen-color-market-flat); --sheen-tone-fg: var(--sheen-color-market-flat-fg); --sheen-tone-on: var(--sheen-color-market-flat-on); --sheen-tone-subtle: var(--sheen-color-market-flat-subtle); --sheen-tone-border: var(--sheen-color-market-flat-border); }
|
|
199
|
+
.sheen-badge[data-variant="soft"] { background: var(--sheen-tone-subtle); color: var(--sheen-tone-fg); }
|
|
200
|
+
.sheen-badge[data-variant="solid"] { background: var(--sheen-tone); color: var(--sheen-tone-on); }
|
|
201
|
+
.sheen-badge[data-variant="outline"] { background: transparent; color: var(--sheen-tone-fg); border-color: var(--sheen-tone-border); }
|
|
202
|
+
.sheen-badge[data-size="md"] { min-block-size: var(--sheen-control-h-sm); font-size: var(--sheen-text-ui-sm-size); line-height: var(--sheen-text-ui-sm-leading); font-weight: var(--sheen-text-ui-sm-weight); }
|
|
203
|
+
.sheen-tag > span { overflow-wrap: anywhere; min-inline-size: 0; }
|
|
204
|
+
.sheen-tag-remove { min-block-size: auto; flex-shrink: 0; color: inherit; font-size: var(--sheen-text-caption-size); line-height: var(--sheen-text-caption-leading); }
|
|
205
|
+
.sheen-tag[data-variant="soft"] { --sheen-color-focus-ring: var(--sheen-tone-fg); --sheen-color-focus-ring-offset: var(--sheen-tone-subtle); }
|
|
206
|
+
.sheen-tag[data-variant="solid"] { --sheen-color-focus-ring: var(--sheen-tone-on); --sheen-color-focus-ring-offset: var(--sheen-tone); }
|
|
207
|
+
.sheen-tag-remove:hover { background: transparent; text-decoration: underline; }
|
|
208
|
+
.sheen-text[hidden], .sheen-heading[hidden], .sheen-code[hidden], .sheen-kbd[hidden], .sheen-badge[hidden] { display: none; }
|
|
209
|
+
.sheen-surface { --sheen-surface-fill: var(--sheen-color-bg); --sheen-color-focus-ring-offset: var(--sheen-surface-fill); background: var(--sheen-surface-fill); color: var(--sheen-color-fg); border-radius: var(--sheen-surface-radius); padding-inline: var(--sheen-layout-inline-gap); padding-block: var(--sheen-layout-block-gap); }
|
|
210
|
+
.sheen-surface[data-surface="subtle"] { --sheen-surface-fill: var(--sheen-color-bg-subtle); }
|
|
211
|
+
.sheen-surface[data-surface="raised"] { --sheen-surface-fill: var(--sheen-color-bg-raised); box-shadow: var(--sheen-elevation-raised); }
|
|
212
|
+
.sheen-surface[data-surface="inset"] { --sheen-surface-fill: var(--sheen-color-bg-inset); }
|
|
213
|
+
.sheen-surface[data-bordered="true"] { border: var(--sheen-control-border-width) solid var(--sheen-color-border); }
|
|
214
|
+
.sheen-surface[data-elevated="true"] { box-shadow: var(--sheen-elevation-raised); }
|
|
215
|
+
.sheen-separator { flex-shrink: 0; margin: 0; border: 0; background: var(--sheen-color-border); }
|
|
216
|
+
.sheen-separator[data-orientation="horizontal"] { block-size: var(--sheen-control-border-width); inline-size: 100%; }
|
|
217
|
+
.sheen-separator[data-orientation="vertical"] { inline-size: var(--sheen-control-border-width); block-size: auto; align-self: stretch; }
|
|
218
|
+
.sheen-notice { --sheen-color-focus-ring-offset: var(--sheen-notice-fill); display: flex; align-items: flex-start; gap: var(--sheen-space-inline-md); box-sizing: border-box; padding: var(--sheen-space-block-md) var(--sheen-space-inline-lg); border: 1px solid var(--sheen-color-border); border-radius: var(--sheen-surface-radius); background: var(--sheen-notice-fill); box-shadow: inset 2px 0 0 var(--sheen-notice-edge); color: var(--sheen-color-fg); font-size: var(--sheen-text-ui-size); line-height: var(--sheen-text-ui-leading); }
|
|
219
|
+
.sheen-notice:dir(rtl) { box-shadow: inset -2px 0 0 var(--sheen-notice-edge); }
|
|
220
|
+
.sheen-notice-icon { display: inline-flex; flex: none; padding-block-start: 2px; color: var(--sheen-notice-fg); }
|
|
221
|
+
.sheen-notice-body { display: grid; flex: 1 1 auto; gap: var(--sheen-space-block-xs); min-inline-size: 0; }
|
|
222
|
+
.sheen-notice-heading { display: block; font-weight: var(--sheen-text-h4-weight); }
|
|
223
|
+
.sheen-notice-content { min-inline-size: 0; overflow-wrap: anywhere; color: var(--sheen-color-fg-muted); }
|
|
224
|
+
.sheen-notice-body > .sheen-notice-content:first-child { color: var(--sheen-color-fg); }
|
|
225
|
+
.sheen-notice-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sheen-space-inline-sm); margin-block-start: var(--sheen-space-block-xs); }
|
|
226
|
+
.sheen-notice-dismiss { flex: none; margin-block: calc(var(--sheen-space-block-xs) * -1); margin-inline-end: calc(var(--sheen-space-inline-sm) * -1); }
|
|
227
|
+
.sheen-banner { border-width: 0 0 1px; border-radius: 0; padding-inline: var(--sheen-space-gutter); }
|
|
228
|
+
.sheen-notice[data-tone="info"] { --sheen-notice-fill: color-mix(in oklab, var(--sheen-color-info-subtle) 45%, var(--sheen-color-bg-raised)); --sheen-notice-fg: var(--sheen-color-info-fg); --sheen-notice-edge: var(--sheen-color-info-border); }
|
|
229
|
+
.sheen-notice[data-tone="success"] { --sheen-notice-fill: color-mix(in oklab, var(--sheen-color-success-subtle) 45%, var(--sheen-color-bg-raised)); --sheen-notice-fg: var(--sheen-color-success-fg); --sheen-notice-edge: var(--sheen-color-success-border); }
|
|
230
|
+
.sheen-notice[data-tone="warning"] { --sheen-notice-fill: color-mix(in oklab, var(--sheen-color-warning-subtle) 45%, var(--sheen-color-bg-raised)); --sheen-notice-fg: var(--sheen-color-warning-fg); --sheen-notice-edge: var(--sheen-color-warning-border); }
|
|
231
|
+
.sheen-notice[data-tone="danger"] { --sheen-notice-fill: color-mix(in oklab, var(--sheen-color-danger-subtle) 45%, var(--sheen-color-bg-raised)); --sheen-notice-fg: var(--sheen-color-danger-fg); --sheen-notice-edge: var(--sheen-color-danger-border); }
|
|
232
|
+
.sheen-surface[data-surface="base"] { --sheen-surface-fill: var(--sheen-color-bg); }
|
|
233
|
+
.sheen-separator[hidden], .sheen-notice[hidden] { display: none; }
|
|
234
|
+
.sheen-description-list { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: var(--sheen-space-inline-lg); row-gap: var(--sheen-space-block-xs); margin: 0; min-inline-size: 0; font-family: var(--sheen-font-sans); font-size: var(--sheen-text-ui-size); line-height: var(--sheen-text-ui-leading); }
|
|
235
|
+
.sheen-description-list[data-layout="columns"] { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); row-gap: var(--sheen-space-block-md); }
|
|
236
|
+
.sheen-description-term, .sheen-description-details { min-inline-size: 0; margin: 0; overflow-wrap: anywhere; user-select: text; }
|
|
237
|
+
.sheen-description-term { color: var(--sheen-color-fg-muted); }
|
|
238
|
+
.sheen-description-details { color: var(--sheen-color-fg); }
|
|
239
|
+
.sheen-description-list[data-layout="stacked"] > .sheen-description-details + .sheen-description-term { margin-block-start: var(--sheen-space-block-md); }
|
|
240
|
+
.sheen-description-details[data-numeric="true"] { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }
|
|
241
|
+
.sheen-description-list[hidden], .sheen-description-term[hidden], .sheen-description-details[hidden] { display: none; }
|
|
242
|
+
.sheen-skeleton { display: block; box-sizing: border-box; background: var(--sheen-color-bg-subtle); border: var(--sheen-control-border-width) solid var(--sheen-color-border); border-radius: var(--sheen-control-radius); inline-size: 100%; block-size: var(--sheen-text-ui-leading); pointer-events: none; user-select: none; }
|
|
243
|
+
.sheen-skeleton[data-shape="rectangle"] { block-size: var(--sheen-control-h-lg); border-radius: var(--sheen-surface-radius); }
|
|
244
|
+
.sheen-skeleton[data-shape="circle"] { inline-size: var(--sheen-control-h-lg); block-size: var(--sheen-control-h-lg); border-radius: 50%; }
|
|
245
|
+
.sheen-skeleton[hidden] { display: none; }
|
|
246
|
+
.sheen-list { display: grid; margin: 0; padding: 0; list-style: none; min-inline-size: 0; --sheen-list-pad-block: var(--sheen-space-block-sm); --sheen-list-pad-inline: var(--sheen-space-inline-sm); }
|
|
247
|
+
.sheen-list[data-density="compact"] { --sheen-list-pad-block: var(--sheen-space-block-xs); }
|
|
248
|
+
.sheen-list[data-density="comfortable"] { --sheen-list-pad-block: var(--sheen-space-block-md); --sheen-list-pad-inline: var(--sheen-space-inline-md); }
|
|
249
|
+
.sheen-list[data-inset] { padding: var(--sheen-space-block-xs); border: 1px solid var(--sheen-color-border); border-radius: var(--sheen-surface-radius); background: var(--sheen-color-bg-raised); box-shadow: var(--sheen-elevation-raised); --sheen-color-focus-ring-offset: var(--sheen-color-bg-raised); }
|
|
250
|
+
.sheen-list[data-dividers] > .sheen-list-item + .sheen-list-item { border-block-start: 1px solid var(--sheen-color-border-subtle); }
|
|
251
|
+
.sheen-list-item { min-inline-size: 0; }
|
|
252
|
+
.sheen-list-item-row { display: flex; align-items: center; gap: var(--sheen-space-inline-md); box-sizing: border-box; inline-size: 100%; min-inline-size: 0; margin: 0; padding: var(--sheen-list-pad-block) var(--sheen-list-pad-inline); border: 0; border-radius: var(--sheen-control-radius); background: transparent; color: inherit; font: inherit; text-align: start; text-decoration: none; }
|
|
253
|
+
.sheen-list-item[data-interactive] > .sheen-list-item-row { cursor: pointer; transition: background-color var(--sheen-duration-fast) var(--sheen-ease-standard); }
|
|
254
|
+
.sheen-list-item[data-interactive] > .sheen-list-item-row:not(:hover, :focus-visible, :active) { transition-property: none; }
|
|
255
|
+
.sheen-list-item[data-interactive] > .sheen-list-item-row:hover { background: var(--sheen-color-bg-hover); color: inherit; }
|
|
256
|
+
.sheen-list-item[data-selected] > .sheen-list-item-row, .sheen-list-item > .sheen-list-item-row[aria-current="page"] { background: var(--sheen-color-bg-selected); box-shadow: inset 2px 0 0 var(--sheen-color-focus-ring); }
|
|
257
|
+
.sheen-list-item[data-selected] > .sheen-list-item-row:dir(rtl), .sheen-list-item > .sheen-list-item-row[aria-current="page"]:dir(rtl) { box-shadow: inset -2px 0 0 var(--sheen-color-focus-ring); }
|
|
258
|
+
.sheen-list-item-row:focus-visible { outline: 2px solid var(--sheen-color-focus-ring); outline-offset: -2px; }
|
|
259
|
+
.sheen-list-item-row:disabled { cursor: default; opacity: 0.5; }
|
|
260
|
+
.sheen-list-item-leading { display: inline-flex; flex: none; align-items: center; justify-content: center; color: var(--sheen-color-fg-muted); }
|
|
261
|
+
.sheen-list-item-copy { display: grid; flex: 1 1 auto; min-inline-size: 0; gap: 2px; }
|
|
262
|
+
.sheen-list-item-title { min-inline-size: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--sheen-color-fg); }
|
|
263
|
+
.sheen-list-item-description { min-inline-size: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--sheen-color-fg-muted); font-size: var(--sheen-text-ui-sm-size); line-height: var(--sheen-text-ui-sm-leading); }
|
|
264
|
+
.sheen-list-item-trailing { display: inline-flex; flex: none; align-items: center; gap: var(--sheen-space-inline-xs); color: var(--sheen-color-fg-muted); font-size: var(--sheen-text-ui-sm-size); }
|
|
265
|
+
.sheen-sr-only { position: absolute; inline-size: 1px; block-size: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
|
|
266
|
+
.sheen-glyph { display: block; flex: none; inline-size: var(--sheen-icon-size-md); block-size: var(--sheen-icon-size-md); }
|
|
267
|
+
.sheen-glyph[data-mirror]:dir(rtl) { scale: -1 1; }
|
|
268
|
+
.sheen-skeleton { background-image: linear-gradient(100deg, transparent 20%, color-mix(in oklab, var(--sheen-color-bg-hover) 80%, transparent) 50%, transparent 80%); background-size: 200% 100%; background-repeat: no-repeat; animation: sheen-skeleton-shimmer calc(var(--sheen-duration-slow) * 6) var(--sheen-ease-standard) infinite; }
|
|
269
|
+
@keyframes sheen-skeleton-shimmer { from { background-position: 150% 0; } to { background-position: -50% 0; } }
|
|
270
|
+
.sheen-empty-state { display: flex; flex-direction: column; align-items: flex-start; gap: var(--sheen-space-block-md); padding: var(--sheen-space-section); min-inline-size: 0; color: var(--sheen-color-fg); overflow-wrap: anywhere; }
|
|
271
|
+
.sheen-empty-state-heading { font-family: var(--sheen-font-sans); font-size: var(--sheen-text-h4-size); line-height: var(--sheen-text-h4-leading); font-weight: var(--sheen-text-h4-weight); }
|
|
272
|
+
.sheen-empty-state-description { margin: 0; color: var(--sheen-color-fg-muted); font-size: var(--sheen-text-ui-size); line-height: var(--sheen-text-ui-leading); }
|
|
273
|
+
.sheen-empty-state[hidden] { display: none; }
|
|
274
|
+
.sheen-spinner { display: inline-flex; position: relative; vertical-align: middle; color: var(--sheen-color-fg-muted); inline-size: var(--sheen-icon-size-md); block-size: var(--sheen-icon-size-md); flex-shrink: 0; }
|
|
275
|
+
.sheen-spinner[data-size="sm"] { inline-size: var(--sheen-icon-size-sm); block-size: var(--sheen-icon-size-sm); }
|
|
276
|
+
.sheen-spinner[data-size="lg"] { inline-size: var(--sheen-icon-size-lg); block-size: var(--sheen-icon-size-lg); }
|
|
277
|
+
.sheen-spinner-mark { inline-size: 100%; block-size: 100%; box-sizing: border-box; border: var(--sheen-control-border-width) solid currentColor; border-inline-end-color: transparent; border-radius: 50%; animation: sheen-spinner-rotation var(--sheen-duration-spin) linear infinite; }
|
|
278
|
+
.sheen-avatar { display: inline-grid; place-items: center; flex: 0 0 auto; overflow: hidden; box-sizing: border-box; inline-size: var(--sheen-icon-size-md); block-size: var(--sheen-icon-size-md); color: var(--sheen-color-fg-muted); background: var(--sheen-color-bg-inset); border: 1px solid var(--sheen-color-border-control); border-radius: 50%; font-size: 0.625rem; font-weight: 600; line-height: 1; }
|
|
279
|
+
.sheen-avatar[data-size="sm"] { inline-size: calc(var(--sheen-icon-size-sm) * 1.75); block-size: calc(var(--sheen-icon-size-sm) * 1.75); }
|
|
280
|
+
.sheen-avatar[data-size="md"] { inline-size: calc(var(--sheen-icon-size-md) * 2); block-size: calc(var(--sheen-icon-size-md) * 2); }
|
|
281
|
+
.sheen-avatar[data-size="lg"] { inline-size: calc(var(--sheen-icon-size-lg) * 2.25); block-size: calc(var(--sheen-icon-size-lg) * 2.25); font-size: 0.75rem; }
|
|
282
|
+
.sheen-avatar-fallback, .sheen-avatar-image { grid-area: 1 / 1; inline-size: 100%; block-size: 100%; }
|
|
283
|
+
.sheen-avatar-fallback { display: grid; place-items: center; }
|
|
284
|
+
.sheen-avatar-image { object-fit: cover; background: var(--sheen-color-bg-inset); }
|
|
285
|
+
.sheen-avatar-group { display: flex; align-items: center; padding-inline-start: var(--sheen-space-inline-xs); }
|
|
286
|
+
.sheen-avatar-group > .sheen-avatar { margin-inline-start: calc(-1 * var(--sheen-space-inline-xs)); box-shadow: 0 0 0 1px var(--sheen-color-bg); }
|
|
287
|
+
.sheen-avatar-overflow { overflow: visible; }
|
|
288
|
+
.sheen-progress, .sheen-meter {
|
|
289
|
+
display: block;
|
|
290
|
+
inline-size: 100%;
|
|
291
|
+
block-size: 0.5rem;
|
|
292
|
+
overflow: hidden;
|
|
293
|
+
appearance: none;
|
|
294
|
+
-webkit-appearance: none;
|
|
295
|
+
border: 0;
|
|
296
|
+
border-radius: var(--sheen-radius-pill);
|
|
297
|
+
background: var(--sheen-color-bg-inset);
|
|
298
|
+
box-shadow: inset 0 0 0 1px var(--sheen-color-border-subtle);
|
|
299
|
+
accent-color: var(--sheen-color-accent);
|
|
300
|
+
}
|
|
301
|
+
.sheen-progress::-webkit-progress-bar, .sheen-meter::-webkit-meter-bar { border: 0; border-radius: var(--sheen-radius-pill); background: var(--sheen-color-bg-inset); box-shadow: inset 0 0 0 1px var(--sheen-color-border-subtle); }
|
|
302
|
+
.sheen-progress::-webkit-progress-value { border-radius: var(--sheen-radius-pill); background: var(--sheen-color-accent); }
|
|
303
|
+
.sheen-progress::-moz-progress-bar { border-radius: var(--sheen-radius-pill); background: var(--sheen-color-accent); }
|
|
304
|
+
.sheen-meter { --sheen-meter-fill: var(--sheen-color-success); }
|
|
305
|
+
.sheen-meter[data-meter-state="suboptimum"] { --sheen-meter-fill: var(--sheen-color-warning); }
|
|
306
|
+
.sheen-meter[data-meter-state="critical"] { --sheen-meter-fill: var(--sheen-color-danger); }
|
|
307
|
+
.sheen-meter::-webkit-meter-optimum-value, .sheen-meter::-webkit-meter-suboptimum-value, .sheen-meter::-webkit-meter-even-less-good-value { border: 0; border-radius: var(--sheen-radius-pill); background: var(--sheen-meter-fill); box-shadow: none; }
|
|
308
|
+
.sheen-meter::-moz-meter-bar { border: 0; border-radius: var(--sheen-radius-pill); background: var(--sheen-meter-fill); box-shadow: none; }
|
|
309
|
+
@media (forced-colors: active) { .sheen-progress, .sheen-meter { appearance: auto; -webkit-appearance: auto; box-shadow: none; } }
|
|
310
|
+
.sheen-spinner-label { position: absolute; inline-size: 1px; block-size: 1px; padding: 0; margin: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
|
|
311
|
+
@keyframes sheen-spinner-rotation { to { transform: rotate(360deg); } }
|
|
312
|
+
.sheen-spinner[hidden] { display: none; }
|
|
313
|
+
.sheen-table { inline-size: 100%; border-collapse: collapse; color: var(--sheen-color-fg); font-family: var(--sheen-font-sans); font-size: var(--sheen-text-ui-sm-size); line-height: var(--sheen-text-ui-sm-leading); }
|
|
314
|
+
.sheen-table-caption { caption-side: top; text-align: start; padding-block: var(--sheen-space-block-md); color: var(--sheen-color-fg-muted); }
|
|
315
|
+
.sheen-table-th, .sheen-table-td { height: var(--sheen-table-row-h); box-sizing: border-box; padding-inline: var(--sheen-space-inline-md); padding-block: var(--sheen-space-block-xs); text-align: start; vertical-align: middle; border-block-end: var(--sheen-control-border-width) solid var(--sheen-color-border); }
|
|
316
|
+
.sheen-table-th { font-weight: var(--sheen-text-h4-weight); user-select: none; }
|
|
317
|
+
.sheen-table-td { user-select: text; }
|
|
318
|
+
.sheen-table-th[data-numeric="true"], .sheen-table-td[data-numeric="true"] { text-align: end; font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }
|
|
319
|
+
.sheen-table[data-striped="true"] > .sheen-table-tbody > .sheen-table-tr:nth-child(even) { background: var(--sheen-color-bg-subtle); --sheen-color-focus-ring-offset: var(--sheen-color-bg-subtle); }
|
|
320
|
+
.sheen-table[hidden], .sheen-table-caption[hidden], .sheen-table-thead[hidden], .sheen-table-tbody[hidden], .sheen-table-tfoot[hidden], .sheen-table-tr[hidden], .sheen-table-th[hidden], .sheen-table-td[hidden] { display: none; }
|
|
321
|
+
}
|