-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathtailwind.config.ts
More file actions
40 lines (36 loc) · 1.11 KB
/
Copy pathtailwind.config.ts
File metadata and controls
40 lines (36 loc) · 1.11 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
import plugin from 'tailwindcss/plugin';
const customVariants = plugin(({ addVariant }) => {
addVariant('hocus', ['&:hover', '&:focus']);
addVariant('default', 'html :where(&)');
addVariant('scrollbar', '&::-webkit-scrollbar');
addVariant('scrollbar-track', '&::-webkit-scrollbar-track');
addVariant('scrollbar-thumb', '&::-webkit-scrollbar-thumb');
});
/** @type {import('tailwindcss').Config} */
export default {
darkMode: 'class',
content: [
'./storage/framework/views/*.php',
'./resources/views/**/*.blade.php',
'./resources/**/*.blade.php',
'./resources/**/*.js',
'./resources/**/*.vue',
'./resources/js/components/**/*.vue',
],
// theme: {
// aspectRatio: {
// video: '16 / 9',
// square: '1 / 1',
// portrait: '9 / 16',
// '1/2': '1 / 2',
// '2/3': '2 / 3',
// '3/4': '3 / 4',
// },
// screens: {
// xs: '320px',
// xms: '360px',
// '3xl': '2000px',
// },
// },
plugins: [customVariants],
};