fulldev-ui 0.22.2 → 0.23.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/CHANGELOG.md +14 -0
- package/README.md +6 -2
- package/liquid/LICENSE-DATA-SLOT.md +21 -0
- package/liquid/LICENSE-FULLDEV.txt +21 -0
- package/liquid/LICENSE-SHADCN.md +21 -0
- package/liquid/README.md +17 -0
- package/liquid/components/accordion.liquid +5 -0
- package/liquid/components/alert-dialog.liquid +116 -0
- package/liquid/components/alert.liquid +45 -0
- package/liquid/components/aspect-ratio.liquid +28 -0
- package/liquid/components/attachment.liquid +134 -0
- package/liquid/components/avatar.liquid +52 -0
- package/liquid/components/badge.liquid +86 -0
- package/liquid/components/banner.liquid +40 -0
- package/liquid/components/base.liquid +112 -0
- package/liquid/components/breadcrumb.liquid +46 -0
- package/liquid/components/button-group.liquid +56 -0
- package/liquid/components/button.liquid +232 -0
- package/liquid/components/card.liquid +5 -0
- package/liquid/components/carousel.liquid +5 -0
- package/liquid/components/checkbox.liquid +54 -0
- package/liquid/components/collapsible.liquid +3 -0
- package/liquid/components/combobox.liquid +87 -0
- package/liquid/components/command.liquid +86 -0
- package/liquid/components/dialog.liquid +80 -0
- package/liquid/components/drawer.liquid +97 -0
- package/liquid/components/dropdown-menu.liquid +3 -0
- package/liquid/components/empty.liquid +77 -0
- package/liquid/components/field.liquid +5 -0
- package/liquid/components/form.liquid +5 -0
- package/liquid/components/header.liquid +33 -0
- package/liquid/components/hover-card.liquid +3 -0
- package/liquid/components/icon.liquid +5 -0
- package/liquid/components/input-group.liquid +53 -0
- package/liquid/components/input.liquid +84 -0
- package/liquid/components/invalid-controls.liquid +18 -0
- package/liquid/components/item.liquid +114 -0
- package/liquid/components/kbd.liquid +20 -0
- package/liquid/components/logo.liquid +33 -0
- package/liquid/components/marquee.liquid +5 -0
- package/liquid/components/navigation-menu.liquid +5 -0
- package/liquid/components/pagination.liquid +32 -0
- package/liquid/components/popover.liquid +3 -0
- package/liquid/components/popup.liquid +189 -0
- package/liquid/components/price.liquid +5 -0
- package/liquid/components/radio-group.liquid +53 -0
- package/liquid/components/rating.liquid +5 -0
- package/liquid/components/section.liquid +5 -0
- package/liquid/components/select.liquid +51 -0
- package/liquid/components/separator.liquid +19 -0
- package/liquid/components/sheet.liquid +68 -0
- package/liquid/components/skeleton.liquid +17 -0
- package/liquid/components/slider.liquid +50 -0
- package/liquid/components/spinner.liquid +28 -0
- package/liquid/components/switch.liquid +54 -0
- package/liquid/components/table.liquid +64 -0
- package/liquid/components/tabs.liquid +88 -0
- package/liquid/components/toast.liquid +5 -0
- package/liquid/components/toc.liquid +45 -0
- package/liquid/components/toggle-group.liquid +77 -0
- package/liquid/components/toggle.liquid +61 -0
- package/liquid/components/tooltip.liquid +45 -0
- package/liquid/components/triggers.liquid +20 -0
- package/liquid/components/typography.liquid +5 -0
- package/liquid/components/video.liquid +5 -0
- package/liquid/contracts.json +428 -0
- package/liquid/examples/accordion.liquid +10 -0
- package/liquid/examples/alert-dialog.liquid +40 -0
- package/liquid/examples/alert.liquid +4 -0
- package/liquid/examples/aspect-ratio.liquid +1 -0
- package/liquid/examples/attachment.liquid +22 -0
- package/liquid/examples/avatar.liquid +1 -0
- package/liquid/examples/badge.liquid +5 -0
- package/liquid/examples/banner.liquid +3 -0
- package/liquid/examples/breadcrumb.liquid +7 -0
- package/liquid/examples/button-group.liquid +6 -0
- package/liquid/examples/button.liquid +8 -0
- package/liquid/examples/card.liquid +11 -0
- package/liquid/examples/carousel.liquid +12 -0
- package/liquid/examples/checkbox.liquid +4 -0
- package/liquid/examples/collapsible.liquid +29 -0
- package/liquid/examples/combobox.liquid +13 -0
- package/liquid/examples/command.liquid +10 -0
- package/liquid/examples/dependencies.json +60 -0
- package/liquid/examples/dialog.liquid +11 -0
- package/liquid/examples/drawer.liquid +18 -0
- package/liquid/examples/dropdown-menu.liquid +88 -0
- package/liquid/examples/empty.liquid +9 -0
- package/liquid/examples/field.liquid +105 -0
- package/liquid/examples/form.liquid +9 -0
- package/liquid/examples/header.liquid +8 -0
- package/liquid/examples/hover-card.liquid +16 -0
- package/liquid/examples/icon.liquid +3 -0
- package/liquid/examples/input-group.liquid +6 -0
- package/liquid/examples/input.liquid +4 -0
- package/liquid/examples/item.liquid +72 -0
- package/liquid/examples/kbd.liquid +1 -0
- package/liquid/examples/label.liquid +3 -0
- package/liquid/examples/logo.liquid +3 -0
- package/liquid/examples/marquee.liquid +5 -0
- package/liquid/examples/native-select.liquid +8 -0
- package/liquid/examples/navigation-menu.liquid +11 -0
- package/liquid/examples/pagination.liquid +11 -0
- package/liquid/examples/popover.liquid +14 -0
- package/liquid/examples/price.liquid +1 -0
- package/liquid/examples/radio-group.liquid +62 -0
- package/liquid/examples/rating.liquid +17 -0
- package/liquid/examples/section.liquid +9 -0
- package/liquid/examples/select.liquid +105 -0
- package/liquid/examples/separator.liquid +3 -0
- package/liquid/examples/sheet.liquid +11 -0
- package/liquid/examples/skeleton.liquid +5 -0
- package/liquid/examples/slider.liquid +46 -0
- package/liquid/examples/spinner.liquid +11 -0
- package/liquid/examples/switch.liquid +7 -0
- package/liquid/examples/table.liquid +37 -0
- package/liquid/examples/tabs.liquid +21 -0
- package/liquid/examples/textarea.liquid +9 -0
- package/liquid/examples/toast.liquid +47 -0
- package/liquid/examples/toc.liquid +11 -0
- package/liquid/examples/toggle-group.liquid +50 -0
- package/liquid/examples/toggle.liquid +21 -0
- package/liquid/examples/tooltip.liquid +33 -0
- package/liquid/examples/typography.liquid +9 -0
- package/liquid/examples/video.liquid +7 -0
- package/liquid/licenses.json +14 -0
- package/liquid/manifest.json +110 -0
- package/liquid/registry.json +1295 -0
- package/liquid/runtime/ui-carousel.js +44 -0
- package/liquid/runtime/ui-controls.js +195 -0
- package/liquid/runtime/ui-lifecycle.js +107 -0
- package/liquid/runtime/ui-motion.js +45 -0
- package/liquid/runtime/ui-start.js +37 -0
- package/liquid/snippets/init.liquid +6 -0
- package/liquid/snippets/runtime.liquid +9 -0
- package/liquid/snippets/ui.liquid +68 -0
- package/liquid/styles/accordion.css +66 -0
- package/liquid/styles/card.css +114 -0
- package/liquid/styles/carousel.css +58 -0
- package/liquid/styles/field.css +70 -0
- package/liquid/styles/form.css +14 -0
- package/liquid/styles/icon.css +32 -0
- package/liquid/styles/marquee.css +65 -0
- package/liquid/styles/navigation-menu.css +235 -0
- package/liquid/styles/price.css +41 -0
- package/liquid/styles/primitives.css +53 -0
- package/liquid/styles/rating.css +23 -0
- package/liquid/styles/section.css +92 -0
- package/liquid/styles/toast.css +125 -0
- package/liquid/styles/tokens.css +118 -0
- package/liquid/styles/typography.css +670 -0
- package/liquid/styles/video.css +10 -0
- package/liquid/vendor/data-slot-accordion.js +1 -0
- package/liquid/vendor/data-slot-alert-dialog.js +1 -0
- package/liquid/vendor/data-slot-carousel.js +1 -0
- package/liquid/vendor/data-slot-collapsible.js +1 -0
- package/liquid/vendor/data-slot-combobox.js +1 -0
- package/liquid/vendor/data-slot-command.js +1 -0
- package/liquid/vendor/data-slot-core.js +1 -0
- package/liquid/vendor/data-slot-dialog.js +1 -0
- package/liquid/vendor/data-slot-drawer.js +1 -0
- package/liquid/vendor/data-slot-dropdown-menu.js +1 -0
- package/liquid/vendor/data-slot-hover-card.js +1 -0
- package/liquid/vendor/data-slot-navigation-menu.js +1 -0
- package/liquid/vendor/data-slot-popover.js +1 -0
- package/liquid/vendor/data-slot-radio-group.js +1 -0
- package/liquid/vendor/data-slot-select.js +1 -0
- package/liquid/vendor/data-slot-slider.js +1 -0
- package/liquid/vendor/data-slot-switch.js +1 -0
- package/liquid/vendor/data-slot-tabs.js +1 -0
- package/liquid/vendor/data-slot-toast.js +8 -0
- package/liquid/vendor/data-slot-toggle-group.js +1 -0
- package/liquid/vendor/data-slot-toggle.js +1 -0
- package/liquid/vendor/data-slot-tooltip.js +1 -0
- package/liquid/vendor.json +180 -0
- package/package.json +16 -10
- package/public/r/liquid/accordion.json +25 -0
- package/public/r/liquid/alert-dialog.json +21 -0
- package/public/r/liquid/alert.json +18 -0
- package/public/r/liquid/aspect-ratio.json +18 -0
- package/public/r/liquid/attachment.json +20 -0
- package/public/r/liquid/avatar.json +18 -0
- package/public/r/liquid/badge.json +18 -0
- package/public/r/liquid/banner.json +18 -0
- package/public/r/liquid/breadcrumb.json +18 -0
- package/public/r/liquid/button-group.json +19 -0
- package/public/r/liquid/button.json +18 -0
- package/public/r/liquid/card.json +25 -0
- package/public/r/liquid/carousel.json +26 -0
- package/public/r/liquid/checkbox.json +19 -0
- package/public/r/liquid/collapsible.json +19 -0
- package/public/r/liquid/combobox.json +21 -0
- package/public/r/liquid/command.json +19 -0
- package/public/r/liquid/components.json +83 -0
- package/public/r/liquid/dialog.json +19 -0
- package/public/r/liquid/drawer.json +21 -0
- package/public/r/liquid/dropdown-menu.json +21 -0
- package/public/r/liquid/empty.json +18 -0
- package/public/r/liquid/field.json +25 -0
- package/public/r/liquid/form.json +25 -0
- package/public/r/liquid/header.json +19 -0
- package/public/r/liquid/hover-card.json +20 -0
- package/public/r/liquid/icon.json +24 -0
- package/public/r/liquid/init.json +34 -0
- package/public/r/liquid/input-group.json +20 -0
- package/public/r/liquid/input.json +18 -0
- package/public/r/liquid/invalid-controls.json +18 -0
- package/public/r/liquid/item.json +18 -0
- package/public/r/liquid/kbd.json +18 -0
- package/public/r/liquid/label.json +11 -0
- package/public/r/liquid/logo.json +18 -0
- package/public/r/liquid/marquee.json +25 -0
- package/public/r/liquid/native-select.json +11 -0
- package/public/r/liquid/navigation-menu.json +26 -0
- package/public/r/liquid/pagination.json +18 -0
- package/public/r/liquid/popover.json +21 -0
- package/public/r/liquid/popup.json +18 -0
- package/public/r/liquid/price.json +24 -0
- package/public/r/liquid/radio-group.json +20 -0
- package/public/r/liquid/rating.json +24 -0
- package/public/r/liquid/registry.json +1295 -0
- package/public/r/liquid/runtime.json +180 -0
- package/public/r/liquid/section.json +24 -0
- package/public/r/liquid/select.json +22 -0
- package/public/r/liquid/separator.json +18 -0
- package/public/r/liquid/sheet.json +20 -0
- package/public/r/liquid/skeleton.json +18 -0
- package/public/r/liquid/slider.json +19 -0
- package/public/r/liquid/spinner.json +18 -0
- package/public/r/liquid/switch.json +20 -0
- package/public/r/liquid/table.json +18 -0
- package/public/r/liquid/tabs.json +20 -0
- package/public/r/liquid/textarea.json +11 -0
- package/public/r/liquid/toast.json +27 -0
- package/public/r/liquid/toc.json +18 -0
- package/public/r/liquid/toggle-group.json +21 -0
- package/public/r/liquid/toggle.json +20 -0
- package/public/r/liquid/tooltip.json +20 -0
- package/public/r/liquid/triggers.json +18 -0
- package/public/r/liquid/typography.json +24 -0
- package/public/r/liquid/video.json +25 -0
- package/public/r/styles/base-luma/theme-toggle.json +1 -1
- package/public/r/styles/base-lyra/theme-toggle.json +1 -1
- package/public/r/styles/base-maia/theme-toggle.json +1 -1
- package/public/r/styles/base-mira/theme-toggle.json +1 -1
- package/public/r/styles/base-nova/theme-toggle.json +1 -1
- package/public/r/styles/base-rhea/theme-toggle.json +1 -1
- package/public/r/styles/base-sera/theme-toggle.json +1 -1
- package/public/r/styles/base-vega/theme-toggle.json +1 -1
- package/public/r/theme-toggle.json +1 -1
- package/src/components/ui/theme-toggle/theme-provider.astro +14 -0
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
[data-slot='rating'] {
|
|
2
|
+
display: inline-flex;
|
|
3
|
+
align-items: center;
|
|
4
|
+
gap: var(--spacing);
|
|
5
|
+
color: var(--primary);
|
|
6
|
+
}
|
|
7
|
+
.rating__star {
|
|
8
|
+
position: relative;
|
|
9
|
+
display: inline-flex;
|
|
10
|
+
width: calc(var(--spacing) * 4);
|
|
11
|
+
height: calc(var(--spacing) * 4);
|
|
12
|
+
color: color-mix(in oklch, var(--muted-foreground) 25%, transparent);
|
|
13
|
+
}
|
|
14
|
+
.rating__star svg {
|
|
15
|
+
width: 100%;
|
|
16
|
+
height: 100%;
|
|
17
|
+
}
|
|
18
|
+
.rating__fill {
|
|
19
|
+
position: absolute;
|
|
20
|
+
inset: 0;
|
|
21
|
+
overflow: hidden;
|
|
22
|
+
color: var(--primary);
|
|
23
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
[data-slot='section'] {
|
|
2
|
+
position: relative;
|
|
3
|
+
display: flex;
|
|
4
|
+
flex-direction: column;
|
|
5
|
+
gap: var(--section-gap);
|
|
6
|
+
padding-block: var(--section-padding);
|
|
7
|
+
background: var(--background);
|
|
8
|
+
color: var(--foreground);
|
|
9
|
+
scroll-margin-top: 48px;
|
|
10
|
+
}
|
|
11
|
+
[data-slot='section'][data-variant='bordered'] {
|
|
12
|
+
padding-block: 32px;
|
|
13
|
+
border-block: 1px solid var(--border);
|
|
14
|
+
}
|
|
15
|
+
/* The first section of a template page, below the header. */
|
|
16
|
+
[data-slot='section'][data-variant='page'] {
|
|
17
|
+
padding-top: 32px;
|
|
18
|
+
}
|
|
19
|
+
/* A framed panel inset by the gutter, as Fulldev UI's floating section. */
|
|
20
|
+
[data-slot='section'][data-variant='floating'] {
|
|
21
|
+
width: calc(100% - 2 * var(--gutter));
|
|
22
|
+
max-width: calc(var(--container) - 2 * var(--gutter));
|
|
23
|
+
margin: 64px auto;
|
|
24
|
+
overflow: hidden;
|
|
25
|
+
border: 1px solid var(--border);
|
|
26
|
+
border-radius: var(--radius-xl);
|
|
27
|
+
box-shadow: var(--shadow-md);
|
|
28
|
+
}
|
|
29
|
+
/* The container only sets the width and gutters; each section lays out its own children. */
|
|
30
|
+
[data-slot='section-container'],
|
|
31
|
+
[data-slot='header-container'] {
|
|
32
|
+
position: relative;
|
|
33
|
+
width: 100%;
|
|
34
|
+
min-width: 0;
|
|
35
|
+
max-width: var(--container);
|
|
36
|
+
margin-inline: auto;
|
|
37
|
+
padding-inline: var(--gutter);
|
|
38
|
+
}
|
|
39
|
+
[data-slot='header-container'] {
|
|
40
|
+
display: flex;
|
|
41
|
+
gap: 16px;
|
|
42
|
+
}
|
|
43
|
+
[data-slot='section-title'] {
|
|
44
|
+
font-size: 1.875rem;
|
|
45
|
+
line-height: 2.25rem;
|
|
46
|
+
text-wrap: balance;
|
|
47
|
+
}
|
|
48
|
+
[data-slot='section-description'] {
|
|
49
|
+
font-size: 1.125rem;
|
|
50
|
+
line-height: 1.625;
|
|
51
|
+
color: var(--muted-foreground);
|
|
52
|
+
text-wrap: balance;
|
|
53
|
+
}
|
|
54
|
+
/* Display headline of centered heroes and banners. */
|
|
55
|
+
.display-title {
|
|
56
|
+
max-width: 56rem;
|
|
57
|
+
font-size: 2.25rem;
|
|
58
|
+
line-height: 1.1;
|
|
59
|
+
text-wrap: balance;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
/* The actions of a section intro, wrapping when they do not fit beside each other. */
|
|
63
|
+
.section-actions {
|
|
64
|
+
display: flex;
|
|
65
|
+
flex-wrap: wrap;
|
|
66
|
+
gap: 12px;
|
|
67
|
+
}
|
|
68
|
+
/* A section title set tight, as in Fulldev UI's call to action and content blocks. */
|
|
69
|
+
[data-slot='section-title'].tight-title {
|
|
70
|
+
line-height: 1.1;
|
|
71
|
+
}
|
|
72
|
+
/* The display headline of split heroes: 36px, 48px from 640px. */
|
|
73
|
+
.hero-title {
|
|
74
|
+
font-size: 2.25rem;
|
|
75
|
+
line-height: 1.1;
|
|
76
|
+
text-wrap: balance;
|
|
77
|
+
}
|
|
78
|
+
@media (min-width: 640px) {
|
|
79
|
+
[data-slot='section-title'] {
|
|
80
|
+
font-size: 2.25rem;
|
|
81
|
+
line-height: 2.5rem;
|
|
82
|
+
}
|
|
83
|
+
.display-title,
|
|
84
|
+
.hero-title {
|
|
85
|
+
font-size: 3rem;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
@media (min-width: 1024px) {
|
|
89
|
+
.display-title {
|
|
90
|
+
font-size: 3.75rem;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
/* Stacked notifications, after Fulldev UI's toaster. The controller measures the stack and writes
|
|
2
|
+
the offsets; collapsed toasts behind the front one show only their edge. */
|
|
3
|
+
[data-slot='toast-viewport'] {
|
|
4
|
+
--toast-gap: 0.75rem;
|
|
5
|
+
--toast-collapsed-peek: 0.75rem;
|
|
6
|
+
|
|
7
|
+
position: fixed;
|
|
8
|
+
right: 1rem;
|
|
9
|
+
bottom: 1rem;
|
|
10
|
+
z-index: 1100;
|
|
11
|
+
width: min(24rem, calc(100vw - 2rem));
|
|
12
|
+
height: var(--toast-stack-size, 0);
|
|
13
|
+
pointer-events: none;
|
|
14
|
+
outline: none;
|
|
15
|
+
}
|
|
16
|
+
[data-slot='toast-item'] {
|
|
17
|
+
position: absolute;
|
|
18
|
+
inset-inline: 0;
|
|
19
|
+
bottom: 0;
|
|
20
|
+
z-index: calc(1000 - var(--toast-index, 0));
|
|
21
|
+
border-radius: var(--radius-2xl);
|
|
22
|
+
background: var(--popover);
|
|
23
|
+
color: var(--popover-foreground);
|
|
24
|
+
box-shadow:
|
|
25
|
+
0 0 0 1px color-mix(in oklch, var(--foreground) 10%, transparent),
|
|
26
|
+
var(--shadow-lg);
|
|
27
|
+
opacity: 0;
|
|
28
|
+
transform: translate3d(0, calc(var(--toast-lift, -1) * -100%), 0);
|
|
29
|
+
transform-origin: bottom;
|
|
30
|
+
pointer-events: auto;
|
|
31
|
+
outline: none;
|
|
32
|
+
user-select: none;
|
|
33
|
+
transition:
|
|
34
|
+
transform 300ms cubic-bezier(0.22, 1, 0.36, 1),
|
|
35
|
+
opacity 300ms cubic-bezier(0.22, 1, 0.36, 1),
|
|
36
|
+
height 300ms cubic-bezier(0.22, 1, 0.36, 1);
|
|
37
|
+
}
|
|
38
|
+
/* Keeps the pointer on the stack between toasts, so hovering it keeps it expanded. */
|
|
39
|
+
[data-slot='toast-item']::after {
|
|
40
|
+
content: '';
|
|
41
|
+
position: absolute;
|
|
42
|
+
bottom: 100%;
|
|
43
|
+
left: 0;
|
|
44
|
+
width: 100%;
|
|
45
|
+
height: calc(var(--toast-gap, 0px) + 1px);
|
|
46
|
+
}
|
|
47
|
+
[data-slot='toast-item']:focus-visible {
|
|
48
|
+
box-shadow: var(--focus-ring);
|
|
49
|
+
}
|
|
50
|
+
[data-slot='toast-item'][data-mounted='true'] {
|
|
51
|
+
opacity: 1;
|
|
52
|
+
transform: translate3d(0, 0, 0);
|
|
53
|
+
}
|
|
54
|
+
[data-slot='toast-item'][data-mounted='true'][data-expanded='true'] {
|
|
55
|
+
height: var(--toast-initial-height);
|
|
56
|
+
transform: translate3d(0, calc(var(--toast-offset, 0px) * var(--toast-lift, -1)), 0);
|
|
57
|
+
}
|
|
58
|
+
[data-slot='toast-item'][data-mounted='true'][data-expanded='false'][data-front='false'] {
|
|
59
|
+
height: var(--toast-front-height);
|
|
60
|
+
transform: translate3d(0, calc(var(--toast-collapsed-offset-y, 0px) * var(--toast-lift, -1)), 0)
|
|
61
|
+
scale(calc(1 - var(--toast-index, 0) * 0.05));
|
|
62
|
+
}
|
|
63
|
+
[data-slot='toast-item'][data-expanded='false'][data-front='false'][data-open] > * {
|
|
64
|
+
opacity: 0;
|
|
65
|
+
}
|
|
66
|
+
[data-slot='toast-item'][data-visible='false'] {
|
|
67
|
+
opacity: 0;
|
|
68
|
+
pointer-events: none;
|
|
69
|
+
}
|
|
70
|
+
[data-slot='toast-item'][data-removed='true'] {
|
|
71
|
+
opacity: 0;
|
|
72
|
+
}
|
|
73
|
+
[data-slot='toast-item'][data-removed='true'][data-front='true'] {
|
|
74
|
+
transform: translate3d(0, calc(var(--toast-lift, -1) * -100%), 0);
|
|
75
|
+
}
|
|
76
|
+
[data-slot='toast-item'][data-swiping='true'] {
|
|
77
|
+
transition: none;
|
|
78
|
+
transform: translate3d(var(--toast-swipe-amount-x, 0), var(--toast-swipe-amount-y, 0), 0);
|
|
79
|
+
}
|
|
80
|
+
[data-slot='toast-item'][data-removed='true'][data-swipe-out='true'] {
|
|
81
|
+
transform: translate3d(var(--toast-swipe-end-x, 0), var(--toast-swipe-end-y, 0), 0);
|
|
82
|
+
}
|
|
83
|
+
[data-slot='toast-content'] {
|
|
84
|
+
display: flex;
|
|
85
|
+
align-items: center;
|
|
86
|
+
gap: calc(var(--spacing) * 3);
|
|
87
|
+
min-height: calc(var(--spacing) * 16);
|
|
88
|
+
padding: calc(var(--spacing) * 4);
|
|
89
|
+
overflow: hidden;
|
|
90
|
+
transition: opacity 200ms;
|
|
91
|
+
}
|
|
92
|
+
/* The title and description beside the toast's icon. */
|
|
93
|
+
.toast-text {
|
|
94
|
+
display: flex;
|
|
95
|
+
flex: 1;
|
|
96
|
+
flex-direction: column;
|
|
97
|
+
gap: var(--spacing);
|
|
98
|
+
min-width: 0;
|
|
99
|
+
}
|
|
100
|
+
[data-slot='toast-title'] {
|
|
101
|
+
font-size: 0.875rem;
|
|
102
|
+
font-weight: 500;
|
|
103
|
+
}
|
|
104
|
+
[data-slot='toast-description'] {
|
|
105
|
+
color: var(--muted-foreground);
|
|
106
|
+
font-size: 0.875rem;
|
|
107
|
+
}
|
|
108
|
+
[data-slot='toast-description']:empty,
|
|
109
|
+
[data-slot='toast-action']:empty {
|
|
110
|
+
display: none;
|
|
111
|
+
}
|
|
112
|
+
[data-slot='toast-close'] {
|
|
113
|
+
flex-shrink: 0;
|
|
114
|
+
color: var(--muted-foreground);
|
|
115
|
+
}
|
|
116
|
+
[data-slot='toast-close']:hover {
|
|
117
|
+
color: var(--foreground);
|
|
118
|
+
}
|
|
119
|
+
@media (prefers-reduced-motion: reduce) {
|
|
120
|
+
[data-slot='toast-item'],
|
|
121
|
+
[data-slot='drawer-popup'],
|
|
122
|
+
[data-slot='drawer-backdrop'] {
|
|
123
|
+
transition-duration: 0ms;
|
|
124
|
+
}
|
|
125
|
+
}
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
/* Generated from the shared neutral palette and Liquid primitives. */
|
|
2
|
+
:root {
|
|
3
|
+
color-scheme: light;
|
|
4
|
+
|
|
5
|
+
--background: oklch(1 0 0);
|
|
6
|
+
--foreground: oklch(0.145 0 0);
|
|
7
|
+
--card: oklch(1 0 0);
|
|
8
|
+
--card-foreground: oklch(0.145 0 0);
|
|
9
|
+
--popover: oklch(1 0 0);
|
|
10
|
+
--popover-foreground: oklch(0.145 0 0);
|
|
11
|
+
--primary: oklch(0.205 0 0);
|
|
12
|
+
--primary-foreground: oklch(0.985 0 0);
|
|
13
|
+
--secondary: oklch(0.97 0 0);
|
|
14
|
+
--secondary-foreground: oklch(0.205 0 0);
|
|
15
|
+
--muted: oklch(0.97 0 0);
|
|
16
|
+
--muted-foreground: oklch(0.556 0 0);
|
|
17
|
+
--accent: oklch(0.97 0 0);
|
|
18
|
+
--accent-foreground: oklch(0.205 0 0);
|
|
19
|
+
--destructive: oklch(0.577 0.245 27.325);
|
|
20
|
+
--border: oklch(0.922 0 0);
|
|
21
|
+
--input: oklch(0.922 0 0);
|
|
22
|
+
--ring: oklch(0.708 0 0);
|
|
23
|
+
--chart-1: oklch(0.87 0 0);
|
|
24
|
+
--chart-2: oklch(0.556 0 0);
|
|
25
|
+
--chart-3: oklch(0.439 0 0);
|
|
26
|
+
--chart-4: oklch(0.371 0 0);
|
|
27
|
+
--chart-5: oklch(0.269 0 0);
|
|
28
|
+
--radius: 0.625rem;
|
|
29
|
+
--sidebar: oklch(0.985 0 0);
|
|
30
|
+
--sidebar-foreground: oklch(0.145 0 0);
|
|
31
|
+
--sidebar-primary: oklch(0.205 0 0);
|
|
32
|
+
--sidebar-primary-foreground: oklch(0.985 0 0);
|
|
33
|
+
--sidebar-accent: oklch(0.97 0 0);
|
|
34
|
+
--sidebar-accent-foreground: oklch(0.205 0 0);
|
|
35
|
+
--sidebar-border: oklch(0.922 0 0);
|
|
36
|
+
--sidebar-ring: oklch(0.708 0 0);
|
|
37
|
+
--heading-weight: 600;
|
|
38
|
+
--container: 1280px;
|
|
39
|
+
--section-gap: 64px;
|
|
40
|
+
--header-height: 64px;
|
|
41
|
+
--radius-sm: calc(var(--radius) * 0.6);
|
|
42
|
+
--radius-md: calc(var(--radius) * 0.8);
|
|
43
|
+
--radius-lg: var(--radius);
|
|
44
|
+
--radius-xl: calc(var(--radius) * 1.4);
|
|
45
|
+
--radius-2xl: calc(var(--radius) * 1.8);
|
|
46
|
+
--radius-3xl: calc(var(--radius) * 2.2);
|
|
47
|
+
--radius-4xl: calc(var(--radius) * 2.6);
|
|
48
|
+
--shadow-x: 0;
|
|
49
|
+
--shadow-y: 1px;
|
|
50
|
+
--shadow-blur: 3px;
|
|
51
|
+
--shadow-spread: 0;
|
|
52
|
+
--shadow-opacity: 0.1;
|
|
53
|
+
--shadow-color: oklch(0 0 0);
|
|
54
|
+
--shadow-2xs: 0 1px 3px 0 hsl(0 0% 0% / 0.05);
|
|
55
|
+
--shadow-xs: 0 1px 3px 0 hsl(0 0% 0% / 0.05);
|
|
56
|
+
--shadow-sm: 0 1px 3px 0 hsl(0 0% 0% / 0.1), 0 1px 2px -1px hsl(0 0% 0% / 0.1);
|
|
57
|
+
--shadow: 0 1px 3px 0 hsl(0 0% 0% / 0.1), 0 1px 2px -1px hsl(0 0% 0% / 0.1);
|
|
58
|
+
--shadow-md: 0 1px 3px 0 hsl(0 0% 0% / 0.1), 0 2px 4px -1px hsl(0 0% 0% / 0.1);
|
|
59
|
+
--shadow-lg: 0 1px 3px 0 hsl(0 0% 0% / 0.1), 0 4px 6px -1px hsl(0 0% 0% / 0.1);
|
|
60
|
+
--shadow-xl: 0 1px 3px 0 hsl(0 0% 0% / 0.1), 0 8px 10px -1px hsl(0 0% 0% / 0.1);
|
|
61
|
+
--shadow-2xl: 0 1px 3px 0 hsl(0 0% 0% / 0.25);
|
|
62
|
+
--font-sans: 'Geist', ui-sans-serif, system-ui, sans-serif;
|
|
63
|
+
--font-heading: var(--font-sans);
|
|
64
|
+
--font-mono: ui-monospace, sfmono-regular, menlo, monaco, consolas, monospace;
|
|
65
|
+
--tracking-tight: -0.025em;
|
|
66
|
+
--tracking-normal: 0;
|
|
67
|
+
--spacing: 0.25rem;
|
|
68
|
+
--gutter: calc(var(--spacing) * 4);
|
|
69
|
+
--section-padding: calc(var(--spacing) * 16);
|
|
70
|
+
--on-media: #fff;
|
|
71
|
+
--on-media-muted: rgb(255 255 255 / 0.85);
|
|
72
|
+
--media-button: #fff;
|
|
73
|
+
--media-button-foreground: #171717;
|
|
74
|
+
--media-button-hover: #e5e5e5;
|
|
75
|
+
--media-secondary: rgb(255 255 255 / 0.15);
|
|
76
|
+
--media-secondary-hover: rgb(255 255 255 / 0.2);
|
|
77
|
+
--media-overlay: rgb(0 0 0 / 0.7);
|
|
78
|
+
--media-base: rgb(0 0 0);
|
|
79
|
+
--media-fade: linear-gradient(to top, rgb(0 0 0 / 0.8), rgb(0 0 0 / 0.6));
|
|
80
|
+
--scrim: rgb(0 0 0 / 0.1);
|
|
81
|
+
--focus-ring: 0 0 0 3px color-mix(in oklch, var(--ring) 50%, transparent);
|
|
82
|
+
}
|
|
83
|
+
.dark {
|
|
84
|
+
color-scheme: dark;
|
|
85
|
+
|
|
86
|
+
--background: oklch(0.145 0 0);
|
|
87
|
+
--foreground: oklch(0.985 0 0);
|
|
88
|
+
--card: oklch(0.205 0 0);
|
|
89
|
+
--card-foreground: oklch(0.985 0 0);
|
|
90
|
+
--popover: oklch(0.205 0 0);
|
|
91
|
+
--popover-foreground: oklch(0.985 0 0);
|
|
92
|
+
--primary: oklch(0.922 0 0);
|
|
93
|
+
--primary-foreground: oklch(0.205 0 0);
|
|
94
|
+
--secondary: oklch(0.269 0 0);
|
|
95
|
+
--secondary-foreground: oklch(0.985 0 0);
|
|
96
|
+
--muted: oklch(0.269 0 0);
|
|
97
|
+
--muted-foreground: oklch(0.708 0 0);
|
|
98
|
+
--accent: oklch(0.269 0 0);
|
|
99
|
+
--accent-foreground: oklch(0.985 0 0);
|
|
100
|
+
--destructive: oklch(0.704 0.191 22.216);
|
|
101
|
+
--border: oklch(1 0 0 / 10%);
|
|
102
|
+
--input: oklch(1 0 0 / 15%);
|
|
103
|
+
--ring: oklch(0.556 0 0);
|
|
104
|
+
--chart-1: oklch(0.87 0 0);
|
|
105
|
+
--chart-2: oklch(0.556 0 0);
|
|
106
|
+
--chart-3: oklch(0.439 0 0);
|
|
107
|
+
--chart-4: oklch(0.371 0 0);
|
|
108
|
+
--chart-5: oklch(0.269 0 0);
|
|
109
|
+
--sidebar: oklch(0.205 0 0);
|
|
110
|
+
--sidebar-foreground: oklch(0.985 0 0);
|
|
111
|
+
--sidebar-primary: oklch(0.488 0.243 264.376);
|
|
112
|
+
--sidebar-primary-foreground: oklch(0.985 0 0);
|
|
113
|
+
--sidebar-accent: oklch(0.269 0 0);
|
|
114
|
+
--sidebar-accent-foreground: oklch(0.985 0 0);
|
|
115
|
+
--sidebar-border: oklch(1 0 0 / 10%);
|
|
116
|
+
--sidebar-ring: oklch(0.556 0 0);
|
|
117
|
+
--focus-ring: 0 0 0 3px color-mix(in oklch, var(--ring) 50%, transparent);
|
|
118
|
+
}
|