@hubpav/hwio-ui 0.6.1 → 0.6.2
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.6.
|
|
3
|
+
"version": "0.6.2",
|
|
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.6.
|
|
35
|
-
"@hubpav/hwio-web-runtime": "0.6.
|
|
36
|
-
"@hubpav/hwio-web-worker": "0.6.
|
|
34
|
+
"@hubpav/hwio-brand": "0.6.2",
|
|
35
|
+
"@hubpav/hwio-web-runtime": "0.6.2",
|
|
36
|
+
"@hubpav/hwio-web-worker": "0.6.2",
|
|
37
37
|
"daisyui": "5.7.28"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
@@ -27,7 +27,7 @@ const optional = ['preferences', 'statistics', 'marketing'] as const;
|
|
|
27
27
|
<p class="text-base font-semibold">{labels.title}</p>
|
|
28
28
|
<p class="mt-1 text-sm leading-6 opacity-80">
|
|
29
29
|
{labels.short}
|
|
30
|
-
<a href={policyHref} class="link link-
|
|
30
|
+
<a href={policyHref} class="link link-accent font-semibold">{labels.policy}</a>
|
|
31
31
|
</p>
|
|
32
32
|
</div>
|
|
33
33
|
<div class="flex flex-col gap-2 sm:flex-row md:shrink-0">
|
|
@@ -42,11 +42,17 @@
|
|
|
42
42
|
--er3o-gradient-to: #14A0C0;
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
/* ENEROOO carries its gradient as a theme rule: DaisyUI slots are single colours.
|
|
46
|
-
|
|
45
|
+
/* ENEROOO carries its gradient as a theme rule: DaisyUI slots are single colours. Only the filled
|
|
46
|
+
button gets it; outline, ghost and link variants keep their transparent background. */
|
|
47
|
+
[data-theme="er3o"] .btn-primary:not(.btn-outline):not(.btn-ghost):not(.btn-link) {
|
|
47
48
|
background-image: linear-gradient(90deg, var(--er3o-gradient-from), var(--er3o-gradient-to));
|
|
48
49
|
border-color: transparent;
|
|
49
50
|
}
|
|
51
|
+
/* The outline button reads in the AA teal (the theme's accent, 6.6:1); the filled primary teal is 2.9:1 as text. */
|
|
52
|
+
[data-theme="er3o"] .btn-outline.btn-primary:not(:hover):not(:active) {
|
|
53
|
+
color: var(--color-accent);
|
|
54
|
+
border-color: var(--color-accent);
|
|
55
|
+
}
|
|
50
56
|
[data-theme="er3o"] .er3o-gradient-text {
|
|
51
57
|
background-image: linear-gradient(90deg, var(--er3o-gradient-from), var(--er3o-gradient-to));
|
|
52
58
|
-webkit-background-clip: text;
|