-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
executable file
·56 lines (55 loc) · 1.45 KB
/
tailwind.config.js
File metadata and controls
executable file
·56 lines (55 loc) · 1.45 KB
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
// tailwind.config.js
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
'./pages/**/*.{html,js,ts,jsx,tsx}',
'./components/**/*.{html,js,ts,jsx,tsx}',
'./app/**/*.{html,js,ts,jsx,tsx}',
],
plugins: [
function({ addUtilities }) {
const newUtilities = {
'.no-arrows': {
'-webkit-appearance': 'none',
'-moz-appearance': 'textfield',
'&::-webkit-inner-spin-button': {
'-webkit-appearance': 'none',
'margin': '0',
},
'&::-webkit-outer-spin-button': {
'-webkit-appearance': 'none',
'margin': '0',
},
},
};
addUtilities(newUtilities, ['responsive', 'hover']);
}
],
theme: {
extend: {
gridTemplateColumns: {
'16': 'repeat(16, minmax(0, 1fr))',
'footer': '200px minmax(900px, 1fr) 100px',
},
colors: {
'white': '#ffffff',
'rose': {
'50': '#fef2f2',
'100': '#fee2e2',
'200': '#fdcbcb',
'300': '#fba6a6',
'400': '#f67373',
'500': '#ed4646',
'600': '#da2828',
'700': '#b71e1e',
'800': '#971d1d',
'900': '#7e1e1e',
'950': '#390909',
},
// Add any additional custom colors here
},
},
// Remove the 'colors' key from here to prevent overriding defaults
// If you need to customize other theme properties, keep them outside 'extend'
},
}