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

app.css

38 lines783 Bytes

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