fix: 缺少default

This commit is contained in:
bietiaop
2025-02-09 12:00:02 +08:00
parent 9f78e1ce1e
commit ce7614de46
2 changed files with 9 additions and 2 deletions

View File

@@ -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')