@theweekendprojects/emvb-daisyui 0.2.0 → 0.2.1

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": "@theweekendprojects/emvb-daisyui",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "daisyUI for EmVB: 70 components as an EmVB 1.5 extension (Extensions API 1.5)",
5
5
  "license": "MIT",
6
6
  "files": [
@@ -12393,5 +12393,49 @@
12393
12393
  .daisy-countdown > .daisy-ms-2:after {
12394
12394
  content: none;
12395
12395
  }
12396
+ /*
12397
+ * Order matters in daisyUI: a style modifier (soft, outline, dash) and `btn-active` come after the
12398
+ * colour modifiers, so their text colour and background win. The built stylesheet lists them the
12399
+ * other way round, so a soft Alert had its colour's dark `-content` text on a dark theme, and an
12400
+ * active outline Button lost its active background. These rules say it again, last, as daisyUI
12401
+ * writes them.
12402
+ */
12403
+ .daisy-alert-soft {
12404
+ color: var(--daisy-alert-color, var(--daisy-color-base-content));
12405
+ background: color-mix(
12406
+ in oklab,
12407
+ var(--daisy-alert-color, var(--daisy-color-base-content)) 8%,
12408
+ var(--daisy-color-base-100)
12409
+ );
12410
+ --daisy-alert-border-color: color-mix(
12411
+ in oklab,
12412
+ var(--daisy-alert-color, var(--daisy-color-base-content)) 10%,
12413
+ var(--daisy-color-base-100)
12414
+ );
12415
+ box-shadow: none;
12416
+ background-image: none;
12417
+ }
12418
+ .daisy-alert-outline,
12419
+ .daisy-alert-dash {
12420
+ color: var(--daisy-alert-color);
12421
+ }
12422
+ .daisy-btn-active:not(.daisy-btn-link),
12423
+ .daisy-btn:is(
12424
+ [aria-pressed="true"],
12425
+ [aria-checked="true"],
12426
+ [aria-current]:not([aria-current="false"], [aria-current=""])
12427
+ ):not(.daisy-btn-link) {
12428
+ --daisy-btn-bg: color-mix(in oklab, var(--daisy-btn-color, var(--daisy-color-base-200)), #000 5%);
12429
+ color: var(--daisy-btn-fg, var(--daisy-color-base-content));
12430
+ --daisy-btn-border: color-mix(
12431
+ in oklab,
12432
+ var(--daisy-btn-color, var(--daisy-color-base-200)),
12433
+ #000 7%
12434
+ );
12435
+ --daisy-btn-border-style: solid;
12436
+ --daisy-btn-inset: 0 0 0 0 oklch(0% 0 0/0);
12437
+ --daisy-btn-shadow: 0 0 0 0 oklch(0% 0 0/0);
12438
+ isolation: isolate;
12439
+ }
12396
12440
 
12397
12441
  :where(.daisy-radial-progress) { --daisy-value: 0; }