svelte-typeahead
svelte-typeahead copied to clipboard
styling overrides require more specific CSS selectors
For the results you just need:
:global([data-svelte-typeahead] li) {
background: blue;
}
But for the form elements (input and label) you need:
:global([data-svelte-typeahead] [data-svelte-search] input) {
background: blue;
}
this actually sometimes doesn't work, and requires the !important flag (in the case of the ul element), so maybe worth noting as well.