@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.
- package/LICENSE +202 -0
- package/NOTICE +190 -0
- package/README.md +79 -0
- package/adapters/PolyxdSurface.svelte +65 -0
- package/adapters/PolyxdSurface.vue +61 -0
- package/dist/components/action-bar.d.ts +14 -0
- package/dist/components/action-bar.js +69 -0
- package/dist/components/action-bar.js.map +1 -0
- package/dist/components/avatar.d.ts +9 -0
- package/dist/components/avatar.js +16 -0
- package/dist/components/avatar.js.map +1 -0
- package/dist/components/chart.d.ts +5 -0
- package/dist/components/chart.js +132 -0
- package/dist/components/chart.js.map +1 -0
- package/dist/components/content.d.ts +20 -0
- package/dist/components/content.js +286 -0
- package/dist/components/content.js.map +1 -0
- package/dist/components/filter.d.ts +9 -0
- package/dist/components/filter.js +43 -0
- package/dist/components/filter.js.map +1 -0
- package/dist/components/flow.d.ts +12 -0
- package/dist/components/flow.js +188 -0
- package/dist/components/flow.js.map +1 -0
- package/dist/components/index.d.ts +10 -0
- package/dist/components/index.js +30 -0
- package/dist/components/index.js.map +1 -0
- package/dist/components/inputs.d.ts +28 -0
- package/dist/components/inputs.js +530 -0
- package/dist/components/inputs.js.map +1 -0
- package/dist/components/marks.d.ts +32 -0
- package/dist/components/marks.js +164 -0
- package/dist/components/marks.js.map +1 -0
- package/dist/components/navigation.d.ts +11 -0
- package/dist/components/navigation.js +99 -0
- package/dist/components/navigation.js.map +1 -0
- package/dist/components/overlays.d.ts +16 -0
- package/dist/components/overlays.js +146 -0
- package/dist/components/overlays.js.map +1 -0
- package/dist/components/pickers.d.ts +6 -0
- package/dist/components/pickers.js +272 -0
- package/dist/components/pickers.js.map +1 -0
- package/dist/components/shell.d.ts +30 -0
- package/dist/components/shell.js +167 -0
- package/dist/components/shell.js.map +1 -0
- package/dist/components/split.d.ts +8 -0
- package/dist/components/split.js +76 -0
- package/dist/components/split.js.map +1 -0
- package/dist/components/structure.d.ts +12 -0
- package/dist/components/structure.js +69 -0
- package/dist/components/structure.js.map +1 -0
- package/dist/components/table.d.ts +11 -0
- package/dist/components/table.js +142 -0
- package/dist/components/table.js.map +1 -0
- package/dist/components/tree.d.ts +10 -0
- package/dist/components/tree.js +177 -0
- package/dist/components/tree.js.map +1 -0
- package/dist/dom.d.ts +25 -0
- package/dist/dom.js +211 -0
- package/dist/dom.js.map +1 -0
- package/dist/elements.d.ts +87 -0
- package/dist/elements.js +244 -0
- package/dist/elements.js.map +1 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +7 -0
- package/dist/index.js.map +1 -0
- package/dist/primitives.d.ts +111 -0
- package/dist/primitives.js +361 -0
- package/dist/primitives.js.map +1 -0
- package/dist/renderer.d.ts +145 -0
- package/dist/renderer.js +244 -0
- package/dist/renderer.js.map +1 -0
- package/dist/skeleton.d.ts +14 -0
- package/dist/skeleton.js +13 -0
- package/dist/skeleton.js.map +1 -0
- package/package.json +52 -0
- package/preview/polyxd-web.css +2 -0
- package/preview/polyxd-web.js +15 -0
- package/styles.css +5012 -0
- package/themes/antd.css +300 -0
- package/themes/bootstrap.css +300 -0
- package/themes/brutalist.css +300 -0
- package/themes/carbon.css +310 -0
- package/themes/chakra.css +300 -0
- package/themes/civic.css +300 -0
- package/themes/editorial.css +300 -0
- package/themes/finance.css +300 -0
- package/themes/fluent.css +300 -0
- package/themes/glass.css +300 -0
- package/themes/govuk.css +150 -0
- package/themes/health.css +300 -0
- package/themes/mantine.css +300 -0
- package/themes/material3.css +300 -0
- package/themes/mono.css +300 -0
- package/themes/neon.css +300 -0
- package/themes/pastel.css +300 -0
- package/themes/polaris.css +300 -0
- package/themes/primer.css +300 -0
- package/themes/radix.css +300 -0
- package/themes/shadcn.css +300 -0
- package/themes/sketch.css +356 -0
- package/themes/spectrum.css +300 -0
- package/themes/terminal.css +300 -0
- package/themes/wireframe.css +328 -0
package/themes/govuk.css
ADDED
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
/* Generated by @polyxd/react scripts/build-themes.ts from the govuk pack. Do not edit. */
|
|
2
|
+
|
|
3
|
+
[data-pxd-theme="govuk"] {
|
|
4
|
+
--pxd-color-surface-default: #ffffff;
|
|
5
|
+
--pxd-color-surface-subtle: #f4f8fb;
|
|
6
|
+
--pxd-color-surface-raised: #ffffff;
|
|
7
|
+
--pxd-color-surface-overlay: #ffffff;
|
|
8
|
+
--pxd-color-surface-inverse: #0b0c0c;
|
|
9
|
+
--pxd-color-scrim: rgba(11, 12, 12, 0.6);
|
|
10
|
+
--pxd-color-text-default: #0b0c0c;
|
|
11
|
+
--pxd-color-text-muted: #484949;
|
|
12
|
+
--pxd-color-text-inverse: #ffffff;
|
|
13
|
+
--pxd-color-text-link: #1a65a6;
|
|
14
|
+
--pxd-color-border-default: #cecece;
|
|
15
|
+
--pxd-color-border-strong: #858686;
|
|
16
|
+
--pxd-color-border-focus: #0b0c0c;
|
|
17
|
+
--pxd-color-action-primary-background: #0f7a52;
|
|
18
|
+
--pxd-color-action-primary-foreground: #ffffff;
|
|
19
|
+
--pxd-color-action-secondary-background: #cecece;
|
|
20
|
+
--pxd-color-action-secondary-foreground: #0b0c0c;
|
|
21
|
+
--pxd-color-action-secondary-border: #0b0c0c;
|
|
22
|
+
--pxd-color-action-danger-background: #ca3535;
|
|
23
|
+
--pxd-color-action-danger-foreground: #ffffff;
|
|
24
|
+
--pxd-color-selection-background: #f4f8fb;
|
|
25
|
+
--pxd-color-selection-foreground: #0b0c0c;
|
|
26
|
+
--pxd-color-status-info-background: #f4f8fb;
|
|
27
|
+
--pxd-color-status-info-foreground: #16548a;
|
|
28
|
+
--pxd-color-status-info-emphasis: #1d70b8;
|
|
29
|
+
--pxd-color-status-success-background: #f3f8f6;
|
|
30
|
+
--pxd-color-status-success-foreground: #0b5c3e;
|
|
31
|
+
--pxd-color-status-success-emphasis: #0f7a52;
|
|
32
|
+
--pxd-color-status-warning-background: #fef8f5;
|
|
33
|
+
--pxd-color-status-warning-foreground: #7a3c1c;
|
|
34
|
+
--pxd-color-status-warning-emphasis: #b7592a;
|
|
35
|
+
--pxd-color-status-danger-background: #fcf5f5;
|
|
36
|
+
--pxd-color-status-danger-foreground: #982828;
|
|
37
|
+
--pxd-color-status-danger-emphasis: #ca3535;
|
|
38
|
+
--pxd-color-data-categorical-1: #1d70b8;
|
|
39
|
+
--pxd-color-data-categorical-2: #0f7a52;
|
|
40
|
+
--pxd-color-data-categorical-3: #54319f;
|
|
41
|
+
--pxd-color-data-categorical-4: #b7592a;
|
|
42
|
+
--pxd-color-data-categorical-5: #ca357c;
|
|
43
|
+
--pxd-color-data-categorical-6: #158187;
|
|
44
|
+
--pxd-color-data-positive: #0f7a52;
|
|
45
|
+
--pxd-color-data-negative: #ca3535;
|
|
46
|
+
--pxd-color-data-neutral: #99704a;
|
|
47
|
+
--pxd-type-title-page-family: "GDS Transport", arial, sans-serif;
|
|
48
|
+
--pxd-type-title-page-size: 36px;
|
|
49
|
+
--pxd-type-title-page-weight: 700;
|
|
50
|
+
--pxd-type-title-page-line-height: 40px;
|
|
51
|
+
--pxd-type-title-page-letter-spacing: 0px;
|
|
52
|
+
--pxd-type-title-section-family: "GDS Transport", arial, sans-serif;
|
|
53
|
+
--pxd-type-title-section-size: 24px;
|
|
54
|
+
--pxd-type-title-section-weight: 700;
|
|
55
|
+
--pxd-type-title-section-line-height: 30px;
|
|
56
|
+
--pxd-type-title-section-letter-spacing: 0px;
|
|
57
|
+
--pxd-type-title-item-family: "GDS Transport", arial, sans-serif;
|
|
58
|
+
--pxd-type-title-item-size: 19px;
|
|
59
|
+
--pxd-type-title-item-weight: 700;
|
|
60
|
+
--pxd-type-title-item-line-height: 25px;
|
|
61
|
+
--pxd-type-title-item-letter-spacing: 0px;
|
|
62
|
+
--pxd-type-body-default-family: "GDS Transport", arial, sans-serif;
|
|
63
|
+
--pxd-type-body-default-size: 19px;
|
|
64
|
+
--pxd-type-body-default-weight: 400;
|
|
65
|
+
--pxd-type-body-default-line-height: 25px;
|
|
66
|
+
--pxd-type-body-default-letter-spacing: 0px;
|
|
67
|
+
--pxd-type-body-small-family: "GDS Transport", arial, sans-serif;
|
|
68
|
+
--pxd-type-body-small-size: 16px;
|
|
69
|
+
--pxd-type-body-small-weight: 400;
|
|
70
|
+
--pxd-type-body-small-line-height: 20px;
|
|
71
|
+
--pxd-type-body-small-letter-spacing: 0px;
|
|
72
|
+
--pxd-type-label-default-family: "GDS Transport", arial, sans-serif;
|
|
73
|
+
--pxd-type-label-default-size: 19px;
|
|
74
|
+
--pxd-type-label-default-weight: 700;
|
|
75
|
+
--pxd-type-label-default-line-height: 25px;
|
|
76
|
+
--pxd-type-label-default-letter-spacing: 0px;
|
|
77
|
+
--pxd-type-label-small-family: "GDS Transport", arial, sans-serif;
|
|
78
|
+
--pxd-type-label-small-size: 16px;
|
|
79
|
+
--pxd-type-label-small-weight: 700;
|
|
80
|
+
--pxd-type-label-small-line-height: 20px;
|
|
81
|
+
--pxd-type-label-small-letter-spacing: 0px;
|
|
82
|
+
--pxd-type-numeric-display-family: "GDS Transport", arial, sans-serif;
|
|
83
|
+
--pxd-type-numeric-display-size: 36px;
|
|
84
|
+
--pxd-type-numeric-display-weight: 700;
|
|
85
|
+
--pxd-type-numeric-display-line-height: 40px;
|
|
86
|
+
--pxd-type-numeric-display-letter-spacing: 0px;
|
|
87
|
+
--pxd-space-inset-compact: 10px;
|
|
88
|
+
--pxd-space-inset-default: 20px;
|
|
89
|
+
--pxd-space-inset-comfortable: 30px;
|
|
90
|
+
--pxd-space-stack-tight: 5px;
|
|
91
|
+
--pxd-space-stack-default: 10px;
|
|
92
|
+
--pxd-space-stack-loose: 20px;
|
|
93
|
+
--pxd-space-stack-section: 40px;
|
|
94
|
+
--pxd-space-inline-tight: 5px;
|
|
95
|
+
--pxd-space-inline-default: 10px;
|
|
96
|
+
--pxd-space-inline-loose: 20px;
|
|
97
|
+
--pxd-size-target-min: 44px;
|
|
98
|
+
--pxd-size-icon-small: 16px;
|
|
99
|
+
--pxd-size-icon-default: 19px;
|
|
100
|
+
--pxd-radius-small: 0px;
|
|
101
|
+
--pxd-radius-control: 0px;
|
|
102
|
+
--pxd-radius-default: 0px;
|
|
103
|
+
--pxd-radius-large: 0px;
|
|
104
|
+
--pxd-radius-full: 0px;
|
|
105
|
+
--pxd-border-width-default: 1px;
|
|
106
|
+
--pxd-border-width-strong: 2px;
|
|
107
|
+
--pxd-focus-ring-width: 3px;
|
|
108
|
+
--pxd-focus-ring-offset: 0px;
|
|
109
|
+
--pxd-measure-max: 65;
|
|
110
|
+
--pxd-opacity-state-hover: 0.06;
|
|
111
|
+
--pxd-opacity-state-pressed: 0.12;
|
|
112
|
+
--pxd-opacity-state-focus: 0.12;
|
|
113
|
+
--pxd-opacity-state-disabled: 0.5;
|
|
114
|
+
--pxd-shadow-raised: 0px 0px 0px 0px rgba(0, 0, 0, 0);
|
|
115
|
+
--pxd-shadow-overlay: 0px 0px 0px 0px rgba(0, 0, 0, 0);
|
|
116
|
+
--pxd-motion-duration-instant: 0ms;
|
|
117
|
+
--pxd-motion-duration-short: 0ms;
|
|
118
|
+
--pxd-motion-duration-medium: 0ms;
|
|
119
|
+
--pxd-motion-duration-long: 0ms;
|
|
120
|
+
--pxd-motion-easing-standard: cubic-bezier(0, 0, 1, 1);
|
|
121
|
+
--pxd-motion-easing-enter: cubic-bezier(0, 0, 1, 1);
|
|
122
|
+
--pxd-motion-easing-exit: cubic-bezier(0, 0, 1, 1);
|
|
123
|
+
|
|
124
|
+
/* shadcn/ui variable names, so shadcn components follow this pack too */
|
|
125
|
+
--background: var(--pxd-color-surface-default);
|
|
126
|
+
--foreground: var(--pxd-color-text-default);
|
|
127
|
+
--card: var(--pxd-color-surface-raised);
|
|
128
|
+
--card-foreground: var(--pxd-color-text-default);
|
|
129
|
+
--popover: var(--pxd-color-surface-overlay);
|
|
130
|
+
--popover-foreground: var(--pxd-color-text-default);
|
|
131
|
+
--primary: var(--pxd-color-action-primary-background);
|
|
132
|
+
--primary-foreground: var(--pxd-color-action-primary-foreground);
|
|
133
|
+
--secondary: var(--pxd-color-action-secondary-background);
|
|
134
|
+
--secondary-foreground: var(--pxd-color-action-secondary-foreground);
|
|
135
|
+
--muted: var(--pxd-color-surface-subtle);
|
|
136
|
+
--muted-foreground: var(--pxd-color-text-muted);
|
|
137
|
+
--accent: var(--pxd-color-selection-background);
|
|
138
|
+
--accent-foreground: var(--pxd-color-selection-foreground);
|
|
139
|
+
--destructive: var(--pxd-color-action-danger-background);
|
|
140
|
+
--border: var(--pxd-color-border-default);
|
|
141
|
+
--input: var(--pxd-color-border-strong);
|
|
142
|
+
--ring: var(--pxd-color-border-focus);
|
|
143
|
+
--radius: var(--pxd-radius-default);
|
|
144
|
+
--chart-1: var(--pxd-color-data-categorical-1);
|
|
145
|
+
--chart-2: var(--pxd-color-data-categorical-2);
|
|
146
|
+
--chart-3: var(--pxd-color-data-categorical-3);
|
|
147
|
+
--chart-4: var(--pxd-color-data-categorical-4);
|
|
148
|
+
--chart-5: var(--pxd-color-data-categorical-5);
|
|
149
|
+
color-scheme: light;
|
|
150
|
+
}
|
|
@@ -0,0 +1,300 @@
|
|
|
1
|
+
/* Generated by @polyxd/react scripts/build-themes.ts from the health pack. Do not edit. */
|
|
2
|
+
|
|
3
|
+
[data-pxd-theme="health"]:not([data-pxd-mode]),
|
|
4
|
+
[data-pxd-theme="health"][data-pxd-mode="light"] {
|
|
5
|
+
--pxd-color-surface-default: #fdfbf6;
|
|
6
|
+
--pxd-color-surface-subtle: #f1f4f0;
|
|
7
|
+
--pxd-color-surface-raised: #ffffff;
|
|
8
|
+
--pxd-color-surface-overlay: #ffffff;
|
|
9
|
+
--pxd-color-surface-inverse: #13403f;
|
|
10
|
+
--pxd-color-scrim: rgba(19, 64, 63, 0.45);
|
|
11
|
+
--pxd-color-text-default: #1f2d2c;
|
|
12
|
+
--pxd-color-text-muted: #4e6b69;
|
|
13
|
+
--pxd-color-text-inverse: #fdfbf6;
|
|
14
|
+
--pxd-color-text-link: #0f6e6a;
|
|
15
|
+
--pxd-color-border-default: #d6ddd9;
|
|
16
|
+
--pxd-color-border-strong: #6f8a87;
|
|
17
|
+
--pxd-color-border-focus: #0f6e6a;
|
|
18
|
+
--pxd-color-action-primary-background: #0f6e6a;
|
|
19
|
+
--pxd-color-action-primary-foreground: #ffffff;
|
|
20
|
+
--pxd-color-action-secondary-background: #e4f1ef;
|
|
21
|
+
--pxd-color-action-secondary-foreground: #13403f;
|
|
22
|
+
--pxd-color-action-secondary-border: #b6d3cf;
|
|
23
|
+
--pxd-color-action-danger-background: #b5432f;
|
|
24
|
+
--pxd-color-action-danger-foreground: #ffffff;
|
|
25
|
+
--pxd-color-selection-background: #d9efe9;
|
|
26
|
+
--pxd-color-selection-foreground: #13403f;
|
|
27
|
+
--pxd-color-status-info-background: #e2eef5;
|
|
28
|
+
--pxd-color-status-info-foreground: #1e4b66;
|
|
29
|
+
--pxd-color-status-info-emphasis: #2f7fa8;
|
|
30
|
+
--pxd-color-status-success-background: #e2f2e6;
|
|
31
|
+
--pxd-color-status-success-foreground: #1e5a34;
|
|
32
|
+
--pxd-color-status-success-emphasis: #2f8a52;
|
|
33
|
+
--pxd-color-status-warning-background: #fbecd9;
|
|
34
|
+
--pxd-color-status-warning-foreground: #6e4210;
|
|
35
|
+
--pxd-color-status-warning-emphasis: #c17a1d;
|
|
36
|
+
--pxd-color-status-danger-background: #f9e2dd;
|
|
37
|
+
--pxd-color-status-danger-foreground: #7f2a20;
|
|
38
|
+
--pxd-color-status-danger-emphasis: #b5432f;
|
|
39
|
+
--pxd-color-data-categorical-1: #0f6e6a;
|
|
40
|
+
--pxd-color-data-categorical-2: #c17a1d;
|
|
41
|
+
--pxd-color-data-categorical-3: #2f7fa8;
|
|
42
|
+
--pxd-color-data-categorical-4: #8a5fa8;
|
|
43
|
+
--pxd-color-data-categorical-5: #2f8a52;
|
|
44
|
+
--pxd-color-data-categorical-6: #b5432f;
|
|
45
|
+
--pxd-color-data-positive: #2f8a52;
|
|
46
|
+
--pxd-color-data-negative: #b5432f;
|
|
47
|
+
--pxd-color-data-neutral: #6f8a87;
|
|
48
|
+
--pxd-type-title-page-family: 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: 600;
|
|
51
|
+
--pxd-type-title-page-line-height: 1.25;
|
|
52
|
+
--pxd-type-title-page-letter-spacing: -0.2px;
|
|
53
|
+
--pxd-type-title-section-family: 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: 600;
|
|
56
|
+
--pxd-type-title-section-line-height: 1.3;
|
|
57
|
+
--pxd-type-title-section-letter-spacing: 0px;
|
|
58
|
+
--pxd-type-title-item-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
|
59
|
+
--pxd-type-title-item-size: 18px;
|
|
60
|
+
--pxd-type-title-item-weight: 600;
|
|
61
|
+
--pxd-type-title-item-line-height: 1.4;
|
|
62
|
+
--pxd-type-title-item-letter-spacing: 0px;
|
|
63
|
+
--pxd-type-body-default-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
|
64
|
+
--pxd-type-body-default-size: 17px;
|
|
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: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
|
69
|
+
--pxd-type-body-small-size: 15px;
|
|
70
|
+
--pxd-type-body-small-weight: 400;
|
|
71
|
+
--pxd-type-body-small-line-height: 1.55;
|
|
72
|
+
--pxd-type-body-small-letter-spacing: 0px;
|
|
73
|
+
--pxd-type-label-default-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
|
74
|
+
--pxd-type-label-default-size: 16px;
|
|
75
|
+
--pxd-type-label-default-weight: 600;
|
|
76
|
+
--pxd-type-label-default-line-height: 1.4;
|
|
77
|
+
--pxd-type-label-default-letter-spacing: 0px;
|
|
78
|
+
--pxd-type-label-small-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
|
79
|
+
--pxd-type-label-small-size: 14px;
|
|
80
|
+
--pxd-type-label-small-weight: 600;
|
|
81
|
+
--pxd-type-label-small-line-height: 1.4;
|
|
82
|
+
--pxd-type-label-small-letter-spacing: 0.1px;
|
|
83
|
+
--pxd-type-numeric-display-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
|
84
|
+
--pxd-type-numeric-display-size: 34px;
|
|
85
|
+
--pxd-type-numeric-display-weight: 600;
|
|
86
|
+
--pxd-type-numeric-display-line-height: 1.15;
|
|
87
|
+
--pxd-type-numeric-display-letter-spacing: -0.2px;
|
|
88
|
+
--pxd-space-inset-compact: 12px;
|
|
89
|
+
--pxd-space-inset-default: 20px;
|
|
90
|
+
--pxd-space-inset-comfortable: 32px;
|
|
91
|
+
--pxd-space-stack-tight: 8px;
|
|
92
|
+
--pxd-space-stack-default: 16px;
|
|
93
|
+
--pxd-space-stack-loose: 24px;
|
|
94
|
+
--pxd-space-stack-section: 48px;
|
|
95
|
+
--pxd-space-inline-tight: 8px;
|
|
96
|
+
--pxd-space-inline-default: 12px;
|
|
97
|
+
--pxd-space-inline-loose: 20px;
|
|
98
|
+
--pxd-size-target-min: 48px;
|
|
99
|
+
--pxd-size-icon-small: 18px;
|
|
100
|
+
--pxd-size-icon-default: 22px;
|
|
101
|
+
--pxd-radius-small: 8px;
|
|
102
|
+
--pxd-radius-control: 12px;
|
|
103
|
+
--pxd-radius-default: 12px;
|
|
104
|
+
--pxd-radius-large: 20px;
|
|
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: 62;
|
|
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 2px 8px 0px rgba(19, 64, 63, 0.06);
|
|
116
|
+
--pxd-shadow-overlay: 0px 12px 32px 0px rgba(19, 64, 63, 0.18);
|
|
117
|
+
--pxd-motion-duration-instant: 100ms;
|
|
118
|
+
--pxd-motion-duration-short: 200ms;
|
|
119
|
+
--pxd-motion-duration-medium: 300ms;
|
|
120
|
+
--pxd-motion-duration-long: 420ms;
|
|
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="health"][data-pxd-mode="dark"] {
|
|
154
|
+
--pxd-color-surface-default: #14201f;
|
|
155
|
+
--pxd-color-surface-subtle: #1c2a29;
|
|
156
|
+
--pxd-color-surface-raised: #192625;
|
|
157
|
+
--pxd-color-surface-overlay: #1f2e2d;
|
|
158
|
+
--pxd-color-surface-inverse: #e6f0ee;
|
|
159
|
+
--pxd-color-scrim: rgba(0, 0, 0, 0.55);
|
|
160
|
+
--pxd-color-text-default: #e6f0ee;
|
|
161
|
+
--pxd-color-text-muted: #a3b8b5;
|
|
162
|
+
--pxd-color-text-inverse: #14201f;
|
|
163
|
+
--pxd-color-text-link: #7fd1cb;
|
|
164
|
+
--pxd-color-border-default: #2d3f3d;
|
|
165
|
+
--pxd-color-border-strong: #6e8e8b;
|
|
166
|
+
--pxd-color-border-focus: #7fd1cb;
|
|
167
|
+
--pxd-color-action-primary-background: #5fc4bd;
|
|
168
|
+
--pxd-color-action-primary-foreground: #062c2a;
|
|
169
|
+
--pxd-color-action-secondary-background: #1f3634;
|
|
170
|
+
--pxd-color-action-secondary-foreground: #cfe9e6;
|
|
171
|
+
--pxd-color-action-secondary-border: #3c5f5b;
|
|
172
|
+
--pxd-color-action-danger-background: #ea8a78;
|
|
173
|
+
--pxd-color-action-danger-foreground: #3a1108;
|
|
174
|
+
--pxd-color-selection-background: #1f3f3c;
|
|
175
|
+
--pxd-color-selection-foreground: #bfe6e1;
|
|
176
|
+
--pxd-color-status-info-background: #1a3242;
|
|
177
|
+
--pxd-color-status-info-foreground: #b5d7ee;
|
|
178
|
+
--pxd-color-status-info-emphasis: #7fb8dc;
|
|
179
|
+
--pxd-color-status-success-background: #193526;
|
|
180
|
+
--pxd-color-status-success-foreground: #b3e3c3;
|
|
181
|
+
--pxd-color-status-success-emphasis: #6fc48f;
|
|
182
|
+
--pxd-color-status-warning-background: #3f2e17;
|
|
183
|
+
--pxd-color-status-warning-foreground: #f5d3a3;
|
|
184
|
+
--pxd-color-status-warning-emphasis: #e0a35a;
|
|
185
|
+
--pxd-color-status-danger-background: #432220;
|
|
186
|
+
--pxd-color-status-danger-foreground: #f5bdb2;
|
|
187
|
+
--pxd-color-status-danger-emphasis: #ea8a78;
|
|
188
|
+
--pxd-color-data-categorical-1: #5fc4bd;
|
|
189
|
+
--pxd-color-data-categorical-2: #e0a35a;
|
|
190
|
+
--pxd-color-data-categorical-3: #7fb8dc;
|
|
191
|
+
--pxd-color-data-categorical-4: #c0a5e0;
|
|
192
|
+
--pxd-color-data-categorical-5: #6fc48f;
|
|
193
|
+
--pxd-color-data-categorical-6: #ea8a78;
|
|
194
|
+
--pxd-color-data-positive: #6fc48f;
|
|
195
|
+
--pxd-color-data-negative: #ea8a78;
|
|
196
|
+
--pxd-color-data-neutral: #8ca6a3;
|
|
197
|
+
--pxd-type-title-page-family: 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: 600;
|
|
200
|
+
--pxd-type-title-page-line-height: 1.25;
|
|
201
|
+
--pxd-type-title-page-letter-spacing: -0.2px;
|
|
202
|
+
--pxd-type-title-section-family: 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: 600;
|
|
205
|
+
--pxd-type-title-section-line-height: 1.3;
|
|
206
|
+
--pxd-type-title-section-letter-spacing: 0px;
|
|
207
|
+
--pxd-type-title-item-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
|
208
|
+
--pxd-type-title-item-size: 18px;
|
|
209
|
+
--pxd-type-title-item-weight: 600;
|
|
210
|
+
--pxd-type-title-item-line-height: 1.4;
|
|
211
|
+
--pxd-type-title-item-letter-spacing: 0px;
|
|
212
|
+
--pxd-type-body-default-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
|
213
|
+
--pxd-type-body-default-size: 17px;
|
|
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: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
|
218
|
+
--pxd-type-body-small-size: 15px;
|
|
219
|
+
--pxd-type-body-small-weight: 400;
|
|
220
|
+
--pxd-type-body-small-line-height: 1.55;
|
|
221
|
+
--pxd-type-body-small-letter-spacing: 0px;
|
|
222
|
+
--pxd-type-label-default-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
|
223
|
+
--pxd-type-label-default-size: 16px;
|
|
224
|
+
--pxd-type-label-default-weight: 600;
|
|
225
|
+
--pxd-type-label-default-line-height: 1.4;
|
|
226
|
+
--pxd-type-label-default-letter-spacing: 0px;
|
|
227
|
+
--pxd-type-label-small-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
|
228
|
+
--pxd-type-label-small-size: 14px;
|
|
229
|
+
--pxd-type-label-small-weight: 600;
|
|
230
|
+
--pxd-type-label-small-line-height: 1.4;
|
|
231
|
+
--pxd-type-label-small-letter-spacing: 0.1px;
|
|
232
|
+
--pxd-type-numeric-display-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
|
233
|
+
--pxd-type-numeric-display-size: 34px;
|
|
234
|
+
--pxd-type-numeric-display-weight: 600;
|
|
235
|
+
--pxd-type-numeric-display-line-height: 1.15;
|
|
236
|
+
--pxd-type-numeric-display-letter-spacing: -0.2px;
|
|
237
|
+
--pxd-space-inset-compact: 12px;
|
|
238
|
+
--pxd-space-inset-default: 20px;
|
|
239
|
+
--pxd-space-inset-comfortable: 32px;
|
|
240
|
+
--pxd-space-stack-tight: 8px;
|
|
241
|
+
--pxd-space-stack-default: 16px;
|
|
242
|
+
--pxd-space-stack-loose: 24px;
|
|
243
|
+
--pxd-space-stack-section: 48px;
|
|
244
|
+
--pxd-space-inline-tight: 8px;
|
|
245
|
+
--pxd-space-inline-default: 12px;
|
|
246
|
+
--pxd-space-inline-loose: 20px;
|
|
247
|
+
--pxd-size-target-min: 48px;
|
|
248
|
+
--pxd-size-icon-small: 18px;
|
|
249
|
+
--pxd-size-icon-default: 22px;
|
|
250
|
+
--pxd-radius-small: 8px;
|
|
251
|
+
--pxd-radius-control: 12px;
|
|
252
|
+
--pxd-radius-default: 12px;
|
|
253
|
+
--pxd-radius-large: 20px;
|
|
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: 62;
|
|
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 2px 8px 0px rgba(0, 0, 0, 0.3);
|
|
265
|
+
--pxd-shadow-overlay: 0px 12px 32px 0px rgba(0, 0, 0, 0.5);
|
|
266
|
+
--pxd-motion-duration-instant: 100ms;
|
|
267
|
+
--pxd-motion-duration-short: 200ms;
|
|
268
|
+
--pxd-motion-duration-medium: 300ms;
|
|
269
|
+
--pxd-motion-duration-long: 420ms;
|
|
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
|
+
}
|