@stacksjs/ts-cloud 0.9.2 → 0.9.4

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 (191) hide show
  1. package/dist/aws/index.js +1 -269
  2. package/dist/bin/chunk-00kg80qg.js +1 -0
  3. package/dist/bin/chunk-09nwf2gy.js +34 -0
  4. package/dist/bin/chunk-1k5kszjp.js +111 -0
  5. package/dist/bin/chunk-21e0mavm.js +1 -0
  6. package/dist/bin/chunk-271gk1n2.js +6 -0
  7. package/dist/bin/chunk-2empps47.js +2 -0
  8. package/dist/bin/chunk-38pq971s.js +2 -0
  9. package/dist/bin/chunk-3gykfyq4.js +37 -0
  10. package/dist/bin/chunk-3vqfexc4.js +70 -0
  11. package/dist/bin/chunk-4vrqm9h0.js +2 -0
  12. package/dist/bin/chunk-598yf4bs.js +1 -0
  13. package/dist/bin/chunk-5ectjq0b.js +1 -0
  14. package/dist/bin/chunk-5erkxpt7.js +512 -0
  15. package/dist/bin/chunk-5mrtzemj.js +1 -0
  16. package/dist/bin/chunk-5n9fmabb.js +1 -0
  17. package/dist/bin/chunk-9knpg30y.js +1 -0
  18. package/dist/bin/chunk-9pvsff8g.js +1 -0
  19. package/dist/bin/chunk-ax9mr6wm.js +44 -0
  20. package/dist/bin/chunk-axhnkn5g.js +2 -0
  21. package/dist/bin/chunk-c1vcdgvr.js +1 -0
  22. package/dist/bin/chunk-ctd2vg9w.js +2 -0
  23. package/dist/bin/chunk-dbgffky8.js +1 -0
  24. package/dist/bin/chunk-ddk4rt4j.js +6 -0
  25. package/dist/bin/chunk-dwr30vbv.js +1 -0
  26. package/dist/bin/chunk-e0rkrq70.js +1 -0
  27. package/dist/bin/chunk-e3xrwh9z.js +1 -0
  28. package/dist/bin/chunk-etrb03mt.js +1507 -0
  29. package/dist/bin/chunk-fhc6ntvd.js +2 -0
  30. package/dist/bin/chunk-fpm59y25.js +6 -0
  31. package/dist/bin/chunk-fvbxvq6b.js +1 -0
  32. package/dist/bin/chunk-fy8j3y8p.js +92 -0
  33. package/dist/bin/chunk-fz21b57w.js +1 -0
  34. package/dist/bin/chunk-gavvf0pg.js +141 -0
  35. package/dist/bin/chunk-ggn7ax8p.js +4 -0
  36. package/dist/bin/chunk-gpe2prkm.js +1 -0
  37. package/dist/bin/chunk-h5pa5men.js +2 -0
  38. package/dist/bin/chunk-hm08xdxf.js +2 -0
  39. package/dist/bin/chunk-hzgz13nf.js +1 -0
  40. package/dist/bin/chunk-j703btc5.js +50 -0
  41. package/dist/bin/chunk-k9t9wvms.js +1 -0
  42. package/dist/bin/chunk-m669wtgr.js +1 -0
  43. package/dist/bin/chunk-m7dgskt1.js +1 -0
  44. package/dist/bin/chunk-mh0kdzqp.js +2 -0
  45. package/dist/bin/chunk-mr0atd2s.js +2 -0
  46. package/dist/bin/chunk-mz0wbbsj.js +3 -0
  47. package/dist/bin/chunk-ngcyftm2.js +1 -0
  48. package/dist/bin/chunk-p66ptpmr.js +2 -0
  49. package/dist/bin/chunk-qk9qgepa.js +1 -0
  50. package/dist/bin/chunk-rxcvf10f.js +7364 -0
  51. package/dist/bin/chunk-rytk89az.js +60 -0
  52. package/dist/bin/chunk-tga3hhwk.js +6 -0
  53. package/dist/bin/chunk-tx0tqq2k.js +8 -0
  54. package/dist/bin/chunk-vek8a0w6.js +1 -0
  55. package/dist/bin/chunk-vm3q5gf2.js +3 -0
  56. package/dist/bin/chunk-y7s5r8y6.js +3 -0
  57. package/dist/bin/chunk-yv9sth30.js +1 -0
  58. package/dist/bin/chunk-zmegvjp8.js +581 -0
  59. package/dist/bin/cli.js +417 -10597
  60. package/dist/bin/dashboard-server.js +1 -6998
  61. package/dist/chunk-0ccta6z6.js +6 -0
  62. package/dist/chunk-0k1cs6pp.js +1 -0
  63. package/dist/chunk-1egjn203.js +704 -0
  64. package/dist/chunk-2wx29qga.js +5 -0
  65. package/dist/chunk-5m5rqmv7.js +1 -0
  66. package/dist/chunk-8ea5022g.js +114 -0
  67. package/dist/chunk-8xqn3c0w.js +2 -0
  68. package/dist/chunk-b4esxhmw.js +2 -0
  69. package/dist/chunk-b8e5wzwn.js +44 -0
  70. package/dist/chunk-bggt4n6e.js +2 -0
  71. package/dist/chunk-cwkg37rs.js +37 -0
  72. package/dist/chunk-dskvqt67.js +7355 -0
  73. package/dist/chunk-gahsdmxf.js +1617 -0
  74. package/dist/chunk-gnv3r2jg.js +1 -0
  75. package/dist/chunk-hg3c48cp.js +34 -0
  76. package/dist/chunk-m5azeva3.js +2 -0
  77. package/dist/chunk-r3qf56b3.js +92 -0
  78. package/dist/chunk-sdqa9ghv.js +141 -0
  79. package/dist/chunk-svrvvcm7.js +1 -0
  80. package/dist/chunk-v0p3hpc3.js +60 -0
  81. package/dist/chunk-wdzjbecg.js +50 -0
  82. package/dist/chunk-ww8k3g7j.js +1 -0
  83. package/dist/chunk-xmqfc62w.js +1 -0
  84. package/dist/chunk-xrebj679.js +435 -0
  85. package/dist/chunk-xt3s24vr.js +2 -0
  86. package/dist/chunk-y21zk0pn.js +4 -0
  87. package/dist/deploy/attach-credentials.d.ts +57 -0
  88. package/dist/deploy/index.js +1 -168
  89. package/dist/deploy/site-ports.d.ts +151 -0
  90. package/dist/deploy/site-target.d.ts +24 -1
  91. package/dist/dns/index.js +1 -41
  92. package/dist/drivers/index.js +1 -154
  93. package/dist/index.js +100 -6129
  94. package/dist/protection/index.js +1 -89
  95. package/dist/push/index.js +1 -509
  96. package/dist/spend/index.js +1 -173
  97. package/dist/ui/404.html +16 -548
  98. package/dist/ui/_stx/chunk.5ddb5087.js +90 -0
  99. package/dist/ui/_stx/chunk.9fd39d5b.js +86 -0
  100. package/dist/ui/_stx/chunk.d5301f79.js +119 -0
  101. package/dist/ui/_stx/crosswind.222ed683.css +1 -0
  102. package/dist/ui/_stx/crosswind.616c25f3.css +1 -0
  103. package/dist/ui/_stx/crosswind.80baa894.css +320 -0
  104. package/dist/ui/_stx/crosswind.906ee17c.css +1 -0
  105. package/dist/ui/_stx/crosswind.996ed49e.css +1 -0
  106. package/dist/ui/_stx/crosswind.b7a99a5c.css +1 -0
  107. package/dist/ui/_stx/router.fa5bc4dc.js +4 -0
  108. package/dist/ui/_stx/runtime.c696d17a.js +1 -0
  109. package/dist/ui/_stx/style.448ab192.css +1 -0
  110. package/dist/ui/accept-invitation.html +2 -1133
  111. package/dist/ui/access-denied.html +7 -1130
  112. package/dist/ui/account/automation.html +12 -1134
  113. package/dist/ui/account/security.html +13 -1136
  114. package/dist/ui/applications/compose.html +12 -1134
  115. package/dist/ui/applications/new.html +13 -1137
  116. package/dist/ui/data/backups.html +91 -1136
  117. package/dist/ui/data/services.html +89 -1136
  118. package/dist/ui/data/volumes.html +61 -1136
  119. package/dist/ui/index.html +60 -1136
  120. package/dist/ui/infrastructure/topology.html +128 -1135
  121. package/dist/ui/integrations.html +13 -1138
  122. package/dist/ui/operations/alerts.html +59 -1136
  123. package/dist/ui/operations/configuration.html +13 -1135
  124. package/dist/ui/operations/jobs.html +87 -1136
  125. package/dist/ui/operations/maintenance.html +12 -1134
  126. package/dist/ui/operations/observability.html +93 -1136
  127. package/dist/ui/operations/previews.html +12 -1134
  128. package/dist/ui/operations/queue.html +12 -1134
  129. package/dist/ui/operations/regions.html +12 -1134
  130. package/dist/ui/operations/releases.html +12 -1134
  131. package/dist/ui/operations/spend.html +65 -1136
  132. package/dist/ui/operations/workloads.html +115 -1136
  133. package/dist/ui/robots.txt +2 -0
  134. package/dist/ui/security.html +24 -1136
  135. package/dist/ui/server/actions.html +67 -1138
  136. package/dist/ui/server/activity.html +7 -1130
  137. package/dist/ui/server/capacity.html +12 -1134
  138. package/dist/ui/server/database.html +166 -1135
  139. package/dist/ui/server/deployments.html +60 -1136
  140. package/dist/ui/server/diagnostics.html +7 -1130
  141. package/dist/ui/server/firewall.html +286 -1212
  142. package/dist/ui/server/fleet.html +45 -1136
  143. package/dist/ui/server/logs.html +34 -1135
  144. package/dist/ui/server/metrics.html +124 -1140
  145. package/dist/ui/server/security.html +7 -1130
  146. package/dist/ui/server/services.html +46 -1133
  147. package/dist/ui/server/sites.html +287 -1137
  148. package/dist/ui/server/ssh-keys.html +62 -1135
  149. package/dist/ui/server/team.html +155 -1136
  150. package/dist/ui/server/terminal.html +97 -1183
  151. package/dist/ui/serverless/alarms.html +62 -1135
  152. package/dist/ui/serverless/assets.html +47 -1132
  153. package/dist/ui/serverless/cost.html +7 -1130
  154. package/dist/ui/serverless/data.html +46 -1135
  155. package/dist/ui/serverless/deployments.html +47 -1132
  156. package/dist/ui/serverless/firewall.html +7 -1130
  157. package/dist/ui/serverless/functions.html +50 -1136
  158. package/dist/ui/serverless/logs.html +34 -1135
  159. package/dist/ui/serverless/metrics.html +7 -1130
  160. package/dist/ui/serverless/queues.html +58 -1135
  161. package/dist/ui/serverless/secrets.html +62 -1136
  162. package/dist/ui/serverless/traces.html +12 -1134
  163. package/dist/ui/serverless.html +64 -1137
  164. package/dist/ui-src/pages/server/firewall.stx +14 -14
  165. package/package.json +3 -3
  166. package/dist/chunk-01d86gt1.js +0 -1324
  167. package/dist/chunk-050r7ycy.js +0 -46516
  168. package/dist/chunk-29rse4p1.js +0 -12203
  169. package/dist/chunk-32e7ya18.js +0 -642
  170. package/dist/chunk-4cjrg98a.js +0 -597
  171. package/dist/chunk-50jpda9q.js +0 -371
  172. package/dist/chunk-6a1t7fnq.js +0 -12121
  173. package/dist/chunk-728jvrr0.js +0 -1701
  174. package/dist/chunk-7m60qnc8.js +0 -1762
  175. package/dist/chunk-aa2dkn7b.js +0 -205
  176. package/dist/chunk-d48vtdj4.js +0 -433
  177. package/dist/chunk-f55nkpvb.js +0 -8
  178. package/dist/chunk-fgk8cqew.js +0 -152
  179. package/dist/chunk-he9a874b.js +0 -769
  180. package/dist/chunk-hg7rhrgd.js +0 -7274
  181. package/dist/chunk-k2yyatfw.js +0 -10
  182. package/dist/chunk-k4px0bnv.js +0 -23
  183. package/dist/chunk-nsgqsmrh.js +0 -1779
  184. package/dist/chunk-qr803fye.js +0 -2122
  185. package/dist/chunk-rds0sy87.js +0 -1771
  186. package/dist/chunk-rxgchb08.js +0 -42033
  187. package/dist/chunk-ttz2ra5j.js +0 -12
  188. package/dist/chunk-v0bahtg2.js +0 -4
  189. package/dist/chunk-va2yd85b.js +0 -200
  190. package/dist/chunk-x9s0cqfx.js +0 -13
  191. package/dist/chunk-zqtpg06c.js +0 -1752
@@ -0,0 +1,90 @@
1
+ ;(function(){
2
+ window.__composables = window.__composables || {};
3
+ var __c = window.__composables;
4
+ var __stx = window.stx || {};
5
+
6
+
7
+ class DashboardRequestError extends Error {
8
+ status;
9
+ payload;
10
+ constructor(message, status, payload) {
11
+ super(message);
12
+ this.status = status;
13
+ this.payload = payload;
14
+ this.name = "DashboardRequestError";
15
+ }
16
+ }
17
+ async function requestJson(url, init) {
18
+ const response = await fetch(url, init);
19
+ const text = await response.text();
20
+ let payload = {};
21
+ if (text) {
22
+ try {
23
+ payload = JSON.parse(text);
24
+ } catch {
25
+ payload = {
26
+ error: text.replace(/<[^>]+>/g, " ").replace(/\s+/g, " ").trim().slice(0, 500)
27
+ };
28
+ }
29
+ }
30
+ if (!response.ok || payload.ok === false) {
31
+ const message = typeof payload.error === "string" && payload.error.trim() ? payload.error : `Request failed with HTTP ${response.status}.`;
32
+ throw new DashboardRequestError(message, response.status, payload);
33
+ }
34
+ return payload;
35
+ }
36
+
37
+
38
+ function servedWithoutApi(error) {
39
+ const status = error?.status;
40
+ return status === 404 || status === 405 || status === 501;
41
+ }
42
+ function usePolling(task, intervalMs, options = {}) {
43
+ const pollingState = state("loading");
44
+ const pollingError = state("");
45
+ const lastUpdatedAt = state(null);
46
+ const isSnapshot = state(false);
47
+ const pollingLabel = derived(() => pollingState());
48
+ const interval = useInterval(intervalMs);
49
+ async function refresh() {
50
+ try {
51
+ await task();
52
+ pollingState.set("live");
53
+ pollingError.set("");
54
+ isSnapshot.set(false);
55
+ lastUpdatedAt.set(new Date);
56
+ } catch (error) {
57
+ if (options.snapshotWhenApiMissing && servedWithoutApi(error)) {
58
+ isSnapshot.set(true);
59
+ pollingState.set("snapshot");
60
+ pollingError.set("");
61
+ interval.pause();
62
+ return;
63
+ }
64
+ pollingState.set("stale");
65
+ pollingError.set(error instanceof Error ? error.message : String(error));
66
+ }
67
+ }
68
+ interval.subscribe(refresh);
69
+ onMount(() => {
70
+ refresh();
71
+ });
72
+ return { pollingState, pollingError, pollingLabel, lastUpdatedAt, isSnapshot, refresh };
73
+ }
74
+ try { __c["DashboardRequestError"] = DashboardRequestError; } catch (e) {}
75
+ try { __c["requestJson"] = requestJson; } catch (e) {}
76
+ try { __c["usePolling"] = usePolling; } catch (e) {}
77
+ var __names = ["DashboardRequestError","requestJson","usePolling"];
78
+ for (var __i = 0; __i < __names.length; __i++) {
79
+ var __n = __names[__i];
80
+ if (!(__n in __c)) continue;
81
+ var __takenByBuiltin = !!(window.stx && __n in window.stx);
82
+ if (__takenByBuiltin || __n in window) {
83
+ console.warn('[stx] composable "' + __n + '" is not available as a bare identifier: '
84
+ + (__takenByBuiltin ? 'a built-in of that name already exists' : 'window already defines that property')
85
+ + '. Rename it, or use: import { ' + __n + ' } from "@composables"');
86
+ continue;
87
+ }
88
+ window[__n] = __c[__n];
89
+ }
90
+ })();
@@ -0,0 +1,86 @@
1
+ ;(function(){
2
+ window.__composables = window.__composables || {};
3
+ var __c = window.__composables;
4
+ var __stx = window.stx || {};
5
+
6
+
7
+ const DANGEROUS_OPERATION = /(?:^|:)(?:delete|disable|destroy|purge|remove|restore|rollback|stop)(?::|$)/i;
8
+ function operationIsDangerous(operation) {
9
+ return operation.danger ?? DANGEROUS_OPERATION.test(operation.operation);
10
+ }
11
+ function useOpConfirm(execute) {
12
+ const opOutput = state("");
13
+ const opShown = state(false);
14
+ const pending = state(null);
15
+ const typed = state("");
16
+ const busy = state(false);
17
+ const confirmInput = useRef("opConfirmInput");
18
+ const confirmTok = derived(() => pending()?.confirm ?? "");
19
+ const confirmVerb = derived(() => pending()?.verb ?? "");
20
+ const confirmDanger = derived(() => pending() ? operationIsDangerous(pending()) : false);
21
+ const confirmLabel = derived(() => pending()?.label ?? (confirmDanger() ? "Confirm operation" : "Run operation"));
22
+ const canRun = derived(() => !!pending() && !busy() && typed() === pending().confirm);
23
+ function askOp(operation, confirm, verb, to, apiConfirm, options = {}) {
24
+ pending.set({ ...options, operation, confirm, verb, to: to ?? null, apiConfirm: apiConfirm || confirm });
25
+ typed.set("");
26
+ confirmInput.current?.focus();
27
+ confirmInput.current?.scrollIntoView({ behavior: "smooth", block: "nearest" });
28
+ }
29
+ function cancelOp() {
30
+ if (busy())
31
+ return;
32
+ pending.set(null);
33
+ typed.set("");
34
+ }
35
+ async function runOp() {
36
+ const operation = pending();
37
+ if (!operation || busy() || typed() !== operation.confirm)
38
+ return;
39
+ busy.set(true);
40
+ opShown.set(true);
41
+ opOutput.set(`Running ${operation.operation}...`);
42
+ try {
43
+ const result = await execute(operation);
44
+ opOutput.set(typeof result === "string" ? result : result.output);
45
+ pending.set(null);
46
+ typed.set("");
47
+ } catch (error) {
48
+ opOutput.set(`FAILED ${operation.operation}
49
+
50
+ ${error instanceof Error ? error.message : String(error)}`);
51
+ } finally {
52
+ busy.set(false);
53
+ }
54
+ }
55
+ return {
56
+ opOutput,
57
+ opShown,
58
+ pending,
59
+ typed,
60
+ busy,
61
+ confirmTok,
62
+ confirmVerb,
63
+ confirmDanger,
64
+ confirmLabel,
65
+ canRun,
66
+ askOp,
67
+ cancelOp,
68
+ runOp
69
+ };
70
+ }
71
+ try { __c["operationIsDangerous"] = operationIsDangerous; } catch (e) {}
72
+ try { __c["useOpConfirm"] = useOpConfirm; } catch (e) {}
73
+ var __names = ["operationIsDangerous","useOpConfirm"];
74
+ for (var __i = 0; __i < __names.length; __i++) {
75
+ var __n = __names[__i];
76
+ if (!(__n in __c)) continue;
77
+ var __takenByBuiltin = !!(window.stx && __n in window.stx);
78
+ if (__takenByBuiltin || __n in window) {
79
+ console.warn('[stx] composable "' + __n + '" is not available as a bare identifier: '
80
+ + (__takenByBuiltin ? 'a built-in of that name already exists' : 'window already defines that property')
81
+ + '. Rename it, or use: import { ' + __n + ' } from "@composables"');
82
+ continue;
83
+ }
84
+ window[__n] = __c[__n];
85
+ }
86
+ })();
@@ -0,0 +1,119 @@
1
+ ;(function(){
2
+ window.__composables = window.__composables || {};
3
+ var __c = window.__composables;
4
+ var __stx = window.stx || {};
5
+
6
+
7
+ class DashboardRequestError extends Error {
8
+ status;
9
+ payload;
10
+ constructor(message, status, payload) {
11
+ super(message);
12
+ this.status = status;
13
+ this.payload = payload;
14
+ this.name = "DashboardRequestError";
15
+ }
16
+ }
17
+ async function requestJson(url, init) {
18
+ const response = await fetch(url, init);
19
+ const text = await response.text();
20
+ let payload = {};
21
+ if (text) {
22
+ try {
23
+ payload = JSON.parse(text);
24
+ } catch {
25
+ payload = {
26
+ error: text.replace(/<[^>]+>/g, " ").replace(/\s+/g, " ").trim().slice(0, 500)
27
+ };
28
+ }
29
+ }
30
+ if (!response.ok || payload.ok === false) {
31
+ const message = typeof payload.error === "string" && payload.error.trim() ? payload.error : `Request failed with HTTP ${response.status}.`;
32
+ throw new DashboardRequestError(message, response.status, payload);
33
+ }
34
+ return payload;
35
+ }
36
+
37
+
38
+ const DANGEROUS_OPERATION = /(?:^|:)(?:delete|disable|destroy|purge|remove|restore|rollback|stop)(?::|$)/i;
39
+ function operationIsDangerous(operation) {
40
+ return operation.danger ?? DANGEROUS_OPERATION.test(operation.operation);
41
+ }
42
+ function useOpConfirm(execute) {
43
+ const opOutput = state("");
44
+ const opShown = state(false);
45
+ const pending = state(null);
46
+ const typed = state("");
47
+ const busy = state(false);
48
+ const confirmInput = useRef("opConfirmInput");
49
+ const confirmTok = derived(() => pending()?.confirm ?? "");
50
+ const confirmVerb = derived(() => pending()?.verb ?? "");
51
+ const confirmDanger = derived(() => pending() ? operationIsDangerous(pending()) : false);
52
+ const confirmLabel = derived(() => pending()?.label ?? (confirmDanger() ? "Confirm operation" : "Run operation"));
53
+ const canRun = derived(() => !!pending() && !busy() && typed() === pending().confirm);
54
+ function askOp(operation, confirm, verb, to, apiConfirm, options = {}) {
55
+ pending.set({ ...options, operation, confirm, verb, to: to ?? null, apiConfirm: apiConfirm || confirm });
56
+ typed.set("");
57
+ confirmInput.current?.focus();
58
+ confirmInput.current?.scrollIntoView({ behavior: "smooth", block: "nearest" });
59
+ }
60
+ function cancelOp() {
61
+ if (busy())
62
+ return;
63
+ pending.set(null);
64
+ typed.set("");
65
+ }
66
+ async function runOp() {
67
+ const operation = pending();
68
+ if (!operation || busy() || typed() !== operation.confirm)
69
+ return;
70
+ busy.set(true);
71
+ opShown.set(true);
72
+ opOutput.set(`Running ${operation.operation}...`);
73
+ try {
74
+ const result = await execute(operation);
75
+ opOutput.set(typeof result === "string" ? result : result.output);
76
+ pending.set(null);
77
+ typed.set("");
78
+ } catch (error) {
79
+ opOutput.set(`FAILED ${operation.operation}
80
+
81
+ ${error instanceof Error ? error.message : String(error)}`);
82
+ } finally {
83
+ busy.set(false);
84
+ }
85
+ }
86
+ return {
87
+ opOutput,
88
+ opShown,
89
+ pending,
90
+ typed,
91
+ busy,
92
+ confirmTok,
93
+ confirmVerb,
94
+ confirmDanger,
95
+ confirmLabel,
96
+ canRun,
97
+ askOp,
98
+ cancelOp,
99
+ runOp
100
+ };
101
+ }
102
+ try { __c["DashboardRequestError"] = DashboardRequestError; } catch (e) {}
103
+ try { __c["requestJson"] = requestJson; } catch (e) {}
104
+ try { __c["operationIsDangerous"] = operationIsDangerous; } catch (e) {}
105
+ try { __c["useOpConfirm"] = useOpConfirm; } catch (e) {}
106
+ var __names = ["DashboardRequestError","requestJson","operationIsDangerous","useOpConfirm"];
107
+ for (var __i = 0; __i < __names.length; __i++) {
108
+ var __n = __names[__i];
109
+ if (!(__n in __c)) continue;
110
+ var __takenByBuiltin = !!(window.stx && __n in window.stx);
111
+ if (__takenByBuiltin || __n in window) {
112
+ console.warn('[stx] composable "' + __n + '" is not available as a bare identifier: '
113
+ + (__takenByBuiltin ? 'a built-in of that name already exists' : 'window already defines that property')
114
+ + '. Rename it, or use: import { ' + __n + ' } from "@composables"');
115
+ continue;
116
+ }
117
+ window[__n] = __c[__n];
118
+ }
119
+ })();
@@ -0,0 +1 @@
1
+ /* stx role tokens — override any of these to re-theme by meaning. */ :root { --stx-fg: oklch(21% 0.034 264.665); --stx-fg-strong: oklch(37.3% 0.034 259.733); --stx-fg-muted: oklch(44.6% 0.03 256.802); --stx-fg-soft: oklch(55.1% 0.027 264.364); --stx-fg-subtle: oklch(70.7% 0.022 261.325); --stx-surface: oklch(98.5% 0.002 247.839); --stx-surface-raised: oklch(96.7% 0.003 264.542); --stx-surface-sunken: oklch(92.8% 0.006 264.531); --stx-line: oklch(92.8% 0.006 264.531); --stx-line-strong: oklch(87.2% 0.01 258.338); --stx-accent: oklch(51.1% 0.262 276.966); --stx-info: oklch(54.6% 0.245 262.881); --stx-danger: oklch(57.7% 0.245 27.325); --stx-success: oklch(62.7% 0.194 149.214); --stx-warning: oklch(79.5% 0.184 86.047); --stx-accent-solid: oklch(51.1% 0.262 276.966); --stx-info-solid: oklch(54.6% 0.245 262.881); --stx-danger-solid: oklch(57.7% 0.245 27.325); --stx-success-solid: oklch(62.7% 0.194 149.214); } .dark { --stx-fg: oklch(96.7% 0.003 264.542); --stx-fg-strong: oklch(87.2% 0.01 258.338); --stx-fg-muted: oklch(70.7% 0.022 261.325); --stx-fg-soft: oklch(70.7% 0.022 261.325); --stx-fg-subtle: oklch(55.1% 0.027 264.364); --stx-surface: oklch(27.8% 0.033 256.848); --stx-surface-raised: oklch(37.3% 0.034 259.733); --stx-surface-sunken: oklch(37.3% 0.034 259.733); --stx-line: oklch(37.3% 0.034 259.733); --stx-line-strong: oklch(44.6% 0.03 256.802); --stx-accent: oklch(67.3% 0.182 276.935); --stx-info: oklch(70.7% 0.165 254.624); --stx-danger: oklch(70.4% 0.191 22.216); --stx-success: oklch(79.2% 0.209 151.711); --stx-warning: oklch(85.2% 0.199 91.936); --stx-accent-solid: oklch(58.5% 0.233 277.117); --stx-info-solid: oklch(62.3% 0.214 259.815); --stx-danger-solid: oklch(63.7% 0.237 25.331); --stx-success-solid: oklch(72.3% 0.219 149.579); } @layer cw-base { /* ! Tailwind CSS Preflight | MIT License | https://tailwindcss.com */ /* The fallback is a neutral grey, not currentColor. currentColor makes every border whose colour was never set take the TEXT colour, which is near-black on a light page and near-white on a dark one. That is never what an author means by a divider: the divide-* and border-width utilities set a width and no colour, so a plain divide-y rendered as a heavy black rule instead of a hairline. It also punished the obvious workaround. Setting border-color on a parent does not reach divide-* children, because divide targets "> :not([hidden]) ~ :not([hidden])" and the child declaration from this block wins. Tailwind preflight resolves this the same way (its default is gray-200). --border-color stays the escape hatch: set it once on :root, or per theme, and every uncoloured border follows. */ *, ::before, ::after { box-sizing: border-box; border-width: 0; border-style: solid; border-color: var(--border-color, #e5e7eb); } ::before, ::after { --cw-content: ''; } html, :host { line-height: 1.5; -webkit-text-size-adjust: 100%; -moz-tab-size: 4; tab-size: 4; font-family: ui-sans-serif, system-ui, sans-serif; font-feature-settings: normal; font-variation-settings: normal; -webkit-tap-highlight-color: transparent; } body { margin: 0; line-height: inherit; } hr { height: 0; color: inherit; border-top-width: 1px; } abbr:where([title]) { text-decoration: underline dotted; } h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: inherit; } a { color: inherit; text-decoration: inherit; } b, strong { font-weight: bolder; } code, kbd, samp, pre { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; font-feature-settings: normal; font-variation-settings: normal; font-size: 1em; } small { font-size: 80%; } sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; } sub { bottom: -0.25em; } sup { top: -0.5em; } table { text-indent: 0; border-color: var(--border-color, inherit); border-collapse: collapse; } button, input, optgroup, select, textarea { font-family: inherit; font-feature-settings: inherit; font-variation-settings: inherit; font-size: 100%; font-weight: inherit; line-height: inherit; letter-spacing: inherit; color: inherit; margin: 0; padding: 0; } button, select { text-transform: none; } button, input:where([type='button']), input:where([type='reset']), input:where([type='submit']) { -webkit-appearance: button; background-color: transparent; background-image: none; } :-moz-focusring { outline: auto; } :-moz-ui-invalid { box-shadow: none; } progress { vertical-align: baseline; } ::-webkit-inner-spin-button, ::-webkit-outer-spin-button { height: auto; } [type='search'] { -webkit-appearance: textfield; outline-offset: -2px; } ::-webkit-search-decoration { -webkit-appearance: none; } ::-webkit-file-upload-button { -webkit-appearance: button; font: inherit; } summary { display: list-item; } blockquote, dl, dd, h1, h2, h3, h4, h5, h6, hr, figure, p, pre { margin: 0; } fieldset { margin: 0; padding: 0; } legend { padding: 0; } ol, ul, menu { list-style: none; margin: 0; padding: 0; } dialog { padding: 0; } textarea { resize: vertical; } input::placeholder, textarea::placeholder { opacity: 1; color: color-mix(in oklab, currentColor 50%, transparent); } button, [role="button"] { cursor: pointer; } :disabled { cursor: default; } img, svg, video, canvas, audio, iframe, embed, object { display: block; vertical-align: middle; } img, video { max-width: 100%; height: auto; } [hidden] { display: none; } } .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border-width: 0; } .hidden { display: none; }
@@ -0,0 +1 @@
1
+ /* stx role tokens — override any of these to re-theme by meaning. */ :root { --stx-fg: oklch(21% 0.034 264.665); --stx-fg-strong: oklch(37.3% 0.034 259.733); --stx-fg-muted: oklch(44.6% 0.03 256.802); --stx-fg-soft: oklch(55.1% 0.027 264.364); --stx-fg-subtle: oklch(70.7% 0.022 261.325); --stx-surface: oklch(98.5% 0.002 247.839); --stx-surface-raised: oklch(96.7% 0.003 264.542); --stx-surface-sunken: oklch(92.8% 0.006 264.531); --stx-line: oklch(92.8% 0.006 264.531); --stx-line-strong: oklch(87.2% 0.01 258.338); --stx-accent: oklch(51.1% 0.262 276.966); --stx-info: oklch(54.6% 0.245 262.881); --stx-danger: oklch(57.7% 0.245 27.325); --stx-success: oklch(62.7% 0.194 149.214); --stx-warning: oklch(79.5% 0.184 86.047); --stx-accent-solid: oklch(51.1% 0.262 276.966); --stx-info-solid: oklch(54.6% 0.245 262.881); --stx-danger-solid: oklch(57.7% 0.245 27.325); --stx-success-solid: oklch(62.7% 0.194 149.214); } .dark { --stx-fg: oklch(96.7% 0.003 264.542); --stx-fg-strong: oklch(87.2% 0.01 258.338); --stx-fg-muted: oklch(70.7% 0.022 261.325); --stx-fg-soft: oklch(70.7% 0.022 261.325); --stx-fg-subtle: oklch(55.1% 0.027 264.364); --stx-surface: oklch(27.8% 0.033 256.848); --stx-surface-raised: oklch(37.3% 0.034 259.733); --stx-surface-sunken: oklch(37.3% 0.034 259.733); --stx-line: oklch(37.3% 0.034 259.733); --stx-line-strong: oklch(44.6% 0.03 256.802); --stx-accent: oklch(67.3% 0.182 276.935); --stx-info: oklch(70.7% 0.165 254.624); --stx-danger: oklch(70.4% 0.191 22.216); --stx-success: oklch(79.2% 0.209 151.711); --stx-warning: oklch(85.2% 0.199 91.936); --stx-accent-solid: oklch(58.5% 0.233 277.117); --stx-info-solid: oklch(62.3% 0.214 259.815); --stx-danger-solid: oklch(63.7% 0.237 25.331); --stx-success-solid: oklch(72.3% 0.219 149.579); } @layer cw-base { /* ! Tailwind CSS Preflight | MIT License | https://tailwindcss.com */ /* The fallback is a neutral grey, not currentColor. currentColor makes every border whose colour was never set take the TEXT colour, which is near-black on a light page and near-white on a dark one. That is never what an author means by a divider: the divide-* and border-width utilities set a width and no colour, so a plain divide-y rendered as a heavy black rule instead of a hairline. It also punished the obvious workaround. Setting border-color on a parent does not reach divide-* children, because divide targets "> :not([hidden]) ~ :not([hidden])" and the child declaration from this block wins. Tailwind preflight resolves this the same way (its default is gray-200). --border-color stays the escape hatch: set it once on :root, or per theme, and every uncoloured border follows. */ *, ::before, ::after { box-sizing: border-box; border-width: 0; border-style: solid; border-color: var(--border-color, #e5e7eb); } ::before, ::after { --cw-content: ''; } html, :host { line-height: 1.5; -webkit-text-size-adjust: 100%; -moz-tab-size: 4; tab-size: 4; font-family: ui-sans-serif, system-ui, sans-serif; font-feature-settings: normal; font-variation-settings: normal; -webkit-tap-highlight-color: transparent; } body { margin: 0; line-height: inherit; } hr { height: 0; color: inherit; border-top-width: 1px; } abbr:where([title]) { text-decoration: underline dotted; } h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: inherit; } a { color: inherit; text-decoration: inherit; } b, strong { font-weight: bolder; } code, kbd, samp, pre { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; font-feature-settings: normal; font-variation-settings: normal; font-size: 1em; } small { font-size: 80%; } sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; } sub { bottom: -0.25em; } sup { top: -0.5em; } table { text-indent: 0; border-color: var(--border-color, inherit); border-collapse: collapse; } button, input, optgroup, select, textarea { font-family: inherit; font-feature-settings: inherit; font-variation-settings: inherit; font-size: 100%; font-weight: inherit; line-height: inherit; letter-spacing: inherit; color: inherit; margin: 0; padding: 0; } button, select { text-transform: none; } button, input:where([type='button']), input:where([type='reset']), input:where([type='submit']) { -webkit-appearance: button; background-color: transparent; background-image: none; } :-moz-focusring { outline: auto; } :-moz-ui-invalid { box-shadow: none; } progress { vertical-align: baseline; } ::-webkit-inner-spin-button, ::-webkit-outer-spin-button { height: auto; } [type='search'] { -webkit-appearance: textfield; outline-offset: -2px; } ::-webkit-search-decoration { -webkit-appearance: none; } ::-webkit-file-upload-button { -webkit-appearance: button; font: inherit; } summary { display: list-item; } blockquote, dl, dd, h1, h2, h3, h4, h5, h6, hr, figure, p, pre { margin: 0; } fieldset { margin: 0; padding: 0; } legend { padding: 0; } ol, ul, menu { list-style: none; margin: 0; padding: 0; } dialog { padding: 0; } textarea { resize: vertical; } input::placeholder, textarea::placeholder { opacity: 1; color: color-mix(in oklab, currentColor 50%, transparent); } button, [role="button"] { cursor: pointer; } :disabled { cursor: default; } img, svg, video, canvas, audio, iframe, embed, object { display: block; vertical-align: middle; } img, video { max-width: 100%; height: auto; } [hidden] { display: none; } } .ease-out { transition-timing-function: cubic-bezier(0, 0, 0.2, 1); } .ease-in { transition-timing-function: cubic-bezier(0.4, 0, 1, 1); }
@@ -0,0 +1,320 @@
1
+
2
+ /* stx role tokens — override any of these to re-theme by meaning. */
3
+ :root {
4
+ --stx-fg: oklch(21% 0.034 264.665);
5
+ --stx-fg-strong: oklch(37.3% 0.034 259.733);
6
+ --stx-fg-muted: oklch(44.6% 0.03 256.802);
7
+ --stx-fg-soft: oklch(55.1% 0.027 264.364);
8
+ --stx-fg-subtle: oklch(70.7% 0.022 261.325);
9
+ --stx-surface: oklch(98.5% 0.002 247.839);
10
+ --stx-surface-raised: oklch(96.7% 0.003 264.542);
11
+ --stx-surface-sunken: oklch(92.8% 0.006 264.531);
12
+ --stx-line: oklch(92.8% 0.006 264.531);
13
+ --stx-line-strong: oklch(87.2% 0.01 258.338);
14
+ --stx-accent: oklch(51.1% 0.262 276.966);
15
+ --stx-info: oklch(54.6% 0.245 262.881);
16
+ --stx-danger: oklch(57.7% 0.245 27.325);
17
+ --stx-success: oklch(62.7% 0.194 149.214);
18
+ --stx-warning: oklch(79.5% 0.184 86.047);
19
+ --stx-accent-solid: oklch(51.1% 0.262 276.966);
20
+ --stx-info-solid: oklch(54.6% 0.245 262.881);
21
+ --stx-danger-solid: oklch(57.7% 0.245 27.325);
22
+ --stx-success-solid: oklch(62.7% 0.194 149.214);
23
+ }
24
+ .dark {
25
+ --stx-fg: oklch(96.7% 0.003 264.542);
26
+ --stx-fg-strong: oklch(87.2% 0.01 258.338);
27
+ --stx-fg-muted: oklch(70.7% 0.022 261.325);
28
+ --stx-fg-soft: oklch(70.7% 0.022 261.325);
29
+ --stx-fg-subtle: oklch(55.1% 0.027 264.364);
30
+ --stx-surface: oklch(27.8% 0.033 256.848);
31
+ --stx-surface-raised: oklch(37.3% 0.034 259.733);
32
+ --stx-surface-sunken: oklch(37.3% 0.034 259.733);
33
+ --stx-line: oklch(37.3% 0.034 259.733);
34
+ --stx-line-strong: oklch(44.6% 0.03 256.802);
35
+ --stx-accent: oklch(67.3% 0.182 276.935);
36
+ --stx-info: oklch(70.7% 0.165 254.624);
37
+ --stx-danger: oklch(70.4% 0.191 22.216);
38
+ --stx-success: oklch(79.2% 0.209 151.711);
39
+ --stx-warning: oklch(85.2% 0.199 91.936);
40
+ --stx-accent-solid: oklch(58.5% 0.233 277.117);
41
+ --stx-info-solid: oklch(62.3% 0.214 259.815);
42
+ --stx-danger-solid: oklch(63.7% 0.237 25.331);
43
+ --stx-success-solid: oklch(72.3% 0.219 149.579);
44
+ }
45
+ @layer cw-base {
46
+ /*
47
+ ! Tailwind CSS Preflight | MIT License | https://tailwindcss.com
48
+ */
49
+
50
+ /*
51
+ The fallback is a neutral grey, not currentColor.
52
+
53
+ currentColor makes every border whose colour was never set take the TEXT
54
+ colour, which is near-black on a light page and near-white on a dark one.
55
+ That is never what an author means by a divider: the divide-* and
56
+ border-width utilities set a width and no colour, so a plain divide-y
57
+ rendered as a heavy black rule instead of a hairline.
58
+
59
+ It also punished the obvious workaround. Setting border-color on a parent
60
+ does not reach divide-* children, because divide targets
61
+ "> :not([hidden]) ~ :not([hidden])" and the child declaration from this
62
+ block wins.
63
+
64
+ Tailwind preflight resolves this the same way (its default is gray-200).
65
+ --border-color stays the escape hatch: set it once on :root, or per
66
+ theme, and every uncoloured border follows.
67
+ */
68
+ *,
69
+ ::before,
70
+ ::after {
71
+ box-sizing: border-box;
72
+ border-width: 0;
73
+ border-style: solid;
74
+ border-color: var(--border-color, #e5e7eb);
75
+ }
76
+
77
+ ::before,
78
+ ::after {
79
+ --cw-content: '';
80
+ }
81
+
82
+ html,
83
+ :host {
84
+ line-height: 1.5;
85
+ -webkit-text-size-adjust: 100%;
86
+ -moz-tab-size: 4;
87
+ tab-size: 4;
88
+ font-family: ui-sans-serif, system-ui, sans-serif;
89
+ font-feature-settings: normal;
90
+ font-variation-settings: normal;
91
+ -webkit-tap-highlight-color: transparent;
92
+ }
93
+
94
+ body {
95
+ margin: 0;
96
+ line-height: inherit;
97
+ }
98
+
99
+ hr {
100
+ height: 0;
101
+ color: inherit;
102
+ border-top-width: 1px;
103
+ }
104
+
105
+ abbr:where([title]) {
106
+ text-decoration: underline dotted;
107
+ }
108
+
109
+ h1,
110
+ h2,
111
+ h3,
112
+ h4,
113
+ h5,
114
+ h6 {
115
+ font-size: inherit;
116
+ font-weight: inherit;
117
+ }
118
+
119
+ a {
120
+ color: inherit;
121
+ text-decoration: inherit;
122
+ }
123
+
124
+ b,
125
+ strong {
126
+ font-weight: bolder;
127
+ }
128
+
129
+ code,
130
+ kbd,
131
+ samp,
132
+ pre {
133
+ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
134
+ font-feature-settings: normal;
135
+ font-variation-settings: normal;
136
+ font-size: 1em;
137
+ }
138
+
139
+ small {
140
+ font-size: 80%;
141
+ }
142
+
143
+ sub,
144
+ sup {
145
+ font-size: 75%;
146
+ line-height: 0;
147
+ position: relative;
148
+ vertical-align: baseline;
149
+ }
150
+
151
+ sub {
152
+ bottom: -0.25em;
153
+ }
154
+
155
+ sup {
156
+ top: -0.5em;
157
+ }
158
+
159
+ table {
160
+ text-indent: 0;
161
+ border-color: var(--border-color, inherit);
162
+ border-collapse: collapse;
163
+ }
164
+
165
+ button,
166
+ input,
167
+ optgroup,
168
+ select,
169
+ textarea {
170
+ font-family: inherit;
171
+ font-feature-settings: inherit;
172
+ font-variation-settings: inherit;
173
+ font-size: 100%;
174
+ font-weight: inherit;
175
+ line-height: inherit;
176
+ letter-spacing: inherit;
177
+ color: inherit;
178
+ margin: 0;
179
+ padding: 0;
180
+ }
181
+
182
+ button,
183
+ select {
184
+ text-transform: none;
185
+ }
186
+
187
+ button,
188
+ input:where([type='button']),
189
+ input:where([type='reset']),
190
+ input:where([type='submit']) {
191
+ -webkit-appearance: button;
192
+ background-color: transparent;
193
+ background-image: none;
194
+ }
195
+
196
+ :-moz-focusring {
197
+ outline: auto;
198
+ }
199
+
200
+ :-moz-ui-invalid {
201
+ box-shadow: none;
202
+ }
203
+
204
+ progress {
205
+ vertical-align: baseline;
206
+ }
207
+
208
+ ::-webkit-inner-spin-button,
209
+ ::-webkit-outer-spin-button {
210
+ height: auto;
211
+ }
212
+
213
+ [type='search'] {
214
+ -webkit-appearance: textfield;
215
+ outline-offset: -2px;
216
+ }
217
+
218
+ ::-webkit-search-decoration {
219
+ -webkit-appearance: none;
220
+ }
221
+
222
+ ::-webkit-file-upload-button {
223
+ -webkit-appearance: button;
224
+ font: inherit;
225
+ }
226
+
227
+ summary {
228
+ display: list-item;
229
+ }
230
+
231
+ blockquote,
232
+ dl,
233
+ dd,
234
+ h1,
235
+ h2,
236
+ h3,
237
+ h4,
238
+ h5,
239
+ h6,
240
+ hr,
241
+ figure,
242
+ p,
243
+ pre {
244
+ margin: 0;
245
+ }
246
+
247
+ fieldset {
248
+ margin: 0;
249
+ padding: 0;
250
+ }
251
+
252
+ legend {
253
+ padding: 0;
254
+ }
255
+
256
+ ol,
257
+ ul,
258
+ menu {
259
+ list-style: none;
260
+ margin: 0;
261
+ padding: 0;
262
+ }
263
+
264
+ dialog {
265
+ padding: 0;
266
+ }
267
+
268
+ textarea {
269
+ resize: vertical;
270
+ }
271
+
272
+ input::placeholder,
273
+ textarea::placeholder {
274
+ opacity: 1;
275
+ color: color-mix(in oklab, currentColor 50%, transparent);
276
+ }
277
+
278
+ button,
279
+ [role="button"] {
280
+ cursor: pointer;
281
+ }
282
+
283
+ :disabled {
284
+ cursor: default;
285
+ }
286
+
287
+ img,
288
+ svg,
289
+ video,
290
+ canvas,
291
+ audio,
292
+ iframe,
293
+ embed,
294
+ object {
295
+ display: block;
296
+ vertical-align: middle;
297
+ }
298
+
299
+ img,
300
+ video {
301
+ max-width: 100%;
302
+ height: auto;
303
+ }
304
+
305
+ [hidden] {
306
+ display: none;
307
+ }
308
+ }
309
+
310
+ .sr-only {
311
+ position: absolute;
312
+ width: 1px;
313
+ height: 1px;
314
+ padding: 0;
315
+ margin: -1px;
316
+ overflow: hidden;
317
+ clip: rect(0, 0, 0, 0);
318
+ white-space: nowrap;
319
+ border-width: 0;
320
+ }
@@ -0,0 +1 @@
1
+ /* stx role tokens — override any of these to re-theme by meaning. */ :root { --stx-fg: oklch(21% 0.034 264.665); --stx-fg-strong: oklch(37.3% 0.034 259.733); --stx-fg-muted: oklch(44.6% 0.03 256.802); --stx-fg-soft: oklch(55.1% 0.027 264.364); --stx-fg-subtle: oklch(70.7% 0.022 261.325); --stx-surface: oklch(98.5% 0.002 247.839); --stx-surface-raised: oklch(96.7% 0.003 264.542); --stx-surface-sunken: oklch(92.8% 0.006 264.531); --stx-line: oklch(92.8% 0.006 264.531); --stx-line-strong: oklch(87.2% 0.01 258.338); --stx-accent: oklch(51.1% 0.262 276.966); --stx-info: oklch(54.6% 0.245 262.881); --stx-danger: oklch(57.7% 0.245 27.325); --stx-success: oklch(62.7% 0.194 149.214); --stx-warning: oklch(79.5% 0.184 86.047); --stx-accent-solid: oklch(51.1% 0.262 276.966); --stx-info-solid: oklch(54.6% 0.245 262.881); --stx-danger-solid: oklch(57.7% 0.245 27.325); --stx-success-solid: oklch(62.7% 0.194 149.214); } .dark { --stx-fg: oklch(96.7% 0.003 264.542); --stx-fg-strong: oklch(87.2% 0.01 258.338); --stx-fg-muted: oklch(70.7% 0.022 261.325); --stx-fg-soft: oklch(70.7% 0.022 261.325); --stx-fg-subtle: oklch(55.1% 0.027 264.364); --stx-surface: oklch(27.8% 0.033 256.848); --stx-surface-raised: oklch(37.3% 0.034 259.733); --stx-surface-sunken: oklch(37.3% 0.034 259.733); --stx-line: oklch(37.3% 0.034 259.733); --stx-line-strong: oklch(44.6% 0.03 256.802); --stx-accent: oklch(67.3% 0.182 276.935); --stx-info: oklch(70.7% 0.165 254.624); --stx-danger: oklch(70.4% 0.191 22.216); --stx-success: oklch(79.2% 0.209 151.711); --stx-warning: oklch(85.2% 0.199 91.936); --stx-accent-solid: oklch(58.5% 0.233 277.117); --stx-info-solid: oklch(62.3% 0.214 259.815); --stx-danger-solid: oklch(63.7% 0.237 25.331); --stx-success-solid: oklch(72.3% 0.219 149.579); } @layer cw-base { /* ! Tailwind CSS Preflight | MIT License | https://tailwindcss.com */ /* The fallback is a neutral grey, not currentColor. currentColor makes every border whose colour was never set take the TEXT colour, which is near-black on a light page and near-white on a dark one. That is never what an author means by a divider: the divide-* and border-width utilities set a width and no colour, so a plain divide-y rendered as a heavy black rule instead of a hairline. It also punished the obvious workaround. Setting border-color on a parent does not reach divide-* children, because divide targets "> :not([hidden]) ~ :not([hidden])" and the child declaration from this block wins. Tailwind preflight resolves this the same way (its default is gray-200). --border-color stays the escape hatch: set it once on :root, or per theme, and every uncoloured border follows. */ *, ::before, ::after { box-sizing: border-box; border-width: 0; border-style: solid; border-color: var(--border-color, #e5e7eb); } ::before, ::after { --cw-content: ''; } html, :host { line-height: 1.5; -webkit-text-size-adjust: 100%; -moz-tab-size: 4; tab-size: 4; font-family: ui-sans-serif, system-ui, sans-serif; font-feature-settings: normal; font-variation-settings: normal; -webkit-tap-highlight-color: transparent; } body { margin: 0; line-height: inherit; } hr { height: 0; color: inherit; border-top-width: 1px; } abbr:where([title]) { text-decoration: underline dotted; } h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: inherit; } a { color: inherit; text-decoration: inherit; } b, strong { font-weight: bolder; } code, kbd, samp, pre { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; font-feature-settings: normal; font-variation-settings: normal; font-size: 1em; } small { font-size: 80%; } sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; } sub { bottom: -0.25em; } sup { top: -0.5em; } table { text-indent: 0; border-color: var(--border-color, inherit); border-collapse: collapse; } button, input, optgroup, select, textarea { font-family: inherit; font-feature-settings: inherit; font-variation-settings: inherit; font-size: 100%; font-weight: inherit; line-height: inherit; letter-spacing: inherit; color: inherit; margin: 0; padding: 0; } button, select { text-transform: none; } button, input:where([type='button']), input:where([type='reset']), input:where([type='submit']) { -webkit-appearance: button; background-color: transparent; background-image: none; } :-moz-focusring { outline: auto; } :-moz-ui-invalid { box-shadow: none; } progress { vertical-align: baseline; } ::-webkit-inner-spin-button, ::-webkit-outer-spin-button { height: auto; } [type='search'] { -webkit-appearance: textfield; outline-offset: -2px; } ::-webkit-search-decoration { -webkit-appearance: none; } ::-webkit-file-upload-button { -webkit-appearance: button; font: inherit; } summary { display: list-item; } blockquote, dl, dd, h1, h2, h3, h4, h5, h6, hr, figure, p, pre { margin: 0; } fieldset { margin: 0; padding: 0; } legend { padding: 0; } ol, ul, menu { list-style: none; margin: 0; padding: 0; } dialog { padding: 0; } textarea { resize: vertical; } input::placeholder, textarea::placeholder { opacity: 1; color: color-mix(in oklab, currentColor 50%, transparent); } button, [role="button"] { cursor: pointer; } :disabled { cursor: default; } img, svg, video, canvas, audio, iframe, embed, object { display: block; vertical-align: middle; } img, video { max-width: 100%; height: auto; } [hidden] { display: none; } } .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border-width: 0; }
@@ -0,0 +1 @@
1
+ /* stx role tokens — override any of these to re-theme by meaning. */ :root { --stx-fg: oklch(21% 0.034 264.665); --stx-fg-strong: oklch(37.3% 0.034 259.733); --stx-fg-muted: oklch(44.6% 0.03 256.802); --stx-fg-soft: oklch(55.1% 0.027 264.364); --stx-fg-subtle: oklch(70.7% 0.022 261.325); --stx-surface: oklch(98.5% 0.002 247.839); --stx-surface-raised: oklch(96.7% 0.003 264.542); --stx-surface-sunken: oklch(92.8% 0.006 264.531); --stx-line: oklch(92.8% 0.006 264.531); --stx-line-strong: oklch(87.2% 0.01 258.338); --stx-accent: oklch(51.1% 0.262 276.966); --stx-info: oklch(54.6% 0.245 262.881); --stx-danger: oklch(57.7% 0.245 27.325); --stx-success: oklch(62.7% 0.194 149.214); --stx-warning: oklch(79.5% 0.184 86.047); --stx-accent-solid: oklch(51.1% 0.262 276.966); --stx-info-solid: oklch(54.6% 0.245 262.881); --stx-danger-solid: oklch(57.7% 0.245 27.325); --stx-success-solid: oklch(62.7% 0.194 149.214); } .dark { --stx-fg: oklch(96.7% 0.003 264.542); --stx-fg-strong: oklch(87.2% 0.01 258.338); --stx-fg-muted: oklch(70.7% 0.022 261.325); --stx-fg-soft: oklch(70.7% 0.022 261.325); --stx-fg-subtle: oklch(55.1% 0.027 264.364); --stx-surface: oklch(27.8% 0.033 256.848); --stx-surface-raised: oklch(37.3% 0.034 259.733); --stx-surface-sunken: oklch(37.3% 0.034 259.733); --stx-line: oklch(37.3% 0.034 259.733); --stx-line-strong: oklch(44.6% 0.03 256.802); --stx-accent: oklch(67.3% 0.182 276.935); --stx-info: oklch(70.7% 0.165 254.624); --stx-danger: oklch(70.4% 0.191 22.216); --stx-success: oklch(79.2% 0.209 151.711); --stx-warning: oklch(85.2% 0.199 91.936); --stx-accent-solid: oklch(58.5% 0.233 277.117); --stx-info-solid: oklch(62.3% 0.214 259.815); --stx-danger-solid: oklch(63.7% 0.237 25.331); --stx-success-solid: oklch(72.3% 0.219 149.579); } @layer cw-base { /* ! Tailwind CSS Preflight | MIT License | https://tailwindcss.com */ /* The fallback is a neutral grey, not currentColor. currentColor makes every border whose colour was never set take the TEXT colour, which is near-black on a light page and near-white on a dark one. That is never what an author means by a divider: the divide-* and border-width utilities set a width and no colour, so a plain divide-y rendered as a heavy black rule instead of a hairline. It also punished the obvious workaround. Setting border-color on a parent does not reach divide-* children, because divide targets "> :not([hidden]) ~ :not([hidden])" and the child declaration from this block wins. Tailwind preflight resolves this the same way (its default is gray-200). --border-color stays the escape hatch: set it once on :root, or per theme, and every uncoloured border follows. */ *, ::before, ::after { box-sizing: border-box; border-width: 0; border-style: solid; border-color: var(--border-color, #e5e7eb); } ::before, ::after { --cw-content: ''; } html, :host { line-height: 1.5; -webkit-text-size-adjust: 100%; -moz-tab-size: 4; tab-size: 4; font-family: ui-sans-serif, system-ui, sans-serif; font-feature-settings: normal; font-variation-settings: normal; -webkit-tap-highlight-color: transparent; } body { margin: 0; line-height: inherit; } hr { height: 0; color: inherit; border-top-width: 1px; } abbr:where([title]) { text-decoration: underline dotted; } h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: inherit; } a { color: inherit; text-decoration: inherit; } b, strong { font-weight: bolder; } code, kbd, samp, pre { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; font-feature-settings: normal; font-variation-settings: normal; font-size: 1em; } small { font-size: 80%; } sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; } sub { bottom: -0.25em; } sup { top: -0.5em; } table { text-indent: 0; border-color: var(--border-color, inherit); border-collapse: collapse; } button, input, optgroup, select, textarea { font-family: inherit; font-feature-settings: inherit; font-variation-settings: inherit; font-size: 100%; font-weight: inherit; line-height: inherit; letter-spacing: inherit; color: inherit; margin: 0; padding: 0; } button, select { text-transform: none; } button, input:where([type='button']), input:where([type='reset']), input:where([type='submit']) { -webkit-appearance: button; background-color: transparent; background-image: none; } :-moz-focusring { outline: auto; } :-moz-ui-invalid { box-shadow: none; } progress { vertical-align: baseline; } ::-webkit-inner-spin-button, ::-webkit-outer-spin-button { height: auto; } [type='search'] { -webkit-appearance: textfield; outline-offset: -2px; } ::-webkit-search-decoration { -webkit-appearance: none; } ::-webkit-file-upload-button { -webkit-appearance: button; font: inherit; } summary { display: list-item; } blockquote, dl, dd, h1, h2, h3, h4, h5, h6, hr, figure, p, pre { margin: 0; } fieldset { margin: 0; padding: 0; } legend { padding: 0; } ol, ul, menu { list-style: none; margin: 0; padding: 0; } dialog { padding: 0; } textarea { resize: vertical; } input::placeholder, textarea::placeholder { opacity: 1; color: color-mix(in oklab, currentColor 50%, transparent); } button, [role="button"] { cursor: pointer; } :disabled { cursor: default; } img, svg, video, canvas, audio, iframe, embed, object { display: block; vertical-align: middle; } img, video { max-width: 100%; height: auto; } [hidden] { display: none; } } .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border-width: 0; } .ring { --cw-ring-offset-shadow: var(--cw-ring-inset,) 0 0 0 var(--cw-ring-offset-width, 0px) var(--cw-ring-offset-color, #fff); --cw-ring-shadow: var(--cw-ring-inset,) 0 0 0 calc(3px + var(--cw-ring-offset-width, 0px)) var(--cw-ring-color, rgba(59, 130, 246, 0.5)); box-shadow: var(--cw-ring-offset-shadow), var(--cw-ring-shadow), var(--cw-shadow, 0 0 #0000); }
@@ -0,0 +1 @@
1
+ /* stx role tokens — override any of these to re-theme by meaning. */ :root { --stx-fg: oklch(21% 0.034 264.665); --stx-fg-strong: oklch(37.3% 0.034 259.733); --stx-fg-muted: oklch(44.6% 0.03 256.802); --stx-fg-soft: oklch(55.1% 0.027 264.364); --stx-fg-subtle: oklch(70.7% 0.022 261.325); --stx-surface: oklch(98.5% 0.002 247.839); --stx-surface-raised: oklch(96.7% 0.003 264.542); --stx-surface-sunken: oklch(92.8% 0.006 264.531); --stx-line: oklch(92.8% 0.006 264.531); --stx-line-strong: oklch(87.2% 0.01 258.338); --stx-accent: oklch(51.1% 0.262 276.966); --stx-info: oklch(54.6% 0.245 262.881); --stx-danger: oklch(57.7% 0.245 27.325); --stx-success: oklch(62.7% 0.194 149.214); --stx-warning: oklch(79.5% 0.184 86.047); --stx-accent-solid: oklch(51.1% 0.262 276.966); --stx-info-solid: oklch(54.6% 0.245 262.881); --stx-danger-solid: oklch(57.7% 0.245 27.325); --stx-success-solid: oklch(62.7% 0.194 149.214); } .dark { --stx-fg: oklch(96.7% 0.003 264.542); --stx-fg-strong: oklch(87.2% 0.01 258.338); --stx-fg-muted: oklch(70.7% 0.022 261.325); --stx-fg-soft: oklch(70.7% 0.022 261.325); --stx-fg-subtle: oklch(55.1% 0.027 264.364); --stx-surface: oklch(27.8% 0.033 256.848); --stx-surface-raised: oklch(37.3% 0.034 259.733); --stx-surface-sunken: oklch(37.3% 0.034 259.733); --stx-line: oklch(37.3% 0.034 259.733); --stx-line-strong: oklch(44.6% 0.03 256.802); --stx-accent: oklch(67.3% 0.182 276.935); --stx-info: oklch(70.7% 0.165 254.624); --stx-danger: oklch(70.4% 0.191 22.216); --stx-success: oklch(79.2% 0.209 151.711); --stx-warning: oklch(85.2% 0.199 91.936); --stx-accent-solid: oklch(58.5% 0.233 277.117); --stx-info-solid: oklch(62.3% 0.214 259.815); --stx-danger-solid: oklch(63.7% 0.237 25.331); --stx-success-solid: oklch(72.3% 0.219 149.579); } @layer cw-base { /* ! Tailwind CSS Preflight | MIT License | https://tailwindcss.com */ /* The fallback is a neutral grey, not currentColor. currentColor makes every border whose colour was never set take the TEXT colour, which is near-black on a light page and near-white on a dark one. That is never what an author means by a divider: the divide-* and border-width utilities set a width and no colour, so a plain divide-y rendered as a heavy black rule instead of a hairline. It also punished the obvious workaround. Setting border-color on a parent does not reach divide-* children, because divide targets "> :not([hidden]) ~ :not([hidden])" and the child declaration from this block wins. Tailwind preflight resolves this the same way (its default is gray-200). --border-color stays the escape hatch: set it once on :root, or per theme, and every uncoloured border follows. */ *, ::before, ::after { box-sizing: border-box; border-width: 0; border-style: solid; border-color: var(--border-color, #e5e7eb); } ::before, ::after { --cw-content: ''; } html, :host { line-height: 1.5; -webkit-text-size-adjust: 100%; -moz-tab-size: 4; tab-size: 4; font-family: ui-sans-serif, system-ui, sans-serif; font-feature-settings: normal; font-variation-settings: normal; -webkit-tap-highlight-color: transparent; } body { margin: 0; line-height: inherit; } hr { height: 0; color: inherit; border-top-width: 1px; } abbr:where([title]) { text-decoration: underline dotted; } h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: inherit; } a { color: inherit; text-decoration: inherit; } b, strong { font-weight: bolder; } code, kbd, samp, pre { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; font-feature-settings: normal; font-variation-settings: normal; font-size: 1em; } small { font-size: 80%; } sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; } sub { bottom: -0.25em; } sup { top: -0.5em; } table { text-indent: 0; border-color: var(--border-color, inherit); border-collapse: collapse; } button, input, optgroup, select, textarea { font-family: inherit; font-feature-settings: inherit; font-variation-settings: inherit; font-size: 100%; font-weight: inherit; line-height: inherit; letter-spacing: inherit; color: inherit; margin: 0; padding: 0; } button, select { text-transform: none; } button, input:where([type='button']), input:where([type='reset']), input:where([type='submit']) { -webkit-appearance: button; background-color: transparent; background-image: none; } :-moz-focusring { outline: auto; } :-moz-ui-invalid { box-shadow: none; } progress { vertical-align: baseline; } ::-webkit-inner-spin-button, ::-webkit-outer-spin-button { height: auto; } [type='search'] { -webkit-appearance: textfield; outline-offset: -2px; } ::-webkit-search-decoration { -webkit-appearance: none; } ::-webkit-file-upload-button { -webkit-appearance: button; font: inherit; } summary { display: list-item; } blockquote, dl, dd, h1, h2, h3, h4, h5, h6, hr, figure, p, pre { margin: 0; } fieldset { margin: 0; padding: 0; } legend { padding: 0; } ol, ul, menu { list-style: none; margin: 0; padding: 0; } dialog { padding: 0; } textarea { resize: vertical; } input::placeholder, textarea::placeholder { opacity: 1; color: color-mix(in oklab, currentColor 50%, transparent); } button, [role="button"] { cursor: pointer; } :disabled { cursor: default; } img, svg, video, canvas, audio, iframe, embed, object { display: block; vertical-align: middle; } img, video { max-width: 100%; height: auto; } [hidden] { display: none; } } .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border-width: 0; } .grid { display: grid; }