react-spectrum
b0c04546 - refactor: Theme updates (#8155)

Commit
186 days ago
refactor: Theme updates (#8155) * Remove columns for now, and reduce spacing scale * use rems for media queries * use px instead of rems for padding and absolute positioning * use rems for icon sizes and support size prop * use rems for checkbox and radio borders * more component-specific rem fixes * support percentages and viewport units by default * support arbitrary aspect ratios * support math functions and css-wide keywords without bracket syntax * update property data * fix test * icon colors * Remove runtime conditions from color properties in theme, use baseColor macro instead * Move control styles to shared macros * inherit doesn't need brackets anymore * update property data * sort properties by number of generated rules rather than absolute frequency of usage using the same value many time results in only one rule, so shouldn't be counted more than once * Add shorter mappings for some common custom properties * update snapshots * Fix color with opacity
Author
Parents
Loading