-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathtailwind.config.js
92 lines (91 loc) · 2.65 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
const plugin = require("tailwindcss/plugin");
module.exports = {
mode: "jit",
darkMode: "class",
content: [
"./pages/**/*.{js,ts,jsx,tsx}",
"./components/**/*.{js,ts,jsx,tsx}",
],
theme: {
fontFamily: {
sans: ["'Inter'", "ui-sans-serif", "sans-serif"],
mono: ["'Source Code Pro'", "monospace"],
},
extend: {
boxShadow: {
btmbar:
"0 -1px 6px 0 rgb(0 0 0 / 0.05), 0 -1px 3px -1px rgb(0 0 0 / 0.05)",
},
colors: {
scrollbg: "#E5E9F0",
scrollaccent: "#5E81AC",
scrollbgd: "#232731",
scrollaccentd: "#88C0D0",
nord: {
dark: {
bg: "#232731",
nav: "hsl(222, 17%, 24%)",
rip: "hsl(222, 17%, 32%)",
fttext: "hsl(222, 17%, 60%)",
sb: "#272C37",
sbtp: "#272C37CC",
text: "#E5E9F0",
accent: "#88C0D0",
borders: "#434C5E",
highlight: "#EBCB8B",
},
light: {
bg: "#E5E9F0",
nav: "hsl(220, 27%, 95%)",
rip: "hsl(220, 27%, 97%)",
fttext: "hsl(222, 17%, 32%)",
sb: "hsl(220, 27%, 93%)",
sbtp: "hsla(220, 27%, 93%, 0.8)",
text: "#4C566A",
accent: "#5E81AC",
borders: "hsl(220, 27%, 85%)",
highlight: "#BF616A",
},
},
token: {
dark: {
comment: "hsl(221, 16%, 46%)",
defaultacc: "hsl(210, 34%, 63%)",
num: "hsl(311, 20%, 63%)",
selector: "hsl(92, 28%, 65%)",
function: "hsl(193, 43%, 67%)",
important: "hsl(40, 71%, 73%)",
unstyled: "hsl(60, 30%, 96%)",
},
light: {
comment: "hsl(221, 16%, 21%)",
defaultacc: "hsl(210, 34%, 33%)",
num: "hsl(311, 20%, 33%)",
selector: "hsl(92, 28%, 35%)",
function: "hsl(193, 43%, 37%)",
important: "hsl(40, 71%, 43%)",
unstyled: "#272C37",
},
},
},
backgroundImage: {
"hero-pattern": "url('/others/topography.svg')",
"hero-pattern-light": "url('/others/topography-light.svg')",
"hero-logo": "url('/others/hero-logo.svg')",
"hero-logo-light": "url('/others/hero-logo-light.svg')",
},
gridTemplateColumns: {
root: "min-content min-content auto",
},
},
},
plugins: [
require("tailwind-scrollbar"),
plugin(function ({ addVariant }) {
addVariant(
"support-blur",
"@supports ((-webkit-backdrop-filter: blur(4px)) or (backdrop-filter: blur(4px)))"
);
}),
],
};