fix: 修复 Tailwind CSS border 类名冲突(border-border-default 改为直接颜色值)
This commit is contained in:
@@ -33,16 +33,16 @@
|
||||
@apply btn bg-brand-600 text-white hover:bg-brand-700;
|
||||
}
|
||||
.btn-secondary {
|
||||
@apply btn bg-surface-muted text-ink-700 hover:bg-border-subtle;
|
||||
@apply btn bg-surface-muted text-ink-700 hover:bg-surface-card;
|
||||
}
|
||||
.btn-danger {
|
||||
@apply btn bg-danger text-white hover:bg-danger-light;
|
||||
}
|
||||
.card {
|
||||
@apply bg-surface-card rounded-card border border-border-default;
|
||||
@apply bg-surface-card rounded-card border border-[#DDE1DD];
|
||||
}
|
||||
.input {
|
||||
@apply w-full px-2.5 py-2 rounded-md border border-border-default bg-surface-card text-sm text-ink-900 focus:outline-none focus:ring-2 focus:ring-brand-600/30 focus:border-brand-600 transition-colors;
|
||||
@apply w-full px-2.5 py-2 rounded-md border border-[#DDE1DD] bg-surface-card text-sm text-ink-900 focus:outline-none focus:ring-2 focus:ring-brand-600/30 focus:border-brand-600 transition-colors;
|
||||
}
|
||||
.label {
|
||||
@apply block text-sm font-medium text-ink-700 mb-1;
|
||||
|
||||
Reference in New Issue
Block a user