feat: add theme-aware tristate button styles with dynamic state rendering
CSS changes for bookshelf page: Tristate button styles (input.css): - Add .tristate-btn base class with transition effects - Three state-specific classes with dynamic colors: - .state-null (Any): Neutral style with --text-secondary - .state-true (Has Cover): Green success style using color-mix() - .state-false (No Cover): Red/warning style using color-mix() - Theme-aware coloring using CSS variables: - Background: var(--bg-primary) with color overlays - Border: var(--border) base color - Text: var(--text-primary) for readability - Hover and active states for better UX - Flex layout for proper icon/text alignment - Support for light and dark themes automatically Style.css update: - Minor adjustment for compatibility The tristate button provides clear visual feedback for the has_cover filter state with automatic theme adaptation.
This commit is contained in:
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user