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 }}
This repository was archived by the owner on Mar 25, 2026. It is now read-only.
QuickFilterDropdown component has CSS module styles (QuickFilterDropdown.module.css) which violates the headless component architecture principle. Headless components should have NO default styles.
Current Issues
Component has 643 lines of CSS with hardcoded colors and styles
Dark mode only works with prefers-color-scheme: dark media query, not class-based dark mode
Users cannot fully customize the component appearance without fighting specificity wars
Files Affected
src/components/QuickFilterDropdown/QuickFilterDropdown.module.css (should be removed)
src/components/QuickFilterDropdown/index.tsx (should remove all style imports and className applications)
Proposed Solution
Remove ALL CSS from the component
Accept render props or className props for each element
Provide example styles in the demo/documentation
Let users have full control over styling
Temporary Workaround
Created src/demo/styles/quick-filter-overrides.css with !important rules to fix dark theme hover states in the demo.
Problem
QuickFilterDropdown component has CSS module styles (QuickFilterDropdown.module.css) which violates the headless component architecture principle. Headless components should have NO default styles.
Current Issues
prefers-color-scheme: darkmedia query, not class-based dark modeFiles Affected
src/components/QuickFilterDropdown/QuickFilterDropdown.module.css(should be removed)src/components/QuickFilterDropdown/index.tsx(should remove all style imports and className applications)Proposed Solution
Temporary Workaround
Created
src/demo/styles/quick-filter-overrides.csswith!importantrules to fix dark theme hover states in the demo.Related