-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
45 lines (45 loc) · 1.04 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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./pages/**/*.{js,ts,jsx,tsx}",
"./components/**/*.{js,ts,jsx,tsx}",
],
theme: {
// Extending the default theme
extend: {
screens: {
xs: "320px",
"2xl": "1500px",
},
keyframes: {
pulse: {
"0%, 100%": {
opacity: 1,
},
"50%": {
opacity: 0.5,
},
},
},
animation: {
pulse: "pulse 4s cubic-bezier(0.4, 0, 0.6, 1) infinite",
},
},
// Overriding the default theme
fontFamily: {
all: ["Andada Pro", "serif"],
sans: ["sans-serif", "system-ui"],
},
},
// Lets you control properties of the native HTML elements ---> Added the rounded property to the scrollbar
variants: {
extend: {},
scrollbar: ["rounded"],
},
// Add plugins for easier development in Tailwind
plugins: [
require("@tailwindcss/forms"),
require("tailwind-scrollbar-hide"),
require("tailwind-scrollbar"),
],
};