[+] A button

This commit is contained in:
2025-11-18 15:46:53 +08:00
parent 5d6500c54b
commit 6c80a76d65
10 changed files with 481 additions and 9 deletions
+7
View File
@@ -97,6 +97,13 @@ export default defineConfig({
},
}),
rules: [
// Material 3 scheme helpers for background/foreground utilities
[/^mbg-([a-zA-Z0-9-]+)$/i, ([, token]) => ({
'background-color': `rgb(var(--m3-scheme-${token}) / 1)`,
})],
[/^mfg-([a-zA-Z0-9-]+)$/i, ([, token]) => ({
color: `rgb(var(--m3-scheme-${token}) / 1)`,
})],
[/^dir-([a-zA-Z0-9-]+)$/, ([, dir]) => ({
direction: dir,
})],