-
Notifications
You must be signed in to change notification settings - Fork 64
/
Copy pathtailwind.config.js
71 lines (70 loc) · 2.46 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
const colors = require('tailwindcss/colors');
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./client/**/*.{js,jsx}', , './client/**/*.html'],
darkMode: 'class',
theme: {
extend: {
colors: {
hemmelig: {
DEFAULT: '#2a9d8f',
50: '#ffffff',
100: '#eaf5f4',
200: '#d4ebe9',
300: '#bfe2dd',
400: '#aad8d2',
500: '#95cec7',
600: '#7fc4bc',
700: '#6abab1',
800: '#55b1a5',
900: '#3fa79a',
},
'hemmelig-orange': {
DEFAULT: '#ff9769',
50: '#ffffff',
100: '#fff5f0',
200: '#ffeae1',
300: '#ffe0d2',
400: '#ffd5c3',
500: '#ffcbb4',
600: '#ffc1a5',
700: '#ffb696',
800: '#ffac87',
900: '#ffa178',
},
primary: {
light: '#3fb8a8',
DEFAULT: '#2a9d8f',
dark: '#1f8578',
},
},
fontFamily: {
sans: ['Inter', 'system-ui', 'sans-serif'],
},
fontSize: {
xs: ['0.75rem', { lineHeight: '1rem' }],
sm: ['0.875rem', { lineHeight: '1.25rem' }],
base: ['1rem', { lineHeight: '1.5rem' }],
lg: ['1.125rem', { lineHeight: '1.75rem' }],
xl: ['1.25rem', { lineHeight: '1.75rem' }],
'2xl': ['1.5rem', { lineHeight: '2rem' }],
},
keyframes: {
fadeIn: {
'0%': { opacity: 0, transform: 'translateY(-8px)' },
'100%': { opacity: 1, transform: 'translateY(0)' },
},
slideIn: {
'0%': { opacity: 0, transform: 'translateX(-8px)' },
'100%': { opacity: 1, transform: 'translateX(0)' },
},
},
animation: {
fadeIn: 'fadeIn 0.4s ease-out',
slideIn: 'slideIn 0.3s ease-out',
pulse: 'pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite',
},
},
},
plugins: [require('@tailwindcss/forms')],
};