fix: improve elk-group-hover shortcut, close #2386

This commit is contained in:
Anthony Fu 2023-09-08 17:56:29 +02:00
parent ca2ca2bef4
commit 3691ec389a

View file

@ -68,7 +68,7 @@ export default defineConfig({
'timeline-title-style': 'text-primary text-lg font-bold',
},
[/^elk-group-hover[:-](\S+)$/, ([,r]) => `media-mouse-group-hover-${r} group-active-${r}`],
[/^elk-group-hover[:-]([a-z0-9\/-]+)$/, ([,r]) => `media-mouse-group-hover-${r} group-active-${r}`],
],
presets: [
presetUno({