-
Notifications
You must be signed in to change notification settings - Fork 38
/
tailwind.config.js
77 lines (76 loc) · 1.64 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
const colors = require('tailwindcss/colors')
const plugin = require('tailwindcss/plugin')
const defaultTheme = require('tailwindcss/defaultTheme')
module.exports = {
content: [
'./pages/**/*.js',
'./components/**/*.js',
'./elements/**/*.js',
'./node_modules/@jpvalery/mistral/**/*.js',
],
theme: {
screens: {
md: '720px',
...defaultTheme.screens,
},
extend: {
colors: {
eigengrau: '#16161D',
accent: '#D8D8C7',
titleg1: '#A56D5E',
titleg2: '#E88B6A',
overlayg1: '#00000088',
overlayg2: '#FFFFFF44',
cta: colors.blue,
},
margin: {
'-menu': '-28rem',
},
width: {
'9/10': '92%',
},
height: {
'9/10': '92%',
},
zIndex: {
100: '100',
},
typography: {
DEFAULT: {
css: {
a: {
color: '#FFFFFF',
'&:hover': {
color: '#D8D8C7',
},
},
strong: {
color: '#D8D8C7',
},
},
},
},
scale: {
115: '1.15',
},
spacing: {
max2: '26rem',
max3: '40rem',
},
animation: {
'pulse-slow': 'pulse 3s infinite',
},
},
},
plugins: [
require('@tailwindcss/typography'),
require('@tailwindcss/aspect-ratio'),
plugin(function ({ addVariant, e }) {
addVariant('3n', ({ modifySelectors, separator }) => {
modifySelectors(({ className }) => {
return `.${e(`3n${separator}${className}`)}:nth-child(3n+0)`
})
})
}),
],
}