actual-css 0.15.0 → 0.15.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/CHANGELOG.md CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [0.15.1] - 2026-10-26
6
+ ### Changed
7
+ - Reset: `-webkit-tap-highlight-color: transparent` on `html`, so the rectangular native tap flash no longer covers rounded controls.
8
+ - Bare links thicken their underline on `:active` as well as `:hover`, as touch feedback.
9
+ - Bare text links (`a[href]` with no class) keep a tap flash tinted from their own color.
10
+
5
11
  ## [0.15.0] - 2026-10-18
6
12
  ### Added
7
13
  - `.tabs-attached` and `.tab-panel`: folder-style horizontal tabs joined to their panel, with shared surface, padding and shadow hooks.
@@ -12,6 +12,11 @@
12
12
 
13
13
  html {
14
14
  -webkit-text-size-adjust: 100%;
15
+ /* The native tap highlight is a rectangle that ignores border-radius and
16
+ custom surfaces; components use their own interaction states where
17
+ relevant. Inherited, so one declaration covers every element; base.css
18
+ restores a tinted flash on bare text links. */
19
+ -webkit-tap-highlight-color: transparent;
15
20
  }
16
21
 
17
22
  body {
@@ -585,10 +590,19 @@ a {
585
590
  text-underline-offset: 0.18em;
586
591
  }
587
592
 
588
- a:hover {
593
+ /* :active stands in for the native tap highlight the reset removes. */
594
+ a:is(:hover, :active) {
589
595
  text-decoration-thickness: 0.12em;
590
596
  }
591
597
 
598
+ /* Bare text links get back the tap flash the reset removes: a text link has
599
+ no pressed state of its own. Tinted from the link ink so it reads on any
600
+ surface. Zero specificity so a component styling classless anchors (an
601
+ .app-nav tile) can opt out with transparent. */
602
+ :where(a[href]:not([class])) {
603
+ -webkit-tap-highlight-color: color-mix(in oklab, currentColor 18%, transparent);
604
+ }
605
+
592
606
  /* Global heading chrome: color (--heading or inherit), a tight line-height,
593
607
  and progressive text-wrap. No font-size or font-weight is set globally —
594
608
  components and .prose own the per-context scale. */
@@ -8295,6 +8309,8 @@ a.avatar[aria-disabled="true"] {
8295
8309
  text-align: center;
8296
8310
  text-decoration: none;
8297
8311
  overflow-wrap: anywhere;
8312
+ /* A rounded tile: opt out of the bare-link tap flash from base.css. */
8313
+ -webkit-tap-highlight-color: transparent;
8298
8314
  }
8299
8315
 
8300
8316
  .app-nav > a > :where(svg, img, [aria-hidden="true"]) {