diff --git a/app/assets/css/tailwind.css b/app/assets/css/tailwind.css index 0f90bc1..caa50b4 100644 --- a/app/assets/css/tailwind.css +++ b/app/assets/css/tailwind.css @@ -1,6 +1,24 @@ -@tailwind base; -@tailwind components; -@tailwind utilities; +@import 'tailwindcss'; + +@config '../../../tailwind.config.ts'; + +/* + The default border color has changed to `currentcolor` in Tailwind CSS v4, + so we've added these compatibility styles to make sure everything still + looks the same as it did with Tailwind CSS v3. + + If we ever want to remove these styles, we need to add an explicit border + color utility to any element that depends on these defaults. +*/ +@layer base { + *, + ::after, + ::before, + ::backdrop, + ::file-selector-button { + border-color: var(--color-gray-200, currentcolor); + } +} @layer base { html { diff --git a/app/components/BubbleTitle.vue b/app/components/BubbleTitle.vue index 648c983..e855c34 100644 --- a/app/components/BubbleTitle.vue +++ b/app/components/BubbleTitle.vue @@ -30,7 +30,7 @@ const props = defineProps({