Skip to content
Source
Sign inSign up
TanStack/router
Open History to see the last commit

styles.css

31 lines731 Bytes

1@import 'tailwindcss' source('../');
2​
3@source './**/*.{ts,tsx,vue}';
4​
5/*
6 The default border color has changed to `currentcolor` in Tailwind CSS v4,
7 so we've added these compatibility styles to make sure everything still
8 looks the same as it did with Tailwind CSS v3.
9​
10 If we ever want to remove these styles, we need to add an explicit border
11 color utility to any element that depends on these defaults.
12*/
13@layer base {
14 *,
15 ::after,
16 ::before,
17 ::backdrop,
18 ::file-selector-button {
19 border-color: var(--color-gray-200, currentcolor);
20 }
22​
23html {
24 color-scheme: light dark;
26* {
27 @apply border-gray-200 dark:border-gray-800;
29body {
30 @apply bg-gray-50 text-gray-950 dark:bg-gray-900 dark:text-gray-200;