-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
77 lines (75 loc) · 2.32 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
/** @type {import("tailwindcss").Config} */
const defaultTheme = require("tailwindcss/defaultTheme");
module.exports = {
content: ["./index.html", "./src/**/*.{js,ts,jsx,tsx}"],
theme: {
colors: {
transparent: "transparent",
current: "currentColor",
white: {
primary: "#ffffff",
},
black: {
primary: "#000000",
},
blue: {
primary: "#34375d",
secondary: "#4b5097",
"primary-hover": "#46486f",
"secondary-hover": "#2b3679",
tertiary: "#2c6a85",
quaternary: "#64b0c8",
},
grey: {
primary: "#f7f7f7",
secondary: "#6b7280",
tertiary: "#4b5563",
quaternary: "#d4d4d4",
"primary-hover": "#e2e2e2",
},
red: {
primary: "#a52326",
secondary: "#f1685e",
"primary-hover": "#c7433f",
"secondary-hover": "#bf3c38",
tertiary: "#cd3764",
},
green: {
primary: "#62e2b4",
},
yellow: {
primary: "#ffb961",
secondary: "#e5a34f",
},
},
stroke: (theme) => ({
"white-primary": theme("colors.white.primary"),
"black-primary": theme("colors.black.primary"),
"blue-primary": theme("colors.blue.primary"),
"blue-secondary": theme("colors.blue.secondary"),
"blue-tertiary": theme("colors.blue.tertiary"),
"blue-quaternary": theme("colors.blue.quaternary"),
"grey-primary": theme("colors.grey.primary"),
"grey-secondary": theme("colors.grey.secondary"),
"grey-tertiary": theme("colors.grey.tertiary"),
"grey-quaternary": theme("colors.grey.quaternary"),
"red-primary": theme("colors.red.primary"),
"red-secondary": theme("colors.red.secondary"),
"red-tertiary": theme("colors.red.tertiary"),
"green-primary": theme("colors.green.primary"),
"yellow-primary": theme("colors.yellow.primary"),
"yellow-secondary": theme("colors.yellow.secondary"),
}),
extend: {
fontFamily: {
code: ["Source Serif Variable", ...defaultTheme.fontFamily.serif],
sans: ["Inter Variable", ...defaultTheme.fontFamily.sans],
branding: ["Source Serif Semibold", ...defaultTheme.fontFamily.serif],
},
},
},
plugins: [
require("@tailwindcss/aspect-ratio"),
require("@tailwindcss/forms"),
],
};