+
Foundation Color
+
+
+ {/* light */}
+ Ligth
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ secondary-foreground
+
+
+
+
+
+
+
+
+ destructive-foreground
+
+
+
+
+ {/* check list */}
+
+
+
+ {/* check list */}
+
+
+
+ success-success-border
+
+
+
+
+
+
+ information-foreground
+
+
+
+
+
+
+
-
- {/* dark */}
-
- dark
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
secondary-foreground
-
-
-
-
-
-
-
- destructive-foreground
-
-
-
-
- {/* check list */}
-
-
-
- {/* check list */}
-
-
-
- success-success-border
-
-
-
-
-
-
- information-foreground
-
-
-
-
-
-
-
-
-
ring
+ {/* dark */}
+
+ dark
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ secondary-foreground
+
+
+
+
+
+
+
+
+ destructive-foreground
+
+
+
+
+ {/* check list */}
+
+
+
+ {/* check list */}
+
+
+
+ success-success-border
+
+
+
+
+
+
+ information-foreground
+
+
+
+
+
+
+
diff --git a/packages/ui/src/components/ui/attachment/attachmentAdmin/attachmentAdmin.tsx b/packages/ui/src/components/ui/attachment/attachmentAdmin/attachmentAdmin.tsx
deleted file mode 100644
index 4ef747ea..00000000
--- a/packages/ui/src/components/ui/attachment/attachmentAdmin/attachmentAdmin.tsx
+++ /dev/null
@@ -1,76 +0,0 @@
-import AttachmentIcon2 from "@repo/icons/attachment2";
-import { AnimatePresence, motion } from "framer-motion";
-import { Card } from "../../card";
-import { ScrollArea } from "../../scroll-area";
-import { AttachmentProps, useAttachment } from "../useAttachment";
-import { AttachmentItem } from "./attachmentItem/attachmentItem";
-
-const AttachmentAdmin = (props: AttachmentProps) => {
- const { title, multiple = false, maxSize = 10, allowedTypes } = props;
- const { inputFileRef, handleChange, handleRemove, files } =
- useAttachment(props);
-
- return (
- <>
-
-
-
`.${type}`).join(",")
- : ""
- }
- />
-
-
-
Drag & drop image to upload, or
-
{
- inputFileRef.current?.click();
- }}
- className="text-primary-500 hover:cursor-pointer"
- >
- browse
-
-
- 1208x840px size required in PNG or JPG format only.
-
-
-
-
-
- {files.length ? (
-
-
-
- {files.map((file) => (
-
-
-
- ))}
-
-
-
- ) : null}
-
- >
- );
-};
-export { AttachmentAdmin };
diff --git a/packages/ui/src/components/ui/attachment/attachmentAdmin/attachmentItem/attachmentItem.tsx b/packages/ui/src/components/ui/attachment/attachmentAdmin/attachmentItem/attachmentItem.tsx
deleted file mode 100644
index 16055eb5..00000000
--- a/packages/ui/src/components/ui/attachment/attachmentAdmin/attachmentItem/attachmentItem.tsx
+++ /dev/null
@@ -1,71 +0,0 @@
-import { motion } from "framer-motion";
-import { Loader, Trash2 } from "lucide-react";
-import Image from "next/image";
-import { Button } from "../../../../atoms/button";
-import { FileState } from "../../../../molecules/attachment/useAttachment";
-
-interface AttachmentItemProps {
- file: FileState;
- handleRemove: (name: string) => void;
-}
-const AttachmentItem = ({ file, handleRemove }: AttachmentItemProps) => {
- const handleClick = () => {
- handleRemove(file.name);
- };
- return (
-
-
-
- {file.loading ? (
-
-
-
- ) : null}
- {file.loading ? null : (
-
- )}
-
- {file.fileUrl ? (
-
- ) : (
-
{file.type}
- )}
-
-
-
- {file.name.slice(0, file.name.lastIndexOf(".") - 1)}
-
-
- {file.name.slice(file.name.lastIndexOf("."), file.name.length)}
-
-
-
- {(file.size / 1024 / 1024).toFixed(2)}mb
-
-
- );
-};
-
-export { AttachmentItem };
diff --git a/packages/ui/src/globals.css b/packages/ui/src/globals.css
deleted file mode 100644
index 17c94b77..00000000
--- a/packages/ui/src/globals.css
+++ /dev/null
@@ -1,230 +0,0 @@
-@tailwind base;
-@tailwind components;
-@tailwind utilities;
-
-@layer base {
- :root {
- /* primary */
- --primary-50: #ecefff;
- --primary-100: #dde2ff;
- --primary-200: #c2caff;
- --primary-300: #9ca5ff;
- --primary-400: #7576ff;
- --primary-500: #6155ff;
- --primary-600: #553af5;
- --primary-700: #4629d9;
- --primary-800: #3925ae;
- --primary-900: #322689;
-
- /* Erorr */
- --error-50: #fef2f2;
- --error-100: #fee2e2;
- --error-200: #fecaca;
- --error-300: #fca5a5;
- --error-400: #f87171;
- --error-500: #ef4444;
- --error-600: #dc2626;
- --error-700: #b91c1c;
- --error-800: #991b1b;
- --error-900: #7f1d1d;
-
- /* Warning */
- --warning-50: #fff4ed;
- --warning-100: #ffe6d5;
- --warning-200: #feccaa;
- --warning-300: #fdac74;
- --warning-400: #fb8a3c;
- --warning-500: #f97316;
- --warning-600: #ea670c;
- --warning-700: #c2570c;
- --warning-800: #9a4a12;
- --warning-900: #7c3d12;
-
- /* gray */
- --gray-50: #f9fafb;
- --gray-100: #f3f4f6;
- --gray-200: #e5e7eb;
- --gray-300: #d1d5db;
- --gray-400: #9ca3af;
- --gray-500: #6b7280;
- --gray-600: #4b5563;
- --gray-700: #374151;
- --gray-800: #1f2937;
- --gray-900: #111827;
-
- /* Success */
- --success-50: #f0fdf4;
- --success-100: #f0fdf5;
- --success-200: #bbf7d1;
- --success-300: #86efad;
- --success-400: #4ade80;
- --success-500: #22c55e;
- --success-600: #16a34a;
- --success-700: #15803c;
- --success-800: #166533;
- --success-900: #14532b;
-
- /* Info */
- --info-50: #f0f9ff;
- --info-100: #e0f2fe;
- --info-200: #bae5fd;
- --info-300: #7dd1fc;
- --info-400: #38bbf8;
- --info-500: #0ea2e9;
- --info-600: #0288d1;
- --info-700: #0367a1;
- --info-800: #075785;
- --info-900: #10C496E;
-
- --background: 0 0% 100%;
- --foreground: 240 10% 4%;
- --card: 240 5% 96%;
- --card-foreground: 222 47% 11%;
- --popover: 0 0% 100%;
- --popover-foreground: 222 47% 11%;
- --primary: 250 62% 58%;
- --primary-foreground: 210 40% 98%;
- --secondary: 240 5% 96%;
- --secondary-foreground: 240 6% 10%;
- --muted: 240 5% 96%;
- --muted-foreground: 240 4% 46%;
- --accent: 240 5% 96%;
- --accent-foreground: 240 6% 10%;
- --destructive: 0 72% 51%;
- --destructive-foreground: 0 0% 100%;
- --border: 240 6% 90%;
- --input: 240 6% 90%;
- --ring: 240 5% 65%;
-
- --table-header: 240 5% 96% · 50%;
- --warning-foreground: 26 90% 37%;
- --warning: 48 97% 77%;
- --warning-border: 48 97% 77%;
- --success-foreground: 142 72% 29%;
- --success: 145 80% 10%;
- --success-border: 141 79% 85%;
-
- --information-foreground: 224 76% 48%;
- --information: 226 57% 21%;
- --information-border: 213 97% 87%;
-
- --error: 0 93% 94%;
- --error-border: 0 96% 89%;
- --error-foreground: 0 72% 51%;
-
- --radius: 0.5rem;
- --chart-1: 12 76% 61%;
- --chart-2: 173 58% 39%;
- --chart-3: 197 37% 24%;
- --chart-4: 43 74% 66%;
- --chart-5: 27 87% 67%;
- }
-
- .dark {
- --background: 240 10% 4%;
- --foreground: 0 0% 98%;
- --card: 240 6% 10%;
- --card-foreground: 0 0% 100%;
- --popover: 240 10% 4%;
- --popover-foreground: 0 0% 100%;
- --primary: 250 62% 58%;
- --primary-foreground: 0 0% 100%;
- --secondary: 240 4% 16%;
- --secondary-foreground: 0 0% 100%;
- --muted: 240 5% 96%;
- --muted-foreground: 240 5% 65%;
- --accent: 240 4% 16%;
- --accent-foreground: 0 0% 100%;
- --destructive: 350 89% 60%;
- --destructive-foreground: 0 0% 0%;
- --border: 240 4% 16%;
- --input: 240 4% 16%;
- --ring: 240 5% 84%;
-
- --table-header: 240 4% 16% · 50%;
- --warning-foreground: 48 96% 89%;
- --warning: 22 78% 26%;
- --warning-border: 22 78% 26%;
- --success-foreground: 138 76% 97%;
- --success: 141 84% 93%;
- --success-border: 144 61% 20%;
-
- --information-foreground: 214 95% 93%;
- --information: 214 95% 93%;
- --information-border: 224 64% 33%;
-
- --error: 0 75% 15%;
- --error-border: 0 63% 31%;
- --error-foreground: 0 93% 94%;
-
- --chart-1: 220 70% 50%;
- --chart-2: 160 60% 45%;
- --chart-3: 30 80% 55%;
- --chart-4: 280 65% 60%;
- --chart-5: 340 75% 55%;
- }
-
- .light {
- --background: 0 0% 100%;
- --foreground: 240 10% 4%;
- --card: 240 5% 96%;
- --card-foreground: 222 47% 11%;
- --popover: 0 0% 100%;
- --popover-foreground: 222 47% 11%;
- --primary: 250 62% 58%;
- --primary-foreground: 210 40% 98%;
- --secondary: 240 5% 96%;
- --secondary-foreground: 240 6% 10%;
- --muted: 240 5% 96%;
- --muted-foreground: 240 4% 46%;
- --accent: 240 5% 96%;
- --accent-foreground: 240 6% 10%;
- --destructive: 0 72% 51%;
- --destructive-foreground: 0 0% 100%;
- --border: 240 6% 90%;
- --input: 240 6% 90%;
- --ring: 240 5% 65%;
-
- --table-header: 240 5% 96% · 50%;
- --warning-foreground: 26 90% 37%;
- --warning: 48 97% 77%;
- --warning-border: 48 97% 77%;
- --success-foreground: 142 72% 29%;
- --success: 145 80% 10%;
- --success-border: 141 79% 85%;
- --information-foreground: 224 76% 48%;
- --information: 226 57% 21%;
- --information-border: 213 97% 87%;
- --error: 0 93% 94%;
- --error-border: 0 96% 89%;
- --error-foreground: 0 72% 51%;
- --radius: 0.5rem;
- --chart-1: 12 76% 61%;
- --chart-2: 173 58% 39%;
- --chart-3: 197 37% 24%;
- --chart-4: 43 74% 66%;
- --chart-5: 27 87% 67%;
- }
-}
-
-@layer base {
- * {
- @apply border-border;
- }
- body {
- @apply bg-background text-foreground;
- }
-}
-
-/* add the code bellow */
-@layer utilities {
- /* Hide scrollbar for Chrome, Safari and Opera */
- .no-scrollbar::-webkit-scrollbar {
- display: none;
- }
- /* Hide scrollbar for IE, Edge and Firefox */
- .no-scrollbar {
- -ms-overflow-style: none; /* IE and Edge */
- scrollbar-width: none; /* Firefox */
- }
-}
diff --git a/packages/ui/src/styles/_tailinwd.scss b/packages/ui/src/styles/_tailinwd.scss
new file mode 100644
index 00000000..bd6213e1
--- /dev/null
+++ b/packages/ui/src/styles/_tailinwd.scss
@@ -0,0 +1,3 @@
+@tailwind base;
+@tailwind components;
+@tailwind utilities;
\ No newline at end of file
diff --git a/packages/ui/src/styles/globals.scss b/packages/ui/src/styles/globals.scss
new file mode 100644
index 00000000..eb4437cb
--- /dev/null
+++ b/packages/ui/src/styles/globals.scss
@@ -0,0 +1,232 @@
+@use "./_tailinwd.scss" as *;
+@use "@repo/design-system/styles" as *;
+
+// TODO: Delete
+// @layer base {
+// :root {
+// /* primary */
+// --primary-50: #ecefff;
+// --primary-100: #dde2ff;
+// --primary-200: #c2caff;
+// --primary-300: #9ca5ff;
+// --primary-400: #7576ff;
+// --primary-500: #6155ff;
+// --primary-600: #553af5;
+// --primary-700: #4629d9;
+// --primary-800: #3925ae;
+// --primary-900: #322689;
+
+// /* Erorr */
+// --error-50: #fef2f2;
+// --error-100: #fee2e2;
+// --error-200: #fecaca;
+// --error-300: #fca5a5;
+// --error-400: #f87171;
+// --error-500: #ef4444;
+// --error-600: #dc2626;
+// --error-700: #b91c1c;
+// --error-800: #991b1b;
+// --error-900: #7f1d1d;
+
+// /* Warning */
+// --warning-50: #fff4ed;
+// --warning-100: #ffe6d5;
+// --warning-200: #feccaa;
+// --warning-300: #fdac74;
+// --warning-400: #fb8a3c;
+// --warning-500: #f97316;
+// --warning-600: #ea670c;
+// --warning-700: #c2570c;
+// --warning-800: #9a4a12;
+// --warning-900: #7c3d12;
+
+// /* gray */
+// --gray-50: #f9fafb;
+// --gray-100: #f3f4f6;
+// --gray-200: #e5e7eb;
+// --gray-300: #d1d5db;
+// --gray-400: #9ca3af;
+// --gray-500: #6b7280;
+// --gray-600: #4b5563;
+// --gray-700: #374151;
+// --gray-800: #1f2937;
+// --gray-900: #111827;
+
+// /* Success */
+// --success-50: #f0fdf4;
+// --success-100: #f0fdf5;
+// --success-200: #bbf7d1;
+// --success-300: #86efad;
+// --success-400: #4ade80;
+// --success-500: #22c55e;
+// --success-600: #16a34a;
+// --success-700: #15803c;
+// --success-800: #166533;
+// --success-900: #14532b;
+
+// /* Info */
+// --info-50: #f0f9ff;
+// --info-100: #e0f2fe;
+// --info-200: #bae5fd;
+// --info-300: #7dd1fc;
+// --info-400: #38bbf8;
+// --info-500: #0ea2e9;
+// --info-600: #0288d1;
+// --info-700: #0367a1;
+// --info-800: #075785;
+// --info-900: #10C496E;
+
+// --background: 0 0% 100%;
+// --foreground: 240 10% 4%;
+// --card: 240 5% 96%;
+// --card-foreground: 222 47% 11%;
+// --popover: 0 0% 100%;
+// --popover-foreground: 222 47% 11%;
+// --primary: 250 62% 58%;
+// --primary-foreground: 210 40% 98%;
+// --secondary: 240 5% 96%;
+// --secondary-foreground: 240 6% 10%;
+// --muted: 240 5% 96%;
+// --muted-foreground: 240 4% 46%;
+// --accent: 240 5% 96%;
+// --accent-foreground: 240 6% 10%;
+// --destructive: 0 72% 51%;
+// --destructive-foreground: 0 0% 100%;
+// --border: 240 6% 90%;
+// --input: 240 6% 90%;
+// --ring: 240 5% 65%;
+
+// --table-header: 240 5% 96% · 50%;
+// --warning-foreground: 26 90% 37%;
+// --warning: 48 97% 77%;
+// --warning-border: 48 97% 77%;
+// --success-foreground: 142 72% 29%;
+// --success: 145 80% 10%;
+// --success-border: 141 79% 85%;
+
+// --information-foreground: 224 76% 48%;
+// --information: 226 57% 21%;
+// --information-border: 213 97% 87%;
+
+// --error: 0 93% 94%;
+// --error-border: 0 96% 89%;
+// --error-foreground: 0 72% 51%;
+
+// --radius: 0.5rem;
+// --chart-1: 12 76% 61%;
+// --chart-2: 173 58% 39%;
+// --chart-3: 197 37% 24%;
+// --chart-4: 43 74% 66%;
+// --chart-5: 27 87% 67%;
+// --table-header: 240 5% 96% · 50%;
+// }
+
+// .dark {
+// --background: 240 10% 4%;
+// --foreground: 0 0% 98%;
+// --card: 240 6% 10%;
+// --card-foreground: 0 0% 100%;
+// --popover: 240 10% 4%;
+// --popover-foreground: 0 0% 100%;
+// --primary: 250 62% 58%;
+// --primary-foreground: 0 0% 100%;
+// --secondary: 240 4% 16%;
+// --secondary-foreground: 0 0% 100%;
+// --muted: 240 5% 96%;
+// --muted-foreground: 240 5% 65%;
+// --accent: 240 4% 16%;
+// --accent-foreground: 0 0% 100%;
+// --destructive: 350 89% 60%;
+// --destructive-foreground: 0 0% 0%;
+// --border: 240 4% 16%;
+// --input: 240 4% 16%;
+// --ring: 240 5% 84%;
+
+// --table-header: 240 4% 16% · 50%;
+// --warning-foreground: 48 96% 89%;
+// --warning: 22 78% 26%;
+// --warning-border: 22 78% 26%;
+// --success-foreground: 138 76% 97%;
+// --success: 141 84% 93%;
+// --success-border: 144 61% 20%;
+
+// --information-foreground: 214 95% 93%;
+// --information: 214 95% 93%;
+// --information-border: 224 64% 33%;
+
+// --error: 350 89% 60%;
+// --error-border: 0 63% 31%;
+// --error-foreground: 0 93% 94%;
+
+// --chart-1: 220 70% 50%;
+// --chart-2: 160 60% 45%;
+// --chart-3: 30 80% 55%;
+// --chart-4: 280 65% 60%;
+// --chart-5: 340 75% 55%;
+// --table-header: 240 4% 16% · 50%;
+// }
+
+// .light {
+// --background: 0 0% 100%;
+// --foreground: 240 10% 4%;
+// --card: 240 5% 96%;
+// --card-foreground: 222 47% 11%;
+// --popover: 0 0% 100%;
+// --popover-foreground: 222 47% 11%;
+// --primary: 250 62% 58%;
+// --primary-foreground: 210 40% 98%;
+// --secondary: 240 5% 96%;
+// --secondary-foreground: 240 6% 10%;
+// --muted: 240 5% 96%;
+// --muted-foreground: 240 4% 46%;
+// --accent: 240 5% 96%;
+// --accent-foreground: 240 6% 10%;
+// --destructive: 0 72% 51%;
+// --destructive-foreground: 0 0% 100%;
+// --border: 240 6% 90%;
+// --input: 240 6% 90%;
+// --ring: 240 5% 65%;
+
+// --table-header: 240 5% 96% · 50%;
+// --warning-foreground: 26 90% 37%;
+// --warning: 48 97% 77%;
+// --warning-border: 48 97% 77%;
+// --success-foreground: 142 72% 29%;
+// --success: 145 80% 10%;
+// --success-border: 141 79% 85%;
+// --information-foreground: 224 76% 48%;
+// --information: 226 57% 21%;
+// --information-border: 213 97% 87%;
+// --error: 0 93% 94%;
+// --error-border: 0 96% 89%;
+// --error-foreground: 0 72% 51%;
+// --radius: 0.5rem;
+// --chart-1: 12 76% 61%;
+// --chart-2: 173 58% 39%;
+// --chart-3: 197 37% 24%;
+// --chart-4: 43 74% 66%;
+// --chart-5: 27 87% 67%;
+// }
+// }
+
+@layer base {
+ * {
+ @apply border-border;
+ }
+ body {
+ @apply bg-background text-foreground;
+ }
+}
+
+/* add the code bellow */
+@layer utilities {
+ /* Hide scrollbar for Chrome, Safari and Opera */
+ .no-scrollbar::-webkit-scrollbar {
+ display: none;
+ }
+ /* Hide scrollbar for IE, Edge and Firefox */
+ .no-scrollbar {
+ -ms-overflow-style: none; /* IE and Edge */
+ scrollbar-width: none; /* Firefox */
+ }
+}
diff --git a/packages/ui/tailwind.config.ts b/packages/ui/tailwind.config.ts
index 81d002f1..4cbc6a67 100644
--- a/packages/ui/tailwind.config.ts
+++ b/packages/ui/tailwind.config.ts
@@ -1,7 +1,9 @@
import type { Config } from "tailwindcss";
import tailwindcssAnimate from "tailwindcss-animate";
+import { tailwindConfig } from "@repo/design-system/tailwind";
const config = {
+ presets: [tailwindConfig],
darkMode: ["class"],
content: [
"./pages/**/*.{ts,tsx}",
@@ -20,146 +22,10 @@ const config = {
},
},
extend: {
- colors: {
- border: "hsl(var(--border))",
- input: "hsl(var(--input))",
- ring: "hsl(var(--ring))",
- background: "hsl(var(--background))",
- foreground: "hsl(var(--foreground))",
- // primary: {
- primary: {
- DEFAULT: "hsl(var(--primary))",
- 50: "var(--primary-50)",
- 100: "var(--primary-100)",
- 200: "var(--primary-200)",
- 300: "var(--primary-300)",
- 400: "var(--primary-400)",
- 500: "var(--primary-500)",
- 600: "var(--primary-600)",
- 700: "var(--primary-700)",
- 800: "var(--primary-800)",
- 900: "var(--primary-900)",
- foreground: "hsl(var(--primary-foreground))",
- },
- // error:
- error: {
- DEFAULT: "hsl(var(--error))",
- 50: "var(--error-50)",
- 100: "var(--error-100)",
- 200: "var(--error-200)",
- 300: "var(--error-300)",
- 400: "var(--error-400)",
- 500: "var(--error-500)",
- 600: "var(--error-600)",
- 700: "var(--error-700)",
- 800: "var(--error-800)",
- 900: "var(--error-900)",
- foreground: "hsl(var(--error-foreground))",
- border : "hsl(var(--error-border))",
- },
- // warning
- warning: {
- DEFAULT: "hsl(var(--warning))",
- 50: "var(--warning-50)",
- 100: "var(--warning-100)",
- 200: "var(--warning-200)",
- 300: "var(--warning-300)",
- 400: "var(--warning-400)",
- 500: "var(--warning-500)",
- 600: "var(--warning-600)",
- 700: "var(--warning-700)",
- 800: "var(--warning-800)",
- 900: "var(--warning-900)",
- foreground: "hsl(var(--warning-foreground))",
- border : "hsl(var(--warning-border))",
- },
- // gray
- Gray: {
- DEFAULT: "hsl(var(--gray))",
- 50: "var(--gray-50)",
- 100: "var(--gray-100)",
- 200: "var(--gray-200)",
- 300: "var(--gray-300)",
- 400: "var(--gray-400)",
- 500: "var(--gray-500)",
- 600: "var(--gray-600)",
- 700: "var(--gray-700)",
- 800: "var(--gray-800)",
- 900: "var(--gray-900)",
- foreground: "hsl(var(--gray-foreground))",
- },
- black: {
- DEFAULT: "hsl(var(--black))",
- 300: "var(--black-300)",
- 400: "var(--black-400)",
- },
- // success
- success: {
- DEFAULT: "hsl(var(--success))",
- 50: "var(--success-50)",
- 100: "var(--success-100)",
- 200: "var(--success-200)",
- 300: "var(--success-300)",
- 400: "var(--success-400)",
- 500: "var(--success-500)",
- 600: "var(--success-600)",
- 700: "var(--success-700)",
- 800: "var(--success-800)",
- 900: "var(--success-900)",
- foreground: "hsl(var(--success-foreground))",
- border: "hsl(var(--success-border))",
- },
- // info
- info: {
- DEFAULT: "hsl(var(--info))",
- 50: "var(--info-50)",
- 100: "var(--info-100)",
- 200: "var(--info-200)",
- 300: "var(--info-300)",
- 400: "var(--info-400)",
- 500: "var(--info-500)",
- 600: "var(--info-600)",
- 700: "var(--info-700)",
- 800: "var(--info-800)",
- 900: "var(--info-900)",
- foreground: "hsl(var(--info-foreground))",
- },
-
- secondary: {
- DEFAULT: "hsl(var(--secondary))",
- foreground: "hsl(var(--secondary-foreground))",
- },
- destructive: {
- DEFAULT: "hsl(var(--destructive))",
- foreground: "hsl(var(--destructive-foreground))",
- },
- muted: {
- DEFAULT: "hsl(var(--muted))",
- foreground: "hsl(var(--muted-foreground))",
- },
- accent: {
- DEFAULT: "hsl(var(--accent))",
- foreground: "hsl(var(--accent-foreground))",
- },
- popover: {
- DEFAULT: "hsl(var(--popover))",
- foreground: "hsl(var(--popover-foreground))",
- },
- card: {
- DEFAULT: "hsl(var(--card))",
- foreground: "hsl(var(--card-foreground))",
- },
- information :{
- DEFAULT: "hsl(var(--information))",
- foreground: "hsl(var(--information-foreground))",
- border: "hsl(var(--information-border))",
- },
- },
- borderRadius: {
- lg: "8px",
- md: "calc(var(--radius) - 2px)",
- sm: "calc(var(--radius) - 4px)",
+ boxShadow: {
+ box: "0px 0px 38px 0px rgba(103, 81, 214, 0.27)",
},
+
keyframes: {
"accordion-down": {
from: { height: "0" },
@@ -181,7 +47,11 @@ const config = {
},
},
},
- plugins: [tailwindcssAnimate],
+ plugins: [
+ tailwindcssAnimate,
+ require("tailwind-scrollbar"),
+ require("tailwind-scrollbar-hide"),
+ ],
} satisfies Config;
export default config;