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 +6 -0
- package/dist/actual.full.css +17 -1
- package/dist/actual.full.min.css +1 -1
- package/docs/design-notes/architecture.md +3 -0
- package/docs/design-notes/enhancement-contract.md +14 -0
- package/docs/design-notes/naming.md +6 -0
- package/docs/design-notes/steps.md +13 -2
- package/docs/design-notes/tokens.md +159 -0
- package/docs/pages/components/button.md +27 -7
- package/docs/pages/components/card.md +6 -7
- package/docs/pages/components/steps.md +30 -16
- package/docs/pages/enhancements/overview.md +13 -20
- package/docs/pages/enhancements/status-bar.md +7 -9
- package/docs/pages/enhancements/tabs.md +11 -15
- package/docs/pages/enhancements/tooltip.md +10 -19
- package/docs/pages/forms/joined-controls.md +4 -2
- package/docs/pages/foundations/philosophy.md +26 -62
- package/docs/pages/foundations/theming.md +21 -36
- package/docs/pages/foundations/tokens.md +91 -159
- package/docs/pages/guides/integrating-actual-css.md +1 -1
- package/docs/pages/guides/introduction.md +13 -13
- package/docs/pages/layout/choosing.md +10 -16
- package/docs/pages/layout/grid.md +8 -16
- package/docs/pages/patterns/intent-nesting.md +13 -1
- package/package.json +1 -1
- package/src/css/components/app-nav.css +2 -0
- package/src/css/core/base.css +10 -1
- package/src/css/core/reset.css +5 -0
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.
|
package/dist/actual.full.css
CHANGED
|
@@ -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
|
-
|
|
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"]) {
|