Add version dom detection to UnoCSS

main
Chris 2 years ago
parent f35e147a24
commit 79fcc72704

@ -777,8 +777,15 @@
"cats": [ "cats": [
66 66
], ],
"css": "--un-(?:rotate|translate|space-x|text-opacity|border-opacity)",
"description": "UnoCSS is instant on-demand Atomic CSS engine.", "description": "UnoCSS is instant on-demand Atomic CSS engine.",
"css": "--un-(?:rotate|translate|space-x|text-opacity|border-opacity)",
"dom": {
"style[data-unocss]": {
"attributes": {
"data-unocss": "([\\d\\.]+)\\;version:\\1"
}
}
},
"oss": true, "oss": true,
"icon": "UnoCSS.svg", "icon": "UnoCSS.svg",
"website": "https://uno.antfu.me/" "website": "https://uno.antfu.me/"