Spaces:
Sleeping
Sleeping
Seth
commited on
Commit
·
fd0ae04
1
Parent(s):
f80e9b3
update
Browse files- frontend/src/index.css +3 -1
- frontend/tailwind.config.js +43 -1
frontend/src/index.css
CHANGED
|
@@ -2,6 +2,8 @@
|
|
| 2 |
@tailwind components;
|
| 3 |
@tailwind utilities;
|
| 4 |
|
|
|
|
|
|
|
| 5 |
@layer base {
|
| 6 |
:root {
|
| 7 |
--background: 0 0% 100%;
|
|
@@ -29,7 +31,7 @@
|
|
| 29 |
|
| 30 |
@layer base {
|
| 31 |
* {
|
| 32 |
-
|
| 33 |
}
|
| 34 |
body {
|
| 35 |
@apply bg-background text-foreground;
|
|
|
|
| 2 |
@tailwind components;
|
| 3 |
@tailwind utilities;
|
| 4 |
|
| 5 |
+
@import "react-day-picker/dist/style.css";
|
| 6 |
+
|
| 7 |
@layer base {
|
| 8 |
:root {
|
| 9 |
--background: 0 0% 100%;
|
|
|
|
| 31 |
|
| 32 |
@layer base {
|
| 33 |
* {
|
| 34 |
+
border-color: hsl(var(--border));
|
| 35 |
}
|
| 36 |
body {
|
| 37 |
@apply bg-background text-foreground;
|
frontend/tailwind.config.js
CHANGED
|
@@ -1,11 +1,53 @@
|
|
| 1 |
/** @type {import('tailwindcss').Config} */
|
| 2 |
export default {
|
|
|
|
| 3 |
content: [
|
| 4 |
"./index.html",
|
| 5 |
"./src/**/*.{js,ts,jsx,tsx}",
|
| 6 |
],
|
| 7 |
theme: {
|
| 8 |
-
extend: {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
},
|
| 10 |
plugins: [],
|
| 11 |
}
|
|
|
|
| 1 |
/** @type {import('tailwindcss').Config} */
|
| 2 |
export default {
|
| 3 |
+
darkMode: ["class"],
|
| 4 |
content: [
|
| 5 |
"./index.html",
|
| 6 |
"./src/**/*.{js,ts,jsx,tsx}",
|
| 7 |
],
|
| 8 |
theme: {
|
| 9 |
+
extend: {
|
| 10 |
+
colors: {
|
| 11 |
+
border: "hsl(var(--border))",
|
| 12 |
+
input: "hsl(var(--input))",
|
| 13 |
+
ring: "hsl(var(--ring))",
|
| 14 |
+
background: "hsl(var(--background))",
|
| 15 |
+
foreground: "hsl(var(--foreground))",
|
| 16 |
+
primary: {
|
| 17 |
+
DEFAULT: "hsl(var(--primary))",
|
| 18 |
+
foreground: "hsl(var(--primary-foreground))",
|
| 19 |
+
},
|
| 20 |
+
secondary: {
|
| 21 |
+
DEFAULT: "hsl(var(--secondary))",
|
| 22 |
+
foreground: "hsl(var(--secondary-foreground))",
|
| 23 |
+
},
|
| 24 |
+
destructive: {
|
| 25 |
+
DEFAULT: "hsl(var(--destructive))",
|
| 26 |
+
foreground: "hsl(var(--destructive-foreground))",
|
| 27 |
+
},
|
| 28 |
+
muted: {
|
| 29 |
+
DEFAULT: "hsl(var(--muted))",
|
| 30 |
+
foreground: "hsl(var(--muted-foreground))",
|
| 31 |
+
},
|
| 32 |
+
accent: {
|
| 33 |
+
DEFAULT: "hsl(var(--accent))",
|
| 34 |
+
foreground: "hsl(var(--accent-foreground))",
|
| 35 |
+
},
|
| 36 |
+
popover: {
|
| 37 |
+
DEFAULT: "hsl(var(--popover))",
|
| 38 |
+
foreground: "hsl(var(--popover-foreground))",
|
| 39 |
+
},
|
| 40 |
+
card: {
|
| 41 |
+
DEFAULT: "hsl(var(--card))",
|
| 42 |
+
foreground: "hsl(var(--card-foreground))",
|
| 43 |
+
},
|
| 44 |
+
},
|
| 45 |
+
borderRadius: {
|
| 46 |
+
lg: "var(--radius)",
|
| 47 |
+
md: "calc(var(--radius) - 2px)",
|
| 48 |
+
sm: "calc(var(--radius) - 4px)",
|
| 49 |
+
},
|
| 50 |
+
},
|
| 51 |
},
|
| 52 |
plugins: [],
|
| 53 |
}
|