From 8e4ca0c16ec9092727c336ee09917fd3498e86bf Mon Sep 17 00:00:00 2001 From: chark1es Date: Tue, 17 Oct 2023 12:48:17 -0700 Subject: [PATCH] init --- package.json | 3 +- tailwind.config.js | 76 ---------------------------------------------- yarn.lock | 5 +++ 3 files changed, 7 insertions(+), 77 deletions(-) delete mode 100644 tailwind.config.js diff --git a/package.json b/package.json index a94f784..521b788 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,8 @@ "react": "^18.0.0", "react-dom": "^18.0.0", "scss": "^0.2.4", - "tailwindcss": "^3.0.24" + "tailwindcss": "^3.0.24", + "tailwindcss-animate": "^1.0.7" }, "devDependencies": { "daisyui": "^3.9.2", diff --git a/tailwind.config.js b/tailwind.config.js deleted file mode 100644 index 0377ea1..0000000 --- a/tailwind.config.js +++ /dev/null @@ -1,76 +0,0 @@ -/** @type {import('tailwindcss').Config} */ -module.exports = { - darkMode: ["class"], - content: [ - './pages/**/*.{ts,tsx}', - './components/**/*.{ts,tsx}', - './app/**/*.{ts,tsx}', - './src/**/*.{ts,tsx}', - ], - theme: { - container: { - center: true, - padding: "2rem", - screens: { - "2xl": "1400px", - }, - }, - extend: { - colors: { - border: "hsl(var(--border))", - input: "hsl(var(--input))", - ring: "hsl(var(--ring))", - background: "hsl(var(--background))", - foreground: "hsl(var(--foreground))", - primary: { - DEFAULT: "hsl(var(--primary))", - foreground: "hsl(var(--primary-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))", - }, - }, - borderRadius: { - lg: "var(--radius)", - md: "calc(var(--radius) - 2px)", - sm: "calc(var(--radius) - 4px)", - }, - keyframes: { - "accordion-down": { - from: { height: 0 }, - to: { height: "var(--radix-accordion-content-height)" }, - }, - "accordion-up": { - from: { height: "var(--radix-accordion-content-height)" }, - to: { height: 0 }, - }, - }, - animation: { - "accordion-down": "accordion-down 0.2s ease-out", - "accordion-up": "accordion-up 0.2s ease-out", - }, - }, - }, - plugins: [require("tailwindcss-animate")], -} \ No newline at end of file diff --git a/yarn.lock b/yarn.lock index 915818c..d7f40ca 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5600,6 +5600,11 @@ tailwind-variants@^0.1.14: dependencies: tailwind-merge "^1.13.2" +tailwindcss-animate@^1.0.7: + version "1.0.7" + resolved "https://registry.yarnpkg.com/tailwindcss-animate/-/tailwindcss-animate-1.0.7.tgz#318b692c4c42676cc9e67b19b78775742388bef4" + integrity sha512-bl6mpH3T7I3UFxuvDEXLxy/VuFxBk5bbzplh7tXI68mwMokNYd1t9qPBHlnyTwfa4JGC4zP516I1hYYtQ/vspA== + tailwindcss@^3.0.24, tailwindcss@^3.1, tailwindcss@^3.2.7: version "3.3.3" resolved "https://registry.yarnpkg.com/tailwindcss/-/tailwindcss-3.3.3.tgz#90da807393a2859189e48e9e7000e6880a736daf"