-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.js
101 lines (97 loc) · 3.42 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
const { fontFamily } = require('tailwindcss/defaultTheme');
const colors = require('tailwindcss/colors');
module.exports = {
content: ['./src/**/*.{js,jsx,ts,tsx}'],
darkMode: 'class',
theme: {
extend: {
fontFamily: {
primary: ['"Josefin Sans"', ...fontFamily.sans],
display: ['"Josefin Sans"', ...fontFamily.sans],
body: ['"Josefin Sans"', ...fontFamily.sans],
sans: ['"Josefin Sans"', ...fontFamily.sans],
},
colors: {
spray: {
DEFAULT: '#63E0F1',
50: '#F6FCFE',
100: '#E6F6FD',
200: '#C5ECFA',
300: '#A5E5F7',
400: '#84E1F4',
500: '#63E0F1',
600: '#30DFEC',
700: '#13CDD1',
800: '#0E9E99',
900: '#0A6A63',
},
},
backgroundImage: {
conic: 'conic-gradient(var(--tw-gradient-stops))',
'conic-to-t': 'conic-gradient(at top, var(--tw-gradient-stops))',
'conic-to-b': 'conic-gradient(at bottom, var(--tw-gradient-stops))',
'conic-to-l': 'conic-gradient(at left, var(--tw-gradient-stops))',
'conic-to-r': 'conic-gradient(at right, var(--tw-gradient-stops))',
'conic-to-tl': 'conic-gradient(at top left, var(--tw-gradient-stops))',
'conic-to-tr': 'conic-gradient(at top right, var(--tw-gradient-stops))',
'conic-to-bl':
'conic-gradient(at bottom left, var(--tw-gradient-stops))',
'conic-to-br':
'conic-gradient(at bottom right, var(--tw-gradient-stops))',
radial: 'radial-gradient(ellipse at center, var(--tw-gradient-stops))',
'radial-at-t':
'radial-gradient(ellipse at top, var(--tw-gradient-stops))',
'radial-at-b':
'radial-gradient(ellipse at bottom, var(--tw-gradient-stops))',
'radial-at-l':
'radial-gradient(ellipse at left, var(--tw-gradient-stops))',
'radial-at-r':
'radial-gradient(ellipse at right, var(--tw-gradient-stops))',
'radial-at-tl':
'radial-gradient(ellipse at top left, var(--tw-gradient-stops))',
'radial-at-tr':
'radial-gradient(ellipse at top right, var(--tw-gradient-stops))',
'radial-at-bl':
'radial-gradient(ellipse at bottom left, var(--tw-gradient-stops))',
'radial-at-br':
'radial-gradient(ellipse at bottom right, var(--tw-gradient-stops))',
},
filter: {
inverted:
'grayscale(50%) invert(100%) brightness(95%) hue-rotate(180deg)',
},
animation: {
fadeIn: 'fadeIn 1s 1',
grow: 'grow 3s linear fowards infinite',
shrink: 'shrink 3s linear forwards infinite',
},
keyframes: {
fadeIn: {
'0%': { opacity: 0 },
'100%': { opacity: 1 },
},
},
},
},
plugins: [
require('@tailwindcss/forms'),
require('tailwind-heropatterns')({
// as per tailwind docs you can pass variants
variants: [],
// the list of patterns you want to generate a class for
// the names must be in kebab-case
// an empty array will generate all 87 patterns
patterns: ['polka-dots', 'signal', 'zig-zag', 'tic-tac-toe'],
// The foreground colors of the pattern
colors: {
default: '#9C92AC',
'blue-dark': '#000044', //also works with rgb(0,0,205)
},
// The foreground opacity
opacity: {
default: '0.4',
100: '1.0',
},
}),
],
};