@astryx-vue/themes 0.1.3 → 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/heading.css +2 -2
- 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
package/y2k/base.css
ADDED
|
@@ -0,0 +1,250 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Y2k semantic tokens.
|
|
3
|
+
*
|
|
4
|
+
* Playful pop, periwinkle and cream. Poppins for text, Crimson Text for display. Values follow @astryxdesign/theme-y2k 0.7.0.
|
|
5
|
+
* Names match Neutral, with an --astryx- prefix.
|
|
6
|
+
* A token present in the upstream theme.css replaces the Neutral value.
|
|
7
|
+
* Tokens the theme does not set keep the shared default from Neutral's base.
|
|
8
|
+
* JetBrains Mono stays on the shared fonts.css stack.
|
|
9
|
+
*/
|
|
10
|
+
@import url('https://fonts.googleapis.com/css2?family=Crimson+Text:wght@400;600;700&family=Poppins:wght@400;500;600;700&display=swap');
|
|
11
|
+
@layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
|
|
12
|
+
|
|
13
|
+
@layer astryx.tokens {
|
|
14
|
+
[data-astryx-theme='y2k'] {
|
|
15
|
+
color-scheme: light dark;
|
|
16
|
+
background-color: var(--astryx-color-background-body);
|
|
17
|
+
color: var(--astryx-color-text-primary);
|
|
18
|
+
font-family: var(--astryx-font-family-body);
|
|
19
|
+
font-size: var(--astryx-text-body-size);
|
|
20
|
+
line-height: var(--astryx-text-body-leading);
|
|
21
|
+
|
|
22
|
+
--astryx-color-accent: light-dark(#2d241b, #EDEFFC);
|
|
23
|
+
--astryx-color-accent-muted: light-dark(#2d241b14, #EDEFFC20);
|
|
24
|
+
--astryx-color-on-accent: light-dark(#FFFFFF, #16182b);
|
|
25
|
+
--astryx-color-neutral: light-dark(#2d241b10, #EDEFFC1A);
|
|
26
|
+
--astryx-color-background-surface: light-dark(#FFFFFF, #16182b);
|
|
27
|
+
--astryx-color-background-body: light-dark(#CCCFFA, #0e0f1a);
|
|
28
|
+
--astryx-color-overlay: light-dark(#2d241b80, #0a0b14CC);
|
|
29
|
+
--astryx-color-overlay-hover: light-dark(#2d241b0D, #EDEFFC0D);
|
|
30
|
+
--astryx-color-overlay-pressed: light-dark(#2d241b1A, #EDEFFC1A);
|
|
31
|
+
--astryx-color-background-muted: light-dark(#ede0d4, #1f2238);
|
|
32
|
+
|
|
33
|
+
--astryx-color-text-primary: light-dark(#2d241b, #EDEFFC);
|
|
34
|
+
--astryx-color-text-secondary: light-dark(#675d52, #a6acd6);
|
|
35
|
+
--astryx-color-text-disabled: light-dark(#d1c5b8, #4a4f6b);
|
|
36
|
+
--astryx-color-text-accent: light-dark(#2d241b, #EDEFFC);
|
|
37
|
+
--astryx-color-on-dark: #FFFFFF;
|
|
38
|
+
--astryx-color-on-light: #2d241b;
|
|
39
|
+
|
|
40
|
+
--astryx-color-icon-accent: light-dark(#2d241b, #EDEFFC);
|
|
41
|
+
--astryx-color-icon-primary: light-dark(#2d241b, #EDEFFC);
|
|
42
|
+
--astryx-color-icon-secondary: light-dark(#675d52, #a6acd6);
|
|
43
|
+
--astryx-color-icon-disabled: light-dark(#d1c5b8, #4a4f6b);
|
|
44
|
+
|
|
45
|
+
--astryx-color-background-card: light-dark(#FFFFFF, #16182b);
|
|
46
|
+
--astryx-color-background-popover: light-dark(#FFFFFF, #1f2238);
|
|
47
|
+
--astryx-color-background-inverted: light-dark(#2d241b, #EDEFFC);
|
|
48
|
+
--astryx-color-background-error-inverted: light-dark(#aa071e, #e3193b);
|
|
49
|
+
|
|
50
|
+
--astryx-color-success: light-dark(#C5E17A, #C5E17A);
|
|
51
|
+
--astryx-color-success-muted: light-dark(#C5E17A, #C5E17A);
|
|
52
|
+
--astryx-color-on-success: light-dark(#3a5500, #1e3200);
|
|
53
|
+
--astryx-color-error: light-dark(#FFC5C3, #FFC5C3);
|
|
54
|
+
--astryx-color-error-muted: light-dark(#FFC5C3, #FFC5C3);
|
|
55
|
+
--astryx-color-on-error: light-dark(#8b1d24, #5c0008);
|
|
56
|
+
--astryx-color-warning: light-dark(#FFE08A, #FFE08A);
|
|
57
|
+
--astryx-color-warning-muted: light-dark(#FFE08A, #FFE08A);
|
|
58
|
+
--astryx-color-on-warning: light-dark(#614400, #3f2600);
|
|
59
|
+
|
|
60
|
+
--astryx-color-border: light-dark(#2F292E, #EDEFFC1A);
|
|
61
|
+
--astryx-color-border-emphasized: light-dark(#2F292E, #3a3f5e);
|
|
62
|
+
|
|
63
|
+
--astryx-color-skeleton: light-dark(#d1c5b8, #2a2e47);
|
|
64
|
+
--astryx-color-track: light-dark(#ccd3db, #5a5e66);
|
|
65
|
+
--astryx-color-shadow: light-dark(#2d241b1A, #0000004D);
|
|
66
|
+
--astryx-color-tint-hover: light-dark(#2d241b, #EDEFFC);
|
|
67
|
+
|
|
68
|
+
--astryx-color-background-blue: light-dark(#B8E0FF, #B8E0FF);
|
|
69
|
+
--astryx-color-border-blue: light-dark(#8ECFFF, #8ECFFF);
|
|
70
|
+
--astryx-color-icon-blue: light-dark(#004e74, #002c4d);
|
|
71
|
+
--astryx-color-text-blue: light-dark(#004e74, #002c4d);
|
|
72
|
+
|
|
73
|
+
--astryx-color-background-cyan: light-dark(#A8F0E2, #A8F0E2);
|
|
74
|
+
--astryx-color-border-cyan: light-dark(#70E8D0, #70E8D0);
|
|
75
|
+
--astryx-color-icon-cyan: light-dark(#005548, #003028);
|
|
76
|
+
--astryx-color-text-cyan: light-dark(#005548, #003028);
|
|
77
|
+
|
|
78
|
+
--astryx-color-background-gray: light-dark(#ede0d4, #ede0d4);
|
|
79
|
+
--astryx-color-border-gray: light-dark(#dfd2c6, #dfd2c6);
|
|
80
|
+
--astryx-color-icon-gray: light-dark(#4f453b, #2d241b);
|
|
81
|
+
--astryx-color-text-gray: light-dark(#4f453b, #2d241b);
|
|
82
|
+
|
|
83
|
+
--astryx-color-background-green: light-dark(#C5E17A, #C5E17A);
|
|
84
|
+
--astryx-color-border-green: light-dark(#B5D16A, #B5D16A);
|
|
85
|
+
--astryx-color-icon-green: light-dark(#3a5500, #1e3200);
|
|
86
|
+
--astryx-color-text-green: light-dark(#3a5500, #1e3200);
|
|
87
|
+
|
|
88
|
+
--astryx-color-background-orange: light-dark(#FFCCA0, #FFCCA0);
|
|
89
|
+
--astryx-color-border-orange: light-dark(#FFAA66, #FFAA66);
|
|
90
|
+
--astryx-color-icon-orange: light-dark(#703500, #4a1800);
|
|
91
|
+
--astryx-color-text-orange: light-dark(#703500, #4a1800);
|
|
92
|
+
|
|
93
|
+
--astryx-color-background-pink: light-dark(#FFC8E0, #FFC8E0);
|
|
94
|
+
--astryx-color-border-pink: light-dark(#FFA0C8, #FFA0C8);
|
|
95
|
+
--astryx-color-icon-pink: light-dark(#822050, #580030);
|
|
96
|
+
--astryx-color-text-pink: light-dark(#822050, #580030);
|
|
97
|
+
|
|
98
|
+
--astryx-color-background-purple: light-dark(#DDD0FF, #DDD0FF);
|
|
99
|
+
--astryx-color-border-purple: light-dark(#C0AAFF, #C0AAFF);
|
|
100
|
+
--astryx-color-icon-purple: light-dark(#453080, #201058);
|
|
101
|
+
--astryx-color-text-purple: light-dark(#453080, #201058);
|
|
102
|
+
|
|
103
|
+
--astryx-color-background-red: light-dark(#FFC5C3, #FFC5C3);
|
|
104
|
+
--astryx-color-border-red: light-dark(#FF9E9A, #FF9E9A);
|
|
105
|
+
--astryx-color-icon-red: light-dark(#8b1d24, #5c0008);
|
|
106
|
+
--astryx-color-text-red: light-dark(#8b1d24, #5c0008);
|
|
107
|
+
|
|
108
|
+
--astryx-color-background-teal: light-dark(#A8EED0, #A8EED0);
|
|
109
|
+
--astryx-color-border-teal: light-dark(#78E0B0, #78E0B0);
|
|
110
|
+
--astryx-color-icon-teal: light-dark(#005530, #003018);
|
|
111
|
+
--astryx-color-text-teal: light-dark(#005530, #003018);
|
|
112
|
+
|
|
113
|
+
--astryx-color-background-yellow: light-dark(#FFE08A, #FFE08A);
|
|
114
|
+
--astryx-color-border-yellow: light-dark(#FFCC55, #FFCC55);
|
|
115
|
+
--astryx-color-icon-yellow: light-dark(#614400, #3f2600);
|
|
116
|
+
--astryx-color-text-yellow: light-dark(#614400, #3f2600);
|
|
117
|
+
|
|
118
|
+
--astryx-spacing-0: 0;
|
|
119
|
+
--astryx-spacing-0-5: 0.1875rem;
|
|
120
|
+
--astryx-spacing-1: 0.375rem;
|
|
121
|
+
--astryx-spacing-1-5: 0.5625rem;
|
|
122
|
+
--astryx-spacing-2: 0.75rem;
|
|
123
|
+
--astryx-spacing-3: 1.125rem;
|
|
124
|
+
--astryx-spacing-4: 1.5rem;
|
|
125
|
+
--astryx-spacing-5: 1.875rem;
|
|
126
|
+
--astryx-spacing-6: 2.25rem;
|
|
127
|
+
--astryx-spacing-7: 2.625rem;
|
|
128
|
+
--astryx-spacing-8: 3rem;
|
|
129
|
+
--astryx-spacing-9: 36px;
|
|
130
|
+
--astryx-spacing-10: 40px;
|
|
131
|
+
--astryx-spacing-11: 44px;
|
|
132
|
+
--astryx-spacing-12: 48px;
|
|
133
|
+
|
|
134
|
+
--astryx-size-element-sm: 32px;
|
|
135
|
+
--astryx-size-element-md: 40px;
|
|
136
|
+
--astryx-size-element-lg: 48px;
|
|
137
|
+
|
|
138
|
+
--astryx-border-width: 1px;
|
|
139
|
+
|
|
140
|
+
--astryx-focus-outline-width: 2px;
|
|
141
|
+
--astryx-focus-outline-style: solid;
|
|
142
|
+
--astryx-focus-outline-color: var(--astryx-color-accent);
|
|
143
|
+
--astryx-focus-outline-offset: 3px;
|
|
144
|
+
|
|
145
|
+
--astryx-radius-none: 0px;
|
|
146
|
+
--astryx-radius-inner: 0px;
|
|
147
|
+
--astryx-radius-element: 0px;
|
|
148
|
+
--astryx-radius-container: 0px;
|
|
149
|
+
--astryx-radius-page: 0px;
|
|
150
|
+
--astryx-radius-chat: 0px;
|
|
151
|
+
--astryx-radius-full: 0px;
|
|
152
|
+
|
|
153
|
+
--astryx-shadow-low: 0 2px 4px #2d241b0D, 0 4px 8px #2d241b1A;
|
|
154
|
+
--astryx-shadow-med: 0 2px 4px #2d241b0D, 0 4px 12px #2d241b1A;
|
|
155
|
+
--astryx-shadow-high: 0 4px 6px #2d241b1A, 0 12px 24px #2d241b26;
|
|
156
|
+
--astryx-shadow-inset-hover: inset 0px 0px 0px 2px #2d241b30;
|
|
157
|
+
--astryx-shadow-inset-selected: inset 0px 0px 0px 2px #2d241b50;
|
|
158
|
+
--astryx-shadow-inset-success: inset 0px 0px 0px 2px #3a550050;
|
|
159
|
+
--astryx-shadow-inset-warning: inset 0px 0px 0px 2px #61440050;
|
|
160
|
+
--astryx-shadow-inset-error: inset 0px 0px 0px 2px #8b1d2450;
|
|
161
|
+
|
|
162
|
+
--astryx-duration-fast-min: 80ms;
|
|
163
|
+
--astryx-duration-fast: 100ms;
|
|
164
|
+
--astryx-duration-fast-max: 125ms;
|
|
165
|
+
--astryx-duration-medium-min: 200ms;
|
|
166
|
+
--astryx-duration-medium: 250ms;
|
|
167
|
+
--astryx-duration-medium-max: 315ms;
|
|
168
|
+
--astryx-duration-slow-min: 480ms;
|
|
169
|
+
--astryx-duration-slow: 600ms;
|
|
170
|
+
--astryx-duration-slow-max: 750ms;
|
|
171
|
+
|
|
172
|
+
--astryx-ease-standard: cubic-bezier(0.24, 1, 0.4, 1);
|
|
173
|
+
|
|
174
|
+
--astryx-font-family-body: Poppins, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
|
|
175
|
+
--astryx-font-family-code: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
|
176
|
+
--astryx-font-family-heading: Poppins, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
|
|
177
|
+
|
|
178
|
+
--astryx-font-size-4xs: 0.3125rem;
|
|
179
|
+
--astryx-font-size-3xs: 0.4375rem;
|
|
180
|
+
--astryx-font-size-2xs: 0.5rem;
|
|
181
|
+
--astryx-font-size-xs: 0.625rem;
|
|
182
|
+
--astryx-font-size-sm: 0.8125rem;
|
|
183
|
+
--astryx-font-size-base: 1rem;
|
|
184
|
+
--astryx-font-size-lg: 1.25rem;
|
|
185
|
+
--astryx-font-size-xl: 1.5625rem;
|
|
186
|
+
--astryx-font-size-2xl: 1.9375rem;
|
|
187
|
+
--astryx-font-size-3xl: 2.4375rem;
|
|
188
|
+
--astryx-font-size-4xl: 3.0625rem;
|
|
189
|
+
--astryx-font-size-5xl: 3.8125rem;
|
|
190
|
+
|
|
191
|
+
--astryx-font-weight-normal: 400;
|
|
192
|
+
--astryx-font-weight-regular: var(--astryx-font-weight-normal);
|
|
193
|
+
--astryx-font-weight-medium: 500;
|
|
194
|
+
--astryx-font-weight-semibold: 600;
|
|
195
|
+
--astryx-font-weight-bold: 700;
|
|
196
|
+
|
|
197
|
+
--astryx-text-heading-1-size: var(--astryx-font-size-2xl);
|
|
198
|
+
--astryx-text-heading-1-weight: var(--astryx-font-weight-semibold);
|
|
199
|
+
--astryx-text-heading-1-leading: 1.4194;
|
|
200
|
+
--astryx-text-heading-2-size: var(--astryx-font-size-xl);
|
|
201
|
+
--astryx-text-heading-2-weight: var(--astryx-font-weight-semibold);
|
|
202
|
+
--astryx-text-heading-2-leading: 1.44;
|
|
203
|
+
--astryx-text-heading-3-size: var(--astryx-font-size-lg);
|
|
204
|
+
--astryx-text-heading-3-weight: var(--astryx-font-weight-semibold);
|
|
205
|
+
--astryx-text-heading-3-leading: 1.4;
|
|
206
|
+
--astryx-text-heading-4-size: var(--astryx-font-size-base);
|
|
207
|
+
--astryx-text-heading-4-weight: var(--astryx-font-weight-semibold);
|
|
208
|
+
--astryx-text-heading-4-leading: 1.5;
|
|
209
|
+
--astryx-text-heading-5-size: var(--astryx-font-size-sm);
|
|
210
|
+
--astryx-text-heading-5-weight: var(--astryx-font-weight-semibold);
|
|
211
|
+
--astryx-text-heading-5-leading: 1.5385;
|
|
212
|
+
--astryx-text-heading-6-size: var(--astryx-font-size-xs);
|
|
213
|
+
--astryx-text-heading-6-weight: var(--astryx-font-weight-semibold);
|
|
214
|
+
--astryx-text-heading-6-leading: 1.6;
|
|
215
|
+
|
|
216
|
+
--astryx-text-body-size: var(--astryx-font-size-base);
|
|
217
|
+
--astryx-text-body-weight: var(--astryx-font-weight-normal);
|
|
218
|
+
--astryx-text-body-leading: 1.5;
|
|
219
|
+
--astryx-text-large-size: var(--astryx-font-size-lg);
|
|
220
|
+
--astryx-text-large-weight: var(--astryx-font-weight-semibold);
|
|
221
|
+
--astryx-text-large-leading: 1.4;
|
|
222
|
+
--astryx-text-label-size: var(--astryx-font-size-base);
|
|
223
|
+
--astryx-text-label-weight: var(--astryx-font-weight-medium);
|
|
224
|
+
--astryx-text-label-leading: 1.5;
|
|
225
|
+
--astryx-text-code-size: var(--astryx-font-size-base);
|
|
226
|
+
--astryx-text-code-weight: var(--astryx-font-weight-normal);
|
|
227
|
+
--astryx-text-code-leading: 1.5;
|
|
228
|
+
--astryx-text-supporting-size: 12px;
|
|
229
|
+
--astryx-text-supporting-weight: var(--astryx-font-weight-normal);
|
|
230
|
+
--astryx-text-supporting-leading: 1.5385;
|
|
231
|
+
|
|
232
|
+
--astryx-text-display-1-size: var(--astryx-font-size-5xl);
|
|
233
|
+
--astryx-text-display-1-weight: var(--astryx-font-weight-normal);
|
|
234
|
+
--astryx-text-display-1-leading: 1.2459;
|
|
235
|
+
--astryx-text-display-2-size: var(--astryx-font-size-4xl);
|
|
236
|
+
--astryx-text-display-2-weight: var(--astryx-font-weight-normal);
|
|
237
|
+
--astryx-text-display-2-leading: 1.2245;
|
|
238
|
+
--astryx-text-display-3-size: var(--astryx-font-size-3xl);
|
|
239
|
+
--astryx-text-display-3-weight: var(--astryx-font-weight-normal);
|
|
240
|
+
--astryx-text-display-3-leading: 1.2308;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
[data-astryx-theme='y2k'][data-astryx-color-mode='light'] {
|
|
244
|
+
color-scheme: light;
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
[data-astryx-theme='y2k'][data-astryx-color-mode='dark'] {
|
|
248
|
+
color-scheme: dark;
|
|
249
|
+
}
|
|
250
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
@layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
|
|
2
|
+
|
|
3
|
+
@layer astryx.tokens {
|
|
4
|
+
[data-astryx-theme='y2k'] {
|
|
5
|
+
--astryx-bottom-sheet-background: var(--astryx-color-background-surface);
|
|
6
|
+
--astryx-bottom-sheet-foreground: var(--astryx-color-text-primary);
|
|
7
|
+
--astryx-bottom-sheet-border: var(--astryx-color-border);
|
|
8
|
+
--astryx-bottom-sheet-scrim: var(--astryx-color-overlay);
|
|
9
|
+
--astryx-bottom-sheet-handle-background: var(--astryx-color-background-surface);
|
|
10
|
+
--astryx-bottom-sheet-focus: var(--astryx-color-accent);
|
|
11
|
+
--astryx-bottom-sheet-shadow: var(--astryx-shadow-low);
|
|
12
|
+
}
|
|
13
|
+
}
|
package/y2k/button.css
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
@layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
|
|
2
|
+
|
|
3
|
+
@layer astryx.tokens {
|
|
4
|
+
[data-astryx-theme='y2k'] {
|
|
5
|
+
--astryx-button-primary-background: var(--astryx-color-text-primary);
|
|
6
|
+
--astryx-button-primary-foreground: var(--astryx-color-background-body);
|
|
7
|
+
--astryx-button-secondary-background: var(--astryx-color-background-green);
|
|
8
|
+
--astryx-button-secondary-foreground: var(--astryx-color-text-green);
|
|
9
|
+
--astryx-button-ghost-background: transparent;
|
|
10
|
+
--astryx-button-ghost-foreground: var(--astryx-color-text-primary);
|
|
11
|
+
--astryx-button-destructive-background: var(--astryx-color-background-red);
|
|
12
|
+
--astryx-button-destructive-foreground: var(--astryx-color-text-red);
|
|
13
|
+
--astryx-button-hover-overlay: var(--astryx-color-overlay-hover);
|
|
14
|
+
--astryx-button-pressed-overlay: var(--astryx-color-overlay-pressed);
|
|
15
|
+
--astryx-button-focus: var(--astryx-color-accent);
|
|
16
|
+
--astryx-button-separator: var(--astryx-color-border);
|
|
17
|
+
--astryx-button-solid-separator: var(--astryx-color-on-accent);
|
|
18
|
+
--astryx-button-tooltip-background: var(--astryx-color-text-primary);
|
|
19
|
+
--astryx-button-tooltip-foreground: var(--astryx-color-background-body);
|
|
20
|
+
--astryx-button-shadow-low: var(--astryx-shadow-low);
|
|
21
|
+
--astryx-button-shadow-med: var(--astryx-shadow-med);
|
|
22
|
+
--astryx-button-shadow-high: var(--astryx-shadow-high);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
@layer astryx.components {
|
|
27
|
+
[data-astryx-theme='y2k'] .astryx-button[data-variant='secondary'] {
|
|
28
|
+
border: 1px solid var(--astryx-color-text-green);
|
|
29
|
+
}
|
|
30
|
+
}
|
package/y2k/card.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='y2k'] {
|
|
5
|
+
--astryx-card-background: var(--astryx-color-background-card);
|
|
6
|
+
--astryx-card-muted-background: var(--astryx-color-background-muted);
|
|
7
|
+
--astryx-card-border: var(--astryx-color-border);
|
|
8
|
+
--astryx-card-shadow-low: var(--astryx-shadow-low);
|
|
9
|
+
--astryx-card-shadow-med: var(--astryx-shadow-med);
|
|
10
|
+
--astryx-card-shadow-high: var(--astryx-shadow-high);
|
|
11
|
+
|
|
12
|
+
--astryx-card-blue-background: var(--astryx-color-background-blue);
|
|
13
|
+
--astryx-card-cyan-background: var(--astryx-color-background-cyan);
|
|
14
|
+
--astryx-card-gray-background: var(--astryx-color-background-gray);
|
|
15
|
+
--astryx-card-green-background: var(--astryx-color-background-green);
|
|
16
|
+
--astryx-card-orange-background: var(--astryx-color-background-orange);
|
|
17
|
+
--astryx-card-pink-background: var(--astryx-color-background-pink);
|
|
18
|
+
--astryx-card-purple-background: var(--astryx-color-background-purple);
|
|
19
|
+
--astryx-card-red-background: var(--astryx-color-background-red);
|
|
20
|
+
--astryx-card-teal-background: var(--astryx-color-background-teal);
|
|
21
|
+
--astryx-card-yellow-background: var(--astryx-color-background-yellow);
|
|
22
|
+
}
|
|
23
|
+
}
|
package/y2k/center.css
ADDED
package/y2k/chat.css
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
@layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
|
|
2
|
+
|
|
3
|
+
@layer astryx.tokens {
|
|
4
|
+
[data-astryx-theme='y2k'] {
|
|
5
|
+
--astryx-chat-foreground: var(--astryx-color-text-primary);
|
|
6
|
+
/* Docs secondary text measures rgb(71, 71, 71). The shared text-secondary
|
|
7
|
+
token stays lighter, so chat supporting copy uses this darker stop. */
|
|
8
|
+
--astryx-chat-foreground-secondary: var(--astryx-color-text-secondary);
|
|
9
|
+
--astryx-chat-foreground-muted: var(--astryx-color-text-disabled);
|
|
10
|
+
--astryx-chat-bubble-background: var(--astryx-color-neutral);
|
|
11
|
+
--astryx-chat-error: var(--astryx-color-error);
|
|
12
|
+
--astryx-chat-success: var(--astryx-color-success);
|
|
13
|
+
--astryx-chat-accent: var(--astryx-color-accent);
|
|
14
|
+
--astryx-chat-unread-color: var(--astryx-color-border-red);
|
|
15
|
+
--astryx-chat-scroll-background: var(--astryx-color-background-popover);
|
|
16
|
+
--astryx-chat-scroll-shadow: var(--astryx-shadow-med);
|
|
17
|
+
--astryx-chat-hover: var(--astryx-color-overlay-hover);
|
|
18
|
+
--astryx-chat-focus: var(--astryx-focus-outline-color);
|
|
19
|
+
--astryx-chat-radius: var(--astryx-radius-chat);
|
|
20
|
+
--astryx-chat-radius-compact: var(--astryx-radius-container);
|
|
21
|
+
--astryx-chat-radius-group: var(--astryx-radius-inner);
|
|
22
|
+
--astryx-chat-font-weight-regular: var(--astryx-font-weight-regular);
|
|
23
|
+
--astryx-chat-font-weight-medium: var(--astryx-font-weight-medium);
|
|
24
|
+
--astryx-chat-font-weight-semibold: var(--astryx-font-weight-semibold);
|
|
25
|
+
--astryx-chat-font-weight-bold: var(--astryx-font-weight-bold);
|
|
26
|
+
}
|
|
27
|
+
}
|
package/y2k/checkbox.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='y2k'] {
|
|
5
|
+
--astryx-checkbox-background: var(--astryx-color-background-surface);
|
|
6
|
+
--astryx-checkbox-border: var(--astryx-color-border-emphasized);
|
|
7
|
+
--astryx-checkbox-accent: var(--astryx-color-accent);
|
|
8
|
+
--astryx-checkbox-on-accent: var(--astryx-color-on-accent);
|
|
9
|
+
--astryx-checkbox-focus: var(--astryx-color-accent);
|
|
10
|
+
--astryx-checkbox-disabled-background: var(--astryx-color-background-muted);
|
|
11
|
+
}
|
|
12
|
+
}
|
package/y2k/citation.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='y2k'] {
|
|
5
|
+
--astryx-citation-foreground: var(--astryx-color-text-secondary);
|
|
6
|
+
--astryx-citation-foreground-hover: var(--astryx-color-text-primary);
|
|
7
|
+
--astryx-citation-border: var(--astryx-color-border);
|
|
8
|
+
--astryx-citation-hover: var(--astryx-color-overlay-hover);
|
|
9
|
+
--astryx-citation-number-background: var(--astryx-color-accent-muted);
|
|
10
|
+
--astryx-citation-icon-background: var(--astryx-color-background-surface);
|
|
11
|
+
--astryx-citation-focus: var(--astryx-focus-outline-color);
|
|
12
|
+
--astryx-citation-font-weight: var(--astryx-font-weight-regular);
|
|
13
|
+
--astryx-citation-number-font-weight: var(--astryx-font-weight-semibold);
|
|
14
|
+
}
|
|
15
|
+
}
|
package/y2k/code.css
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
@layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
|
|
2
|
+
|
|
3
|
+
@layer astryx.tokens {
|
|
4
|
+
[data-astryx-theme='y2k'] {
|
|
5
|
+
|
|
6
|
+
--astryx-code-background: var(--astryx-color-background-muted);
|
|
7
|
+
--astryx-code-primary-foreground: var(--astryx-color-text-primary);
|
|
8
|
+
--astryx-code-secondary-foreground: var(--astryx-color-text-secondary);
|
|
9
|
+
|
|
10
|
+
/* CodeBlock card: white surface and a hairline border, matching the
|
|
11
|
+
original block. Inline code keeps the muted chip above. */
|
|
12
|
+
--astryx-code-block-background: light-dark(#FFF6ED, #190f00);
|
|
13
|
+
--astryx-code-block-border: var(--astryx-color-border);
|
|
14
|
+
--astryx-code-block-focus: var(--astryx-color-accent);
|
|
15
|
+
--astryx-code-block-highlight-background: color-mix(in srgb, var(--astryx-color-accent) 20%, transparent);
|
|
16
|
+
|
|
17
|
+
/* Syntax colors from the original CodeBlock theme: keyword and type share
|
|
18
|
+
the same purple, strings stay green. */
|
|
19
|
+
--astryx-code-syntax-keyword: light-dark(#615a7a, #aea6ca);
|
|
20
|
+
--astryx-code-syntax-string: light-dark(#586242, #a5af8b);
|
|
21
|
+
--astryx-code-syntax-comment: light-dark(#5e5e5e, #ababab);
|
|
22
|
+
--astryx-code-syntax-number: light-dark(#775843, #c8a48c);
|
|
23
|
+
--astryx-code-syntax-function: light-dark(#39637d, #87b0cd);
|
|
24
|
+
--astryx-code-syntax-type: light-dark(#615a7a, #aea6ca);
|
|
25
|
+
--astryx-code-syntax-variable: light-dark(#5e5e5e, #ababab);
|
|
26
|
+
--astryx-code-syntax-operator: light-dark(#5e5e5e, #ababab);
|
|
27
|
+
--astryx-code-syntax-constant: light-dark(#775843, #c8a48c);
|
|
28
|
+
--astryx-code-syntax-tag: light-dark(#7f5351, #d19f9d);
|
|
29
|
+
--astryx-code-syntax-attribute: light-dark(#6c5c3e, #bca987);
|
|
30
|
+
--astryx-code-syntax-property: light-dark(#3c6755, #87b5a1);
|
|
31
|
+
--astryx-code-syntax-punctuation: light-dark(#5e5e5e, #ababab);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -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='y2k'] {
|
|
5
|
+
--astryx-collapsible-trigger-foreground: var(--astryx-color-text-primary);
|
|
6
|
+
--astryx-collapsible-content-foreground: var(--astryx-color-text-primary);
|
|
7
|
+
--astryx-collapsible-pressed-overlay: var(--astryx-color-overlay-pressed);
|
|
8
|
+
--astryx-collapsible-focus: var(--astryx-color-accent);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -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='y2k'] {
|
|
5
|
+
--astryx-context-menu-background: var(--astryx-color-background-card);
|
|
6
|
+
--astryx-context-menu-foreground: var(--astryx-color-text-primary);
|
|
7
|
+
--astryx-context-menu-shadow: var(--astryx-shadow-low);
|
|
8
|
+
--astryx-context-menu-item-foreground: var(--astryx-color-text-primary);
|
|
9
|
+
--astryx-context-menu-item-focus-background: var(--astryx-color-background-card);
|
|
10
|
+
--astryx-context-menu-item-pressed-background: var(--astryx-color-overlay-pressed);
|
|
11
|
+
--astryx-context-menu-item-description-foreground: var(--astryx-color-text-secondary);
|
|
12
|
+
--astryx-context-menu-item-error-foreground: var(--astryx-color-text-red);
|
|
13
|
+
--astryx-context-menu-section-foreground: var(--astryx-color-text-primary);
|
|
14
|
+
}
|
|
15
|
+
}
|
package/y2k/dialog.css
ADDED
|
@@ -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='y2k'] {
|
|
5
|
+
--astryx-dialog-background: var(--astryx-color-background-surface);
|
|
6
|
+
--astryx-dialog-foreground: var(--astryx-color-text-primary);
|
|
7
|
+
--astryx-dialog-overlay: var(--astryx-color-overlay);
|
|
8
|
+
--astryx-dialog-shadow: var(--astryx-shadow-low);
|
|
9
|
+
}
|
|
10
|
+
}
|
package/y2k/divider.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='y2k'] {
|
|
5
|
+
--astryx-divider-color-subtle: var(--astryx-color-text-secondary);
|
|
6
|
+
--astryx-divider-color-strong: var(--astryx-color-border);
|
|
7
|
+
--astryx-divider-label-color: var(--astryx-color-text-secondary);
|
|
8
|
+
}
|
|
9
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
@layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
|
|
2
|
+
|
|
3
|
+
@layer astryx.tokens {
|
|
4
|
+
[data-astryx-theme='y2k'] {
|
|
5
|
+
--astryx-dropdown-menu-background: var(--astryx-color-background-card);
|
|
6
|
+
--astryx-dropdown-menu-foreground: var(--astryx-color-text-primary);
|
|
7
|
+
--astryx-dropdown-menu-shadow: var(--astryx-shadow-low);
|
|
8
|
+
--astryx-dropdown-menu-hover-background: var(--astryx-color-overlay-hover);
|
|
9
|
+
--astryx-dropdown-menu-pressed-background: var(--astryx-color-overlay-pressed);
|
|
10
|
+
--astryx-dropdown-menu-trigger-open-overlay: var(--astryx-color-overlay-pressed);
|
|
11
|
+
--astryx-dropdown-menu-destructive-foreground: var(--astryx-color-text-primary);
|
|
12
|
+
--astryx-dropdown-menu-section-heading-foreground: var(--astryx-color-text-primary);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -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='y2k'] {
|
|
5
|
+
--astryx-empty-state-title-foreground: var(--astryx-color-text-primary);
|
|
6
|
+
--astryx-empty-state-description-foreground: var(--astryx-color-text-secondary);
|
|
7
|
+
--astryx-empty-state-text-width: 360px;
|
|
8
|
+
}
|
|
9
|
+
}
|
package/y2k/field.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
/* Field component theme tokens can be added here. */
|
package/y2k/grid.css
ADDED
package/y2k/heading.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='y2k'] {
|
|
5
|
+
--astryx-heading-foreground: var(--astryx-color-text-primary);
|
|
6
|
+
--astryx-heading-level-1-size: var(--astryx-text-heading-1-size);
|
|
7
|
+
--astryx-heading-level-2-size: var(--astryx-text-heading-2-size);
|
|
8
|
+
--astryx-heading-level-3-size: var(--astryx-text-heading-3-size);
|
|
9
|
+
--astryx-heading-level-4-size: var(--astryx-text-heading-4-size);
|
|
10
|
+
--astryx-heading-level-5-size: var(--astryx-text-heading-5-size);
|
|
11
|
+
--astryx-heading-level-6-size: var(--astryx-text-heading-6-size);
|
|
12
|
+
--astryx-heading-display-1-size: var(--astryx-text-display-1-size);
|
|
13
|
+
--astryx-heading-display-2-size: var(--astryx-text-display-2-size);
|
|
14
|
+
--astryx-heading-display-3-size: var(--astryx-text-display-3-size);
|
|
15
|
+
--astryx-heading-display-weight: var(--astryx-text-display-1-weight);
|
|
16
|
+
--astryx-heading-leading: 1.25;
|
|
17
|
+
|
|
18
|
+
--astryx-text-supporting-foreground: var(--astryx-color-text-secondary);
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
@layer astryx.components {
|
|
23
|
+
[data-astryx-theme='y2k'] .astryx-heading {
|
|
24
|
+
font-family: var(--astryx-font-family-heading);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
[data-astryx-theme='y2k'] .astryx-text--type-display-1,
|
|
28
|
+
[data-astryx-theme='y2k'] .astryx-text--type-display-2,
|
|
29
|
+
[data-astryx-theme='y2k'] .astryx-text--type-display-3,
|
|
30
|
+
[data-astryx-theme='y2k'] .astryx-heading--type-display-1,
|
|
31
|
+
[data-astryx-theme='y2k'] .astryx-heading--type-display-2,
|
|
32
|
+
[data-astryx-theme='y2k'] .astryx-heading--type-display-3 {
|
|
33
|
+
font-family: 'Crimson Text', Georgia, 'Times New Roman', Times, serif;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
@@ -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='y2k'] {
|
|
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/y2k/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='y2k'] {
|
|
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/y2k/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='y2k'] {
|
|
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/y2k/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='y2k'] {
|
|
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/y2k/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='y2k'] {
|
|
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/y2k/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='y2k'] {
|
|
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
|
+
}
|