-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.cjs
79 lines (79 loc) · 2.1 KB
/
tailwind.config.cjs
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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./index.html", "./src/**/*.{js,ts,jsx,tsx}"],
theme: {
fontFamily: {
teko: ["Teko", "sans-serif"],
inter: ["Inter", "sans-serif"],
incosolata: ["Inconsolata", "monospace"],
code: ["Source Code Pro", "monospace"],
},
colors: {
neutral: {
200: "#DCDFEB",
400: "#77758A",
700: "#272424",
800: "#1D1E22",
900: "#1C1515",
},
ecru: {
200: "#FDF2D3",
300: "#F4E4B8",
},
green: {
200: "#D4F7D5",
600: "#28A284",
},
red: {
200: "#F7E5D4",
600: "#D72D44",
},
blue: {
200: "#D4EAF6",
600: "#5D47CA",
800: "#4C37B4",
},
white: "#FFFFFF",
black: "#000000",
transparent: "transparent",
},
extend: {},
},
plugins: [
/** @type {import('tailwindcss/types/config').PluginCreator} */
({ addUtilities }) => {
addUtilities({
".text-snippet": {
"@apply font-incosolata text-sm leading-4": {},
},
".text-xsmall": {
"@apply font-inter text-xs leading-4 tracking-tight": {},
},
".text-xsmall-bold": {
"@apply font-inter text-xs font-bold leading-4 tracking-tight": {},
},
".text-small": {
"@apply font-inter text-sm leading-5 tracking-tight": {},
},
".text-small-bold": {
"@apply font-inter text-sm font-bold leading-5 tracking-tight": {},
},
".text-medium": {
"@apply font-teko text-sm font-bold uppercase leading-none tracking-wide":
{},
},
".text-large": {
"@apply font-teko text-xl font-bold uppercase leading-none tracking-wide":
{},
},
".text-xlarge": {
"@apply font-teko text-4xl uppercase leading-none tracking-tight": {},
},
".text-xxlarge": {
"@apply font-teko text-6xl uppercase leading-none tracking-tight": {},
},
});
},
require("tailwind-scrollbar"),
],
};