unocss icon indicating copy to clipboard operation
unocss copied to clipboard

Breakpoint config from css variables

Open ThorFjelldalen opened this issue 3 years ago • 3 comments

Hi! Loving this package!

Color config can fetch from CSS variables, but breakpoints can not. Currently we have to duplicate breakpoints for media queries outside of template. Is it possible to support this in the same way as colors?

Example image: (This does not work) image

ThorFjelldalen avatar Nov 04 '22 10:11 ThorFjelldalen

Sounds nice ~

sudongyuer avatar Nov 04 '22 10:11 sudongyuer

Hello, I have encountered the same problem. Have you found a way

lee-citizen avatar Nov 16 '22 11:11 lee-citizen

I have not, currently I just repeat the breakpoints in my list of css variables

ThorFjelldalen avatar Nov 16 '22 22:11 ThorFjelldalen

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jan 15 '23 23:01 stale[bot]