master-co / css

The CSS Language and Framework
https://css.master.co
MIT License
1.82k stars 41 forks source link

💖 Merge `config.viewports` to `config.mediaQueries` #284

Closed 1aron closed 1 year ago

1aron commented 1 year ago

Description

Current

export default {
    viewports: {
        mobile: 600,
        tablet: 1024,
        desktop: 1440
    },
    mediaQueries: {
        watch: '(max-device-width:42mm) and (min-device-width:38mm)'
    }
}

Expected

export default {
    mediaQueries: {
        mobile: 600,
        tablet: 1024,
        desktop: 1440,
        watch: '(max-device-width:42mm) and (min-device-width:38mm)'
    }
}
1aron commented 1 year ago

🎉 Released in https://github.com/master-co/css/releases/tag/v2.0.0-beta.184