@polyxd/web 0.3.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 (103) hide show
  1. package/LICENSE +202 -0
  2. package/NOTICE +190 -0
  3. package/README.md +79 -0
  4. package/adapters/PolyxdSurface.svelte +65 -0
  5. package/adapters/PolyxdSurface.vue +61 -0
  6. package/dist/components/action-bar.d.ts +14 -0
  7. package/dist/components/action-bar.js +69 -0
  8. package/dist/components/action-bar.js.map +1 -0
  9. package/dist/components/avatar.d.ts +9 -0
  10. package/dist/components/avatar.js +16 -0
  11. package/dist/components/avatar.js.map +1 -0
  12. package/dist/components/chart.d.ts +5 -0
  13. package/dist/components/chart.js +132 -0
  14. package/dist/components/chart.js.map +1 -0
  15. package/dist/components/content.d.ts +20 -0
  16. package/dist/components/content.js +286 -0
  17. package/dist/components/content.js.map +1 -0
  18. package/dist/components/filter.d.ts +9 -0
  19. package/dist/components/filter.js +43 -0
  20. package/dist/components/filter.js.map +1 -0
  21. package/dist/components/flow.d.ts +12 -0
  22. package/dist/components/flow.js +188 -0
  23. package/dist/components/flow.js.map +1 -0
  24. package/dist/components/index.d.ts +10 -0
  25. package/dist/components/index.js +30 -0
  26. package/dist/components/index.js.map +1 -0
  27. package/dist/components/inputs.d.ts +28 -0
  28. package/dist/components/inputs.js +530 -0
  29. package/dist/components/inputs.js.map +1 -0
  30. package/dist/components/marks.d.ts +32 -0
  31. package/dist/components/marks.js +164 -0
  32. package/dist/components/marks.js.map +1 -0
  33. package/dist/components/navigation.d.ts +11 -0
  34. package/dist/components/navigation.js +99 -0
  35. package/dist/components/navigation.js.map +1 -0
  36. package/dist/components/overlays.d.ts +16 -0
  37. package/dist/components/overlays.js +146 -0
  38. package/dist/components/overlays.js.map +1 -0
  39. package/dist/components/pickers.d.ts +6 -0
  40. package/dist/components/pickers.js +272 -0
  41. package/dist/components/pickers.js.map +1 -0
  42. package/dist/components/shell.d.ts +30 -0
  43. package/dist/components/shell.js +167 -0
  44. package/dist/components/shell.js.map +1 -0
  45. package/dist/components/split.d.ts +8 -0
  46. package/dist/components/split.js +76 -0
  47. package/dist/components/split.js.map +1 -0
  48. package/dist/components/structure.d.ts +12 -0
  49. package/dist/components/structure.js +69 -0
  50. package/dist/components/structure.js.map +1 -0
  51. package/dist/components/table.d.ts +11 -0
  52. package/dist/components/table.js +142 -0
  53. package/dist/components/table.js.map +1 -0
  54. package/dist/components/tree.d.ts +10 -0
  55. package/dist/components/tree.js +177 -0
  56. package/dist/components/tree.js.map +1 -0
  57. package/dist/dom.d.ts +25 -0
  58. package/dist/dom.js +211 -0
  59. package/dist/dom.js.map +1 -0
  60. package/dist/elements.d.ts +87 -0
  61. package/dist/elements.js +244 -0
  62. package/dist/elements.js.map +1 -0
  63. package/dist/index.d.ts +6 -0
  64. package/dist/index.js +7 -0
  65. package/dist/index.js.map +1 -0
  66. package/dist/primitives.d.ts +111 -0
  67. package/dist/primitives.js +361 -0
  68. package/dist/primitives.js.map +1 -0
  69. package/dist/renderer.d.ts +145 -0
  70. package/dist/renderer.js +244 -0
  71. package/dist/renderer.js.map +1 -0
  72. package/dist/skeleton.d.ts +14 -0
  73. package/dist/skeleton.js +13 -0
  74. package/dist/skeleton.js.map +1 -0
  75. package/package.json +52 -0
  76. package/preview/polyxd-web.css +2 -0
  77. package/preview/polyxd-web.js +15 -0
  78. package/styles.css +5012 -0
  79. package/themes/antd.css +300 -0
  80. package/themes/bootstrap.css +300 -0
  81. package/themes/brutalist.css +300 -0
  82. package/themes/carbon.css +310 -0
  83. package/themes/chakra.css +300 -0
  84. package/themes/civic.css +300 -0
  85. package/themes/editorial.css +300 -0
  86. package/themes/finance.css +300 -0
  87. package/themes/fluent.css +300 -0
  88. package/themes/glass.css +300 -0
  89. package/themes/govuk.css +150 -0
  90. package/themes/health.css +300 -0
  91. package/themes/mantine.css +300 -0
  92. package/themes/material3.css +300 -0
  93. package/themes/mono.css +300 -0
  94. package/themes/neon.css +300 -0
  95. package/themes/pastel.css +300 -0
  96. package/themes/polaris.css +300 -0
  97. package/themes/primer.css +300 -0
  98. package/themes/radix.css +300 -0
  99. package/themes/shadcn.css +300 -0
  100. package/themes/sketch.css +356 -0
  101. package/themes/spectrum.css +300 -0
  102. package/themes/terminal.css +300 -0
  103. package/themes/wireframe.css +328 -0
@@ -0,0 +1,300 @@
1
+ /* Generated by @polyxd/react scripts/build-themes.ts from the pastel pack. Do not edit. */
2
+
3
+ [data-pxd-theme="pastel"]:not([data-pxd-mode]),
4
+ [data-pxd-theme="pastel"][data-pxd-mode="light"] {
5
+ --pxd-color-surface-default: #fffdfa;
6
+ --pxd-color-surface-subtle: #f3eefb;
7
+ --pxd-color-surface-raised: #ffffff;
8
+ --pxd-color-surface-overlay: #ffffff;
9
+ --pxd-color-surface-inverse: #3d3552;
10
+ --pxd-color-scrim: rgba(61, 53, 82, 0.4);
11
+ --pxd-color-text-default: #3a3346;
12
+ --pxd-color-text-muted: #66607a;
13
+ --pxd-color-text-inverse: #fffdfa;
14
+ --pxd-color-text-link: #6a4fbf;
15
+ --pxd-color-border-default: #e6dff2;
16
+ --pxd-color-border-strong: #8b81a3;
17
+ --pxd-color-border-focus: #6a4fbf;
18
+ --pxd-color-action-primary-background: #6a4fbf;
19
+ --pxd-color-action-primary-foreground: #ffffff;
20
+ --pxd-color-action-secondary-background: #e2f5ea;
21
+ --pxd-color-action-secondary-foreground: #1f5c45;
22
+ --pxd-color-action-secondary-border: #bfe3d2;
23
+ --pxd-color-action-danger-background: #c94c3c;
24
+ --pxd-color-action-danger-foreground: #ffffff;
25
+ --pxd-color-selection-background: #fde6d8;
26
+ --pxd-color-selection-foreground: #7a3d1e;
27
+ --pxd-color-status-info-background: #e3eefb;
28
+ --pxd-color-status-info-foreground: #22456f;
29
+ --pxd-color-status-info-emphasis: #4a7fc9;
30
+ --pxd-color-status-success-background: #e2f5ea;
31
+ --pxd-color-status-success-foreground: #1f5c45;
32
+ --pxd-color-status-success-emphasis: #3f9d74;
33
+ --pxd-color-status-warning-background: #fff0d6;
34
+ --pxd-color-status-warning-foreground: #6b4500;
35
+ --pxd-color-status-warning-emphasis: #b8761f;
36
+ --pxd-color-status-danger-background: #fde3e1;
37
+ --pxd-color-status-danger-foreground: #8a2f2a;
38
+ --pxd-color-status-danger-emphasis: #c94c3c;
39
+ --pxd-color-data-categorical-1: #6a4fbf;
40
+ --pxd-color-data-categorical-2: #3f9d74;
41
+ --pxd-color-data-categorical-3: #d8704f;
42
+ --pxd-color-data-categorical-4: #4a7fc9;
43
+ --pxd-color-data-categorical-5: #b8761f;
44
+ --pxd-color-data-categorical-6: #c95a9c;
45
+ --pxd-color-data-positive: #3f9d74;
46
+ --pxd-color-data-negative: #c94c3c;
47
+ --pxd-color-data-neutral: #8b81a3;
48
+ --pxd-type-title-page-family: Nunito, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
49
+ --pxd-type-title-page-size: 30px;
50
+ --pxd-type-title-page-weight: 800;
51
+ --pxd-type-title-page-line-height: 1.2;
52
+ --pxd-type-title-page-letter-spacing: -0.3px;
53
+ --pxd-type-title-section-family: Nunito, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
54
+ --pxd-type-title-section-size: 22px;
55
+ --pxd-type-title-section-weight: 700;
56
+ --pxd-type-title-section-line-height: 1.25;
57
+ --pxd-type-title-section-letter-spacing: 0px;
58
+ --pxd-type-title-item-family: Nunito, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
59
+ --pxd-type-title-item-size: 17px;
60
+ --pxd-type-title-item-weight: 700;
61
+ --pxd-type-title-item-line-height: 1.35;
62
+ --pxd-type-title-item-letter-spacing: 0px;
63
+ --pxd-type-body-default-family: Nunito, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
64
+ --pxd-type-body-default-size: 16px;
65
+ --pxd-type-body-default-weight: 400;
66
+ --pxd-type-body-default-line-height: 1.6;
67
+ --pxd-type-body-default-letter-spacing: 0px;
68
+ --pxd-type-body-small-family: Nunito, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
69
+ --pxd-type-body-small-size: 14px;
70
+ --pxd-type-body-small-weight: 400;
71
+ --pxd-type-body-small-line-height: 1.5;
72
+ --pxd-type-body-small-letter-spacing: 0px;
73
+ --pxd-type-label-default-family: Nunito, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
74
+ --pxd-type-label-default-size: 15px;
75
+ --pxd-type-label-default-weight: 700;
76
+ --pxd-type-label-default-line-height: 1.4;
77
+ --pxd-type-label-default-letter-spacing: 0px;
78
+ --pxd-type-label-small-family: Nunito, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
79
+ --pxd-type-label-small-size: 13px;
80
+ --pxd-type-label-small-weight: 700;
81
+ --pxd-type-label-small-line-height: 1.4;
82
+ --pxd-type-label-small-letter-spacing: 0.2px;
83
+ --pxd-type-numeric-display-family: Nunito, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
84
+ --pxd-type-numeric-display-size: 32px;
85
+ --pxd-type-numeric-display-weight: 800;
86
+ --pxd-type-numeric-display-line-height: 1.15;
87
+ --pxd-type-numeric-display-letter-spacing: -0.3px;
88
+ --pxd-space-inset-compact: 10px;
89
+ --pxd-space-inset-default: 16px;
90
+ --pxd-space-inset-comfortable: 24px;
91
+ --pxd-space-stack-tight: 6px;
92
+ --pxd-space-stack-default: 10px;
93
+ --pxd-space-stack-loose: 16px;
94
+ --pxd-space-stack-section: 32px;
95
+ --pxd-space-inline-tight: 6px;
96
+ --pxd-space-inline-default: 10px;
97
+ --pxd-space-inline-loose: 16px;
98
+ --pxd-size-target-min: 44px;
99
+ --pxd-size-icon-small: 16px;
100
+ --pxd-size-icon-default: 20px;
101
+ --pxd-radius-small: 8px;
102
+ --pxd-radius-control: 999px;
103
+ --pxd-radius-default: 16px;
104
+ --pxd-radius-large: 24px;
105
+ --pxd-radius-full: 999px;
106
+ --pxd-border-width-default: 1px;
107
+ --pxd-border-width-strong: 2px;
108
+ --pxd-focus-ring-width: 3px;
109
+ --pxd-focus-ring-offset: 2px;
110
+ --pxd-measure-max: 65;
111
+ --pxd-opacity-state-hover: 0.06;
112
+ --pxd-opacity-state-pressed: 0.12;
113
+ --pxd-opacity-state-focus: 0.12;
114
+ --pxd-opacity-state-disabled: 0.4;
115
+ --pxd-shadow-raised: 0px 4px 16px 0px rgba(61, 53, 82, 0.08);
116
+ --pxd-shadow-overlay: 0px 16px 40px 0px rgba(61, 53, 82, 0.18);
117
+ --pxd-motion-duration-instant: 80ms;
118
+ --pxd-motion-duration-short: 160ms;
119
+ --pxd-motion-duration-medium: 240ms;
120
+ --pxd-motion-duration-long: 360ms;
121
+ --pxd-motion-easing-standard: cubic-bezier(0.4, 0, 0.2, 1);
122
+ --pxd-motion-easing-enter: cubic-bezier(0, 0, 0.2, 1);
123
+ --pxd-motion-easing-exit: cubic-bezier(0.4, 0, 1, 1);
124
+
125
+ /* shadcn/ui variable names, so shadcn components follow this pack too */
126
+ --background: var(--pxd-color-surface-default);
127
+ --foreground: var(--pxd-color-text-default);
128
+ --card: var(--pxd-color-surface-raised);
129
+ --card-foreground: var(--pxd-color-text-default);
130
+ --popover: var(--pxd-color-surface-overlay);
131
+ --popover-foreground: var(--pxd-color-text-default);
132
+ --primary: var(--pxd-color-action-primary-background);
133
+ --primary-foreground: var(--pxd-color-action-primary-foreground);
134
+ --secondary: var(--pxd-color-action-secondary-background);
135
+ --secondary-foreground: var(--pxd-color-action-secondary-foreground);
136
+ --muted: var(--pxd-color-surface-subtle);
137
+ --muted-foreground: var(--pxd-color-text-muted);
138
+ --accent: var(--pxd-color-selection-background);
139
+ --accent-foreground: var(--pxd-color-selection-foreground);
140
+ --destructive: var(--pxd-color-action-danger-background);
141
+ --border: var(--pxd-color-border-default);
142
+ --input: var(--pxd-color-border-strong);
143
+ --ring: var(--pxd-color-border-focus);
144
+ --radius: var(--pxd-radius-default);
145
+ --chart-1: var(--pxd-color-data-categorical-1);
146
+ --chart-2: var(--pxd-color-data-categorical-2);
147
+ --chart-3: var(--pxd-color-data-categorical-3);
148
+ --chart-4: var(--pxd-color-data-categorical-4);
149
+ --chart-5: var(--pxd-color-data-categorical-5);
150
+ color-scheme: light;
151
+ }
152
+
153
+ [data-pxd-theme="pastel"][data-pxd-mode="dark"] {
154
+ --pxd-color-surface-default: #221e2e;
155
+ --pxd-color-surface-subtle: #2c2739;
156
+ --pxd-color-surface-raised: #2a2536;
157
+ --pxd-color-surface-overlay: #332d42;
158
+ --pxd-color-surface-inverse: #f3eefb;
159
+ --pxd-color-scrim: rgba(0, 0, 0, 0.55);
160
+ --pxd-color-text-default: #f1ecf8;
161
+ --pxd-color-text-muted: #b8b0c9;
162
+ --pxd-color-text-inverse: #221e2e;
163
+ --pxd-color-text-link: #c4b3ff;
164
+ --pxd-color-border-default: #3e3850;
165
+ --pxd-color-border-strong: #8a80a3;
166
+ --pxd-color-border-focus: #c4b3ff;
167
+ --pxd-color-action-primary-background: #b6a4ff;
168
+ --pxd-color-action-primary-foreground: #22173f;
169
+ --pxd-color-action-secondary-background: #213a31;
170
+ --pxd-color-action-secondary-foreground: #bfe9d4;
171
+ --pxd-color-action-secondary-border: #3f6b57;
172
+ --pxd-color-action-danger-background: #ff8f80;
173
+ --pxd-color-action-danger-foreground: #3d0f0a;
174
+ --pxd-color-selection-background: #4a3328;
175
+ --pxd-color-selection-foreground: #ffd3bd;
176
+ --pxd-color-status-info-background: #24344d;
177
+ --pxd-color-status-info-foreground: #b9d4ff;
178
+ --pxd-color-status-info-emphasis: #8ab4f2;
179
+ --pxd-color-status-success-background: #213a31;
180
+ --pxd-color-status-success-foreground: #bfe9d4;
181
+ --pxd-color-status-success-emphasis: #6fcf9a;
182
+ --pxd-color-status-warning-background: #3f3220;
183
+ --pxd-color-status-warning-foreground: #ffd89a;
184
+ --pxd-color-status-warning-emphasis: #e5a94a;
185
+ --pxd-color-status-danger-background: #4a2626;
186
+ --pxd-color-status-danger-foreground: #ffb8b0;
187
+ --pxd-color-status-danger-emphasis: #ff8f80;
188
+ --pxd-color-data-categorical-1: #b6a4ff;
189
+ --pxd-color-data-categorical-2: #6fcf9a;
190
+ --pxd-color-data-categorical-3: #ffab8f;
191
+ --pxd-color-data-categorical-4: #8ab4f2;
192
+ --pxd-color-data-categorical-5: #e5a94a;
193
+ --pxd-color-data-categorical-6: #f2a0cf;
194
+ --pxd-color-data-positive: #6fcf9a;
195
+ --pxd-color-data-negative: #ff8f80;
196
+ --pxd-color-data-neutral: #8a80a3;
197
+ --pxd-type-title-page-family: Nunito, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
198
+ --pxd-type-title-page-size: 30px;
199
+ --pxd-type-title-page-weight: 800;
200
+ --pxd-type-title-page-line-height: 1.2;
201
+ --pxd-type-title-page-letter-spacing: -0.3px;
202
+ --pxd-type-title-section-family: Nunito, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
203
+ --pxd-type-title-section-size: 22px;
204
+ --pxd-type-title-section-weight: 700;
205
+ --pxd-type-title-section-line-height: 1.25;
206
+ --pxd-type-title-section-letter-spacing: 0px;
207
+ --pxd-type-title-item-family: Nunito, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
208
+ --pxd-type-title-item-size: 17px;
209
+ --pxd-type-title-item-weight: 700;
210
+ --pxd-type-title-item-line-height: 1.35;
211
+ --pxd-type-title-item-letter-spacing: 0px;
212
+ --pxd-type-body-default-family: Nunito, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
213
+ --pxd-type-body-default-size: 16px;
214
+ --pxd-type-body-default-weight: 400;
215
+ --pxd-type-body-default-line-height: 1.6;
216
+ --pxd-type-body-default-letter-spacing: 0px;
217
+ --pxd-type-body-small-family: Nunito, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
218
+ --pxd-type-body-small-size: 14px;
219
+ --pxd-type-body-small-weight: 400;
220
+ --pxd-type-body-small-line-height: 1.5;
221
+ --pxd-type-body-small-letter-spacing: 0px;
222
+ --pxd-type-label-default-family: Nunito, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
223
+ --pxd-type-label-default-size: 15px;
224
+ --pxd-type-label-default-weight: 700;
225
+ --pxd-type-label-default-line-height: 1.4;
226
+ --pxd-type-label-default-letter-spacing: 0px;
227
+ --pxd-type-label-small-family: Nunito, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
228
+ --pxd-type-label-small-size: 13px;
229
+ --pxd-type-label-small-weight: 700;
230
+ --pxd-type-label-small-line-height: 1.4;
231
+ --pxd-type-label-small-letter-spacing: 0.2px;
232
+ --pxd-type-numeric-display-family: Nunito, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
233
+ --pxd-type-numeric-display-size: 32px;
234
+ --pxd-type-numeric-display-weight: 800;
235
+ --pxd-type-numeric-display-line-height: 1.15;
236
+ --pxd-type-numeric-display-letter-spacing: -0.3px;
237
+ --pxd-space-inset-compact: 10px;
238
+ --pxd-space-inset-default: 16px;
239
+ --pxd-space-inset-comfortable: 24px;
240
+ --pxd-space-stack-tight: 6px;
241
+ --pxd-space-stack-default: 10px;
242
+ --pxd-space-stack-loose: 16px;
243
+ --pxd-space-stack-section: 32px;
244
+ --pxd-space-inline-tight: 6px;
245
+ --pxd-space-inline-default: 10px;
246
+ --pxd-space-inline-loose: 16px;
247
+ --pxd-size-target-min: 44px;
248
+ --pxd-size-icon-small: 16px;
249
+ --pxd-size-icon-default: 20px;
250
+ --pxd-radius-small: 8px;
251
+ --pxd-radius-control: 999px;
252
+ --pxd-radius-default: 16px;
253
+ --pxd-radius-large: 24px;
254
+ --pxd-radius-full: 999px;
255
+ --pxd-border-width-default: 1px;
256
+ --pxd-border-width-strong: 2px;
257
+ --pxd-focus-ring-width: 3px;
258
+ --pxd-focus-ring-offset: 2px;
259
+ --pxd-measure-max: 65;
260
+ --pxd-opacity-state-hover: 0.06;
261
+ --pxd-opacity-state-pressed: 0.12;
262
+ --pxd-opacity-state-focus: 0.12;
263
+ --pxd-opacity-state-disabled: 0.4;
264
+ --pxd-shadow-raised: 0px 4px 16px 0px rgba(0, 0, 0, 0.25);
265
+ --pxd-shadow-overlay: 0px 16px 40px 0px rgba(0, 0, 0, 0.45);
266
+ --pxd-motion-duration-instant: 80ms;
267
+ --pxd-motion-duration-short: 160ms;
268
+ --pxd-motion-duration-medium: 240ms;
269
+ --pxd-motion-duration-long: 360ms;
270
+ --pxd-motion-easing-standard: cubic-bezier(0.4, 0, 0.2, 1);
271
+ --pxd-motion-easing-enter: cubic-bezier(0, 0, 0.2, 1);
272
+ --pxd-motion-easing-exit: cubic-bezier(0.4, 0, 1, 1);
273
+
274
+ /* shadcn/ui variable names, so shadcn components follow this pack too */
275
+ --background: var(--pxd-color-surface-default);
276
+ --foreground: var(--pxd-color-text-default);
277
+ --card: var(--pxd-color-surface-raised);
278
+ --card-foreground: var(--pxd-color-text-default);
279
+ --popover: var(--pxd-color-surface-overlay);
280
+ --popover-foreground: var(--pxd-color-text-default);
281
+ --primary: var(--pxd-color-action-primary-background);
282
+ --primary-foreground: var(--pxd-color-action-primary-foreground);
283
+ --secondary: var(--pxd-color-action-secondary-background);
284
+ --secondary-foreground: var(--pxd-color-action-secondary-foreground);
285
+ --muted: var(--pxd-color-surface-subtle);
286
+ --muted-foreground: var(--pxd-color-text-muted);
287
+ --accent: var(--pxd-color-selection-background);
288
+ --accent-foreground: var(--pxd-color-selection-foreground);
289
+ --destructive: var(--pxd-color-action-danger-background);
290
+ --border: var(--pxd-color-border-default);
291
+ --input: var(--pxd-color-border-strong);
292
+ --ring: var(--pxd-color-border-focus);
293
+ --radius: var(--pxd-radius-default);
294
+ --chart-1: var(--pxd-color-data-categorical-1);
295
+ --chart-2: var(--pxd-color-data-categorical-2);
296
+ --chart-3: var(--pxd-color-data-categorical-3);
297
+ --chart-4: var(--pxd-color-data-categorical-4);
298
+ --chart-5: var(--pxd-color-data-categorical-5);
299
+ color-scheme: dark;
300
+ }
@@ -0,0 +1,300 @@
1
+ /* Generated by @polyxd/react scripts/build-themes.ts from the polaris pack. Do not edit. */
2
+
3
+ [data-pxd-theme="polaris"]:not([data-pxd-mode]),
4
+ [data-pxd-theme="polaris"][data-pxd-mode="light"] {
5
+ --pxd-color-surface-default: rgba(255, 255, 255, 1);
6
+ --pxd-color-surface-subtle: rgba(241, 241, 241, 1);
7
+ --pxd-color-surface-raised: rgba(255, 255, 255, 1);
8
+ --pxd-color-surface-overlay: rgba(255, 255, 255, 1);
9
+ --pxd-color-surface-inverse: rgba(48, 48, 48, 1);
10
+ --pxd-color-scrim: rgba(0, 0, 0, 0.71);
11
+ --pxd-color-text-default: rgba(26, 26, 26, 1);
12
+ --pxd-color-text-muted: rgba(74, 74, 74, 1);
13
+ --pxd-color-text-inverse: rgba(227, 227, 227, 1);
14
+ --pxd-color-text-link: rgba(0, 91, 211, 1);
15
+ --pxd-color-border-default: rgba(204, 204, 204, 1);
16
+ --pxd-color-border-strong: rgba(138, 138, 138, 1);
17
+ --pxd-color-border-focus: rgba(0, 91, 211, 1);
18
+ --pxd-color-action-primary-background: rgba(48, 48, 48, 1);
19
+ --pxd-color-action-primary-foreground: rgba(255, 255, 255, 1);
20
+ --pxd-color-action-secondary-background: rgba(255, 255, 255, 1);
21
+ --pxd-color-action-secondary-foreground: rgba(26, 26, 26, 1);
22
+ --pxd-color-action-secondary-border: rgba(138, 138, 138, 1);
23
+ --pxd-color-action-danger-background: rgba(199, 10, 36, 1);
24
+ --pxd-color-action-danger-foreground: rgba(255, 250, 251, 1);
25
+ --pxd-color-selection-background: rgba(240, 242, 255, 1);
26
+ --pxd-color-selection-foreground: rgba(0, 91, 211, 1);
27
+ --pxd-color-status-info-background: rgba(234, 244, 255, 1);
28
+ --pxd-color-status-info-foreground: rgba(0, 58, 90, 1);
29
+ --pxd-color-status-info-emphasis: rgba(0, 148, 213, 1);
30
+ --pxd-color-status-success-background: rgba(205, 254, 212, 1);
31
+ --pxd-color-status-success-foreground: rgba(1, 75, 64, 1);
32
+ --pxd-color-status-success-emphasis: rgba(4, 123, 93, 1);
33
+ --pxd-color-status-warning-background: rgba(255, 241, 227, 1);
34
+ --pxd-color-status-warning-foreground: rgba(94, 66, 0, 1);
35
+ --pxd-color-status-warning-emphasis: rgba(178, 132, 0, 1);
36
+ --pxd-color-status-danger-background: rgba(254, 232, 235, 1);
37
+ --pxd-color-status-danger-foreground: rgba(142, 11, 33, 1);
38
+ --pxd-color-status-danger-emphasis: rgba(226, 44, 56, 1);
39
+ --pxd-color-data-categorical-1: rgba(0, 148, 213, 1);
40
+ --pxd-color-data-categorical-2: rgba(4, 123, 93, 1);
41
+ --pxd-color-data-categorical-3: rgba(128, 81, 255, 1);
42
+ --pxd-color-data-categorical-4: rgba(178, 132, 0, 1);
43
+ --pxd-color-data-categorical-5: rgba(226, 44, 56, 1);
44
+ --pxd-color-data-categorical-6: rgba(153, 138, 0, 1);
45
+ --pxd-color-data-positive: rgba(4, 123, 93, 1);
46
+ --pxd-color-data-negative: rgba(226, 44, 56, 1);
47
+ --pxd-color-data-neutral: rgba(74, 74, 74, 1);
48
+ --pxd-type-title-page-family: Inter, -apple-system, BlinkMacSystemFont, "San Francisco", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
49
+ --pxd-type-title-page-size: 24px;
50
+ --pxd-type-title-page-weight: 700;
51
+ --pxd-type-title-page-line-height: 32px;
52
+ --pxd-type-title-page-letter-spacing: 0px;
53
+ --pxd-type-title-section-family: Inter, -apple-system, BlinkMacSystemFont, "San Francisco", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
54
+ --pxd-type-title-section-size: 16px;
55
+ --pxd-type-title-section-weight: 650;
56
+ --pxd-type-title-section-line-height: 24px;
57
+ --pxd-type-title-section-letter-spacing: 0px;
58
+ --pxd-type-title-item-family: Inter, -apple-system, BlinkMacSystemFont, "San Francisco", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
59
+ --pxd-type-title-item-size: 14px;
60
+ --pxd-type-title-item-weight: 650;
61
+ --pxd-type-title-item-line-height: 20px;
62
+ --pxd-type-title-item-letter-spacing: 0px;
63
+ --pxd-type-body-default-family: Inter, -apple-system, BlinkMacSystemFont, "San Francisco", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
64
+ --pxd-type-body-default-size: 16px;
65
+ --pxd-type-body-default-weight: 450;
66
+ --pxd-type-body-default-line-height: 24px;
67
+ --pxd-type-body-default-letter-spacing: 0px;
68
+ --pxd-type-body-small-family: Inter, -apple-system, BlinkMacSystemFont, "San Francisco", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
69
+ --pxd-type-body-small-size: 14px;
70
+ --pxd-type-body-small-weight: 450;
71
+ --pxd-type-body-small-line-height: 20px;
72
+ --pxd-type-body-small-letter-spacing: 0px;
73
+ --pxd-type-label-default-family: Inter, -apple-system, BlinkMacSystemFont, "San Francisco", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
74
+ --pxd-type-label-default-size: 13px;
75
+ --pxd-type-label-default-weight: 550;
76
+ --pxd-type-label-default-line-height: 20px;
77
+ --pxd-type-label-default-letter-spacing: 0px;
78
+ --pxd-type-label-small-family: Inter, -apple-system, BlinkMacSystemFont, "San Francisco", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
79
+ --pxd-type-label-small-size: 12px;
80
+ --pxd-type-label-small-weight: 550;
81
+ --pxd-type-label-small-line-height: 16px;
82
+ --pxd-type-label-small-letter-spacing: 0px;
83
+ --pxd-type-numeric-display-family: Inter, -apple-system, BlinkMacSystemFont, "San Francisco", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
84
+ --pxd-type-numeric-display-size: 24px;
85
+ --pxd-type-numeric-display-weight: 700;
86
+ --pxd-type-numeric-display-line-height: 32px;
87
+ --pxd-type-numeric-display-letter-spacing: 0px;
88
+ --pxd-space-inset-compact: 8px;
89
+ --pxd-space-inset-default: 16px;
90
+ --pxd-space-inset-comfortable: 20px;
91
+ --pxd-space-stack-tight: 4px;
92
+ --pxd-space-stack-default: 8px;
93
+ --pxd-space-stack-loose: 16px;
94
+ --pxd-space-stack-section: 32px;
95
+ --pxd-space-inline-tight: 4px;
96
+ --pxd-space-inline-default: 8px;
97
+ --pxd-space-inline-loose: 16px;
98
+ --pxd-size-target-min: 44px;
99
+ --pxd-size-icon-small: 14px;
100
+ --pxd-size-icon-default: 20px;
101
+ --pxd-radius-small: 4px;
102
+ --pxd-radius-control: 8px;
103
+ --pxd-radius-default: 12px;
104
+ --pxd-radius-large: 16px;
105
+ --pxd-radius-full: 9999px;
106
+ --pxd-border-width-default: 1px;
107
+ --pxd-border-width-strong: 2px;
108
+ --pxd-focus-ring-width: 2px;
109
+ --pxd-focus-ring-offset: 2px;
110
+ --pxd-measure-max: 65;
111
+ --pxd-opacity-state-hover: 0.05;
112
+ --pxd-opacity-state-pressed: 0.08;
113
+ --pxd-opacity-state-focus: 0.12;
114
+ --pxd-opacity-state-disabled: 0.4;
115
+ --pxd-shadow-raised: 0px 3px 1px -1px rgba(26, 26, 26, 0.07);
116
+ --pxd-shadow-overlay: 0px 8px 16px -4px rgba(26, 26, 26, 0.22);
117
+ --pxd-motion-duration-instant: 50ms;
118
+ --pxd-motion-duration-short: 150ms;
119
+ --pxd-motion-duration-medium: 200ms;
120
+ --pxd-motion-duration-long: 300ms;
121
+ --pxd-motion-easing-standard: cubic-bezier(0.25, 0.1, 0.25, 1);
122
+ --pxd-motion-easing-enter: cubic-bezier(0, 0, 0.58, 1);
123
+ --pxd-motion-easing-exit: cubic-bezier(0.42, 0, 1, 1);
124
+
125
+ /* shadcn/ui variable names, so shadcn components follow this pack too */
126
+ --background: var(--pxd-color-surface-default);
127
+ --foreground: var(--pxd-color-text-default);
128
+ --card: var(--pxd-color-surface-raised);
129
+ --card-foreground: var(--pxd-color-text-default);
130
+ --popover: var(--pxd-color-surface-overlay);
131
+ --popover-foreground: var(--pxd-color-text-default);
132
+ --primary: var(--pxd-color-action-primary-background);
133
+ --primary-foreground: var(--pxd-color-action-primary-foreground);
134
+ --secondary: var(--pxd-color-action-secondary-background);
135
+ --secondary-foreground: var(--pxd-color-action-secondary-foreground);
136
+ --muted: var(--pxd-color-surface-subtle);
137
+ --muted-foreground: var(--pxd-color-text-muted);
138
+ --accent: var(--pxd-color-selection-background);
139
+ --accent-foreground: var(--pxd-color-selection-foreground);
140
+ --destructive: var(--pxd-color-action-danger-background);
141
+ --border: var(--pxd-color-border-default);
142
+ --input: var(--pxd-color-border-strong);
143
+ --ring: var(--pxd-color-border-focus);
144
+ --radius: var(--pxd-radius-default);
145
+ --chart-1: var(--pxd-color-data-categorical-1);
146
+ --chart-2: var(--pxd-color-data-categorical-2);
147
+ --chart-3: var(--pxd-color-data-categorical-3);
148
+ --chart-4: var(--pxd-color-data-categorical-4);
149
+ --chart-5: var(--pxd-color-data-categorical-5);
150
+ color-scheme: light;
151
+ }
152
+
153
+ [data-pxd-theme="polaris"][data-pxd-mode="dark"] {
154
+ --pxd-color-surface-default: rgba(48, 48, 48, 1);
155
+ --pxd-color-surface-subtle: rgba(26, 26, 26, 1);
156
+ --pxd-color-surface-raised: rgba(48, 48, 48, 1);
157
+ --pxd-color-surface-overlay: rgba(48, 48, 48, 1);
158
+ --pxd-color-surface-inverse: rgba(48, 48, 48, 1);
159
+ --pxd-color-scrim: rgba(0, 0, 0, 0.71);
160
+ --pxd-color-text-default: rgba(227, 227, 227, 1);
161
+ --pxd-color-text-muted: rgba(181, 181, 181, 1);
162
+ --pxd-color-text-inverse: rgba(227, 227, 227, 1);
163
+ --pxd-color-text-link: rgba(240, 242, 255, 1);
164
+ --pxd-color-border-default: rgba(204, 204, 204, 1);
165
+ --pxd-color-border-strong: rgba(138, 138, 138, 1);
166
+ --pxd-color-border-focus: rgba(240, 242, 255, 1);
167
+ --pxd-color-action-primary-background: rgba(255, 255, 255, 1);
168
+ --pxd-color-action-primary-foreground: rgba(48, 48, 48, 1);
169
+ --pxd-color-action-secondary-background: rgba(48, 48, 48, 1);
170
+ --pxd-color-action-secondary-foreground: rgba(227, 227, 227, 1);
171
+ --pxd-color-action-secondary-border: rgba(138, 138, 138, 1);
172
+ --pxd-color-action-danger-background: rgba(254, 193, 199, 1);
173
+ --pxd-color-action-danger-foreground: rgba(142, 11, 33, 1);
174
+ --pxd-color-selection-background: rgba(240, 242, 255, 1);
175
+ --pxd-color-selection-foreground: rgba(0, 91, 211, 1);
176
+ --pxd-color-status-info-background: rgba(234, 244, 255, 1);
177
+ --pxd-color-status-info-foreground: rgba(0, 58, 90, 1);
178
+ --pxd-color-status-info-emphasis: rgba(0, 148, 213, 1);
179
+ --pxd-color-status-success-background: rgba(205, 254, 212, 1);
180
+ --pxd-color-status-success-foreground: rgba(1, 75, 64, 1);
181
+ --pxd-color-status-success-emphasis: rgba(146, 252, 172, 1);
182
+ --pxd-color-status-warning-background: rgba(255, 241, 227, 1);
183
+ --pxd-color-status-warning-foreground: rgba(94, 66, 0, 1);
184
+ --pxd-color-status-warning-emphasis: rgba(178, 132, 0, 1);
185
+ --pxd-color-status-danger-background: rgba(254, 232, 235, 1);
186
+ --pxd-color-status-danger-foreground: rgba(142, 11, 33, 1);
187
+ --pxd-color-status-danger-emphasis: rgba(254, 193, 199, 1);
188
+ --pxd-color-data-categorical-1: rgba(0, 148, 213, 1);
189
+ --pxd-color-data-categorical-2: rgba(146, 252, 172, 1);
190
+ --pxd-color-data-categorical-3: rgba(228, 222, 255, 1);
191
+ --pxd-color-data-categorical-4: rgba(178, 132, 0, 1);
192
+ --pxd-color-data-categorical-5: rgba(254, 193, 199, 1);
193
+ --pxd-color-data-categorical-6: rgba(153, 138, 0, 1);
194
+ --pxd-color-data-positive: rgba(146, 252, 172, 1);
195
+ --pxd-color-data-negative: rgba(254, 193, 199, 1);
196
+ --pxd-color-data-neutral: rgba(227, 227, 227, 1);
197
+ --pxd-type-title-page-family: Inter, -apple-system, BlinkMacSystemFont, "San Francisco", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
198
+ --pxd-type-title-page-size: 24px;
199
+ --pxd-type-title-page-weight: 700;
200
+ --pxd-type-title-page-line-height: 32px;
201
+ --pxd-type-title-page-letter-spacing: 0px;
202
+ --pxd-type-title-section-family: Inter, -apple-system, BlinkMacSystemFont, "San Francisco", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
203
+ --pxd-type-title-section-size: 16px;
204
+ --pxd-type-title-section-weight: 650;
205
+ --pxd-type-title-section-line-height: 24px;
206
+ --pxd-type-title-section-letter-spacing: 0px;
207
+ --pxd-type-title-item-family: Inter, -apple-system, BlinkMacSystemFont, "San Francisco", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
208
+ --pxd-type-title-item-size: 14px;
209
+ --pxd-type-title-item-weight: 650;
210
+ --pxd-type-title-item-line-height: 20px;
211
+ --pxd-type-title-item-letter-spacing: 0px;
212
+ --pxd-type-body-default-family: Inter, -apple-system, BlinkMacSystemFont, "San Francisco", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
213
+ --pxd-type-body-default-size: 16px;
214
+ --pxd-type-body-default-weight: 450;
215
+ --pxd-type-body-default-line-height: 24px;
216
+ --pxd-type-body-default-letter-spacing: 0px;
217
+ --pxd-type-body-small-family: Inter, -apple-system, BlinkMacSystemFont, "San Francisco", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
218
+ --pxd-type-body-small-size: 14px;
219
+ --pxd-type-body-small-weight: 450;
220
+ --pxd-type-body-small-line-height: 20px;
221
+ --pxd-type-body-small-letter-spacing: 0px;
222
+ --pxd-type-label-default-family: Inter, -apple-system, BlinkMacSystemFont, "San Francisco", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
223
+ --pxd-type-label-default-size: 13px;
224
+ --pxd-type-label-default-weight: 550;
225
+ --pxd-type-label-default-line-height: 20px;
226
+ --pxd-type-label-default-letter-spacing: 0px;
227
+ --pxd-type-label-small-family: Inter, -apple-system, BlinkMacSystemFont, "San Francisco", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
228
+ --pxd-type-label-small-size: 12px;
229
+ --pxd-type-label-small-weight: 550;
230
+ --pxd-type-label-small-line-height: 16px;
231
+ --pxd-type-label-small-letter-spacing: 0px;
232
+ --pxd-type-numeric-display-family: Inter, -apple-system, BlinkMacSystemFont, "San Francisco", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
233
+ --pxd-type-numeric-display-size: 24px;
234
+ --pxd-type-numeric-display-weight: 700;
235
+ --pxd-type-numeric-display-line-height: 32px;
236
+ --pxd-type-numeric-display-letter-spacing: 0px;
237
+ --pxd-space-inset-compact: 8px;
238
+ --pxd-space-inset-default: 16px;
239
+ --pxd-space-inset-comfortable: 20px;
240
+ --pxd-space-stack-tight: 4px;
241
+ --pxd-space-stack-default: 8px;
242
+ --pxd-space-stack-loose: 16px;
243
+ --pxd-space-stack-section: 32px;
244
+ --pxd-space-inline-tight: 4px;
245
+ --pxd-space-inline-default: 8px;
246
+ --pxd-space-inline-loose: 16px;
247
+ --pxd-size-target-min: 44px;
248
+ --pxd-size-icon-small: 14px;
249
+ --pxd-size-icon-default: 20px;
250
+ --pxd-radius-small: 4px;
251
+ --pxd-radius-control: 8px;
252
+ --pxd-radius-default: 12px;
253
+ --pxd-radius-large: 16px;
254
+ --pxd-radius-full: 9999px;
255
+ --pxd-border-width-default: 1px;
256
+ --pxd-border-width-strong: 2px;
257
+ --pxd-focus-ring-width: 2px;
258
+ --pxd-focus-ring-offset: 2px;
259
+ --pxd-measure-max: 65;
260
+ --pxd-opacity-state-hover: 0.05;
261
+ --pxd-opacity-state-pressed: 0.08;
262
+ --pxd-opacity-state-focus: 0.12;
263
+ --pxd-opacity-state-disabled: 0.4;
264
+ --pxd-shadow-raised: 0px 3px 1px -1px rgba(26, 26, 26, 0.07);
265
+ --pxd-shadow-overlay: 0px 8px 16px -4px rgba(26, 26, 26, 0.22);
266
+ --pxd-motion-duration-instant: 50ms;
267
+ --pxd-motion-duration-short: 150ms;
268
+ --pxd-motion-duration-medium: 200ms;
269
+ --pxd-motion-duration-long: 300ms;
270
+ --pxd-motion-easing-standard: cubic-bezier(0.25, 0.1, 0.25, 1);
271
+ --pxd-motion-easing-enter: cubic-bezier(0, 0, 0.58, 1);
272
+ --pxd-motion-easing-exit: cubic-bezier(0.42, 0, 1, 1);
273
+
274
+ /* shadcn/ui variable names, so shadcn components follow this pack too */
275
+ --background: var(--pxd-color-surface-default);
276
+ --foreground: var(--pxd-color-text-default);
277
+ --card: var(--pxd-color-surface-raised);
278
+ --card-foreground: var(--pxd-color-text-default);
279
+ --popover: var(--pxd-color-surface-overlay);
280
+ --popover-foreground: var(--pxd-color-text-default);
281
+ --primary: var(--pxd-color-action-primary-background);
282
+ --primary-foreground: var(--pxd-color-action-primary-foreground);
283
+ --secondary: var(--pxd-color-action-secondary-background);
284
+ --secondary-foreground: var(--pxd-color-action-secondary-foreground);
285
+ --muted: var(--pxd-color-surface-subtle);
286
+ --muted-foreground: var(--pxd-color-text-muted);
287
+ --accent: var(--pxd-color-selection-background);
288
+ --accent-foreground: var(--pxd-color-selection-foreground);
289
+ --destructive: var(--pxd-color-action-danger-background);
290
+ --border: var(--pxd-color-border-default);
291
+ --input: var(--pxd-color-border-strong);
292
+ --ring: var(--pxd-color-border-focus);
293
+ --radius: var(--pxd-radius-default);
294
+ --chart-1: var(--pxd-color-data-categorical-1);
295
+ --chart-2: var(--pxd-color-data-categorical-2);
296
+ --chart-3: var(--pxd-color-data-categorical-3);
297
+ --chart-4: var(--pxd-color-data-categorical-4);
298
+ --chart-5: var(--pxd-color-data-categorical-5);
299
+ color-scheme: dark;
300
+ }