-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathtailwind.config.js
More file actions
33 lines (33 loc) · 779 Bytes
/
Copy pathtailwind.config.js
File metadata and controls
33 lines (33 loc) · 779 Bytes
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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
'./src/**/*.{js,jsx,ts,tsx}',
'./public/index.html',
],
darkMode: 'class',
theme: {
extend: {
// Add custom tooltip delay
transitionDelay: {
'tooltip': '100ms', // Default is 500ms, we're making it much faster
},
// Add icon button sizing
spacing: {
'10': '2.5rem', // For icon button width/height
},
borderRadius: {
'lg': '0.5rem', // Consistent radius for icon buttons
},
},
},
plugins: [
// Add custom tooltip plugin
function({ addUtilities }) {
addUtilities({
'[title]': {
'@apply before:transition-opacity before:delay-tooltip': {},
},
});
},
],
};