mirror of
https://github.com/chillpadclub/bedolaga-cabinet.git
synced 2026-09-14 16:53:08 +00:00
style(cabinet-icons): use regular Phosphor weight and switch wheel to dice
- Drop the Duotone variants (their translucent secondary fill looked murky on the dark theme) in favour of the clean regular weight across all icons - WheelIcon: PiSteeringWheel → PiDiceFive (a steering wheel made no sense for the fortune-wheel feature)
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
// thin local wrapper over the panel's Phosphor caret icons.
|
||||
// ──────────────────────────────────────────────────────────────────
|
||||
|
||||
import { PiCaretDownDuotone, PiCaretUpDownDuotone, PiCaretUpDuotone } from 'react-icons/pi';
|
||||
import { PiCaretDown, PiCaretUpDown, PiCaretUp } from 'react-icons/pi';
|
||||
|
||||
export {
|
||||
CalendarIcon,
|
||||
@@ -27,9 +27,9 @@ export {
|
||||
|
||||
export const SortIcon = ({ direction }: { direction: false | 'asc' | 'desc' }) =>
|
||||
direction === 'asc' ? (
|
||||
<PiCaretUpDuotone className="ml-1 inline h-3 w-3" />
|
||||
<PiCaretUp className="ml-1 inline h-3 w-3" />
|
||||
) : direction === 'desc' ? (
|
||||
<PiCaretDownDuotone className="ml-1 inline h-3 w-3" />
|
||||
<PiCaretDown className="ml-1 inline h-3 w-3" />
|
||||
) : (
|
||||
<PiCaretUpDownDuotone className="ml-1 inline h-3 w-3" />
|
||||
<PiCaretUpDown className="ml-1 inline h-3 w-3" />
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user