-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.cjs
65 lines (64 loc) · 1.38 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
const defaultTheme = require("tailwindcss/defaultTheme");
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}"],
theme: {
extend: {
fontSize: {
screen: [
"72px",
{
lineHeight: "1",
fontWeight: "700",
},
],
heading: [
"61px",
{
lineHeight: "1",
fontWeight: "700",
},
],
subhead: [
"49px",
{
lineHeight: "1",
fontWeight: "600",
},
],
title: [
"31px",
{
fontWeight: "500",
},
],
body: [
"24px",
{
fontWeight: "400",
},
],
small: [
"16px",
{
fontWeight: "400",
},
],
},
colors: {
TED: {
red: "#FF2B29",
yellow: "#E8FA52",
purple: "#754DF2",
pink: "#EA76E7",
},
},
},
fontFamily: {
poppins: ["Poppins", ...defaultTheme.fontFamily.sans],
display: ["IBM Plex Sans Thai", ...defaultTheme.fontFamily.sans],
body: ["IBM Plex Sans Thai Looped", ...defaultTheme.fontFamily.sans],
},
},
plugins: [require("@tailwindcss/typography")],
};