-
Notifications
You must be signed in to change notification settings - Fork 4
/
tailwind.config.js
65 lines (63 loc) · 1.79 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./src/app/**/*.{js,ts,jsx,tsx}",
"./src/pages/**/*.{js,ts,jsx,tsx}",
"./src/components/**/*.{js,ts,jsx,tsx}",
"./src/layout/**/*.{js,ts,jsx,tsx}",
"./src/**/*.{js,ts,jsx,tsx}",
],
darkMode: "class", // or 'media' or 'class'
theme: {
fontFamily: {
title: "var(--title)",
body: "var(--body)",
},
extend: {
keyframes: {
shimmer: {
"100%": {
transform: "translateX(100%)",
},
},
},
animation: {
bounce200: "bounce 1s infinite 200ms",
bounce400: "bounce 1s infinite 400ms",
},
gridTemplateRows: {
layout: "100px, repeat(9, minmax(200px, 1fr))",
test: "450px 1fr",
},
gridTemplateColumns: {
layout: "repeat(12, 1fr)",
// test: "repeat(auto-fill, minmax(350px, 1fr))",
},
colors: {
light: "var(--primary)",
"light-2": "var(--secondary)",
"light-3": "var(--ternary)",
"light-accent": "var(--accent)",
"light-extra-one": "var(--extra-one)",
"light-extra-two": "var(--extra-two)",
"light-background-primary": "var(--bg-primary)",
"light-background-secondary": "var(--bg-secondary)",
// dark
dark: "var(--dark-primary)",
"dark-2": "var(--dark-secondary)",
"dark-3": "var(--dark-ternary)",
"dark-accent": "var(--dark-accent)",
"dark-extra-one": "var(--dark-extra-one)",
"dark-extra-two": "var(--dark-extra-two)",
"dark-background-primary": "var(--dark-bg-primary)",
"dark-background-secondary": "var(--dark-bg-secondary)",
},
},
},
variants: {
extend: {
lineClamp: ["hover"],
},
},
plugins: [],
};