-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
39 lines (38 loc) · 1004 Bytes
/
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
/** @type {import('tailwindcss').Config} */
// eslint-disable-next-line no-undef
const defaultTheme = require("tailwindcss/defaultTheme");
export default {
content: ["./index.html", "./src/**/*.{js,ts,jsx,tsx}"],
darkMode: "class",
theme: {
extend: {
colors: {
light: {
background: "hsl(0, 0%, 98%)",
element: "hsl(0, 0%, 100%)",
text: "hsl(200, 15%, 8%)",
input: "hsl(0, 0%, 52%)",
},
dark: {
background: "hsl(207, 26%, 17%)",
element: "hsl(209, 23%, 22%)",
text: "hsl(0, 0%, 100%)",
input: "hsl(0, 0%, 100%)",
},
},
fontFamily: {
sans: ["Nunito Sans", "sans-serif"],
},
screens: {
xs: "480px",
...defaultTheme.screens,
},
},
},
plugins: [
// eslint-disable-next-line no-undef
require("@tailwindcss/container-queries"),
// eslint-disable-next-line no-undef
require("@tailwindcss/forms"),
],
};