-
-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathtailwind.config.js
89 lines (89 loc) · 2.19 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
/** @type {import('tailwindcss').Config} */
export default {
content: [
'components/**/*.{vue,js}',
'layouts/**/*.vue',
'pages/**/*.vue',
'composables/**/*.{js,ts}',
'plugins/**/*.{js,ts}',
'app.{js,ts,vue}',
],
darkMode: 'class',
safelist: [
'whitelisted',
{ pattern: /(bg|text|border)-(teal|red)-(100|500|900)/ },
],
theme: {
colors: {
'transparent': 'transparent',
'current': 'currentColor',
'white': '#ffffff',
'white-8a': '#ffffff8a',
'jet': '#2a2a2aff',
'jet-8a': '#2a2a2a8a',
'dark-orange': '#cc7246ff',
'light-orange': '#fca87fff',
'dark-lavender': '#616d97ff',
'light-lavender': '#d1d3e0ff',
'grey-gallery': '#b4b4b4',
'cursor': '#CDC3C35A',
'grey': '#9CA3AF',
'dark-grey': '#6b6b6b',
'light-grey': '#787878',
'dark-grey-alt': '#3a3a3a',
'light-grey-alt': '#dddddd',
'teal': {
100: '#ccfbf1',
500: '#14b8a6',
900: '#134e4a',
},
'red': {
100: '#fee2e2',
500: '#ef4444',
600: '#dc2626',
900: '#7f1d1d',
},
},
screens: {
'sm': '576px',
'md': '768px',
'it': '864px',
'lg': '992px',
'xl': '1200px',
'2xl': '1680px',
'lt': { raw: '(min-height: 576px)' },
'av': { raw: '(min-height: 768px)' },
'tl': { raw: '(min-height: 992px)' },
'hu': { raw: '(min-height: 1200 px)' },
},
extend: {
keyframes: {
fillwhite: {
from: { fill: 'transparent' },
to: { fill: 'white' },
},
filldark: {
from: { fill: 'transparent' },
to: { fill: '#2a2a2aff' },
},
spin: {
from: { transform: 'rotate(0deg)' },
to: { transform: 'rotate(360deg)' },
},
runner: {
from: { transform: 'translateX(25%)' },
to: { transform: 'translateX(-25%)' },
},
},
transitionProperty: {
'bg-img': 'background-image',
'bg-color': 'background-color',
'fill': 'fill',
},
transitionTimingFunction: {
smooth: 'cubic-bezier(0.65, 0, 0.076, 1)',
},
},
},
plugins: [],
}