diff --git a/PICO_CSS.md b/PICO_CSS.md index f0f1332..6f9e7a4 100644 --- a/PICO_CSS.md +++ b/PICO_CSS.md @@ -24,6 +24,34 @@ In light mode, `--pico-primary-inverse` is `#fff`. This means **any element with **Alternative:** Remove `role="button"` and use `tabindex="0"` + keyboard handlers only, avoiding the Pico button rule entirely. Only do this if button semantics aren't needed for accessibility. +## Plain buttons disappear on hover in light/Dan mode + +Pico's button hover rule sets `--pico-color: var(--pico-primary-inverse)` (i.e. `#fff`) on hover, making the text white. If your button has a transparent or white background — e.g. a "plain" / ghost-style button — the text becomes invisible. + +This affects any `