-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.cjs
More file actions
60 lines (56 loc) · 1.64 KB
/
tailwind.config.cjs
File metadata and controls
60 lines (56 loc) · 1.64 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
/* eslint-disable @typescript-eslint/no-var-requires */
const plugin = require("tailwindcss/plugin");
/**
* @type {import('tailwindcss/tailwind-config').TailwindConfig}
*/
module.exports = {
content: [ "./src/**/*.{html,jsx,tsx}" ],
theme: {
fontFamily: {
"MunroSmall": [ "MunroSmall" ],
}
},
plugins: [
require("tailwindcss"),
require("autoprefixer"),
require('tailwind-scrollbar-hide'),
]
};
/**
* Can ignore the next part, just some setup for our own plugin to add more
* variants, specifically `not-*` selectors; i.e. `not-hover:*`
*/
/**
@see https://tailwindcss.com/docs/hover-focus-and-other-states#quick-reference
Filtered out the selectors not compatible with the pseudo-selector `:not(...)`
*/
const notSelectors = [
[ "hover", ":hover" ],
[ "focus", ":focus" ],
[ "focus-within", ":focus-within" ],
[ "focus-visible", ":focus-visible" ],
[ "active", ":active" ],
[ "visited", ":visited" ],
[ "target", ":target" ],
[ "first", ":first-child" ],
[ "last", ":last-child" ],
[ "only", ":only-child" ],
[ "odd", ":nth-child(odd)" ],
[ "even", ":nth-child(even)" ],
[ "first-of-type", ":first-of-type" ],
[ "last-of-type", ":last-of-type" ],
[ "only-of-type", ":only-of-type" ],
[ "empty", ":empty" ],
[ "disabled", ":disabled" ],
[ "checked", ":checked" ],
[ "indeterminate", ":indeterminate" ],
[ "default", ":default" ],
[ "required", ":required" ],
[ "valid", ":valid" ],
[ "invalid", ":invalid" ],
[ "in-range", ":in-range" ],
[ "out-of-range", ":out-of-range" ],
[ "placeholder-shown", ":placeholder-shown" ],
[ "autofill", ":autofill" ],
[ "read-only", ":read-only" ]
];