@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/stone/base.css
ADDED
|
@@ -0,0 +1,250 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Stone semantic tokens.
|
|
3
|
+
*
|
|
4
|
+
* Warm stone and slate. Figtree for text, Montserrat for headings. Values follow @astryxdesign/theme-stone 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=Figtree:wght@400;500;600;700&family=Montserrat: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='stone'] {
|
|
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(#25252a, #f3f3f5);
|
|
23
|
+
--astryx-color-accent-muted: light-dark(#25252a14, #f3f3f520);
|
|
24
|
+
--astryx-color-on-accent: light-dark(#ffffff, #25252a);
|
|
25
|
+
--astryx-color-neutral: light-dark(#25252a0f, #f3f3f51a);
|
|
26
|
+
--astryx-color-background-surface: light-dark(#ffffff, #1b1b1f);
|
|
27
|
+
--astryx-color-background-body: light-dark(#f3f3f5, #111015);
|
|
28
|
+
--astryx-color-overlay: light-dark(#25252a80, #28282acc);
|
|
29
|
+
--astryx-color-overlay-hover: light-dark(#25252a0d, #f3f3f50d);
|
|
30
|
+
--astryx-color-overlay-pressed: light-dark(#25252a1a, #f3f3f51a);
|
|
31
|
+
--astryx-color-background-muted: light-dark(#e2e2e8, #3b3b3f);
|
|
32
|
+
|
|
33
|
+
--astryx-color-text-primary: light-dark(#25252a, #f3f3f5);
|
|
34
|
+
--astryx-color-text-secondary: light-dark(#5e5e63, #ababb0);
|
|
35
|
+
--astryx-color-text-disabled: light-dark(#d7d7da, #5e5e61);
|
|
36
|
+
--astryx-color-text-accent: light-dark(#25252a, #f3f3f5);
|
|
37
|
+
--astryx-color-on-dark: #FFFFFF;
|
|
38
|
+
--astryx-color-on-light: light-dark(#25252a, #28282a);
|
|
39
|
+
|
|
40
|
+
--astryx-color-icon-accent: light-dark(#25252a, #f3f3f5);
|
|
41
|
+
--astryx-color-icon-primary: light-dark(#25252a, #f3f3f5);
|
|
42
|
+
--astryx-color-icon-secondary: light-dark(#83838a, #9d9da3);
|
|
43
|
+
--astryx-color-icon-disabled: light-dark(#d7d7da, #5e5e61);
|
|
44
|
+
|
|
45
|
+
--astryx-color-background-card: light-dark(#FFFFFF, #242325);
|
|
46
|
+
--astryx-color-background-popover: light-dark(#ffffff, #25252a);
|
|
47
|
+
--astryx-color-background-inverted: light-dark(#25252a, #f3f3f5);
|
|
48
|
+
--astryx-color-background-error-inverted: light-dark(#aa071e, #e3193b);
|
|
49
|
+
|
|
50
|
+
--astryx-color-success: light-dark(#374c36, #b4cdb2);
|
|
51
|
+
--astryx-color-success-muted: light-dark(#d0e9ce, #b4cdb2);
|
|
52
|
+
--astryx-color-on-success: light-dark(#374c36, #d0e9ce);
|
|
53
|
+
--astryx-color-error: light-dark(#58413e, #dcc0bc);
|
|
54
|
+
--astryx-color-error-muted: light-dark(#f9dcd7, #dcc0bc);
|
|
55
|
+
--astryx-color-on-error: light-dark(#58413e, #f9dcd7);
|
|
56
|
+
--astryx-color-warning: light-dark(#524622, #d7c59c);
|
|
57
|
+
--astryx-color-warning-muted: light-dark(#f4e1b7, #d7c59c);
|
|
58
|
+
--astryx-color-on-warning: light-dark(#524622, #f4e1b7);
|
|
59
|
+
|
|
60
|
+
--astryx-color-border: light-dark(#e2e2e8, #f3f3f51a);
|
|
61
|
+
--astryx-color-border-emphasized: light-dark(#83838a, #5e5e61);
|
|
62
|
+
|
|
63
|
+
--astryx-color-skeleton: light-dark(#d4d4da, #5e5e64);
|
|
64
|
+
--astryx-color-track: light-dark(#ccd3db, #5a5e66);
|
|
65
|
+
--astryx-color-shadow: light-dark(#25252a1a, #0000004d);
|
|
66
|
+
--astryx-color-tint-hover: light-dark(black, white);
|
|
67
|
+
|
|
68
|
+
--astryx-color-background-blue: light-dark(#d7e4f5, #485362);
|
|
69
|
+
--astryx-color-border-blue: light-dark(#c9d6e7, #313c4a);
|
|
70
|
+
--astryx-color-icon-blue: light-dark(#3c4856, #d7e4f5);
|
|
71
|
+
--astryx-color-text-blue: light-dark(#3c4856, #d7e4f5);
|
|
72
|
+
|
|
73
|
+
--astryx-color-background-cyan: light-dark(#cce8e5, #3e5755);
|
|
74
|
+
--astryx-color-border-cyan: light-dark(#bedad7, #28403e);
|
|
75
|
+
--astryx-color-icon-cyan: light-dark(#334b49, #cce8e5);
|
|
76
|
+
--astryx-color-text-cyan: light-dark(#334b49, #cce8e5);
|
|
77
|
+
|
|
78
|
+
--astryx-color-background-gray: light-dark(#e2e2e8, #525257);
|
|
79
|
+
--astryx-color-border-gray: light-dark(#d4d4da, #3b3b3f);
|
|
80
|
+
--astryx-color-icon-gray: light-dark(#46464b, #e2e2e8);
|
|
81
|
+
--astryx-color-text-gray: light-dark(#46464b, #e2e2e8);
|
|
82
|
+
|
|
83
|
+
--astryx-color-background-green: light-dark(#d0e9ce, #425841);
|
|
84
|
+
--astryx-color-border-green: light-dark(#c2dbc0, #2b402b);
|
|
85
|
+
--astryx-color-icon-green: light-dark(#374c36, #d0e9ce);
|
|
86
|
+
--astryx-color-text-green: light-dark(#374c36, #d0e9ce);
|
|
87
|
+
|
|
88
|
+
--astryx-color-background-orange: light-dark(#ffdcbb, #684d32);
|
|
89
|
+
--astryx-color-border-orange: light-dark(#f1ceae, #4f361c);
|
|
90
|
+
--astryx-color-icon-orange: light-dark(#5b4227, #ffdcbb);
|
|
91
|
+
--astryx-color-text-orange: light-dark(#5b4227, #ffdcbb);
|
|
92
|
+
|
|
93
|
+
--astryx-color-background-pink: light-dark(#f0dde8, #5e4e57);
|
|
94
|
+
--astryx-color-border-pink: light-dark(#e2cfda, #463740);
|
|
95
|
+
--astryx-color-icon-pink: light-dark(#52424c, #f0dde8);
|
|
96
|
+
--astryx-color-text-pink: light-dark(#52424c, #f0dde8);
|
|
97
|
+
|
|
98
|
+
--astryx-color-background-purple: light-dark(#e8dff3, #564f60);
|
|
99
|
+
--astryx-color-border-purple: light-dark(#d9d1e5, #3f3949);
|
|
100
|
+
--astryx-color-icon-purple: light-dark(#4b4454, #e8dff3);
|
|
101
|
+
--astryx-color-text-purple: light-dark(#4b4454, #e8dff3);
|
|
102
|
+
|
|
103
|
+
--astryx-color-background-red: light-dark(#f9dcd7, #644d49);
|
|
104
|
+
--astryx-color-border-red: light-dark(#ebcec9, #4c3633);
|
|
105
|
+
--astryx-color-icon-red: light-dark(#58413e, #f9dcd7);
|
|
106
|
+
--astryx-color-text-red: light-dark(#58413e, #f9dcd7);
|
|
107
|
+
|
|
108
|
+
--astryx-color-background-teal: light-dark(#d4e7dc, #46564d);
|
|
109
|
+
--astryx-color-border-teal: light-dark(#c6d9ce, #303f36);
|
|
110
|
+
--astryx-color-icon-teal: light-dark(#3b4a41, #d4e7dc);
|
|
111
|
+
--astryx-color-text-teal: light-dark(#3b4a41, #d4e7dc);
|
|
112
|
+
|
|
113
|
+
--astryx-color-background-yellow: light-dark(#f4e1b7, #5e512d);
|
|
114
|
+
--astryx-color-border-yellow: light-dark(#e5d3a9, #463a18);
|
|
115
|
+
--astryx-color-icon-yellow: light-dark(#524622, #f4e1b7);
|
|
116
|
+
--astryx-color-text-yellow: light-dark(#524622, #f4e1b7);
|
|
117
|
+
|
|
118
|
+
--astryx-spacing-0: 0;
|
|
119
|
+
--astryx-spacing-0-5: 2px;
|
|
120
|
+
--astryx-spacing-1: 4px;
|
|
121
|
+
--astryx-spacing-1-5: 6px;
|
|
122
|
+
--astryx-spacing-2: 8px;
|
|
123
|
+
--astryx-spacing-3: 12px;
|
|
124
|
+
--astryx-spacing-4: 16px;
|
|
125
|
+
--astryx-spacing-5: 20px;
|
|
126
|
+
--astryx-spacing-6: 24px;
|
|
127
|
+
--astryx-spacing-7: 28px;
|
|
128
|
+
--astryx-spacing-8: 32px;
|
|
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: 28px;
|
|
135
|
+
--astryx-size-element-md: 32px;
|
|
136
|
+
--astryx-size-element-lg: 36px;
|
|
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: 0.25rem;
|
|
147
|
+
--astryx-radius-element: 0.5rem;
|
|
148
|
+
--astryx-radius-container: 0.75rem;
|
|
149
|
+
--astryx-radius-page: 1.5rem;
|
|
150
|
+
--astryx-radius-chat: 28px;
|
|
151
|
+
--astryx-radius-full: 9999px;
|
|
152
|
+
|
|
153
|
+
--astryx-shadow-low: 0 2px 4px #28282A0D, 0 4px 8px #28282A1A;
|
|
154
|
+
--astryx-shadow-med: 0 2px 4px #28282A0D, 0 4px 12px #28282A1A;
|
|
155
|
+
--astryx-shadow-high: 0 4px 6px #28282A1A, 0 12px 24px #28282A26;
|
|
156
|
+
--astryx-shadow-inset-hover: inset 0px 0px 0px 2px #28282A30;
|
|
157
|
+
--astryx-shadow-inset-selected: inset 0px 0px 0px 2px #28282A50;
|
|
158
|
+
--astryx-shadow-inset-success: inset 0px 0px 0px 2px #83838a30;
|
|
159
|
+
--astryx-shadow-inset-warning: inset 0px 0px 0px 2px #83838a30;
|
|
160
|
+
--astryx-shadow-inset-error: inset 0px 0px 0px 2px #83838a30;
|
|
161
|
+
|
|
162
|
+
--astryx-duration-fast-min: 95ms;
|
|
163
|
+
--astryx-duration-fast: 125ms;
|
|
164
|
+
--astryx-duration-fast-max: 165ms;
|
|
165
|
+
--astryx-duration-medium-min: 225ms;
|
|
166
|
+
--astryx-duration-medium: 300ms;
|
|
167
|
+
--astryx-duration-medium-max: 400ms;
|
|
168
|
+
--astryx-duration-slow-min: 525ms;
|
|
169
|
+
--astryx-duration-slow: 700ms;
|
|
170
|
+
--astryx-duration-slow-max: 935ms;
|
|
171
|
+
|
|
172
|
+
--astryx-ease-standard: cubic-bezier(0.24, 1, 0.4, 1);
|
|
173
|
+
|
|
174
|
+
--astryx-font-family-body: Figtree, -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: Montserrat, 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
|
|
177
|
+
|
|
178
|
+
--astryx-font-size-4xs: 0.3125rem;
|
|
179
|
+
--astryx-font-size-3xs: 0.375rem;
|
|
180
|
+
--astryx-font-size-2xs: 0.4375rem;
|
|
181
|
+
--astryx-font-size-xs: 0.5625rem;
|
|
182
|
+
--astryx-font-size-sm: 0.6875rem;
|
|
183
|
+
--astryx-font-size-base: 0.875rem;
|
|
184
|
+
--astryx-font-size-lg: 1.125rem;
|
|
185
|
+
--astryx-font-size-xl: 1.375rem;
|
|
186
|
+
--astryx-font-size-2xl: 1.6875rem;
|
|
187
|
+
--astryx-font-size-3xl: 2.125rem;
|
|
188
|
+
--astryx-font-size-4xl: 2.6875rem;
|
|
189
|
+
--astryx-font-size-5xl: 3.3125rem;
|
|
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.3333;
|
|
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.4545;
|
|
203
|
+
--astryx-text-heading-3-size: var(--astryx-font-size-lg);
|
|
204
|
+
--astryx-text-heading-3-weight: var(--astryx-font-weight-bold);
|
|
205
|
+
--astryx-text-heading-3-leading: 1.5556;
|
|
206
|
+
--astryx-text-heading-4-size: var(--astryx-font-size-base);
|
|
207
|
+
--astryx-text-heading-4-weight: var(--astryx-font-weight-bold);
|
|
208
|
+
--astryx-text-heading-4-leading: 1.4286;
|
|
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.4545;
|
|
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.7778;
|
|
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.4286;
|
|
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.5556;
|
|
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.4286;
|
|
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.4286;
|
|
228
|
+
--astryx-text-supporting-size: 12px;
|
|
229
|
+
--astryx-text-supporting-weight: var(--astryx-font-weight-normal);
|
|
230
|
+
--astryx-text-supporting-leading: 1.4545;
|
|
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.283;
|
|
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.2093;
|
|
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.2941;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
[data-astryx-theme='stone'][data-astryx-color-mode='light'] {
|
|
244
|
+
color-scheme: light;
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
[data-astryx-theme='stone'][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='stone'] {
|
|
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/stone/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='stone'] {
|
|
5
|
+
--astryx-button-primary-background: var(--astryx-color-accent);
|
|
6
|
+
--astryx-button-primary-foreground: var(--astryx-color-on-accent);
|
|
7
|
+
--astryx-button-secondary-background: transparent;
|
|
8
|
+
--astryx-button-secondary-foreground: var(--astryx-color-text-primary);
|
|
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='stone'] .astryx-button[data-variant='secondary'] {
|
|
28
|
+
border: 1.5px solid var(--astryx-color-border-emphasized);
|
|
29
|
+
}
|
|
30
|
+
}
|
package/stone/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='stone'] {
|
|
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/stone/center.css
ADDED
package/stone/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='stone'] {
|
|
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
|
+
}
|
|
@@ -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='stone'] {
|
|
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
|
+
}
|
|
@@ -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-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/stone/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='stone'] {
|
|
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(#f3f3f5, #171719);
|
|
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(#645a72, #b2a7c1);
|
|
20
|
+
--astryx-code-syntax-string: light-dark(#4e6357, #9bb19a);
|
|
21
|
+
--astryx-code-syntax-comment: light-dark(#5e5e5e, #ababb0);
|
|
22
|
+
--astryx-code-syntax-number: light-dark(#755752, #bea792);
|
|
23
|
+
--astryx-code-syntax-function: light-dark(#506072, #99adc6);
|
|
24
|
+
--astryx-code-syntax-type: light-dark(#645a72, #b2a7c1);
|
|
25
|
+
--astryx-code-syntax-variable: light-dark(#5e5e5e, #ababb0);
|
|
26
|
+
--astryx-code-syntax-operator: light-dark(#5e5e5e, #ababb0);
|
|
27
|
+
--astryx-code-syntax-constant: light-dark(#755752, #bea792);
|
|
28
|
+
--astryx-code-syntax-tag: light-dark(#775751, #c7a39d);
|
|
29
|
+
--astryx-code-syntax-attribute: light-dark(#79693f, #b6aa90);
|
|
30
|
+
--astryx-code-syntax-property: light-dark(#4e6357, #94b2a0);
|
|
31
|
+
--astryx-code-syntax-punctuation: light-dark(#5e5e5e, #ababb0);
|
|
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='stone'] {
|
|
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='stone'] {
|
|
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/stone/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='stone'] {
|
|
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
|
+
}
|
|
@@ -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-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='stone'] {
|
|
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='stone'] {
|
|
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/stone/field.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
/* Field component theme tokens can be added here. */
|
package/stone/grid.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-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='stone'] .astryx-heading {
|
|
24
|
+
font-family: var(--astryx-font-family-heading);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
[data-astryx-theme='stone'] .astryx-text--type-display-1,
|
|
28
|
+
[data-astryx-theme='stone'] .astryx-text--type-display-2,
|
|
29
|
+
[data-astryx-theme='stone'] .astryx-text--type-display-3,
|
|
30
|
+
[data-astryx-theme='stone'] .astryx-heading--type-display-1,
|
|
31
|
+
[data-astryx-theme='stone'] .astryx-heading--type-display-2,
|
|
32
|
+
[data-astryx-theme='stone'] .astryx-heading--type-display-3 {
|
|
33
|
+
font-family: var(--astryx-font-family-heading);
|
|
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='stone'] {
|
|
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/stone/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='stone'] {
|
|
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/stone/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='stone'] {
|
|
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/stone/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='stone'] {
|
|
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/stone/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='stone'] {
|
|
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/stone/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='stone'] {
|
|
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
|
+
}
|