Skip to content

Commit

Permalink
change tailwind config
Browse files Browse the repository at this point in the history
  • Loading branch information
bahiensed committed Jul 20, 2024
1 parent e034628 commit 1e61e27
Showing 1 changed file with 57 additions and 10 deletions.
67 changes: 57 additions & 10 deletions tailwind.config.ts
Original file line number Diff line number Diff line change
@@ -1,20 +1,67 @@
import type { Config } from "tailwindcss";

const config: Config = {
const config = {
darkMode: ["class"],
content: [
"./pages/**/*.{js,ts,jsx,tsx,mdx}",
"./components/**/*.{js,ts,jsx,tsx,mdx}",
"./app/**/*.{js,ts,jsx,tsx,mdx}",
"./pages/**/*.{ts,tsx}",
"./components/**/*.{ts,tsx}",
"./app/**/*.{ts,tsx}",
"./src/**/*.{ts,tsx}",
],
prefix: "",
theme: {
container: {
center: true,
padding: "2rem",
screens: {
"2xl": "1400px",
},
},
extend: {
colors: {
white: {
1: "#FFFFFF",
2: "rgba(255, 255, 255, 0.72)",
3: "rgba(255, 255, 255, 0.4)",
4: "rgba(255, 255, 255, 0.64)",
5: "rgba(255, 255, 255, 0.80)",
},
black: {
1: "#15171C",
2: "#222429",
3: "#101114",
4: "#252525",
5: "#2E3036",
6: "#24272C",
},
orange: {
1: "#F97535",
},
gray: {
1: "#71788B",
},
},
backgroundImage: {
"gradient-radial": "radial-gradient(var(--tw-gradient-stops))",
"gradient-conic":
"conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))",
"nav-focus":
"linear-gradient(270deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.00) 100%)",
},
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: [],
};
export default config;
plugins: [require("tailwindcss-animate")],
} satisfies Config;

export default config;

0 comments on commit 1e61e27

Please sign in to comment.