You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Caret chevron: mask-image + currentcolor, drop baked --caret-chevron-inverse #89
:root defines --caret-chevron and --caret-chevron-inverse (app.css ~L64–71) — the same SVG twice with the stroke colour baked in, with a comment noting background-image SVGs can't use currentcolor/var() so they must be kept in sync with --color-base-content by hand.
Bootstrap 6 solves exactly this: icons (close button, toggler, breadcrumb chevron) are a mask-image with background-color: currentcolor. The codebase already uses this technique elsewhere (~L1008, and the lightning-logo mask).
Proposed
One --caret-chevron token (stroke black; only the alpha matters for a mask) and delete --caret-chevron-inverse.
Render the caret on a pseudo-element or wrapper with mask: var(--caret-chevron) center / 12px no-repeat; background-color: currentcolor; for .select, the combobox input, and .dp-month-select.
Note: a <select> itself can't host ::after, so .select either needs a wrapper element or appearance: base-select (Chromium-only) — the wrapper is the portable option.
Caret colour then follows text colour automatically (including the navy calendar header and any future dark mode), and the "keep in sync" comment goes away.
Activity