-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
46 lines (44 loc) · 1.17 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
const { emerald, orange } = require("tailwindcss/colors");
const typography = require("@tailwindcss/typography");
const forms = require("@tailwindcss/forms");
const aspectRatio = require("@tailwindcss/aspect-ratio");
const plugin = require("tailwindcss/plugin");
const utils = plugin(({ addUtilities }) => {
addUtilities({
".clickable": {
"touch-action": "manipulation",
"-webkit-tap-highlight-color": "transparent",
"user-select": "none",
cursor: "pointer"
},
".pixelated": {
"-ms-interpolation-mode": "nearest-neighbor",
"image-rendering": "pixelated"
}
});
});
module.exports = {
content: [
"./pages/**/*.{js,ts,jsx,tsx}",
"./components/**/*.{js,ts,jsx,tsx}"
],
theme: {
extend: {
borderRadius: {
"4xl": "2rem"
},
boxShadow: {
smooth: "0px 4px 32px rgba(0, 0, 0, 0.07);"
},
colors: {
primary: orange,
action: emerald
},
fontFamily: {
default: "Nunito, ui-sans-serif, sans-serif",
heading: "Montserrat Alternates, ui-sans-serif, Apple Color Emoji, sans-serif"
}
}
},
plugins: [typography, forms, aspectRatio, utils]
};