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

app.css

40 lines819 Bytes

1@import 'tailwindcss';
2​
3@source '../**/*.{js,jsx,ts,tsx}';
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​
23@layer base {
24 html {
25 color-scheme: light dark;
26 }
27​
28 * {
29 @apply border-gray-200 dark:border-gray-800;
30 }
31​
32 html,
33 body {
34 @apply text-gray-900 bg-gray-50 dark:bg-gray-950 dark:text-gray-200;
35 }
36​
37 .using-mouse * {
38 outline: none !important;
39 }