StatuAgency / unocss-preset-grid

UnoCSS Grid preset
https://www.npmjs.com/package/unocss-preset-grid
MIT License
19 stars 3 forks source link

feat: make breakpoints compatible with number #3

Closed jbaubree closed 1 year ago

jbaubree commented 1 year ago

This is an add to make unocss imported breakpoints compatible. For example: import { breakpointsTailwind } from '@vueuse/core' is typed as

const breakpointsTailwind: {
    sm: number;
    md: number;
    lg: number;
    xl: number;
    '2xl': number;
}

and this is breaking typescript from breakpoints?: Record<string, string>