forked from mathalea/mathaleaV3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.cjs
70 lines (66 loc) · 1.46 KB
/
tailwind.config.cjs
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
const plugin = require('tailwindcss/plugin')
const defaultTheme = require('tailwindcss/defaultTheme')
const config = {
content: ['./src/**/*.{html,js,svelte,ts}'],
theme: {
extend: {
colors: {
coopmaths: {
DEFAULT: '#F15929',
lightest: '#FF8C5C',
light: '#FF7343',
dark: '#D84010',
darkest: '#BE2600'
}
},
fontFamily: {
sans: ['"Source Sans Pro"', ...defaultTheme.fontFamily.sans],
beba: '"Bebas Neue"'
},
transitionProperty: {
width: 'width'
}
}
},
variants: {
display: ['group-hover']
},
daisyui: {
themes: [
{
mytheme: {
primary: '#F15929',
secondary: '#FF8C5C',
accent: '#D84010',
neutral: '#191D24',
'base-100': '#FFFF',
info: '#3ABFF8',
success: '#36D399',
warning: '#FBBD23',
error: '#F87272'
}
}
]
},
plugins: [
require('daisyui'),
// Pour les tooltips
require('@tailwindcss/forms'),
// Pour ???
plugin(function ({ addUtilities }) {
addUtilities({
'.scrollbar-hide': {
/* IE and Edge */
'-ms-overflow-style': 'none',
/* Firefox */
'scrollbar-width': 'none',
/* Safari and Chrome */
'&::-webkit-scrollbar': {
display: 'none'
}
}
})
})
]
}
module.exports = config