@hubpav/hwio-ui 0.1.5 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hubpav/hwio-ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "HARDWARIO web design system for Astro: DaisyUI 5 themes generated from the brand tokens, the Tailwind entry stylesheet and the HWio* components.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -31,9 +31,9 @@
|
|
|
31
31
|
"build": "node scripts/build-themes.mjs"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@hubpav/hwio-brand": "0.
|
|
35
|
-
"@hubpav/hwio-web-runtime": "0.
|
|
36
|
-
"@hubpav/hwio-web-worker": "0.
|
|
34
|
+
"@hubpav/hwio-brand": "0.2.0",
|
|
35
|
+
"@hubpav/hwio-web-runtime": "0.2.0",
|
|
36
|
+
"@hubpav/hwio-web-worker": "0.2.0",
|
|
37
37
|
"daisyui": "5.7.28"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
package/src/styles/styles.css
CHANGED
|
@@ -226,20 +226,3 @@
|
|
|
226
226
|
.btn-lg { height: var(--size); --fontsize: 0.9375rem; padding-inline: 1.75rem; }
|
|
227
227
|
.btn-square, .btn-circle { padding-inline: 0; }
|
|
228
228
|
.card .card-body { --card-p: 2rem; }
|
|
229
|
-
|
|
230
|
-
/* Dark themes keep the navy primary for filled buttons (white on navy: 11.6:1), but navy text is
|
|
231
|
-
1.3-1.7:1 on the night surfaces, so outline and ghost primary buttons take the light brand blue
|
|
232
|
-
there (5.3-6.5:1) and fill with it on hover, dark text on top. Both dark cases: an explicit
|
|
233
|
-
data-theme ending in -dark, and the system preference with no stored choice (DaisyUI's prefersdark). */
|
|
234
|
-
[data-theme$="-dark"] .btn-outline.btn-primary,
|
|
235
|
-
[data-theme$="-dark"] .btn-ghost.btn-primary {
|
|
236
|
-
--btn-color: var(--color-info);
|
|
237
|
-
--btn-fg: var(--color-base-100);
|
|
238
|
-
}
|
|
239
|
-
@media (prefers-color-scheme: dark) {
|
|
240
|
-
:root:not([data-theme]) .btn-outline.btn-primary,
|
|
241
|
-
:root:not([data-theme]) .btn-ghost.btn-primary {
|
|
242
|
-
--btn-color: var(--color-info);
|
|
243
|
-
--btn-fg: var(--color-base-100);
|
|
244
|
-
}
|
|
245
|
-
}
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
--color-base-200: #1a1a22;
|
|
9
9
|
--color-base-300: #23232f;
|
|
10
10
|
--color-base-content: #e7e7ee;
|
|
11
|
-
--color-primary: #
|
|
12
|
-
--color-primary-content: #
|
|
11
|
+
--color-primary: #009cfa;
|
|
12
|
+
--color-primary-content: #0f0f14;
|
|
13
13
|
--color-secondary: #016ad4;
|
|
14
14
|
--color-secondary-content: #ffffff;
|
|
15
15
|
--color-accent: #f43f5e;
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
--color-base-200: #1a1a22;
|
|
9
9
|
--color-base-300: #23232f;
|
|
10
10
|
--color-base-content: #e7e7ee;
|
|
11
|
-
--color-primary: #
|
|
12
|
-
--color-primary-content: #
|
|
11
|
+
--color-primary: #5aa864;
|
|
12
|
+
--color-primary-content: #0f0f14;
|
|
13
13
|
--color-secondary: #016ad4;
|
|
14
14
|
--color-secondary-content: #ffffff;
|
|
15
15
|
--color-accent: #5aa864;
|