-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathtailwind.config.js
84 lines (83 loc) · 1.97 KB
/
tailwind.config.js
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
const { nextui } = require("@nextui-org/react");
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./src/**/*",
"./node_modules/@nextui-org/theme/dist/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {
fontFamily: {
'primary': ['DM Sans', 'ui-sans-serif', 'system-ui'],
},
animation: {
'gradient': 'gradient 10s ease infinite',
'slide': 'slideInFromTop 1s ease-in-out'
},
keyframes: {
'gradient': {
'0%, 100%': {
'background-size': '200% 200%',
'background-position': 'left center'
},
'50%': {
'background-size': '200% 200%',
'background-position': 'right center'
}
},
'slideInFromTop': {
'0%': {
'transform': 'translateY(-6%)',
'opacity': '0'
},
'100%': {
'transform': 'translateY(0)',
'opacity': '1'
}
}
},
dropShadow: {
'sm': '0 0 1px #bf97ff',
'md': '0 0 6px #bf97ff',
'lg': '0 0 20px #bf97ff',
},
},
screens: {
'mobile': '425px',
'tablet': '640px',
'laptop': '1024px',
'wide': '1500px'
}
},
darkMode: "class",
plugins: [nextui({
themes: {
dark: {
colors: {
background: '#030014',
foreground: {
primary: '#cecdd1',
secondary: '#efedfdb3',
dark: '#efedfd99',
placeholder: '#8f8ca199'
},
divider: '#ffffff1a',
border: '#ffffff14',
primary: {
dark: '#bf97ff70',
light: '#bf97ff',
background: '#f3eeff0f'
},
danger: '#f31260',
content1: '#100d1e'
},
layout: {
boxShadow: {
small: "inset 0 0 10px #ffffff1a",
medium: "inset 0 0 10px #bf97ff70",
}
}
}
}
})],
}