v2.0.0-beta.214
Pre-release
Pre-release
github-actions
released this
21 Dec 13:28
·
50 commits
to beta
since this release
Improvements
- Refactor default media queries to use screen sizes tokens dd9dbbb @1aron
- Remove unused variables
size
and simplify code 5619e66 @1aron - Rename variables
box-size
toscreen
a798d99 @1aronApply the screen variables:export default { variables: { screen: { '4xs': 360, '3xs': 480, '2xs': 600, 'xs': 768, 'sm': 834, 'md': 1024, 'lg': 1280, 'xl': 1440, '2xl': 1600, '3xl': 1920, '4xl': 2560 } } }
- max-w:md + max-w:screen-md
- Use
size:W|H
,max:W|H
,min:W|H
instead ofWxH
,max:WxH
,min:WxH
da8331e @1aron- 16x16 + size:16 = size:4x
- max:16x32 + max:16|32 = max:4x|8x
The- min:16x16 + min:16 = min:4x
x
separator in16x32
collides with the latest unit multiplierx
, like16xx32x
, and it is unintuitive.
Documentation
- New documentation Screen Sizes ddc8631 @1aron
- Add code to cancel maximum width for media #318 d3835a5 @1aron
- Update Box Decoration Break demos f1a9d2f @1aron