@astryx-vue/themes 0.1.1 → 0.2.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 +3 -1
- package/THIRD_PARTY_NOTICES.md +2 -0
- package/butter/alert-dialog.css +8 -0
- package/butter/avatar-group.css +9 -0
- package/butter/avatar.css +15 -0
- package/butter/badge.css +35 -0
- package/butter/banner.css +15 -0
- package/butter/base.css +250 -0
- package/butter/bottom-sheet.css +13 -0
- package/butter/button.css +30 -0
- package/butter/card.css +23 -0
- package/butter/center.css +7 -0
- package/butter/chat.css +27 -0
- package/butter/checkbox.css +12 -0
- package/butter/citation.css +15 -0
- package/butter/code.css +33 -0
- package/butter/collapsible.css +10 -0
- package/butter/context-menu.css +15 -0
- package/butter/dialog.css +10 -0
- package/butter/divider.css +9 -0
- package/butter/dropdown-menu.css +14 -0
- package/butter/empty-state.css +9 -0
- package/butter/field.css +1 -0
- package/butter/grid.css +7 -0
- package/butter/heading.css +35 -0
- package/butter/hover-card.css +10 -0
- package/butter/icon.css +23 -0
- package/butter/input.css +21 -0
- package/butter/kbd.css +9 -0
- package/butter/link.css +9 -0
- package/butter/list.css +12 -0
- package/butter/mobile-nav.css +7 -0
- package/butter/more-menu.css +16 -0
- package/butter/nav-menu.css +7 -0
- package/butter/overlay.css +8 -0
- package/butter/popover.css +9 -0
- package/butter/progress-bar.css +15 -0
- package/butter/radio.css +8 -0
- package/butter/segmented-control.css +15 -0
- package/butter/side-nav.css +8 -0
- package/butter/skeleton.css +7 -0
- package/butter/slider.css +9 -0
- package/butter/spinner.css +21 -0
- package/butter/status-dot.css +11 -0
- package/butter/switch.css +29 -0
- package/butter/text-area.css +9 -0
- package/butter/text.css +31 -0
- package/butter/toast.css +12 -0
- package/butter/toggle-button.css +9 -0
- package/butter/token.css +28 -0
- package/butter/tooltip.css +9 -0
- package/butter.css +51 -0
- package/chocolate/alert-dialog.css +8 -0
- package/chocolate/avatar-group.css +9 -0
- package/chocolate/avatar.css +15 -0
- package/chocolate/badge.css +35 -0
- package/chocolate/banner.css +15 -0
- package/chocolate/base.css +250 -0
- package/chocolate/bottom-sheet.css +13 -0
- package/chocolate/button.css +30 -0
- package/chocolate/card.css +23 -0
- package/chocolate/center.css +7 -0
- package/chocolate/chat.css +27 -0
- package/chocolate/checkbox.css +12 -0
- package/chocolate/citation.css +15 -0
- package/chocolate/code.css +33 -0
- package/chocolate/collapsible.css +10 -0
- package/chocolate/context-menu.css +15 -0
- package/chocolate/dialog.css +10 -0
- package/chocolate/divider.css +9 -0
- package/chocolate/dropdown-menu.css +14 -0
- package/chocolate/empty-state.css +9 -0
- package/chocolate/field.css +1 -0
- package/chocolate/grid.css +7 -0
- package/chocolate/heading.css +35 -0
- package/chocolate/hover-card.css +10 -0
- package/chocolate/icon.css +23 -0
- package/chocolate/input.css +21 -0
- package/chocolate/kbd.css +9 -0
- package/chocolate/link.css +9 -0
- package/chocolate/list.css +12 -0
- package/chocolate/mobile-nav.css +7 -0
- package/chocolate/more-menu.css +16 -0
- package/chocolate/nav-menu.css +7 -0
- package/chocolate/overlay.css +8 -0
- package/chocolate/popover.css +9 -0
- package/chocolate/progress-bar.css +15 -0
- package/chocolate/radio.css +8 -0
- package/chocolate/segmented-control.css +15 -0
- package/chocolate/side-nav.css +8 -0
- package/chocolate/skeleton.css +7 -0
- package/chocolate/slider.css +9 -0
- package/chocolate/spinner.css +21 -0
- package/chocolate/status-dot.css +11 -0
- package/chocolate/switch.css +29 -0
- package/chocolate/text-area.css +9 -0
- package/chocolate/text.css +31 -0
- package/chocolate/toast.css +12 -0
- package/chocolate/toggle-button.css +9 -0
- package/chocolate/token.css +28 -0
- package/chocolate/tooltip.css +9 -0
- package/chocolate.css +51 -0
- package/gothic/alert-dialog.css +8 -0
- package/gothic/avatar-group.css +9 -0
- package/gothic/avatar.css +15 -0
- package/gothic/badge.css +35 -0
- package/gothic/banner.css +15 -0
- package/gothic/base.css +247 -0
- package/gothic/bottom-sheet.css +13 -0
- package/gothic/button.css +24 -0
- package/gothic/card.css +23 -0
- package/gothic/center.css +7 -0
- package/gothic/chat.css +27 -0
- package/gothic/checkbox.css +12 -0
- package/gothic/citation.css +15 -0
- package/gothic/code.css +33 -0
- package/gothic/collapsible.css +10 -0
- package/gothic/context-menu.css +15 -0
- package/gothic/dialog.css +10 -0
- package/gothic/divider.css +9 -0
- package/gothic/dropdown-menu.css +14 -0
- package/gothic/empty-state.css +9 -0
- package/gothic/field.css +1 -0
- package/gothic/grid.css +7 -0
- package/gothic/heading.css +35 -0
- package/gothic/hover-card.css +10 -0
- package/gothic/icon.css +23 -0
- package/gothic/input.css +21 -0
- package/gothic/kbd.css +9 -0
- package/gothic/link.css +9 -0
- package/gothic/list.css +12 -0
- package/gothic/mobile-nav.css +7 -0
- package/gothic/more-menu.css +16 -0
- package/gothic/nav-menu.css +7 -0
- package/gothic/overlay.css +8 -0
- package/gothic/popover.css +9 -0
- package/gothic/progress-bar.css +15 -0
- package/gothic/radio.css +8 -0
- package/gothic/segmented-control.css +15 -0
- package/gothic/side-nav.css +8 -0
- package/gothic/skeleton.css +7 -0
- package/gothic/slider.css +9 -0
- package/gothic/spinner.css +21 -0
- package/gothic/status-dot.css +11 -0
- package/gothic/switch.css +29 -0
- package/gothic/text-area.css +9 -0
- package/gothic/text.css +31 -0
- package/gothic/toast.css +12 -0
- package/gothic/toggle-button.css +9 -0
- package/gothic/token.css +28 -0
- package/gothic/tooltip.css +9 -0
- package/gothic.css +51 -0
- package/matcha/alert-dialog.css +8 -0
- package/matcha/avatar-group.css +9 -0
- package/matcha/avatar.css +15 -0
- package/matcha/badge.css +35 -0
- package/matcha/banner.css +15 -0
- package/matcha/base.css +250 -0
- package/matcha/bottom-sheet.css +13 -0
- package/matcha/button.css +24 -0
- package/matcha/card.css +23 -0
- package/matcha/center.css +7 -0
- package/matcha/chat.css +27 -0
- package/matcha/checkbox.css +12 -0
- package/matcha/citation.css +15 -0
- package/matcha/code.css +33 -0
- package/matcha/collapsible.css +10 -0
- package/matcha/context-menu.css +15 -0
- package/matcha/dialog.css +10 -0
- package/matcha/divider.css +9 -0
- package/matcha/dropdown-menu.css +14 -0
- package/matcha/empty-state.css +9 -0
- package/matcha/field.css +1 -0
- package/matcha/grid.css +7 -0
- package/matcha/heading.css +35 -0
- package/matcha/hover-card.css +10 -0
- package/matcha/icon.css +23 -0
- package/matcha/input.css +21 -0
- package/matcha/kbd.css +9 -0
- package/matcha/link.css +9 -0
- package/matcha/list.css +12 -0
- package/matcha/mobile-nav.css +7 -0
- package/matcha/more-menu.css +16 -0
- package/matcha/nav-menu.css +7 -0
- package/matcha/overlay.css +8 -0
- package/matcha/popover.css +9 -0
- package/matcha/progress-bar.css +15 -0
- package/matcha/radio.css +8 -0
- package/matcha/segmented-control.css +15 -0
- package/matcha/side-nav.css +8 -0
- package/matcha/skeleton.css +7 -0
- package/matcha/slider.css +9 -0
- package/matcha/spinner.css +21 -0
- package/matcha/status-dot.css +11 -0
- package/matcha/switch.css +29 -0
- package/matcha/text-area.css +9 -0
- package/matcha/text.css +31 -0
- package/matcha/toast.css +12 -0
- package/matcha/toggle-button.css +9 -0
- package/matcha/token.css +28 -0
- package/matcha/tooltip.css +9 -0
- package/matcha.css +51 -0
- package/neutral/button.css +6 -6
- package/neutral/card.css +1 -1
- package/neutral/heading.css +3 -3
- package/neutral/icon.css +1 -1
- package/neutral/text.css +2 -2
- package/package.json +14 -2
- package/stone/alert-dialog.css +8 -0
- package/stone/avatar-group.css +9 -0
- package/stone/avatar.css +15 -0
- package/stone/badge.css +35 -0
- package/stone/banner.css +15 -0
- package/stone/base.css +250 -0
- package/stone/bottom-sheet.css +13 -0
- package/stone/button.css +30 -0
- package/stone/card.css +23 -0
- package/stone/center.css +7 -0
- package/stone/chat.css +27 -0
- package/stone/checkbox.css +12 -0
- package/stone/citation.css +15 -0
- package/stone/code.css +33 -0
- package/stone/collapsible.css +10 -0
- package/stone/context-menu.css +15 -0
- package/stone/dialog.css +10 -0
- package/stone/divider.css +9 -0
- package/stone/dropdown-menu.css +14 -0
- package/stone/empty-state.css +9 -0
- package/stone/field.css +1 -0
- package/stone/grid.css +7 -0
- package/stone/heading.css +35 -0
- package/stone/hover-card.css +10 -0
- package/stone/icon.css +23 -0
- package/stone/input.css +21 -0
- package/stone/kbd.css +9 -0
- package/stone/link.css +9 -0
- package/stone/list.css +12 -0
- package/stone/mobile-nav.css +7 -0
- package/stone/more-menu.css +16 -0
- package/stone/nav-menu.css +7 -0
- package/stone/overlay.css +8 -0
- package/stone/popover.css +9 -0
- package/stone/progress-bar.css +15 -0
- package/stone/radio.css +8 -0
- package/stone/segmented-control.css +15 -0
- package/stone/side-nav.css +8 -0
- package/stone/skeleton.css +7 -0
- package/stone/slider.css +9 -0
- package/stone/spinner.css +21 -0
- package/stone/status-dot.css +11 -0
- package/stone/switch.css +29 -0
- package/stone/text-area.css +9 -0
- package/stone/text.css +31 -0
- package/stone/toast.css +12 -0
- package/stone/toggle-button.css +9 -0
- package/stone/token.css +28 -0
- package/stone/tooltip.css +9 -0
- package/stone.css +51 -0
- package/y2k/alert-dialog.css +8 -0
- package/y2k/avatar-group.css +9 -0
- package/y2k/avatar.css +15 -0
- package/y2k/badge.css +35 -0
- package/y2k/banner.css +15 -0
- package/y2k/base.css +250 -0
- package/y2k/bottom-sheet.css +13 -0
- package/y2k/button.css +30 -0
- package/y2k/card.css +23 -0
- package/y2k/center.css +7 -0
- package/y2k/chat.css +27 -0
- package/y2k/checkbox.css +12 -0
- package/y2k/citation.css +15 -0
- package/y2k/code.css +33 -0
- package/y2k/collapsible.css +10 -0
- package/y2k/context-menu.css +15 -0
- package/y2k/dialog.css +10 -0
- package/y2k/divider.css +9 -0
- package/y2k/dropdown-menu.css +14 -0
- package/y2k/empty-state.css +9 -0
- package/y2k/field.css +1 -0
- package/y2k/grid.css +7 -0
- package/y2k/heading.css +35 -0
- package/y2k/hover-card.css +10 -0
- package/y2k/icon.css +23 -0
- package/y2k/input.css +21 -0
- package/y2k/kbd.css +9 -0
- package/y2k/link.css +9 -0
- package/y2k/list.css +12 -0
- package/y2k/mobile-nav.css +7 -0
- package/y2k/more-menu.css +16 -0
- package/y2k/nav-menu.css +7 -0
- package/y2k/overlay.css +8 -0
- package/y2k/popover.css +9 -0
- package/y2k/progress-bar.css +15 -0
- package/y2k/radio.css +8 -0
- package/y2k/segmented-control.css +15 -0
- package/y2k/side-nav.css +8 -0
- package/y2k/skeleton.css +7 -0
- package/y2k/slider.css +9 -0
- package/y2k/spinner.css +21 -0
- package/y2k/status-dot.css +11 -0
- package/y2k/switch.css +29 -0
- package/y2k/text-area.css +9 -0
- package/y2k/text.css +31 -0
- package/y2k/toast.css +12 -0
- package/y2k/toggle-button.css +9 -0
- package/y2k/token.css +28 -0
- package/y2k/tooltip.css +9 -0
- package/y2k.css +51 -0
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
@layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
|
|
2
|
+
|
|
3
|
+
@layer astryx.tokens {
|
|
4
|
+
[data-astryx-theme='butter'] {
|
|
5
|
+
--astryx-hover-card-background: var(--astryx-color-background-card);
|
|
6
|
+
--astryx-hover-card-foreground: var(--astryx-color-text-primary);
|
|
7
|
+
--astryx-hover-card-shadow: var(--astryx-shadow-low);
|
|
8
|
+
--astryx-hover-card-indication-color: var(--astryx-color-text-primary);
|
|
9
|
+
}
|
|
10
|
+
}
|
package/butter/icon.css
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
@layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
|
|
2
|
+
|
|
3
|
+
@layer astryx.tokens {
|
|
4
|
+
[data-astryx-theme='butter'] {
|
|
5
|
+
--astryx-icon-primary-foreground: var(--astryx-color-text-primary);
|
|
6
|
+
--astryx-icon-secondary-foreground: var(--astryx-color-text-secondary);
|
|
7
|
+
--astryx-icon-disabled-foreground: var(--astryx-color-text-disabled);
|
|
8
|
+
--astryx-icon-accent-foreground: var(--astryx-color-on-accent);
|
|
9
|
+
--astryx-icon-success-foreground: var(--astryx-color-text-green);
|
|
10
|
+
--astryx-icon-error-foreground: var(--astryx-color-text-red);
|
|
11
|
+
--astryx-icon-warning-foreground: var(--astryx-color-text-yellow);
|
|
12
|
+
--astryx-icon-blue-foreground: var(--astryx-color-icon-blue);
|
|
13
|
+
--astryx-icon-cyan-foreground: var(--astryx-color-icon-cyan);
|
|
14
|
+
--astryx-icon-green-foreground: var(--astryx-color-icon-green);
|
|
15
|
+
--astryx-icon-gray-foreground: var(--astryx-color-icon-gray);
|
|
16
|
+
--astryx-icon-orange-foreground: var(--astryx-color-icon-orange);
|
|
17
|
+
--astryx-icon-pink-foreground: var(--astryx-color-icon-pink);
|
|
18
|
+
--astryx-icon-purple-foreground: var(--astryx-color-icon-purple);
|
|
19
|
+
--astryx-icon-red-foreground: var(--astryx-color-icon-red);
|
|
20
|
+
--astryx-icon-teal-foreground: var(--astryx-color-icon-teal);
|
|
21
|
+
--astryx-icon-yellow-foreground: var(--astryx-color-icon-yellow);
|
|
22
|
+
}
|
|
23
|
+
}
|
package/butter/input.css
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
@layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
|
|
2
|
+
|
|
3
|
+
@layer astryx.tokens {
|
|
4
|
+
[data-astryx-theme='butter'] {
|
|
5
|
+
--astryx-input-background: var(--astryx-color-background-surface);
|
|
6
|
+
--astryx-input-border: var(--astryx-color-border-emphasized);
|
|
7
|
+
--astryx-input-focus: var(--astryx-color-accent);
|
|
8
|
+
--astryx-input-height-sm: 28px;
|
|
9
|
+
--astryx-input-height-md: 32px;
|
|
10
|
+
--astryx-input-height-lg: 36px;
|
|
11
|
+
--astryx-input-error: var(--astryx-color-error);
|
|
12
|
+
--astryx-input-error-foreground: var(--astryx-color-text-red);
|
|
13
|
+
--astryx-input-error-background: var(--astryx-color-error-muted);
|
|
14
|
+
--astryx-input-warning: var(--astryx-color-warning);
|
|
15
|
+
--astryx-input-warning-foreground: var(--astryx-color-text-yellow);
|
|
16
|
+
--astryx-input-warning-background: var(--astryx-color-warning-muted);
|
|
17
|
+
--astryx-input-success: var(--astryx-color-success);
|
|
18
|
+
--astryx-input-success-foreground: var(--astryx-color-text-green);
|
|
19
|
+
--astryx-input-success-background: var(--astryx-color-success-muted);
|
|
20
|
+
}
|
|
21
|
+
}
|
package/butter/kbd.css
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
@layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
|
|
2
|
+
|
|
3
|
+
@layer astryx.tokens {
|
|
4
|
+
[data-astryx-theme='butter'] {
|
|
5
|
+
--astryx-kbd-background: var(--astryx-color-background-muted);
|
|
6
|
+
--astryx-kbd-foreground: var(--astryx-color-text-secondary);
|
|
7
|
+
--astryx-kbd-border-color: var(--astryx-color-border-emphasized);
|
|
8
|
+
}
|
|
9
|
+
}
|
package/butter/link.css
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
@layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
|
|
2
|
+
|
|
3
|
+
@layer astryx.tokens {
|
|
4
|
+
[data-astryx-theme='butter'] {
|
|
5
|
+
--astryx-link-primary-foreground: var(--astryx-color-text-primary);
|
|
6
|
+
--astryx-link-secondary-foreground: var(--astryx-color-text-secondary);
|
|
7
|
+
--astryx-link-accent-foreground: var(--astryx-color-accent);
|
|
8
|
+
}
|
|
9
|
+
}
|
package/butter/list.css
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
@layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
|
|
2
|
+
|
|
3
|
+
@layer astryx.tokens {
|
|
4
|
+
[data-astryx-theme='butter'] {
|
|
5
|
+
--astryx-list-item-hover-background: var(--astryx-color-overlay-hover);
|
|
6
|
+
--astryx-list-item-pressed-background: var(--astryx-color-overlay-pressed);
|
|
7
|
+
--astryx-list-item-selected-background: var(--astryx-color-accent-muted);
|
|
8
|
+
--astryx-list-item-focus: var(--astryx-color-accent);
|
|
9
|
+
--astryx-list-divider-color: var(--astryx-color-border);
|
|
10
|
+
--astryx-list-marker-foreground: var(--astryx-color-text-primary);
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
@layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
|
|
2
|
+
|
|
3
|
+
@layer astryx.tokens {
|
|
4
|
+
[data-astryx-theme='butter'] {
|
|
5
|
+
--astryx-more-menu-background: var(--astryx-color-background-card);
|
|
6
|
+
--astryx-more-menu-foreground: var(--astryx-color-text-primary);
|
|
7
|
+
--astryx-more-menu-description-foreground: var(--astryx-color-text-secondary);
|
|
8
|
+
--astryx-more-menu-heading-foreground: var(--astryx-color-text-primary);
|
|
9
|
+
--astryx-more-menu-destructive-foreground: var(--astryx-color-text-primary);
|
|
10
|
+
--astryx-more-menu-item-hover-background: var(--astryx-color-overlay-hover);
|
|
11
|
+
--astryx-more-menu-item-pressed-background: var(--astryx-color-overlay-pressed);
|
|
12
|
+
--astryx-more-menu-scrim: var(--astryx-color-overlay);
|
|
13
|
+
--astryx-more-menu-trigger-open-overlay: var(--astryx-color-overlay-pressed);
|
|
14
|
+
--astryx-more-menu-shadow: var(--astryx-shadow-low);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
@layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
|
|
2
|
+
|
|
3
|
+
@layer astryx.tokens {
|
|
4
|
+
[data-astryx-theme='butter'] {
|
|
5
|
+
--astryx-overlay-scrim-background: var(--astryx-color-overlay);
|
|
6
|
+
--astryx-overlay-scrim-light-background: var(--astryx-color-overlay);
|
|
7
|
+
}
|
|
8
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
@layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
|
|
2
|
+
|
|
3
|
+
@layer astryx.tokens {
|
|
4
|
+
[data-astryx-theme='butter'] {
|
|
5
|
+
--astryx-popover-background: var(--astryx-color-background-card);
|
|
6
|
+
--astryx-popover-foreground: var(--astryx-color-text-primary);
|
|
7
|
+
--astryx-popover-shadow: var(--astryx-shadow-low);
|
|
8
|
+
}
|
|
9
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
@layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
|
|
2
|
+
|
|
3
|
+
@layer astryx.tokens {
|
|
4
|
+
[data-astryx-theme='butter'] {
|
|
5
|
+
--astryx-progress-bar-track-height: 8px;
|
|
6
|
+
--astryx-progress-bar-track-height-sm: 4px;
|
|
7
|
+
--astryx-progress-bar-track-height-lg: 12px;
|
|
8
|
+
--astryx-progress-bar-track-background: var(--astryx-color-background-muted);
|
|
9
|
+
--astryx-progress-bar-fill-background: var(--astryx-color-accent);
|
|
10
|
+
--astryx-progress-bar-success-fill: var(--astryx-color-success);
|
|
11
|
+
--astryx-progress-bar-warning-fill: var(--astryx-color-warning);
|
|
12
|
+
--astryx-progress-bar-error-fill: var(--astryx-color-error);
|
|
13
|
+
--astryx-progress-bar-info-fill: var(--astryx-color-background-blue);
|
|
14
|
+
}
|
|
15
|
+
}
|
package/butter/radio.css
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
@layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
|
|
2
|
+
|
|
3
|
+
@layer astryx.tokens {
|
|
4
|
+
[data-astryx-theme='butter'] {
|
|
5
|
+
--astryx-segmented-control-background: var(--astryx-color-background-muted);
|
|
6
|
+
--astryx-segmented-control-focus: var(--astryx-color-accent);
|
|
7
|
+
--astryx-segmented-control-item-foreground: var(--astryx-color-text-primary);
|
|
8
|
+
--astryx-segmented-control-item-hover-background: var(--astryx-color-overlay-hover);
|
|
9
|
+
--astryx-segmented-control-item-pressed-background: var(--astryx-color-overlay-pressed);
|
|
10
|
+
--astryx-segmented-control-item-selected-foreground: var(--astryx-color-text-primary);
|
|
11
|
+
--astryx-segmented-control-item-selected-background: var(--astryx-color-accent-muted);
|
|
12
|
+
--astryx-segmented-control-item-selected-shadow: var(--astryx-shadow-low);
|
|
13
|
+
--astryx-segmented-control-item-disabled-foreground: var(--astryx-color-text-disabled);
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
@layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
|
|
2
|
+
@layer astryx.tokens {
|
|
3
|
+
[data-astryx-theme='butter'] {
|
|
4
|
+
--astryx-slider-track: var(--astryx-color-track);
|
|
5
|
+
--astryx-slider-accent: var(--astryx-color-accent);
|
|
6
|
+
--astryx-slider-focus: var(--astryx-color-accent);
|
|
7
|
+
--astryx-slider-height: 160px;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
@layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
|
|
2
|
+
|
|
3
|
+
@layer astryx.tokens {
|
|
4
|
+
[data-astryx-theme='butter'] {
|
|
5
|
+
--astryx-spinner-diameter-sm: 10px;
|
|
6
|
+
--astryx-spinner-diameter-md: 14px;
|
|
7
|
+
--astryx-spinner-diameter-lg: 18px;
|
|
8
|
+
--astryx-spinner-diameter-xl: 28px;
|
|
9
|
+
--astryx-spinner-stroke-width-sm: 2px;
|
|
10
|
+
--astryx-spinner-stroke-width-md: 3px;
|
|
11
|
+
--astryx-spinner-stroke-width-lg: 3px;
|
|
12
|
+
--astryx-spinner-stroke-width-xl: 4px;
|
|
13
|
+
--astryx-spinner-arc-fraction: 0.375;
|
|
14
|
+
--astryx-spinner-group-gap: 8px;
|
|
15
|
+
--astryx-spinner-label-color: var(--astryx-color-text-secondary);
|
|
16
|
+
--astryx-spinner-color-accent: var(--astryx-color-accent);
|
|
17
|
+
--astryx-spinner-color-subtle: var(--astryx-color-text-secondary);
|
|
18
|
+
--astryx-spinner-color-track: var(--astryx-color-track);
|
|
19
|
+
--astryx-spinner-color-on-dark: var(--astryx-color-on-dark);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
@layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
|
|
2
|
+
|
|
3
|
+
@layer astryx.tokens {
|
|
4
|
+
[data-astryx-theme='butter'] {
|
|
5
|
+
--astryx-status-dot-neutral-background: var(--astryx-color-background-surface);
|
|
6
|
+
--astryx-status-dot-info-background: var(--astryx-color-background-blue);
|
|
7
|
+
--astryx-status-dot-success-background: var(--astryx-color-success-muted);
|
|
8
|
+
--astryx-status-dot-warning-background: var(--astryx-color-warning-muted);
|
|
9
|
+
--astryx-status-dot-error-background: var(--astryx-color-error-muted);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
@layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
|
|
2
|
+
|
|
3
|
+
@layer astryx.tokens {
|
|
4
|
+
[data-astryx-theme='butter'] {
|
|
5
|
+
--astryx-switch-track-width: 40px;
|
|
6
|
+
--astryx-switch-track-height: 24px;
|
|
7
|
+
--astryx-switch-track-width-sm: 32px;
|
|
8
|
+
--astryx-switch-track-height-sm: 20px;
|
|
9
|
+
--astryx-switch-track-width-lg: 52px;
|
|
10
|
+
--astryx-switch-track-height-lg: 28px;
|
|
11
|
+
--astryx-switch-track-padding: 4px;
|
|
12
|
+
--astryx-switch-track-padding-sm: 2px;
|
|
13
|
+
--astryx-switch-track-padding-lg: 4px;
|
|
14
|
+
--astryx-switch-thumb-size: 16px;
|
|
15
|
+
--astryx-switch-thumb-size-on: 20px;
|
|
16
|
+
--astryx-switch-thumb-size-sm: 14px;
|
|
17
|
+
--astryx-switch-thumb-size-on-sm: 16px;
|
|
18
|
+
--astryx-switch-thumb-size-lg: 20px;
|
|
19
|
+
--astryx-switch-thumb-size-on-lg: 24px;
|
|
20
|
+
--astryx-switch-thumb-travel: 14px;
|
|
21
|
+
--astryx-switch-thumb-travel-sm: 12px;
|
|
22
|
+
--astryx-switch-thumb-travel-lg: 22px;
|
|
23
|
+
--astryx-switch-track-radius: 999px;
|
|
24
|
+
--astryx-switch-thumb-radius: 999px;
|
|
25
|
+
--astryx-switch-track-off: var(--astryx-color-background-muted);
|
|
26
|
+
--astryx-switch-track-on: var(--astryx-color-accent);
|
|
27
|
+
--astryx-switch-thumb: var(--astryx-color-background-surface);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
@layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
|
|
2
|
+
|
|
3
|
+
@layer astryx.tokens {
|
|
4
|
+
[data-astryx-theme='butter'] {
|
|
5
|
+
--astryx-text-area-min-height-sm: 64px;
|
|
6
|
+
--astryx-text-area-min-height-md: 80px;
|
|
7
|
+
--astryx-text-area-min-height-lg: 112px;
|
|
8
|
+
}
|
|
9
|
+
}
|
package/butter/text.css
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
@layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
|
|
2
|
+
|
|
3
|
+
@layer astryx.tokens {
|
|
4
|
+
[data-astryx-theme='butter'] {
|
|
5
|
+
--astryx-text-foreground: var(--astryx-color-text-primary);
|
|
6
|
+
|
|
7
|
+
--astryx-text-supporting-foreground: var(--astryx-color-text-secondary);
|
|
8
|
+
|
|
9
|
+
--astryx-text-display-weight: var(--astryx-text-display-1-weight);
|
|
10
|
+
--astryx-text-sm-size: var(--astryx-font-size-sm);
|
|
11
|
+
--astryx-text-md-size: var(--astryx-font-size-base);
|
|
12
|
+
--astryx-text-lg-size: var(--astryx-font-size-lg);
|
|
13
|
+
--astryx-text-xl-size: var(--astryx-font-size-xl);
|
|
14
|
+
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
@layer astryx.components {
|
|
19
|
+
[data-astryx-theme='butter'] .astryx-heading {
|
|
20
|
+
font-family: var(--astryx-font-family-heading);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
[data-astryx-theme='butter'] .astryx-text--type-display-1,
|
|
24
|
+
[data-astryx-theme='butter'] .astryx-text--type-display-2,
|
|
25
|
+
[data-astryx-theme='butter'] .astryx-text--type-display-3,
|
|
26
|
+
[data-astryx-theme='butter'] .astryx-heading--type-display-1,
|
|
27
|
+
[data-astryx-theme='butter'] .astryx-heading--type-display-2,
|
|
28
|
+
[data-astryx-theme='butter'] .astryx-heading--type-display-3 {
|
|
29
|
+
font-family: Sarina, 'Brush Script MT', 'Snell Roundhand', cursive;
|
|
30
|
+
}
|
|
31
|
+
}
|
package/butter/toast.css
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
@layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
|
|
2
|
+
|
|
3
|
+
@layer astryx.tokens {
|
|
4
|
+
[data-astryx-theme='butter'] {
|
|
5
|
+
--astryx-toast-info-background: var(--astryx-color-text-primary);
|
|
6
|
+
--astryx-toast-info-foreground: var(--astryx-color-background-body);
|
|
7
|
+
--astryx-toast-success-background: var(--astryx-color-success-muted);
|
|
8
|
+
--astryx-toast-warning-background: var(--astryx-color-warning-muted);
|
|
9
|
+
--astryx-toast-error-background: var(--astryx-color-error-muted);
|
|
10
|
+
--astryx-toast-type-foreground: var(--astryx-color-background-body);
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
@layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
|
|
2
|
+
|
|
3
|
+
@layer astryx.tokens {
|
|
4
|
+
[data-astryx-theme='butter'] {
|
|
5
|
+
--astryx-toggle-button-pressed-background: var(--astryx-color-overlay-pressed);
|
|
6
|
+
--astryx-toggle-button-pressed-font-weight: 600;
|
|
7
|
+
--astryx-toggle-button-group-gap: 4px;
|
|
8
|
+
}
|
|
9
|
+
}
|
package/butter/token.css
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
@layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
|
|
2
|
+
|
|
3
|
+
@layer astryx.tokens {
|
|
4
|
+
[data-astryx-theme='butter'] {
|
|
5
|
+
--astryx-token-default-background: var(--astryx-badge-neutral-background);
|
|
6
|
+
--astryx-token-default-foreground: var(--astryx-badge-neutral-foreground);
|
|
7
|
+
--astryx-token-gray-background: var(--astryx-badge-neutral-background);
|
|
8
|
+
--astryx-token-gray-foreground: var(--astryx-badge-neutral-foreground);
|
|
9
|
+
--astryx-token-blue-background: var(--astryx-badge-blue-background);
|
|
10
|
+
--astryx-token-blue-foreground: var(--astryx-badge-blue-foreground);
|
|
11
|
+
--astryx-token-cyan-background: var(--astryx-badge-cyan-background);
|
|
12
|
+
--astryx-token-cyan-foreground: var(--astryx-badge-cyan-foreground);
|
|
13
|
+
--astryx-token-green-background: var(--astryx-badge-green-background);
|
|
14
|
+
--astryx-token-green-foreground: var(--astryx-badge-green-foreground);
|
|
15
|
+
--astryx-token-orange-background: var(--astryx-badge-orange-background);
|
|
16
|
+
--astryx-token-orange-foreground: var(--astryx-badge-orange-foreground);
|
|
17
|
+
--astryx-token-pink-background: var(--astryx-badge-pink-background);
|
|
18
|
+
--astryx-token-pink-foreground: var(--astryx-badge-pink-foreground);
|
|
19
|
+
--astryx-token-purple-background: var(--astryx-badge-purple-background);
|
|
20
|
+
--astryx-token-purple-foreground: var(--astryx-badge-purple-foreground);
|
|
21
|
+
--astryx-token-red-background: var(--astryx-badge-red-background);
|
|
22
|
+
--astryx-token-red-foreground: var(--astryx-badge-red-foreground);
|
|
23
|
+
--astryx-token-teal-background: var(--astryx-badge-teal-background);
|
|
24
|
+
--astryx-token-teal-foreground: var(--astryx-badge-teal-foreground);
|
|
25
|
+
--astryx-token-yellow-background: var(--astryx-badge-yellow-background);
|
|
26
|
+
--astryx-token-yellow-foreground: var(--astryx-badge-yellow-foreground);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
@layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
|
|
2
|
+
|
|
3
|
+
@layer astryx.tokens {
|
|
4
|
+
[data-astryx-theme='butter'] {
|
|
5
|
+
--astryx-tooltip-background: var(--astryx-color-text-primary);
|
|
6
|
+
--astryx-tooltip-foreground: var(--astryx-color-background-body);
|
|
7
|
+
--astryx-tooltip-indication-color: var(--astryx-color-text-primary);
|
|
8
|
+
}
|
|
9
|
+
}
|
package/butter.css
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/* 这个文件由 `pnpm sync` 生成,不要手改。 */
|
|
2
|
+
@import './fonts.css';
|
|
3
|
+
@import './butter/alert-dialog.css';
|
|
4
|
+
@import './butter/avatar.css';
|
|
5
|
+
@import './butter/avatar-group.css';
|
|
6
|
+
@import './butter/badge.css';
|
|
7
|
+
@import './butter/banner.css';
|
|
8
|
+
@import './butter/base.css';
|
|
9
|
+
@import './butter/bottom-sheet.css';
|
|
10
|
+
@import './butter/button.css';
|
|
11
|
+
@import './butter/card.css';
|
|
12
|
+
@import './butter/center.css';
|
|
13
|
+
@import './butter/chat.css';
|
|
14
|
+
@import './butter/checkbox.css';
|
|
15
|
+
@import './butter/citation.css';
|
|
16
|
+
@import './butter/code.css';
|
|
17
|
+
@import './butter/collapsible.css';
|
|
18
|
+
@import './butter/context-menu.css';
|
|
19
|
+
@import './butter/dialog.css';
|
|
20
|
+
@import './butter/divider.css';
|
|
21
|
+
@import './butter/dropdown-menu.css';
|
|
22
|
+
@import './butter/empty-state.css';
|
|
23
|
+
@import './butter/field.css';
|
|
24
|
+
@import './butter/grid.css';
|
|
25
|
+
@import './butter/heading.css';
|
|
26
|
+
@import './butter/hover-card.css';
|
|
27
|
+
@import './butter/icon.css';
|
|
28
|
+
@import './butter/input.css';
|
|
29
|
+
@import './butter/kbd.css';
|
|
30
|
+
@import './butter/link.css';
|
|
31
|
+
@import './butter/list.css';
|
|
32
|
+
@import './butter/mobile-nav.css';
|
|
33
|
+
@import './butter/more-menu.css';
|
|
34
|
+
@import './butter/nav-menu.css';
|
|
35
|
+
@import './butter/overlay.css';
|
|
36
|
+
@import './butter/popover.css';
|
|
37
|
+
@import './butter/progress-bar.css';
|
|
38
|
+
@import './butter/radio.css';
|
|
39
|
+
@import './butter/segmented-control.css';
|
|
40
|
+
@import './butter/side-nav.css';
|
|
41
|
+
@import './butter/skeleton.css';
|
|
42
|
+
@import './butter/slider.css';
|
|
43
|
+
@import './butter/spinner.css';
|
|
44
|
+
@import './butter/status-dot.css';
|
|
45
|
+
@import './butter/switch.css';
|
|
46
|
+
@import './butter/text.css';
|
|
47
|
+
@import './butter/text-area.css';
|
|
48
|
+
@import './butter/toast.css';
|
|
49
|
+
@import './butter/toggle-button.css';
|
|
50
|
+
@import './butter/token.css';
|
|
51
|
+
@import './butter/tooltip.css';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
@layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
|
|
2
|
+
|
|
3
|
+
@layer astryx.tokens {
|
|
4
|
+
[data-astryx-theme='chocolate'] {
|
|
5
|
+
--astryx-alert-dialog-title-foreground: var(--astryx-color-text-primary);
|
|
6
|
+
--astryx-alert-dialog-description-foreground: var(--astryx-color-text-secondary);
|
|
7
|
+
}
|
|
8
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
@layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
|
|
2
|
+
|
|
3
|
+
@layer astryx.tokens {
|
|
4
|
+
[data-astryx-theme='chocolate'] {
|
|
5
|
+
--astryx-avatar-group-border-color: var(--astryx-color-border);
|
|
6
|
+
--astryx-avatar-group-overflow-background: var(--astryx-color-background-surface);
|
|
7
|
+
--astryx-avatar-group-overflow-foreground: var(--astryx-color-text-primary);
|
|
8
|
+
}
|
|
9
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
@layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
|
|
2
|
+
|
|
3
|
+
@layer astryx.tokens {
|
|
4
|
+
[data-astryx-theme='chocolate'] {
|
|
5
|
+
--astryx-avatar-fallback-background: var(--astryx-color-background-surface);
|
|
6
|
+
--astryx-avatar-fallback-foreground: var(--astryx-color-text-primary);
|
|
7
|
+
--astryx-avatar-status-dot-border-color: var(--astryx-color-border);
|
|
8
|
+
|
|
9
|
+
--astryx-avatar-status-dot-neutral-background: var(--astryx-color-background-surface);
|
|
10
|
+
--astryx-avatar-status-dot-info-background: var(--astryx-color-background-blue);
|
|
11
|
+
--astryx-avatar-status-dot-success-background: var(--astryx-color-success-muted);
|
|
12
|
+
--astryx-avatar-status-dot-warning-background: var(--astryx-color-warning-muted);
|
|
13
|
+
--astryx-avatar-status-dot-error-background: var(--astryx-color-error-muted);
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
@layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
|
|
2
|
+
|
|
3
|
+
@layer astryx.tokens {
|
|
4
|
+
[data-astryx-theme='chocolate'] {
|
|
5
|
+
--astryx-badge-neutral-background: var(--astryx-color-background-gray);
|
|
6
|
+
--astryx-badge-neutral-foreground: var(--astryx-color-text-gray);
|
|
7
|
+
--astryx-badge-info-background: var(--astryx-color-background-blue);
|
|
8
|
+
--astryx-badge-info-foreground: var(--astryx-color-text-blue);
|
|
9
|
+
--astryx-badge-success-background: var(--astryx-color-success);
|
|
10
|
+
--astryx-badge-success-foreground: var(--astryx-color-on-success);
|
|
11
|
+
--astryx-badge-warning-background: var(--astryx-color-warning);
|
|
12
|
+
--astryx-badge-warning-foreground: var(--astryx-color-on-warning);
|
|
13
|
+
--astryx-badge-error-background: var(--astryx-color-error);
|
|
14
|
+
--astryx-badge-error-foreground: var(--astryx-color-on-error);
|
|
15
|
+
|
|
16
|
+
--astryx-badge-blue-background: var(--astryx-color-background-blue);
|
|
17
|
+
--astryx-badge-blue-foreground: var(--astryx-color-text-blue);
|
|
18
|
+
--astryx-badge-cyan-background: var(--astryx-color-background-cyan);
|
|
19
|
+
--astryx-badge-cyan-foreground: var(--astryx-color-text-cyan);
|
|
20
|
+
--astryx-badge-green-background: var(--astryx-color-background-green);
|
|
21
|
+
--astryx-badge-green-foreground: var(--astryx-color-text-green);
|
|
22
|
+
--astryx-badge-orange-background: var(--astryx-color-background-orange);
|
|
23
|
+
--astryx-badge-orange-foreground: var(--astryx-color-text-orange);
|
|
24
|
+
--astryx-badge-pink-background: var(--astryx-color-background-pink);
|
|
25
|
+
--astryx-badge-pink-foreground: var(--astryx-color-text-pink);
|
|
26
|
+
--astryx-badge-purple-background: var(--astryx-color-background-purple);
|
|
27
|
+
--astryx-badge-purple-foreground: var(--astryx-color-text-purple);
|
|
28
|
+
--astryx-badge-red-background: var(--astryx-color-background-red);
|
|
29
|
+
--astryx-badge-red-foreground: var(--astryx-color-text-red);
|
|
30
|
+
--astryx-badge-teal-background: var(--astryx-color-background-teal);
|
|
31
|
+
--astryx-badge-teal-foreground: var(--astryx-color-text-teal);
|
|
32
|
+
--astryx-badge-yellow-background: var(--astryx-color-background-yellow);
|
|
33
|
+
--astryx-badge-yellow-foreground: var(--astryx-color-text-yellow);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
@layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
|
|
2
|
+
@layer astryx.tokens {
|
|
3
|
+
[data-astryx-theme='chocolate'] {
|
|
4
|
+
--astryx-banner-info-background: var(--astryx-color-background-blue);
|
|
5
|
+
--astryx-banner-info-foreground: var(--astryx-color-text-blue);
|
|
6
|
+
--astryx-banner-error-background: var(--astryx-color-error-muted);
|
|
7
|
+
--astryx-banner-error-foreground: var(--astryx-color-text-red);
|
|
8
|
+
--astryx-banner-warning-background: var(--astryx-color-warning-muted);
|
|
9
|
+
--astryx-banner-warning-foreground: var(--astryx-color-text-yellow);
|
|
10
|
+
--astryx-banner-success-background: var(--astryx-color-success-muted);
|
|
11
|
+
--astryx-banner-success-foreground: var(--astryx-color-text-green);
|
|
12
|
+
--astryx-banner-content-background: var(--astryx-color-background-surface);
|
|
13
|
+
--astryx-banner-border: var(--astryx-color-border);
|
|
14
|
+
}
|
|
15
|
+
}
|