@anyblades/blades 2.4.1 → 2.4.3

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/css/blades.css CHANGED
@@ -4,7 +4,7 @@
4
4
  * Copyright 2026 - Licensed under MIT
5
5
  */
6
6
  /*!
7
- * Pico CSS ✨ v2.3
7
+ * Pico CSS ✨ v2.4
8
8
  * Copyright 2019-2025 (https://picocss.com)
9
9
  * Copyright 2026 (https://blades.ninja/css/pico/)
10
10
  * Licensed under MIT
@@ -411,13 +411,7 @@ details summary[role="button"]:not(.outline)::after {
411
411
  --pico-contrast-hover-underline: var(--pico-contrast-hover);
412
412
  --pico-contrast-focus: rgba(207, 213, 226, 0.25);
413
413
  --pico-contrast-inverse: #000;
414
- --pico-box-shadow:
415
- 0.0145rem 0.029rem 0.174rem rgba(7, 8.5, 12, 0.01698),
416
- 0.0335rem 0.067rem 0.402rem rgba(7, 8.5, 12, 0.024),
417
- 0.0625rem 0.125rem 0.75rem rgba(7, 8.5, 12, 0.03),
418
- 0.1125rem 0.225rem 1.35rem rgba(7, 8.5, 12, 0.036),
419
- 0.2085rem 0.417rem 2.502rem rgba(7, 8.5, 12, 0.04302),
420
- 0.5rem 1rem 6rem rgba(7, 8.5, 12, 0.06), 0 0 0 0.0625rem rgba(7, 8.5, 12, 0.015);
414
+ --pico-box-shadow: 0 0.5rem 2.5rem rgba(7, 8.5, 12, 0.2);
421
415
  --pico-h1-color: #f0f1f3;
422
416
  --pico-h2-color: #e0e3e7;
423
417
  --pico-h3-color: #c2c7d0;
@@ -1231,9 +1225,11 @@ audio:not([controls]) {
1231
1225
  :where(iframe) {
1232
1226
  border-style: none;
1233
1227
  }
1234
- img {
1235
- max-width: 100%;
1236
- height: auto;
1228
+ img:not([height]) {
1229
+ max-width: 100%;
1230
+ height: auto;
1231
+ }
1232
+ img{
1237
1233
  border-style: none;
1238
1234
  }
1239
1235
  :where(svg:not([fill])) {
@@ -1248,6 +1244,7 @@ svg:not(:host) {
1248
1244
  */
1249
1245
  pre,
1250
1246
  code,
1247
+ var,
1251
1248
  kbd,
1252
1249
  samp {
1253
1250
  font-size: 0.875em;
@@ -1264,6 +1261,7 @@ pre {
1264
1261
  }
1265
1262
  pre,
1266
1263
  code,
1264
+ var,
1267
1265
  kbd,
1268
1266
  samp {
1269
1267
  border-radius: var(--pico-border-radius);
@@ -1273,6 +1271,7 @@ samp {
1273
1271
  line-height: initial;
1274
1272
  }
1275
1273
  code,
1274
+ var,
1276
1275
  kbd,
1277
1276
  samp {
1278
1277
  display: inline-block;
@@ -1397,6 +1396,7 @@ input:not([type="checkbox"], [type="radio"], [type="range"]) {
1397
1396
  }
1398
1397
  fieldset {
1399
1398
  width: 100%;
1399
+ min-width: 0;
1400
1400
  margin: 0;
1401
1401
  margin-bottom: var(--pico-spacing);
1402
1402
  padding: 0;
@@ -3327,7 +3327,7 @@ a > i {
3327
3327
  text-underline-offset: -2em; /* ❌ Chrome ✅ Safari - to clip it with overflow-y */
3328
3328
  }
3329
3329
  /* Favicons */
3330
- a > i > img {
3330
+ a > i > img:not(.does-not-exist) /* soft win specificity over img:not([height]) */ {
3331
3331
  display: inline-block; /* for Tailwind CSS Typography */
3332
3332
  max-width: none; /* to keep ratio safe */
3333
3333
  height: 1.25em;
@@ -364,7 +364,7 @@ a > i {
364
364
 
365
365
  /* Favicons */
366
366
 
367
- a > i > img {
367
+ a > i > img:not(.does-not-exist) /* soft win specificity over img:not([height]) */ {
368
368
  display: inline-block; /* for Tailwind CSS Typography */
369
369
  max-width: none; /* to keep ratio safe */
370
370
  height: 1.25em;
@@ -364,7 +364,7 @@ a > i {
364
364
 
365
365
  /* Favicons */
366
366
 
367
- a > i > img {
367
+ a > i > img:not(.does-not-exist) /* soft win specificity over img:not([height]) */ {
368
368
  display: inline-block; /* for Tailwind CSS Typography */
369
369
  max-width: none; /* to keep ratio safe */
370
370
  height: 1.25em;
package/css/link-icon.css CHANGED
@@ -14,7 +14,7 @@ a > i {
14
14
  text-underline-offset: -2em; /* ❌ Chrome ✅ Safari - to clip it with overflow-y */
15
15
  }
16
16
  /* Favicons */
17
- a > i > img {
17
+ a > i > img:not(.does-not-exist) /* soft win specificity over img:not([height]) */ {
18
18
  display: inline-block; /* for Tailwind CSS Typography */
19
19
  max-width: none; /* to keep ratio safe */
20
20
  height: 1.25em;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anyblades/blades",
3
- "version": "2.4.1",
3
+ "version": "2.4.3",
4
4
  "exports": {
5
5
  ".": "./src/blades.css",
6
6
  "./standalone": "./src/blades.standalone.css",
@@ -16,7 +16,7 @@
16
16
  "prepublishOnly": "npm run build"
17
17
  },
18
18
  "devDependencies": {
19
- "@anyblades/pico": "^2.3.0",
19
+ "@anyblades/pico": "^2.4.1",
20
20
  "autoprefixer": "^10.5.0",
21
21
  "css-declaration-sorter": "^7.4.0",
22
22
  "postcss": "^8.4.33",
package/src/link-icon.css CHANGED
@@ -15,7 +15,7 @@ a {
15
15
  text-underline-offset: -2em; /* ❌ Chrome ✅ Safari - to clip it with overflow-y */
16
16
 
17
17
  /* Favicons */
18
- > img {
18
+ > img:not(.does-not-exist) /* soft win specificity over img:not([height]) */ {
19
19
  height: 1.25em;
20
20
  margin-block-start: calc(-0.25em / 2);
21
21
  max-width: none; /* to keep ratio safe */