tailwind: add dark-mode default for border color

Enhance the border-color patch by adding a dark-mode default (slate-800).
This commit is contained in:
Klaas van Schelven
2025-09-15 15:47:15 +02:00
parent 1611ea45d2
commit 833776c646
2 changed files with 6 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@@ -1,10 +1,13 @@
@config "../tailwind.config.js";
@import "tailwindcss";
/* Preserve Tailwind 3 behavior: default border color was gray.200 */
/* Preserve Tailwind 3 behavior: default border color was gray.200
the dark-mode stuff is actually an improvement over our previous design @tailwind 3 that we simply added
because we were in the process of fixing borders globally anyway */
@layer base {
*, ::before, ::after {
border-color: theme('colors.gray.200');
@apply border-gray-200 dark:border-slate-800;
}
}