-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.ts
67 lines (65 loc) · 1.6 KB
/
tailwind.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
import type { Config } from "tailwindcss";
import {nextui} from "@nextui-org/react";
const config: Config = {
content: [
"./src/pages/**/*.{js,ts,jsx,tsx,mdx}",
"./src/components/**/*.{js,ts,jsx,tsx,mdx}",
"./src/app/**/*.{js,ts,jsx,tsx,mdx}",
"./node_modules/@nextui-org/theme/dist/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {
keyframes: {
scrollW: {
from: { transform: 'translateX(0)' },
to: { transform: 'translateX(-100%)' },
},
},
animation: {
scrollW: 'scrollW 25s linear infinite',
tiltInB: 'tilt-inB 0.6s cubic-bezier(0.250, 0.460, 0.450, 0.940)'
},
fontFamily: {
sans: ['var(--font-inter)'],
mono: ['var(--font-montserrat)'],
},
},
},
darkMode: "class",
plugins: [nextui({
themes: {
light: {
colors: {
background: "#FFFFFF",
foreground: "#11181C",
primary: {
foreground: "#9F7AEA",
DEFAULT: "#ED64A6",
},
secondary: {
DEFAULT: "#9F7AEA",
},
success: {
DEFAULT: "#4EA966",
},
warning: {
DEFAULT: "#0A3871",
},
},
},
dark: {
colors: {
background: "#000000", // or DEFAULT
foreground: "#ECEDEE", // or 50 to 900 DEFAULT
primary: {
foreground: "#FFFFFF", //Es el texto
DEFAULT: "#006FEE",
},
},
// ... rest of the colors
},
},
})],
// plugins: [],
};
export default config;