fix: 缺少default

This commit is contained in:
bietiaop committed 2025-02-09 12:00:02 +08:00
1 parent 206a1120f9
commit 78353255ef
2 files changed
+9 -2

No files matched your search

@@ -38,7 +38,14 @@ const values = [
'-800',
'-900'
]
const colors = ['primary', 'secondary', 'success', 'danger', 'warning']
const colors = [
'primary',
'secondary',
'success',
'danger',
'warning',
'default'
]
function PreviewThemeCard({ theme, onPreview }: PreviewThemeCardProps) {
const style = document.createElement('style')
+1 -1
View File
@@ -12,7 +12,7 @@ export default {
safelist: [
{
pattern:
/bg-(primary|secondary|success|danger|warning)-(50|100|200|300|400|500|600|700|800|900)/
/bg-(primary|secondary|success|danger|warning|default)-(50|100|200|300|400|500|600|700|800|900)/
}
],
theme: {