Skip to content

Commit aedfce4

Browse files
committed
fix: replace shadow-accent/20 with shadow-indigo-500/20 in Tailwind input
CSS variable-based colors (accent = var(--color-accent)) don't support Tailwind's /opacity modifier in @apply directives. Use the concrete indigo-500 color for the shadow opacity instead. https://claude.ai/code/session_01WJEjfBqjZaGatHiXXXDupo
1 parent 6acd8b3 commit aedfce4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

static/css/input.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
}
8484
.btn-primary {
8585
@apply btn bg-accent text-white hover:bg-accent-hover
86-
focus:ring-accent shadow-sm hover:shadow-md hover:shadow-accent/20;
86+
focus:ring-accent shadow-sm hover:shadow-md hover:shadow-indigo-500/20;
8787
}
8888
.btn-secondary {
8989
@apply btn bg-surface text-fg-body hover:bg-surface-alt

0 commit comments

Comments
 (0)