-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtailwind.config.js
More file actions
52 lines (49 loc) · 1.3 KB
/
tailwind.config.js
File metadata and controls
52 lines (49 loc) · 1.3 KB
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
const defaultTheme = require("tailwindcss/defaultTheme");
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./index.html", "./en/**/*.html", "./roadmap/**/*.html", "./src/**/*.{html,js,ts,jsx,tsx}"],
theme: {
extend: {
colors: {
primary: {
light: "rgb(84 173 170)",
DEFAULT: "rgb(65 144 141)",
dark: "rgb(52 115 113)",
},
background: {
DEFAULT: "#FFFFFF",
alt: "#F8F9FA",
},
text: {
DEFAULT: "#1A1A1A",
light: "#4A4A4A",
},
accent: {
DEFAULT: "#F0F4F8",
alt: "#F5F3FF",
},
},
fontFamily: {
sans: ['"DM Sans"', ...defaultTheme.fontFamily.sans],
},
animation: {
'fade-in': 'fadeIn 0.5s ease-in-out',
'slide-up': 'slideUp 0.5s ease-in-out',
},
keyframes: {
fadeIn: {
'0%': { opacity: '0' },
'100%': { opacity: '1' },
},
slideUp: {
'0%': { transform: 'translateY(20px)', opacity: '0' },
'100%': { transform: 'translateY(0)', opacity: '1' },
},
},
boxShadow: {
'soft': '0 2px 15px -3px rgba(0, 0, 0, 0.07), 0 10px 20px -2px rgba(0, 0, 0, 0.04)',
},
},
},
plugins: [],
};