@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.
Files changed (307) hide show
  1. package/README.md +3 -1
  2. package/THIRD_PARTY_NOTICES.md +2 -0
  3. package/butter/alert-dialog.css +8 -0
  4. package/butter/avatar-group.css +9 -0
  5. package/butter/avatar.css +15 -0
  6. package/butter/badge.css +35 -0
  7. package/butter/banner.css +15 -0
  8. package/butter/base.css +250 -0
  9. package/butter/bottom-sheet.css +13 -0
  10. package/butter/button.css +30 -0
  11. package/butter/card.css +23 -0
  12. package/butter/center.css +7 -0
  13. package/butter/chat.css +27 -0
  14. package/butter/checkbox.css +12 -0
  15. package/butter/citation.css +15 -0
  16. package/butter/code.css +33 -0
  17. package/butter/collapsible.css +10 -0
  18. package/butter/context-menu.css +15 -0
  19. package/butter/dialog.css +10 -0
  20. package/butter/divider.css +9 -0
  21. package/butter/dropdown-menu.css +14 -0
  22. package/butter/empty-state.css +9 -0
  23. package/butter/field.css +1 -0
  24. package/butter/grid.css +7 -0
  25. package/butter/heading.css +35 -0
  26. package/butter/hover-card.css +10 -0
  27. package/butter/icon.css +23 -0
  28. package/butter/input.css +21 -0
  29. package/butter/kbd.css +9 -0
  30. package/butter/link.css +9 -0
  31. package/butter/list.css +12 -0
  32. package/butter/mobile-nav.css +7 -0
  33. package/butter/more-menu.css +16 -0
  34. package/butter/nav-menu.css +7 -0
  35. package/butter/overlay.css +8 -0
  36. package/butter/popover.css +9 -0
  37. package/butter/progress-bar.css +15 -0
  38. package/butter/radio.css +8 -0
  39. package/butter/segmented-control.css +15 -0
  40. package/butter/side-nav.css +8 -0
  41. package/butter/skeleton.css +7 -0
  42. package/butter/slider.css +9 -0
  43. package/butter/spinner.css +21 -0
  44. package/butter/status-dot.css +11 -0
  45. package/butter/switch.css +29 -0
  46. package/butter/text-area.css +9 -0
  47. package/butter/text.css +31 -0
  48. package/butter/toast.css +12 -0
  49. package/butter/toggle-button.css +9 -0
  50. package/butter/token.css +28 -0
  51. package/butter/tooltip.css +9 -0
  52. package/butter.css +51 -0
  53. package/chocolate/alert-dialog.css +8 -0
  54. package/chocolate/avatar-group.css +9 -0
  55. package/chocolate/avatar.css +15 -0
  56. package/chocolate/badge.css +35 -0
  57. package/chocolate/banner.css +15 -0
  58. package/chocolate/base.css +250 -0
  59. package/chocolate/bottom-sheet.css +13 -0
  60. package/chocolate/button.css +30 -0
  61. package/chocolate/card.css +23 -0
  62. package/chocolate/center.css +7 -0
  63. package/chocolate/chat.css +27 -0
  64. package/chocolate/checkbox.css +12 -0
  65. package/chocolate/citation.css +15 -0
  66. package/chocolate/code.css +33 -0
  67. package/chocolate/collapsible.css +10 -0
  68. package/chocolate/context-menu.css +15 -0
  69. package/chocolate/dialog.css +10 -0
  70. package/chocolate/divider.css +9 -0
  71. package/chocolate/dropdown-menu.css +14 -0
  72. package/chocolate/empty-state.css +9 -0
  73. package/chocolate/field.css +1 -0
  74. package/chocolate/grid.css +7 -0
  75. package/chocolate/heading.css +35 -0
  76. package/chocolate/hover-card.css +10 -0
  77. package/chocolate/icon.css +23 -0
  78. package/chocolate/input.css +21 -0
  79. package/chocolate/kbd.css +9 -0
  80. package/chocolate/link.css +9 -0
  81. package/chocolate/list.css +12 -0
  82. package/chocolate/mobile-nav.css +7 -0
  83. package/chocolate/more-menu.css +16 -0
  84. package/chocolate/nav-menu.css +7 -0
  85. package/chocolate/overlay.css +8 -0
  86. package/chocolate/popover.css +9 -0
  87. package/chocolate/progress-bar.css +15 -0
  88. package/chocolate/radio.css +8 -0
  89. package/chocolate/segmented-control.css +15 -0
  90. package/chocolate/side-nav.css +8 -0
  91. package/chocolate/skeleton.css +7 -0
  92. package/chocolate/slider.css +9 -0
  93. package/chocolate/spinner.css +21 -0
  94. package/chocolate/status-dot.css +11 -0
  95. package/chocolate/switch.css +29 -0
  96. package/chocolate/text-area.css +9 -0
  97. package/chocolate/text.css +31 -0
  98. package/chocolate/toast.css +12 -0
  99. package/chocolate/toggle-button.css +9 -0
  100. package/chocolate/token.css +28 -0
  101. package/chocolate/tooltip.css +9 -0
  102. package/chocolate.css +51 -0
  103. package/gothic/alert-dialog.css +8 -0
  104. package/gothic/avatar-group.css +9 -0
  105. package/gothic/avatar.css +15 -0
  106. package/gothic/badge.css +35 -0
  107. package/gothic/banner.css +15 -0
  108. package/gothic/base.css +247 -0
  109. package/gothic/bottom-sheet.css +13 -0
  110. package/gothic/button.css +24 -0
  111. package/gothic/card.css +23 -0
  112. package/gothic/center.css +7 -0
  113. package/gothic/chat.css +27 -0
  114. package/gothic/checkbox.css +12 -0
  115. package/gothic/citation.css +15 -0
  116. package/gothic/code.css +33 -0
  117. package/gothic/collapsible.css +10 -0
  118. package/gothic/context-menu.css +15 -0
  119. package/gothic/dialog.css +10 -0
  120. package/gothic/divider.css +9 -0
  121. package/gothic/dropdown-menu.css +14 -0
  122. package/gothic/empty-state.css +9 -0
  123. package/gothic/field.css +1 -0
  124. package/gothic/grid.css +7 -0
  125. package/gothic/heading.css +35 -0
  126. package/gothic/hover-card.css +10 -0
  127. package/gothic/icon.css +23 -0
  128. package/gothic/input.css +21 -0
  129. package/gothic/kbd.css +9 -0
  130. package/gothic/link.css +9 -0
  131. package/gothic/list.css +12 -0
  132. package/gothic/mobile-nav.css +7 -0
  133. package/gothic/more-menu.css +16 -0
  134. package/gothic/nav-menu.css +7 -0
  135. package/gothic/overlay.css +8 -0
  136. package/gothic/popover.css +9 -0
  137. package/gothic/progress-bar.css +15 -0
  138. package/gothic/radio.css +8 -0
  139. package/gothic/segmented-control.css +15 -0
  140. package/gothic/side-nav.css +8 -0
  141. package/gothic/skeleton.css +7 -0
  142. package/gothic/slider.css +9 -0
  143. package/gothic/spinner.css +21 -0
  144. package/gothic/status-dot.css +11 -0
  145. package/gothic/switch.css +29 -0
  146. package/gothic/text-area.css +9 -0
  147. package/gothic/text.css +31 -0
  148. package/gothic/toast.css +12 -0
  149. package/gothic/toggle-button.css +9 -0
  150. package/gothic/token.css +28 -0
  151. package/gothic/tooltip.css +9 -0
  152. package/gothic.css +51 -0
  153. package/matcha/alert-dialog.css +8 -0
  154. package/matcha/avatar-group.css +9 -0
  155. package/matcha/avatar.css +15 -0
  156. package/matcha/badge.css +35 -0
  157. package/matcha/banner.css +15 -0
  158. package/matcha/base.css +250 -0
  159. package/matcha/bottom-sheet.css +13 -0
  160. package/matcha/button.css +24 -0
  161. package/matcha/card.css +23 -0
  162. package/matcha/center.css +7 -0
  163. package/matcha/chat.css +27 -0
  164. package/matcha/checkbox.css +12 -0
  165. package/matcha/citation.css +15 -0
  166. package/matcha/code.css +33 -0
  167. package/matcha/collapsible.css +10 -0
  168. package/matcha/context-menu.css +15 -0
  169. package/matcha/dialog.css +10 -0
  170. package/matcha/divider.css +9 -0
  171. package/matcha/dropdown-menu.css +14 -0
  172. package/matcha/empty-state.css +9 -0
  173. package/matcha/field.css +1 -0
  174. package/matcha/grid.css +7 -0
  175. package/matcha/heading.css +35 -0
  176. package/matcha/hover-card.css +10 -0
  177. package/matcha/icon.css +23 -0
  178. package/matcha/input.css +21 -0
  179. package/matcha/kbd.css +9 -0
  180. package/matcha/link.css +9 -0
  181. package/matcha/list.css +12 -0
  182. package/matcha/mobile-nav.css +7 -0
  183. package/matcha/more-menu.css +16 -0
  184. package/matcha/nav-menu.css +7 -0
  185. package/matcha/overlay.css +8 -0
  186. package/matcha/popover.css +9 -0
  187. package/matcha/progress-bar.css +15 -0
  188. package/matcha/radio.css +8 -0
  189. package/matcha/segmented-control.css +15 -0
  190. package/matcha/side-nav.css +8 -0
  191. package/matcha/skeleton.css +7 -0
  192. package/matcha/slider.css +9 -0
  193. package/matcha/spinner.css +21 -0
  194. package/matcha/status-dot.css +11 -0
  195. package/matcha/switch.css +29 -0
  196. package/matcha/text-area.css +9 -0
  197. package/matcha/text.css +31 -0
  198. package/matcha/toast.css +12 -0
  199. package/matcha/toggle-button.css +9 -0
  200. package/matcha/token.css +28 -0
  201. package/matcha/tooltip.css +9 -0
  202. package/matcha.css +51 -0
  203. package/neutral/button.css +6 -6
  204. package/neutral/heading.css +2 -2
  205. package/neutral/icon.css +1 -1
  206. package/neutral/text.css +2 -2
  207. package/package.json +14 -2
  208. package/stone/alert-dialog.css +8 -0
  209. package/stone/avatar-group.css +9 -0
  210. package/stone/avatar.css +15 -0
  211. package/stone/badge.css +35 -0
  212. package/stone/banner.css +15 -0
  213. package/stone/base.css +250 -0
  214. package/stone/bottom-sheet.css +13 -0
  215. package/stone/button.css +30 -0
  216. package/stone/card.css +23 -0
  217. package/stone/center.css +7 -0
  218. package/stone/chat.css +27 -0
  219. package/stone/checkbox.css +12 -0
  220. package/stone/citation.css +15 -0
  221. package/stone/code.css +33 -0
  222. package/stone/collapsible.css +10 -0
  223. package/stone/context-menu.css +15 -0
  224. package/stone/dialog.css +10 -0
  225. package/stone/divider.css +9 -0
  226. package/stone/dropdown-menu.css +14 -0
  227. package/stone/empty-state.css +9 -0
  228. package/stone/field.css +1 -0
  229. package/stone/grid.css +7 -0
  230. package/stone/heading.css +35 -0
  231. package/stone/hover-card.css +10 -0
  232. package/stone/icon.css +23 -0
  233. package/stone/input.css +21 -0
  234. package/stone/kbd.css +9 -0
  235. package/stone/link.css +9 -0
  236. package/stone/list.css +12 -0
  237. package/stone/mobile-nav.css +7 -0
  238. package/stone/more-menu.css +16 -0
  239. package/stone/nav-menu.css +7 -0
  240. package/stone/overlay.css +8 -0
  241. package/stone/popover.css +9 -0
  242. package/stone/progress-bar.css +15 -0
  243. package/stone/radio.css +8 -0
  244. package/stone/segmented-control.css +15 -0
  245. package/stone/side-nav.css +8 -0
  246. package/stone/skeleton.css +7 -0
  247. package/stone/slider.css +9 -0
  248. package/stone/spinner.css +21 -0
  249. package/stone/status-dot.css +11 -0
  250. package/stone/switch.css +29 -0
  251. package/stone/text-area.css +9 -0
  252. package/stone/text.css +31 -0
  253. package/stone/toast.css +12 -0
  254. package/stone/toggle-button.css +9 -0
  255. package/stone/token.css +28 -0
  256. package/stone/tooltip.css +9 -0
  257. package/stone.css +51 -0
  258. package/y2k/alert-dialog.css +8 -0
  259. package/y2k/avatar-group.css +9 -0
  260. package/y2k/avatar.css +15 -0
  261. package/y2k/badge.css +35 -0
  262. package/y2k/banner.css +15 -0
  263. package/y2k/base.css +250 -0
  264. package/y2k/bottom-sheet.css +13 -0
  265. package/y2k/button.css +30 -0
  266. package/y2k/card.css +23 -0
  267. package/y2k/center.css +7 -0
  268. package/y2k/chat.css +27 -0
  269. package/y2k/checkbox.css +12 -0
  270. package/y2k/citation.css +15 -0
  271. package/y2k/code.css +33 -0
  272. package/y2k/collapsible.css +10 -0
  273. package/y2k/context-menu.css +15 -0
  274. package/y2k/dialog.css +10 -0
  275. package/y2k/divider.css +9 -0
  276. package/y2k/dropdown-menu.css +14 -0
  277. package/y2k/empty-state.css +9 -0
  278. package/y2k/field.css +1 -0
  279. package/y2k/grid.css +7 -0
  280. package/y2k/heading.css +35 -0
  281. package/y2k/hover-card.css +10 -0
  282. package/y2k/icon.css +23 -0
  283. package/y2k/input.css +21 -0
  284. package/y2k/kbd.css +9 -0
  285. package/y2k/link.css +9 -0
  286. package/y2k/list.css +12 -0
  287. package/y2k/mobile-nav.css +7 -0
  288. package/y2k/more-menu.css +16 -0
  289. package/y2k/nav-menu.css +7 -0
  290. package/y2k/overlay.css +8 -0
  291. package/y2k/popover.css +9 -0
  292. package/y2k/progress-bar.css +15 -0
  293. package/y2k/radio.css +8 -0
  294. package/y2k/segmented-control.css +15 -0
  295. package/y2k/side-nav.css +8 -0
  296. package/y2k/skeleton.css +7 -0
  297. package/y2k/slider.css +9 -0
  298. package/y2k/spinner.css +21 -0
  299. package/y2k/status-dot.css +11 -0
  300. package/y2k/switch.css +29 -0
  301. package/y2k/text-area.css +9 -0
  302. package/y2k/text.css +31 -0
  303. package/y2k/toast.css +12 -0
  304. package/y2k/toggle-button.css +9 -0
  305. package/y2k/token.css +28 -0
  306. package/y2k/tooltip.css +9 -0
  307. package/y2k.css +51 -0
@@ -0,0 +1,10 @@
1
+ @layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
2
+
3
+ @layer astryx.tokens {
4
+ [data-astryx-theme='butter'] {
5
+ --astryx-hover-card-background: var(--astryx-color-background-card);
6
+ --astryx-hover-card-foreground: var(--astryx-color-text-primary);
7
+ --astryx-hover-card-shadow: var(--astryx-shadow-low);
8
+ --astryx-hover-card-indication-color: var(--astryx-color-text-primary);
9
+ }
10
+ }
@@ -0,0 +1,23 @@
1
+ @layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
2
+
3
+ @layer astryx.tokens {
4
+ [data-astryx-theme='butter'] {
5
+ --astryx-icon-primary-foreground: var(--astryx-color-text-primary);
6
+ --astryx-icon-secondary-foreground: var(--astryx-color-text-secondary);
7
+ --astryx-icon-disabled-foreground: var(--astryx-color-text-disabled);
8
+ --astryx-icon-accent-foreground: var(--astryx-color-on-accent);
9
+ --astryx-icon-success-foreground: var(--astryx-color-text-green);
10
+ --astryx-icon-error-foreground: var(--astryx-color-text-red);
11
+ --astryx-icon-warning-foreground: var(--astryx-color-text-yellow);
12
+ --astryx-icon-blue-foreground: var(--astryx-color-icon-blue);
13
+ --astryx-icon-cyan-foreground: var(--astryx-color-icon-cyan);
14
+ --astryx-icon-green-foreground: var(--astryx-color-icon-green);
15
+ --astryx-icon-gray-foreground: var(--astryx-color-icon-gray);
16
+ --astryx-icon-orange-foreground: var(--astryx-color-icon-orange);
17
+ --astryx-icon-pink-foreground: var(--astryx-color-icon-pink);
18
+ --astryx-icon-purple-foreground: var(--astryx-color-icon-purple);
19
+ --astryx-icon-red-foreground: var(--astryx-color-icon-red);
20
+ --astryx-icon-teal-foreground: var(--astryx-color-icon-teal);
21
+ --astryx-icon-yellow-foreground: var(--astryx-color-icon-yellow);
22
+ }
23
+ }
@@ -0,0 +1,21 @@
1
+ @layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
2
+
3
+ @layer astryx.tokens {
4
+ [data-astryx-theme='butter'] {
5
+ --astryx-input-background: var(--astryx-color-background-surface);
6
+ --astryx-input-border: var(--astryx-color-border-emphasized);
7
+ --astryx-input-focus: var(--astryx-color-accent);
8
+ --astryx-input-height-sm: 28px;
9
+ --astryx-input-height-md: 32px;
10
+ --astryx-input-height-lg: 36px;
11
+ --astryx-input-error: var(--astryx-color-error);
12
+ --astryx-input-error-foreground: var(--astryx-color-text-red);
13
+ --astryx-input-error-background: var(--astryx-color-error-muted);
14
+ --astryx-input-warning: var(--astryx-color-warning);
15
+ --astryx-input-warning-foreground: var(--astryx-color-text-yellow);
16
+ --astryx-input-warning-background: var(--astryx-color-warning-muted);
17
+ --astryx-input-success: var(--astryx-color-success);
18
+ --astryx-input-success-foreground: var(--astryx-color-text-green);
19
+ --astryx-input-success-background: var(--astryx-color-success-muted);
20
+ }
21
+ }
package/butter/kbd.css ADDED
@@ -0,0 +1,9 @@
1
+ @layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
2
+
3
+ @layer astryx.tokens {
4
+ [data-astryx-theme='butter'] {
5
+ --astryx-kbd-background: var(--astryx-color-background-muted);
6
+ --astryx-kbd-foreground: var(--astryx-color-text-secondary);
7
+ --astryx-kbd-border-color: var(--astryx-color-border-emphasized);
8
+ }
9
+ }
@@ -0,0 +1,9 @@
1
+ @layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
2
+
3
+ @layer astryx.tokens {
4
+ [data-astryx-theme='butter'] {
5
+ --astryx-link-primary-foreground: var(--astryx-color-text-primary);
6
+ --astryx-link-secondary-foreground: var(--astryx-color-text-secondary);
7
+ --astryx-link-accent-foreground: var(--astryx-color-accent);
8
+ }
9
+ }
@@ -0,0 +1,12 @@
1
+ @layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
2
+
3
+ @layer astryx.tokens {
4
+ [data-astryx-theme='butter'] {
5
+ --astryx-list-item-hover-background: var(--astryx-color-overlay-hover);
6
+ --astryx-list-item-pressed-background: var(--astryx-color-overlay-pressed);
7
+ --astryx-list-item-selected-background: var(--astryx-color-accent-muted);
8
+ --astryx-list-item-focus: var(--astryx-color-accent);
9
+ --astryx-list-divider-color: var(--astryx-color-border);
10
+ --astryx-list-marker-foreground: var(--astryx-color-text-primary);
11
+ }
12
+ }
@@ -0,0 +1,7 @@
1
+ @layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
2
+
3
+ @layer astryx.tokens {
4
+ [data-astryx-theme='butter'] {
5
+ --astryx-mobile-nav-width: 320px;
6
+ }
7
+ }
@@ -0,0 +1,16 @@
1
+ @layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
2
+
3
+ @layer astryx.tokens {
4
+ [data-astryx-theme='butter'] {
5
+ --astryx-more-menu-background: var(--astryx-color-background-card);
6
+ --astryx-more-menu-foreground: var(--astryx-color-text-primary);
7
+ --astryx-more-menu-description-foreground: var(--astryx-color-text-secondary);
8
+ --astryx-more-menu-heading-foreground: var(--astryx-color-text-primary);
9
+ --astryx-more-menu-destructive-foreground: var(--astryx-color-text-primary);
10
+ --astryx-more-menu-item-hover-background: var(--astryx-color-overlay-hover);
11
+ --astryx-more-menu-item-pressed-background: var(--astryx-color-overlay-pressed);
12
+ --astryx-more-menu-scrim: var(--astryx-color-overlay);
13
+ --astryx-more-menu-trigger-open-overlay: var(--astryx-color-overlay-pressed);
14
+ --astryx-more-menu-shadow: var(--astryx-shadow-low);
15
+ }
16
+ }
@@ -0,0 +1,7 @@
1
+ @layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
2
+
3
+ @layer astryx.tokens {
4
+ [data-astryx-theme='butter'] {
5
+ --astryx-nav-menu-z: 1000;
6
+ }
7
+ }
@@ -0,0 +1,8 @@
1
+ @layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
2
+
3
+ @layer astryx.tokens {
4
+ [data-astryx-theme='butter'] {
5
+ --astryx-overlay-scrim-background: var(--astryx-color-overlay);
6
+ --astryx-overlay-scrim-light-background: var(--astryx-color-overlay);
7
+ }
8
+ }
@@ -0,0 +1,9 @@
1
+ @layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
2
+
3
+ @layer astryx.tokens {
4
+ [data-astryx-theme='butter'] {
5
+ --astryx-popover-background: var(--astryx-color-background-card);
6
+ --astryx-popover-foreground: var(--astryx-color-text-primary);
7
+ --astryx-popover-shadow: var(--astryx-shadow-low);
8
+ }
9
+ }
@@ -0,0 +1,15 @@
1
+ @layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
2
+
3
+ @layer astryx.tokens {
4
+ [data-astryx-theme='butter'] {
5
+ --astryx-progress-bar-track-height: 8px;
6
+ --astryx-progress-bar-track-height-sm: 4px;
7
+ --astryx-progress-bar-track-height-lg: 12px;
8
+ --astryx-progress-bar-track-background: var(--astryx-color-background-muted);
9
+ --astryx-progress-bar-fill-background: var(--astryx-color-accent);
10
+ --astryx-progress-bar-success-fill: var(--astryx-color-success);
11
+ --astryx-progress-bar-warning-fill: var(--astryx-color-warning);
12
+ --astryx-progress-bar-error-fill: var(--astryx-color-error);
13
+ --astryx-progress-bar-info-fill: var(--astryx-color-background-blue);
14
+ }
15
+ }
@@ -0,0 +1,8 @@
1
+ @layer astryx.reset, astryx.tokens, astryx.base, astyx.components, astryx.overrides;
2
+
3
+ @layer astryx.tokens {
4
+ [data-astryx-theme='butter'] {
5
+ --astryx-radio-size: 18px;
6
+ --astryx-radio-radius: 999px;
7
+ }
8
+ }
@@ -0,0 +1,15 @@
1
+ @layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
2
+
3
+ @layer astryx.tokens {
4
+ [data-astryx-theme='butter'] {
5
+ --astryx-segmented-control-background: var(--astryx-color-background-muted);
6
+ --astryx-segmented-control-focus: var(--astryx-color-accent);
7
+ --astryx-segmented-control-item-foreground: var(--astryx-color-text-primary);
8
+ --astryx-segmented-control-item-hover-background: var(--astryx-color-overlay-hover);
9
+ --astryx-segmented-control-item-pressed-background: var(--astryx-color-overlay-pressed);
10
+ --astryx-segmented-control-item-selected-foreground: var(--astryx-color-text-primary);
11
+ --astryx-segmented-control-item-selected-background: var(--astryx-color-accent-muted);
12
+ --astryx-segmented-control-item-selected-shadow: var(--astryx-shadow-low);
13
+ --astryx-segmented-control-item-disabled-foreground: var(--astryx-color-text-disabled);
14
+ }
15
+ }
@@ -0,0 +1,8 @@
1
+ @layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
2
+
3
+ @layer astryx.tokens {
4
+ [data-astryx-theme='butter'] {
5
+ --astryx-side-nav-width: 260px;
6
+ --astryx-side-nav-collapsed-width: 48px;
7
+ }
8
+ }
@@ -0,0 +1,7 @@
1
+ @layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
2
+
3
+ @layer astryx.tokens {
4
+ [data-astryx-theme='butter'] {
5
+
6
+ }
7
+ }
@@ -0,0 +1,9 @@
1
+ @layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
2
+ @layer astryx.tokens {
3
+ [data-astryx-theme='butter'] {
4
+ --astryx-slider-track: var(--astryx-color-track);
5
+ --astryx-slider-accent: var(--astryx-color-accent);
6
+ --astryx-slider-focus: var(--astryx-color-accent);
7
+ --astryx-slider-height: 160px;
8
+ }
9
+ }
@@ -0,0 +1,21 @@
1
+ @layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
2
+
3
+ @layer astryx.tokens {
4
+ [data-astryx-theme='butter'] {
5
+ --astryx-spinner-diameter-sm: 10px;
6
+ --astryx-spinner-diameter-md: 14px;
7
+ --astryx-spinner-diameter-lg: 18px;
8
+ --astryx-spinner-diameter-xl: 28px;
9
+ --astryx-spinner-stroke-width-sm: 2px;
10
+ --astryx-spinner-stroke-width-md: 3px;
11
+ --astryx-spinner-stroke-width-lg: 3px;
12
+ --astryx-spinner-stroke-width-xl: 4px;
13
+ --astryx-spinner-arc-fraction: 0.375;
14
+ --astryx-spinner-group-gap: 8px;
15
+ --astryx-spinner-label-color: var(--astryx-color-text-secondary);
16
+ --astryx-spinner-color-accent: var(--astryx-color-accent);
17
+ --astryx-spinner-color-subtle: var(--astryx-color-text-secondary);
18
+ --astryx-spinner-color-track: var(--astryx-color-track);
19
+ --astryx-spinner-color-on-dark: var(--astryx-color-on-dark);
20
+ }
21
+ }
@@ -0,0 +1,11 @@
1
+ @layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
2
+
3
+ @layer astryx.tokens {
4
+ [data-astryx-theme='butter'] {
5
+ --astryx-status-dot-neutral-background: var(--astryx-color-background-surface);
6
+ --astryx-status-dot-info-background: var(--astryx-color-background-blue);
7
+ --astryx-status-dot-success-background: var(--astryx-color-success-muted);
8
+ --astryx-status-dot-warning-background: var(--astryx-color-warning-muted);
9
+ --astryx-status-dot-error-background: var(--astryx-color-error-muted);
10
+ }
11
+ }
@@ -0,0 +1,29 @@
1
+ @layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
2
+
3
+ @layer astryx.tokens {
4
+ [data-astryx-theme='butter'] {
5
+ --astryx-switch-track-width: 40px;
6
+ --astryx-switch-track-height: 24px;
7
+ --astryx-switch-track-width-sm: 32px;
8
+ --astryx-switch-track-height-sm: 20px;
9
+ --astryx-switch-track-width-lg: 52px;
10
+ --astryx-switch-track-height-lg: 28px;
11
+ --astryx-switch-track-padding: 4px;
12
+ --astryx-switch-track-padding-sm: 2px;
13
+ --astryx-switch-track-padding-lg: 4px;
14
+ --astryx-switch-thumb-size: 16px;
15
+ --astryx-switch-thumb-size-on: 20px;
16
+ --astryx-switch-thumb-size-sm: 14px;
17
+ --astryx-switch-thumb-size-on-sm: 16px;
18
+ --astryx-switch-thumb-size-lg: 20px;
19
+ --astryx-switch-thumb-size-on-lg: 24px;
20
+ --astryx-switch-thumb-travel: 14px;
21
+ --astryx-switch-thumb-travel-sm: 12px;
22
+ --astryx-switch-thumb-travel-lg: 22px;
23
+ --astryx-switch-track-radius: 999px;
24
+ --astryx-switch-thumb-radius: 999px;
25
+ --astryx-switch-track-off: var(--astryx-color-background-muted);
26
+ --astryx-switch-track-on: var(--astryx-color-accent);
27
+ --astryx-switch-thumb: var(--astryx-color-background-surface);
28
+ }
29
+ }
@@ -0,0 +1,9 @@
1
+ @layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
2
+
3
+ @layer astryx.tokens {
4
+ [data-astryx-theme='butter'] {
5
+ --astryx-text-area-min-height-sm: 64px;
6
+ --astryx-text-area-min-height-md: 80px;
7
+ --astryx-text-area-min-height-lg: 112px;
8
+ }
9
+ }
@@ -0,0 +1,31 @@
1
+ @layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
2
+
3
+ @layer astryx.tokens {
4
+ [data-astryx-theme='butter'] {
5
+ --astryx-text-foreground: var(--astryx-color-text-primary);
6
+
7
+ --astryx-text-supporting-foreground: var(--astryx-color-text-secondary);
8
+
9
+ --astryx-text-display-weight: var(--astryx-text-display-1-weight);
10
+ --astryx-text-sm-size: var(--astryx-font-size-sm);
11
+ --astryx-text-md-size: var(--astryx-font-size-base);
12
+ --astryx-text-lg-size: var(--astryx-font-size-lg);
13
+ --astryx-text-xl-size: var(--astryx-font-size-xl);
14
+
15
+ }
16
+ }
17
+
18
+ @layer astryx.components {
19
+ [data-astryx-theme='butter'] .astryx-heading {
20
+ font-family: var(--astryx-font-family-heading);
21
+ }
22
+
23
+ [data-astryx-theme='butter'] .astryx-text--type-display-1,
24
+ [data-astryx-theme='butter'] .astryx-text--type-display-2,
25
+ [data-astryx-theme='butter'] .astryx-text--type-display-3,
26
+ [data-astryx-theme='butter'] .astryx-heading--type-display-1,
27
+ [data-astryx-theme='butter'] .astryx-heading--type-display-2,
28
+ [data-astryx-theme='butter'] .astryx-heading--type-display-3 {
29
+ font-family: Sarina, 'Brush Script MT', 'Snell Roundhand', cursive;
30
+ }
31
+ }
@@ -0,0 +1,12 @@
1
+ @layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
2
+
3
+ @layer astryx.tokens {
4
+ [data-astryx-theme='butter'] {
5
+ --astryx-toast-info-background: var(--astryx-color-text-primary);
6
+ --astryx-toast-info-foreground: var(--astryx-color-background-body);
7
+ --astryx-toast-success-background: var(--astryx-color-success-muted);
8
+ --astryx-toast-warning-background: var(--astryx-color-warning-muted);
9
+ --astryx-toast-error-background: var(--astryx-color-error-muted);
10
+ --astryx-toast-type-foreground: var(--astryx-color-background-body);
11
+ }
12
+ }
@@ -0,0 +1,9 @@
1
+ @layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
2
+
3
+ @layer astryx.tokens {
4
+ [data-astryx-theme='butter'] {
5
+ --astryx-toggle-button-pressed-background: var(--astryx-color-overlay-pressed);
6
+ --astryx-toggle-button-pressed-font-weight: 600;
7
+ --astryx-toggle-button-group-gap: 4px;
8
+ }
9
+ }
@@ -0,0 +1,28 @@
1
+ @layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
2
+
3
+ @layer astryx.tokens {
4
+ [data-astryx-theme='butter'] {
5
+ --astryx-token-default-background: var(--astryx-badge-neutral-background);
6
+ --astryx-token-default-foreground: var(--astryx-badge-neutral-foreground);
7
+ --astryx-token-gray-background: var(--astryx-badge-neutral-background);
8
+ --astryx-token-gray-foreground: var(--astryx-badge-neutral-foreground);
9
+ --astryx-token-blue-background: var(--astryx-badge-blue-background);
10
+ --astryx-token-blue-foreground: var(--astryx-badge-blue-foreground);
11
+ --astryx-token-cyan-background: var(--astryx-badge-cyan-background);
12
+ --astryx-token-cyan-foreground: var(--astryx-badge-cyan-foreground);
13
+ --astryx-token-green-background: var(--astryx-badge-green-background);
14
+ --astryx-token-green-foreground: var(--astryx-badge-green-foreground);
15
+ --astryx-token-orange-background: var(--astryx-badge-orange-background);
16
+ --astryx-token-orange-foreground: var(--astryx-badge-orange-foreground);
17
+ --astryx-token-pink-background: var(--astryx-badge-pink-background);
18
+ --astryx-token-pink-foreground: var(--astryx-badge-pink-foreground);
19
+ --astryx-token-purple-background: var(--astryx-badge-purple-background);
20
+ --astryx-token-purple-foreground: var(--astryx-badge-purple-foreground);
21
+ --astryx-token-red-background: var(--astryx-badge-red-background);
22
+ --astryx-token-red-foreground: var(--astryx-badge-red-foreground);
23
+ --astryx-token-teal-background: var(--astryx-badge-teal-background);
24
+ --astryx-token-teal-foreground: var(--astryx-badge-teal-foreground);
25
+ --astryx-token-yellow-background: var(--astryx-badge-yellow-background);
26
+ --astryx-token-yellow-foreground: var(--astryx-badge-yellow-foreground);
27
+ }
28
+ }
@@ -0,0 +1,9 @@
1
+ @layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
2
+
3
+ @layer astryx.tokens {
4
+ [data-astryx-theme='butter'] {
5
+ --astryx-tooltip-background: var(--astryx-color-text-primary);
6
+ --astryx-tooltip-foreground: var(--astryx-color-background-body);
7
+ --astryx-tooltip-indication-color: var(--astryx-color-text-primary);
8
+ }
9
+ }
package/butter.css ADDED
@@ -0,0 +1,51 @@
1
+ /* 这个文件由 `pnpm sync` 生成,不要手改。 */
2
+ @import './fonts.css';
3
+ @import './butter/alert-dialog.css';
4
+ @import './butter/avatar.css';
5
+ @import './butter/avatar-group.css';
6
+ @import './butter/badge.css';
7
+ @import './butter/banner.css';
8
+ @import './butter/base.css';
9
+ @import './butter/bottom-sheet.css';
10
+ @import './butter/button.css';
11
+ @import './butter/card.css';
12
+ @import './butter/center.css';
13
+ @import './butter/chat.css';
14
+ @import './butter/checkbox.css';
15
+ @import './butter/citation.css';
16
+ @import './butter/code.css';
17
+ @import './butter/collapsible.css';
18
+ @import './butter/context-menu.css';
19
+ @import './butter/dialog.css';
20
+ @import './butter/divider.css';
21
+ @import './butter/dropdown-menu.css';
22
+ @import './butter/empty-state.css';
23
+ @import './butter/field.css';
24
+ @import './butter/grid.css';
25
+ @import './butter/heading.css';
26
+ @import './butter/hover-card.css';
27
+ @import './butter/icon.css';
28
+ @import './butter/input.css';
29
+ @import './butter/kbd.css';
30
+ @import './butter/link.css';
31
+ @import './butter/list.css';
32
+ @import './butter/mobile-nav.css';
33
+ @import './butter/more-menu.css';
34
+ @import './butter/nav-menu.css';
35
+ @import './butter/overlay.css';
36
+ @import './butter/popover.css';
37
+ @import './butter/progress-bar.css';
38
+ @import './butter/radio.css';
39
+ @import './butter/segmented-control.css';
40
+ @import './butter/side-nav.css';
41
+ @import './butter/skeleton.css';
42
+ @import './butter/slider.css';
43
+ @import './butter/spinner.css';
44
+ @import './butter/status-dot.css';
45
+ @import './butter/switch.css';
46
+ @import './butter/text.css';
47
+ @import './butter/text-area.css';
48
+ @import './butter/toast.css';
49
+ @import './butter/toggle-button.css';
50
+ @import './butter/token.css';
51
+ @import './butter/tooltip.css';
@@ -0,0 +1,8 @@
1
+ @layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
2
+
3
+ @layer astryx.tokens {
4
+ [data-astryx-theme='chocolate'] {
5
+ --astryx-alert-dialog-title-foreground: var(--astryx-color-text-primary);
6
+ --astryx-alert-dialog-description-foreground: var(--astryx-color-text-secondary);
7
+ }
8
+ }
@@ -0,0 +1,9 @@
1
+ @layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
2
+
3
+ @layer astryx.tokens {
4
+ [data-astryx-theme='chocolate'] {
5
+ --astryx-avatar-group-border-color: var(--astryx-color-border);
6
+ --astryx-avatar-group-overflow-background: var(--astryx-color-background-surface);
7
+ --astryx-avatar-group-overflow-foreground: var(--astryx-color-text-primary);
8
+ }
9
+ }
@@ -0,0 +1,15 @@
1
+ @layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
2
+
3
+ @layer astryx.tokens {
4
+ [data-astryx-theme='chocolate'] {
5
+ --astryx-avatar-fallback-background: var(--astryx-color-background-surface);
6
+ --astryx-avatar-fallback-foreground: var(--astryx-color-text-primary);
7
+ --astryx-avatar-status-dot-border-color: var(--astryx-color-border);
8
+
9
+ --astryx-avatar-status-dot-neutral-background: var(--astryx-color-background-surface);
10
+ --astryx-avatar-status-dot-info-background: var(--astryx-color-background-blue);
11
+ --astryx-avatar-status-dot-success-background: var(--astryx-color-success-muted);
12
+ --astryx-avatar-status-dot-warning-background: var(--astryx-color-warning-muted);
13
+ --astryx-avatar-status-dot-error-background: var(--astryx-color-error-muted);
14
+ }
15
+ }
@@ -0,0 +1,35 @@
1
+ @layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
2
+
3
+ @layer astryx.tokens {
4
+ [data-astryx-theme='chocolate'] {
5
+ --astryx-badge-neutral-background: var(--astryx-color-background-gray);
6
+ --astryx-badge-neutral-foreground: var(--astryx-color-text-gray);
7
+ --astryx-badge-info-background: var(--astryx-color-background-blue);
8
+ --astryx-badge-info-foreground: var(--astryx-color-text-blue);
9
+ --astryx-badge-success-background: var(--astryx-color-success);
10
+ --astryx-badge-success-foreground: var(--astryx-color-on-success);
11
+ --astryx-badge-warning-background: var(--astryx-color-warning);
12
+ --astryx-badge-warning-foreground: var(--astryx-color-on-warning);
13
+ --astryx-badge-error-background: var(--astryx-color-error);
14
+ --astryx-badge-error-foreground: var(--astryx-color-on-error);
15
+
16
+ --astryx-badge-blue-background: var(--astryx-color-background-blue);
17
+ --astryx-badge-blue-foreground: var(--astryx-color-text-blue);
18
+ --astryx-badge-cyan-background: var(--astryx-color-background-cyan);
19
+ --astryx-badge-cyan-foreground: var(--astryx-color-text-cyan);
20
+ --astryx-badge-green-background: var(--astryx-color-background-green);
21
+ --astryx-badge-green-foreground: var(--astryx-color-text-green);
22
+ --astryx-badge-orange-background: var(--astryx-color-background-orange);
23
+ --astryx-badge-orange-foreground: var(--astryx-color-text-orange);
24
+ --astryx-badge-pink-background: var(--astryx-color-background-pink);
25
+ --astryx-badge-pink-foreground: var(--astryx-color-text-pink);
26
+ --astryx-badge-purple-background: var(--astryx-color-background-purple);
27
+ --astryx-badge-purple-foreground: var(--astryx-color-text-purple);
28
+ --astryx-badge-red-background: var(--astryx-color-background-red);
29
+ --astryx-badge-red-foreground: var(--astryx-color-text-red);
30
+ --astryx-badge-teal-background: var(--astryx-color-background-teal);
31
+ --astryx-badge-teal-foreground: var(--astryx-color-text-teal);
32
+ --astryx-badge-yellow-background: var(--astryx-color-background-yellow);
33
+ --astryx-badge-yellow-foreground: var(--astryx-color-text-yellow);
34
+ }
35
+ }
@@ -0,0 +1,15 @@
1
+ @layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
2
+ @layer astryx.tokens {
3
+ [data-astryx-theme='chocolate'] {
4
+ --astryx-banner-info-background: var(--astryx-color-background-blue);
5
+ --astryx-banner-info-foreground: var(--astryx-color-text-blue);
6
+ --astryx-banner-error-background: var(--astryx-color-error-muted);
7
+ --astryx-banner-error-foreground: var(--astryx-color-text-red);
8
+ --astryx-banner-warning-background: var(--astryx-color-warning-muted);
9
+ --astryx-banner-warning-foreground: var(--astryx-color-text-yellow);
10
+ --astryx-banner-success-background: var(--astryx-color-success-muted);
11
+ --astryx-banner-success-foreground: var(--astryx-color-text-green);
12
+ --astryx-banner-content-background: var(--astryx-color-background-surface);
13
+ --astryx-banner-border: var(--astryx-color-border);
14
+ }
15
+ }