-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.js
41 lines (41 loc) · 1.05 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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./src/**/*.{js,jsx,ts,tsx}'],
theme: {
extend: {
fontFamily: {
'playlist-script': ['Playlist Script', 'cursive'],
'mplus-2': ['"M PLUS 2"', 'sans-serif'],
'noto-sans': ['"Noto Sans JP"', 'sans-serif'],
},
scrollBehavior: {
smooth: 'smooth',
},
hideScrollbar: {
'-ms-overflow-style': 'none' /* IE and Edge */,
'scrollbar-width': 'none' /* Firefox */,
'&::-webkit-scrollbar': {
display: 'none' /* Chrome, Safari, and Opera */,
},
},
},
},
variants: {},
plugins: [
function ({ addUtilities }) {
addUtilities(
{
'.hide-scrollbar': {
'-ms-overflow-style': 'none' /* IE and Edge */,
'scrollbar-width': 'none' /* Firefox */,
'&::-webkit-scrollbar': {
display: 'none' /* Chrome, Safari, and Opera */,
},
},
},
['responsive']
)
},
],
darkMode: 'media',
}