Mehdi commited on
Commit
4b2d733
·
verified ·
1 Parent(s): 969fedc

Upload tailwind.config.js with huggingface_hub

Browse files
Files changed (1) hide show
  1. tailwind.config.js +72 -38
tailwind.config.js CHANGED
@@ -1,53 +1,87 @@
1
  /** @type {import('tailwindcss').Config} */
2
  module.exports = {
 
3
  content: [
4
- './pages/**/*.{js,ts,jsx,tsx,mdx}',
5
- './components/**/*.{js,ts,jsx,tsx,mdx}',
 
 
6
  ],
 
7
  theme: {
 
 
 
 
 
 
 
8
  extend: {
9
  colors: {
 
 
 
 
 
10
  primary: {
11
- 50: '#eff6ff',
12
- 100: '#dbeafe',
13
- 200: '#bfdbfe',
14
- 300: '#93c5fd',
15
- 400: '#60a5fa',
16
- 500: '#3b82f6',
17
- 600: '#2563eb',
18
- 700: '#1d4ed8',
19
- 800: '#1e40af',
20
- 900: '#1e3a8a',
21
  },
22
  secondary: {
23
- 50: '#f8fafc',
24
- 100: '#f1f5f9',
25
- 200: '#e2e8f0',
26
- 300: '#cbd5e1',
27
- 400: '#94a3b8',
28
- 500: '#64748b',
29
- 600: '#475569',
30
- 700: '#334155',
31
- 800: '#1e293b',
32
- 900: '#0f172a',
33
- }
 
 
 
 
 
 
 
 
 
 
 
 
34
  },
35
- animation: {
36
- 'fade-in': 'fadeIn 0.5s ease-in-out',
37
- 'slide-up': 'slideUp 0.3s ease-out',
38
- 'pulse-slow': 'pulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite',
39
  },
40
  keyframes: {
41
- fadeIn: {
42
- '0%': { opacity: '0' },
43
- '100%': { opacity: '1' },
44
- },
45
- slideUp: {
46
- '0%': { transform: 'translateY(10px)', opacity: '0' },
47
- '100%': { transform: 'translateY(0)', opacity: '1' },
48
- }
49
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
50
  },
51
  },
52
- plugins: [],
53
- }
 
1
  /** @type {import('tailwindcss').Config} */
2
  module.exports = {
3
+ darkMode: ["class"],
4
  content: [
5
+ './pages/**/*.{ts,tsx}',
6
+ './components/**/*.{ts,tsx}',
7
+ './app/**/*.{ts,tsx}',
8
+ './src/**/*.{ts,tsx}',
9
  ],
10
+ prefix: "",
11
  theme: {
12
+ container: {
13
+ center: true,
14
+ padding: "2rem",
15
+ screens: {
16
+ "2xl": "1400px",
17
+ },
18
+ },
19
  extend: {
20
  colors: {
21
+ border: "hsl(var(--border))",
22
+ input: "hsl(var(--input))",
23
+ ring: "hsl(var(--ring))",
24
+ background: "hsl(var(--background))",
25
+ foreground: "hsl(var(--foreground))",
26
  primary: {
27
+ DEFAULT: "hsl(var(--primary))",
28
+ foreground: "hsl(var(--primary-foreground))",
 
 
 
 
 
 
 
 
29
  },
30
  secondary: {
31
+ DEFAULT: "hsl(var(--secondary))",
32
+ foreground: "hsl(var(--secondary-foreground))",
33
+ },
34
+ destructive: {
35
+ DEFAULT: "hsl(var(--destructive))",
36
+ foreground: "hsl(var(--destructive-foreground))",
37
+ },
38
+ muted: {
39
+ DEFAULT: "hsl(var(--muted))",
40
+ foreground: "hsl(var(--muted-foreground))",
41
+ },
42
+ accent: {
43
+ DEFAULT: "hsl(var(--accent))",
44
+ foreground: "hsl(var(--accent-foreground))",
45
+ },
46
+ popover: {
47
+ DEFAULT: "hsl(var(--popover))",
48
+ foreground: "hsl(var(--popover-foreground))",
49
+ },
50
+ card: {
51
+ DEFAULT: "hsl(var(--card))",
52
+ foreground: "hsl(var(--card-foreground))",
53
+ },
54
  },
55
+ borderRadius: {
56
+ lg: "var(--radius)",
57
+ md: "calc(var(--radius) - 2px)",
58
+ sm: "calc(var(--radius) - 4px)",
59
  },
60
  keyframes: {
61
+ "accordion-down": {
62
+ from: { height: "0" },
63
+ to: { height: "var(--radix-accordion-content-height)" },
64
+ },
65
+ "accordion-up": {
66
+ from: { height: "var(--radix-accordion-content-height)" },
67
+ to: { height: "0" },
68
+ },
69
+ "fade-in": {
70
+ "0%": { opacity: "0" },
71
+ "100%": { opacity: "1" },
72
+ },
73
+ "slide-in": {
74
+ "0%": { transform: "translateX(-100%)" },
75
+ "100%": { transform: "translateX(0)" },
76
+ },
77
+ },
78
+ animation: {
79
+ "accordion-down": "accordion-down 0.2s ease-out",
80
+ "accordion-up": "accordion-up 0.2s ease-out",
81
+ "fade-in": "fade-in 0.3s ease-out",
82
+ "slide-in": "slide-in 0.3s ease-out",
83
+ },
84
  },
85
  },
86
+ plugins: [require("tailwindcss-animate")],
87
+ };