mirror of
https://github.com/bitbaum/bip-kit.git
synced 2026-12-04 05:57:13 +01:00
The share row's primary action ("Post on OrangeCat") rendered as a blank dark slab on Solon: its ink was `var(--bp-bg)`, and Solon sets `--bp-bg: transparent` so its own page shows through. Measured: text `rgba(0,0,0,0)` on `rgb(26,26,26)`.
- New `--bp-on-fg` (ink on a `--bp-fg` fill), set in the light defaults, the dark media query and `[data-theme="dark"]`. Hosts can override it.
- `.bp-share-primary` uses it.
- A style test fails if any `--bp-fg` fill takes its ink from `--bp-bg`, and checks `--bp-on-fg` is set in all three theme blocks.
- Version 0.8.1.
## Checks
- `pnpm run verify`: 229 tests pass. `docs-truth-audit`: clean.
- Built Solon with this stylesheet: the button reads `rgb(253,253,252)` on `rgb(26,26,26)`; checked at 390px in light and dark.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_019MDtmvPuHDQeZwXtasWfSx
B
gh api repos/bitbaum/bip-kit/pulls -f head=fix/share-primary-ink -f base=main -f title="fix(share): primary action ink no longer comes from a transparent --bp-bg (0.8.1)" -F body=@/tmp/claude-0/b3.md --jq .html_url
fix(share): primary action ink no longer comes from a transparent --bp-bg (0.8.1)
Solon sets --bp-bg: transparent, so the "Post on OrangeCat" button's text
vanished into its fill. A dedicated --bp-on-fg carries the ink, with light
and dark defaults; a style test keeps --bp-fg fills off --bp-bg ink.
Claude-Session: https://claude.ai/code/session_019MDtmvPuHDQeZwXtasWfSx
Co-authored-by: Claude <noreply@anthropic.com>