feat: 移除 postcss-prefix-selector 依赖,更新样式以支持深色模式,优化 TutorialForm 和 ZodForm 组件
Some checks failed
/ surge (push) Failing after 11s

This commit is contained in:
mac-mini-2024
2024-11-20 21:54:13 +08:00
parent c7edd1a65c
commit 275ebb26f7
6 changed files with 33 additions and 56 deletions

View File

@ -4,4 +4,28 @@
body {
background-color:#f3f4f6;
color:#1f2937;
}
@media (prefers-color-scheme: dark) {
body {
background-color:#1a202c;
color:#e5e7eb;
}
}
.attributes-group {
padding: 1.5rem;
border: 1px solid #e5e7eb;
border-radius: 0.5rem;
margin-bottom: 1rem;
background-color: #f9fafb;
}
@media (prefers-color-scheme: dark) {
.attributes-group {
border-color: #374151;
background-color: #1f2937;
}
}