windicss / windicss-intellisense

Intelligent WindiCSS tooling for VS Code
https://marketplace.visualstudio.com/items?itemName=voorjaar.windicss-intellisense
MIT License
194 stars 16 forks source link

'<sm:' prefix is not supported by VSCode #252

Open ptrxyz opened 3 years ago

ptrxyz commented 3 years ago

image

Seems the <sm: prefix is not recognized by VS Code.

Workaround: As soon as I define it in windi.config.mjs it works:

import { defineConfig } from 'windicss/helpers'

export default defineConfig({
    theme: {
        screens: {
            xs: '510px',
            sm: '640px',
        },
    }
})