-
Notifications
You must be signed in to change notification settings - Fork 5
/
tailwind.config.js
96 lines (95 loc) · 2.1 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
const plugin = require('tailwindcss/plugin');
/** @type {import('tailwindcss').Config} */
module.exports = {
darkMode: ['class', '.figma-dark'],
content: ['./index.html', './src/**/*.{js,ts,jsx,tsx,svg}'],
plugins: [
plugin(function ({ matchUtilities, theme }) {
matchUtilities(
{
'text-shadow': (value) => ({
textShadow: value,
}),
},
{ values: theme('textShadow') }
);
}),
plugin(({ matchUtilities, theme }) => {
matchUtilities(
{
'animation-delay': (value) => {
return {
'animation-delay': value,
};
},
},
{
values: theme('transitionDelay'),
}
);
}),
],
theme: {
colors: {
black: 'var(--black)',
white: 'var(--white)',
transparent: 'transparent',
indicatorsHover: 'var(--indicators-hover)',
indicatorsActive: 'var(--indicators-active)',
elevation: {
1: 'var(--elevation-1)',
},
universal: {
25: 'var(--universal-25)',
},
secondary: {
35: 'var(--secondary-35)',
75: 'var(--secondary-75)',
},
focus: 'var(--figma-color-border-selected)',
},
extend: {
keyframes: {
'lurkers-blink': {
'0%, 48%': {
transform: 'scale(1)',
},
'50%': {
transform: 'scale(0)',
},
'52%, 100%': {
transform: 'scale(1)',
},
},
},
animation: {
'lurkers-blink': 'lurkers-blink 8s infinite',
},
textShadow: {
DEFAULT: '0px 4px 24px var(--text-shadow-color)',
},
fontFamily: {
martianMono: ['Martian Mono', 'monospace'],
},
fontSize: {
xxs: '0.625rem',
xxxs: '0.46875rem',
},
margin: {
13: '3.25rem',
},
borderRadius: {
'2.5xl': '1.25rem',
},
width: {
13: '3.25rem',
},
height: {
13: '3.25rem',
},
borderWidth: {
0.5: '0.5px',
},
},
},
};