feat: 移除 postcss-prefix-selector 依赖,更新样式以支持深色模式,优化 TutorialForm 和 ZodForm 组件
Some checks failed
/ surge (push) Failing after 11s
Some checks failed
/ surge (push) Failing after 11s
This commit is contained in:
@ -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;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user