-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
110 lines (109 loc) · 2.58 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
'src/**/*.{astro,html,md,mdx,js,vue}',
'node_modules/**/*.{html,vue}'
],
plugins: [
require('@tailwindcss/typography'),
function ({ addUtilities }) {
const newUtilities = {};
newUtilities[".px-shell"] = {
paddingLeft: "1rem",
paddingRight: "1rem",
};
newUtilities[".px-container"] = {
maxWidth: "1344px",
margin: "0 auto",
paddingLeft: "1rem",
paddingRight: "1rem",
};
newUtilities["@media (min-width: 768px)"] = {
".px-shell": {
paddingLeft: "2rem",
paddingRight: "2rem",
},
".px-container": {
paddingLeft: "2rem",
paddingRight: "2rem",
},
};
addUtilities(newUtilities, ["responsive", "hover"]);
},
],
important: true,
darkMode: 'class',
theme: {
extend: {
fontFamily: {
'mono': 'Roboto Mono',
},
borderColor: {
header: '#3e3e3e',
'header-hover': '#F3652B'
},
colors: {
header: '#171717',
'header-input': '#292929',
'header-button-enabled': '#ffffff32',
'header-button-hover': 'rgba(244, 244, 244, 0.04)',
'header-avatar': '#363636',
footer: '#1e1e1e'
},
textColor: {
header: '#b5b5b5',
footer: '#CCCCCC'
},
container: {
padding: {
DEFAULT: '.75rem',
sm: '2rem',
xl: '5rem',
'2xl': '10rem'
}
},
listStyleType: {
none: 'none',
disc: 'disc',
decimal: 'decimal',
square: 'square',
roman: 'upper-roman'
},
width: {
slide: '300px'
},
animation: {
fadeIn: 'fadeIn 220ms ease-in-out',
fadeOut: 'fadeOut 220ms ease-in-out',
'pretty': 'pretty 4s ease-in-out infinite',
},
transitionProperty: {
width: 'width'
},
keyframes: {
fadeIn: {
'0%': { opacity: '0' },
'100%': { opacity: '1' }
},
fadeOut: {
'0%': { opacity: '1' },
'100%': { opacity: '0' }
},
'pretty': {
'0%': {
'background-size': '200% 200%',
'background-position': 'left'
},
'50%': {
'background-size': '200% 200%',
'background-position': 'right'
},
'100%': {
'background-size': '200% 200%',
'background-position': 'left'
}
}
}
}
}
}