About this set
Search bars for dark interfaces, where a light-theme field becomes a grey smudge. Glow on focus is a pill field for a music app with a cyan button inside and a soft cyan glow when the field has focus. The query bar is a developer-tool style log search: a monospace field prefilled with status:500 path:/checkout, a time-range select, a Run button with an Enter hint and a line under the bar that reports 1,284 matching lines. Field with recent searches is a raised panel for a notes app with the field on top and three recent queries below it as links with timestamps. Borders use a lifted grey that reaches 3:1 against the dark surface, secondary text stays at 4.5:1 or better, and color-scheme: dark makes the native select menu and scrollbars dark as well. The Bootstrap version switches on Bootstrap’s own dark colour mode with data-bs-theme=”dark” and retunes it through CSS variables, and the Tailwind version uses the scheme-dark utility.
What’s included
- Accent glow on focus for dark surfaces
- Monospace query bar with a labelled time-range select
- Recent searches panel with timestamps
- color-scheme: dark for native pop-ups
- Bootstrap version uses data-bs-theme="dark"
Accessibility
Every form has role="search" and an aria-label, and every input and select has a label, visually hidden where the design has no room for one. The query bar's result count is tied to the field with aria-describedby. Focus shows a bright cyan ring on fields and a 2px cyan outline on links, buttons and the select, and the glow transition is removed under prefers-reduced-motion.
Customise it
Set --dk-accent, --dk-surface, --dk-line and --dk-muted on .dk to recolour the set, and --dk-glow for the focus glow. Bootstrap maps them onto --bs-body-color and related variables; in Tailwind edit the --color-dk-* theme colours.






