-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.js
54 lines (53 loc) · 1.23 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
const { getTheme } = require('reshaped/config/tailwind');
const plugin = require('tailwindcss/plugin');
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
'./app/**/*.{js,ts,jsx,tsx,mdx}',
'./pages/**/*.{js,ts,jsx,tsx,mdx}',
'./components/**/*.{js,ts,jsx,tsx,mdx}',
],
theme: {
...getTheme(),
extend: {
spacing: {
x12: '48px',
x16: '64px',
x24: '96px',
x32: '128px',
x48: '192px',
x64: '256px',
x96: '384px',
x128: '512px',
x160: '640px',
x192: '768px',
},
},
screens: {
sm: '640px',
md: '768px',
des: '900px',
lg: '1024px',
xl: '1280px',
'2xl': '1536px',
},
},
plugins: [
plugin(function ({ addUtilities }) {
addUtilities({
'.scrollbar-0::-webkit-scrollbar': {
width: '0px',
},
'.scrollbar-6::-webkit-scrollbar': {
width: '6px',
},
'.scrollbar-rounded-12::-webkit-scrollbar-thumb': {
'border-radius': '12px',
},
'.scrollbar-bg-neutral::-webkit-scrollbar-thumb': {
'background-color': 'var(--rs-color-background-neutral)',
},
});
}),
],
};