forked from yougotwill/session-website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
82 lines (82 loc) · 1.94 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
module.exports = {
purge: [
'./styles/globals.css',
'./node_modules/video.js/dist/video-js.min.css',
'./node_modules/@silvermine/videojs-quality-selector/dist/css/quality-selector.css',
'./pages/**/*.{js,ts,jsx,tsx}',
'./components/**/*.{js,ts,jsx,tsx}',
'./services/**/*.{js,ts,jsx,tsx}',
'./utils/**/*.{js,ts,jsx,tsx}',
],
darkMode: false, // or 'media' or 'class'
mode: 'jit',
theme: {
fontFamily: {
helvetica: ['Helvetica', 'Arial', 'sans-serif'],
mono: ['SpaceMono', 'monospace'],
sans: ['PublicSans', 'sans-serif'],
},
screens: {
sm: '375px',
md: '768px',
lg: '1024px',
xl: '1280px',
'2xl': '1536px',
'3xl': '1920px',
},
extend: {
animation: {
push: 'push 0.3s linear 1',
},
blur: {
xs: '2px',
},
borderWidth: {
3: '3px',
6: '6px',
},
colors: {
primary: {
DEFAULT: 'var(--primary-DEFAULT)',
dark: 'var(--primary-dark)',
},
gray: {
lightest: 'var(--gray-lightest)',
lighter: 'var(--gray-lighter)',
light: 'var(--gray-light)',
DEFAULT: 'var(--gray-DEFAULT)',
dark: 'var(--gray-dark)',
},
},
height: {
120: '30rem', // for larger images
},
keyframes: {
push: {
'50%': { transform: 'scale(0.8)' },
},
},
outline: {
primary: '2px dotted var(--primary-DEFAULT)',
},
transitionProperty: {
height: 'height',
},
},
},
variants: {
extend: {
animation: ['hover'],
backgroundColor: ['selection'],
blur: ['hover'],
borderWidth: ['first'],
display: ['group-hover', 'hover'],
filter: ['hover'],
transitionDuration: ['group-hover'],
},
},
plugins: [
require('@tailwindcss/forms'),
require('tailwindcss-selection-variant'),
],
};