-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
76 lines (75 loc) · 2.4 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
const { scale } = require('style-value-types');
/** @type {import('tailwindcss').Config} */
module.exports = {
mode: 'jit',
content: ['./src/**/*.{js,jsx,ts,tsx}'],
theme: {
extend: {
margin: {
full: '96%',
},
height: {
144: '48rem',
},
boxShadow: {
top: '0 0px 8px',
},
backgroundImage: {
'phonon-card': "url('./assets/images/card-bg.png')",
'phonon-card-gray': "url('./assets/images/card-bg-gray.png')",
'phonon-card-light': "url('./assets/images/card-bg-light.png')",
'phonon-card-blue': "url('./assets/images/card-bg-blue.png')",
},
fontFamily: {
'bandeins-sans': ['BandeinsSansRegular'],
'bandeins-sans-semibold': ['BandeinsSansSemiBold'],
'bandeins-sans-bold': ['BandeinsSansBold'],
'bandeins-sans-light': ['BandeinsSansLight'],
'noto-sans-mono': ['Noto Sans Mono', 'monospace'],
},
fontSize: {
'phonon-card': '2.85rem',
xxs: '0.7rem',
},
rotate: {
30: '30deg',
},
transitionProperty: {
height: 'height',
},
keyframes: {
dismissIndicator: {
'0%': { width: '100%' },
'100%': { width: '0px' },
},
errorShake: {
'10%, 90%': { transform: 'translate3d(-2px, 0, 0)' },
'20%, 80%': { transform: 'translate3d(4px, 0, 0)' },
'30%, 50%, 70%': { transform: 'translate3d(-6px, 0, 0)' },
'40%, 60%': { transform: 'translate3d(6px, 0, 0)' },
},
success: {
'50%': { transform: 'scale(1.2)' },
},
outgoing: {
'0%': { opacity: '0', transform: 'translateX(0rem)' },
'50%': { opacity: '1', transform: 'translateX(10rem)' },
'100%': { opacity: '0', transform: 'translateX(32rem)' },
},
incoming: {
'0%': { opacity: '0', transform: 'translateX(32rem)' },
'50%': { opacity: '1', transform: 'translateX(22rem)' },
'100%': { opacity: '0', transform: 'translateX(0rem)' },
},
},
animation: {
dismissIndicator: 'dismissIndicator 8s ease-out 1',
errorShake: 'errorShake 0.8s cubic-bezier(0.97,0.19,0.07,0.36) both',
success: 'success 0.4s linear 1',
outgoing: 'outgoing 4s linear infinite',
incoming: 'incoming 4s linear infinite',
},
},
},
plugins: [],
};