This repository has been archived by the owner on Oct 18, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
60 lines (57 loc) · 1.74 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
/**
* @type {import("./src/common/types").LooseObject}
*/
const theme = {
extend: {
transitionProperty: {
'background-color': 'background-color',
'max-height': 'max-height',
},
keyframes: {
wiggle: {
'0%, 6%, 12%, 18%, 24%, 30%, 36%, 42%': { transform: 'rotate(-10deg)' },
'3%, 9%, 15%, 21%, 27%, 33%, 39%, 45%': { transform: 'rotate(10deg)' },
'48%, 52%, 56%, 60%, 64%, 68%, 72%, 76%, 80%, 84%': {
transform: 'rotate(-20deg)',
},
'50%, 54%, 58%, 62%, 66%, 70%, 74%, 78%, 82%': {
transform: 'rotate(20deg)',
},
'86%, 88%, 90%, 92%': { transform: 'rotate(-40deg)' },
'85%, 87%, 89%, 91%, 93%': { transform: 'rotate(40deg)' },
'94%': { transform: 'rotate(-40deg) scale(0.5, 0.5)' },
'95%': { transform: 'rotate(40deg) scale(1, 1)' },
'96%': { transform: 'rotate(-40deg) scale(1.5, 1.5)' },
'97%': { transform: 'rotate(40deg) scale(0.5, 0.5)' },
'98%': { transform: 'rotate(-40deg) scale(1, 1)' },
'99%': { transform: 'rotate(40deg) scale(1.5, 1.5)' },
'100%': { transform: 'scale(2, 2)' },
},
},
animation: {
explode: 'wiggle 1.6s ease-in-out',
},
fontFamily: {
sans: ['Inter', 'Helvetica', 'Arial', 'sans-serif'],
title: ['Radiotechnika', 'Helvetica', 'Arial', 'sans-serif'],
},
},
};
/**
* @type {unknown[]}
*/
const plugins = [
require('tailwindcss-scoped-groups')({
groups: ['list', 'track', 'tab'],
}),
];
/**
* @type {string[]}
*/
const content = ['./src/renderer/index.html', './src/renderer/**/*.{jsx,tsx}', './src/features/**/*.{jsx,tsx}'];
/** @type {import('tailwindcss').Config} */
export default {
content,
theme,
plugins,
};