Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions frontend/src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,18 @@
}
}

@layer utilities {
/* Keep legacy text-gray-* readable in dark mode without affecting bg/border gray utilities. */
:root:not([data-theme='light']) .text-gray-200,
:root:not([data-theme='light']) .text-gray-300,
:root:not([data-theme='light']) .text-gray-400,
:root:not([data-theme='light']) .text-gray-500,
:root:not([data-theme='light']) .text-gray-600,
:root:not([data-theme='light']) .text-gray-700 {
color: rgb(248 250 252 / var(--tw-text-opacity, 1));
}
}

@layer components {
body {
@apply font-sans antialiased transition-colors duration-200;
Expand Down
Loading