@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,16 @@
|
|
|
1
|
+
@layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
|
|
2
|
+
|
|
3
|
+
@layer astryx.tokens {
|
|
4
|
+
[data-astryx-theme='matcha'] {
|
|
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='matcha'] {
|
|
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='matcha'] {
|
|
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='matcha'] {
|
|
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/matcha/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='matcha'] {
|
|
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='matcha'] {
|
|
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='matcha'] {
|
|
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='matcha'] {
|
|
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='matcha'] {
|
|
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='matcha'] {
|
|
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/matcha/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='matcha'] {
|
|
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='matcha'] .astryx-heading {
|
|
20
|
+
font-family: var(--astryx-font-family-heading);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
[data-astryx-theme='matcha'] .astryx-text--type-display-1,
|
|
24
|
+
[data-astryx-theme='matcha'] .astryx-text--type-display-2,
|
|
25
|
+
[data-astryx-theme='matcha'] .astryx-text--type-display-3,
|
|
26
|
+
[data-astryx-theme='matcha'] .astryx-heading--type-display-1,
|
|
27
|
+
[data-astryx-theme='matcha'] .astryx-heading--type-display-2,
|
|
28
|
+
[data-astryx-theme='matcha'] .astryx-heading--type-display-3 {
|
|
29
|
+
font-family: var(--astryx-font-family-heading);
|
|
30
|
+
}
|
|
31
|
+
}
|
package/matcha/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='matcha'] {
|
|
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='matcha'] {
|
|
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/matcha/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='matcha'] {
|
|
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='matcha'] {
|
|
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/matcha.css
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/* 这个文件由 `pnpm sync` 生成,不要手改。 */
|
|
2
|
+
@import './fonts.css';
|
|
3
|
+
@import './matcha/alert-dialog.css';
|
|
4
|
+
@import './matcha/avatar.css';
|
|
5
|
+
@import './matcha/avatar-group.css';
|
|
6
|
+
@import './matcha/badge.css';
|
|
7
|
+
@import './matcha/banner.css';
|
|
8
|
+
@import './matcha/base.css';
|
|
9
|
+
@import './matcha/bottom-sheet.css';
|
|
10
|
+
@import './matcha/button.css';
|
|
11
|
+
@import './matcha/card.css';
|
|
12
|
+
@import './matcha/center.css';
|
|
13
|
+
@import './matcha/chat.css';
|
|
14
|
+
@import './matcha/checkbox.css';
|
|
15
|
+
@import './matcha/citation.css';
|
|
16
|
+
@import './matcha/code.css';
|
|
17
|
+
@import './matcha/collapsible.css';
|
|
18
|
+
@import './matcha/context-menu.css';
|
|
19
|
+
@import './matcha/dialog.css';
|
|
20
|
+
@import './matcha/divider.css';
|
|
21
|
+
@import './matcha/dropdown-menu.css';
|
|
22
|
+
@import './matcha/empty-state.css';
|
|
23
|
+
@import './matcha/field.css';
|
|
24
|
+
@import './matcha/grid.css';
|
|
25
|
+
@import './matcha/heading.css';
|
|
26
|
+
@import './matcha/hover-card.css';
|
|
27
|
+
@import './matcha/icon.css';
|
|
28
|
+
@import './matcha/input.css';
|
|
29
|
+
@import './matcha/kbd.css';
|
|
30
|
+
@import './matcha/link.css';
|
|
31
|
+
@import './matcha/list.css';
|
|
32
|
+
@import './matcha/mobile-nav.css';
|
|
33
|
+
@import './matcha/more-menu.css';
|
|
34
|
+
@import './matcha/nav-menu.css';
|
|
35
|
+
@import './matcha/overlay.css';
|
|
36
|
+
@import './matcha/popover.css';
|
|
37
|
+
@import './matcha/progress-bar.css';
|
|
38
|
+
@import './matcha/radio.css';
|
|
39
|
+
@import './matcha/segmented-control.css';
|
|
40
|
+
@import './matcha/side-nav.css';
|
|
41
|
+
@import './matcha/skeleton.css';
|
|
42
|
+
@import './matcha/slider.css';
|
|
43
|
+
@import './matcha/spinner.css';
|
|
44
|
+
@import './matcha/status-dot.css';
|
|
45
|
+
@import './matcha/switch.css';
|
|
46
|
+
@import './matcha/text.css';
|
|
47
|
+
@import './matcha/text-area.css';
|
|
48
|
+
@import './matcha/toast.css';
|
|
49
|
+
@import './matcha/toggle-button.css';
|
|
50
|
+
@import './matcha/token.css';
|
|
51
|
+
@import './matcha/tooltip.css';
|
package/neutral/button.css
CHANGED
|
@@ -3,17 +3,17 @@
|
|
|
3
3
|
@layer astryx.tokens {
|
|
4
4
|
:root,
|
|
5
5
|
[data-astryx-theme='neutral'] {
|
|
6
|
-
--astryx-button-primary-background:
|
|
7
|
-
--astryx-button-primary-foreground:
|
|
8
|
-
--astryx-button-secondary-background:
|
|
9
|
-
--astryx-button-secondary-foreground:
|
|
6
|
+
--astryx-button-primary-background: var(--astryx-color-accent);
|
|
7
|
+
--astryx-button-primary-foreground: var(--astryx-color-on-accent);
|
|
8
|
+
--astryx-button-secondary-background: var(--astryx-color-neutral);
|
|
9
|
+
--astryx-button-secondary-foreground: var(--astryx-color-text-primary);
|
|
10
10
|
--astryx-button-ghost-background: transparent;
|
|
11
|
-
--astryx-button-ghost-foreground:
|
|
11
|
+
--astryx-button-ghost-foreground: var(--astryx-color-text-primary);
|
|
12
12
|
--astryx-button-destructive-background: light-dark(#facecb, #ff9e973d);
|
|
13
13
|
--astryx-button-destructive-foreground: light-dark(#a50c25, #ffc6c1);
|
|
14
14
|
--astryx-button-hover-overlay: light-dark(#0000000d, #ffffff0d);
|
|
15
15
|
--astryx-button-pressed-overlay: light-dark(#0000001a, #ffffff1a);
|
|
16
|
-
--astryx-button-focus:
|
|
16
|
+
--astryx-button-focus: var(--astryx-color-accent);
|
|
17
17
|
--astryx-button-separator: light-dark(#00000014, #ffffff1a);
|
|
18
18
|
--astryx-button-solid-separator: light-dark(#ffffff, #171717);
|
|
19
19
|
--astryx-button-tooltip-background: light-dark(#171717, #262626);
|
package/neutral/card.css
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
:root,
|
|
5
5
|
[data-astryx-theme='neutral'] {
|
|
6
6
|
--astryx-card-background: light-dark(#fff, #1f1f22);
|
|
7
|
-
--astryx-card-muted-background:
|
|
7
|
+
--astryx-card-muted-background: var(--astryx-color-background-muted);
|
|
8
8
|
--astryx-card-border: light-dark(#00000014, #ffffff1a);
|
|
9
9
|
--astryx-card-shadow-low:
|
|
10
10
|
0 2px 4px light-dark(oklch(0 0 0 / 5%), oklch(0 0 0 / 25%)),
|
package/neutral/heading.css
CHANGED
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
@layer astryx.tokens {
|
|
4
4
|
:root,
|
|
5
5
|
[data-astryx-theme='neutral'] {
|
|
6
|
-
--astryx-heading-foreground:
|
|
6
|
+
--astryx-heading-foreground: var(--astryx-color-text-primary);
|
|
7
7
|
--astryx-heading-level-1-size: 2rem;
|
|
8
8
|
--astryx-heading-level-2-size: 1.75rem;
|
|
9
9
|
--astryx-heading-level-3-size: 1.5rem;
|
|
10
|
-
--astryx-heading-level-4-size:
|
|
10
|
+
--astryx-heading-level-4-size: var(--astryx-font-size-base, 0.875rem);
|
|
11
11
|
--astryx-heading-level-5-size: 1.125rem;
|
|
12
12
|
--astryx-heading-level-6-size: 1rem;
|
|
13
13
|
--astryx-heading-display-1-size: 3rem;
|
|
@@ -19,6 +19,6 @@
|
|
|
19
19
|
--astryx-text-large-leading: 1.5;
|
|
20
20
|
--astryx-text-label-size: 0.875rem;
|
|
21
21
|
--astryx-text-label-leading: 1.25;
|
|
22
|
-
--astryx-text-supporting-foreground:
|
|
22
|
+
--astryx-text-supporting-foreground: var(--astryx-color-text-secondary);
|
|
23
23
|
}
|
|
24
24
|
}
|
package/neutral/icon.css
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
@layer astryx.tokens {
|
|
4
4
|
:root,
|
|
5
5
|
[data-astryx-theme='neutral'] {
|
|
6
|
-
--astryx-icon-primary-foreground:
|
|
6
|
+
--astryx-icon-primary-foreground: var(--astryx-color-icon-primary);
|
|
7
7
|
--astryx-icon-secondary-foreground: light-dark(#6a6a6a, #9e9e9e);
|
|
8
8
|
--astryx-icon-disabled-foreground: light-dark(#919191, #525252);
|
|
9
9
|
--astryx-icon-accent-foreground: light-dark(#0074e2, #6d9cfe);
|
package/neutral/text.css
CHANGED
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
@layer astryx.tokens {
|
|
4
4
|
:root,
|
|
5
5
|
[data-astryx-theme='neutral'] {
|
|
6
|
-
--astryx-text-foreground:
|
|
6
|
+
--astryx-text-foreground: var(--astryx-color-text-primary);
|
|
7
7
|
--astryx-text-body-size: 0.875rem;
|
|
8
8
|
--astryx-text-body-leading: 1.4286;
|
|
9
9
|
--astryx-text-large-size: 1rem;
|
|
10
10
|
--astryx-text-large-leading: 1.5;
|
|
11
11
|
--astryx-text-label-size: 0.875rem;
|
|
12
12
|
--astryx-text-label-leading: 1.25;
|
|
13
|
-
--astryx-text-supporting-foreground:
|
|
13
|
+
--astryx-text-supporting-foreground: var(--astryx-color-text-secondary);
|
|
14
14
|
--astryx-text-supporting-size: 0.75rem;
|
|
15
15
|
--astryx-text-supporting-leading: 1.6667;
|
|
16
16
|
--astryx-text-display-1-size: 3rem;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@astryx-vue/themes",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.2.0",
|
|
5
5
|
"description": "Themes for the unofficial astryx-vue community project.",
|
|
6
6
|
"author": "ShenQingchuan",
|
|
7
7
|
"license": "MIT",
|
|
@@ -37,10 +37,22 @@
|
|
|
37
37
|
"files": [
|
|
38
38
|
"README.md",
|
|
39
39
|
"THIRD_PARTY_NOTICES.md",
|
|
40
|
+
"butter",
|
|
41
|
+
"butter.css",
|
|
42
|
+
"chocolate",
|
|
43
|
+
"chocolate.css",
|
|
40
44
|
"css.d.ts",
|
|
41
45
|
"fonts.css",
|
|
46
|
+
"gothic",
|
|
47
|
+
"gothic.css",
|
|
48
|
+
"matcha",
|
|
49
|
+
"matcha.css",
|
|
42
50
|
"neutral",
|
|
43
|
-
"neutral.css"
|
|
51
|
+
"neutral.css",
|
|
52
|
+
"stone",
|
|
53
|
+
"stone.css",
|
|
54
|
+
"y2k",
|
|
55
|
+
"y2k.css"
|
|
44
56
|
],
|
|
45
57
|
"dependencies": {
|
|
46
58
|
"@fontsource/jetbrains-mono": "5.3.0"
|
|
@@ -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='stone'] {
|
|
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='stone'] {
|
|
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
|
+
}
|
package/stone/avatar.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='stone'] {
|
|
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
|
+
}
|
package/stone/badge.css
ADDED
|
@@ -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='stone'] {
|
|
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-background-green);
|
|
10
|
+
--astryx-badge-success-foreground: var(--astryx-color-text-green);
|
|
11
|
+
--astryx-badge-warning-background: var(--astryx-color-background-yellow);
|
|
12
|
+
--astryx-badge-warning-foreground: var(--astryx-color-text-yellow);
|
|
13
|
+
--astryx-badge-error-background: var(--astryx-color-background-red);
|
|
14
|
+
--astryx-badge-error-foreground: var(--astryx-color-text-red);
|
|
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
|
+
}
|
package/stone/banner.css
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
@layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
|
|
2
|
+
@layer astryx.tokens {
|
|
3
|
+
[data-astryx-theme='stone'] {
|
|
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-background-red);
|
|
7
|
+
--astryx-banner-error-foreground: var(--astryx-color-text-red);
|
|
8
|
+
--astryx-banner-warning-background: var(--astryx-color-background-yellow);
|
|
9
|
+
--astryx-banner-warning-foreground: var(--astryx-color-text-yellow);
|
|
10
|
+
--astryx-banner-success-background: var(--astryx-color-background-green);
|
|
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
|
+
}
|