-
Notifications
You must be signed in to change notification settings - Fork 2
/
tailwind.config.js
103 lines (102 loc) · 2.85 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
93
94
95
96
97
98
99
100
101
102
103
/** @type {import('tailwindcss').Config} */
module.exports = {
prefix: "cb-",
content: ["./src/runtime/**/*.{js,ts,vue,css}"],
theme: {
extend: {
display: ["group-hover"],
screens: {
sm: "576px",
md: "768px",
lg: "992px",
xl: "1200px",
"2xl": "1400px",
"3xl": "1600px",
"4xl": "2440px",
},
fontFamily: {
"source-codepro": ["Source CodePro"],
"poppins-regular": ["Poppins Regular"],
"poppins-medium": ["Poppins Medium"],
"inter-extralight": ["Inter-ExtraLight"],
"inter-regular": ["Inter-Regular"],
"inter-medium": ["Inter-Medium"],
"inter-semibold": ["Inter-SemiBold"],
"inter-bold": ["Inter-Bold"],
"comme-light": ["Comme-Light"],
"comme-regular": ["Comme-Regular"],
"comme-medium": ["Comme-Medium"],
"comme-semibold": ["Comme-SemiBold"],
"helvetica-light": ["Helvetica-Light"],
"helvetica-regular": ["Helvetica-Regular"],
"helvetica-bold": ["Helvetica-Bold"],
"charter-regular": ["Charter-Regular"],
"charter-bold": ["Charter-Bold"],
"charter-regular-italic": ["Charter-Regular-Italic"],
"charter-bold-italic": ["Charter-Bold-Italic"],
},
colors: {
black: {
core: "#000000",
900: "#3d3d3d",
},
white: "#ffffff",
pink: {
300: "#f2709c",
},
orange: {
300: "#ff835b",
},
slate: {
200: "rgb(226, 226, 226)",
400: "rgb(141, 138, 138)",
},
},
transitionTimingFunction: {
out: "cubic-bezier(0.9, 0.96, 1, 1)",
},
backgroundImage: {
"gradient-L": "linear-gradient(178deg, #FFFFFF 68%, #f77783 40%);",
"gradient-U": "linear-gradient(257deg, #FFFFFF 65%, #f77783 68%);",
"gradient-T": "linear-gradient(540deg, #FFFFFF 30.5%, #f77783 10%);",
"gradient-background":
"linear-gradient(to bottom, #FFFFFF , #FDE0E2 23%, #FDE0E2 88%, #FFFFFF 100%);",
},
},
},
corePlugins: {
container: false,
aspectRatio: false,
},
plugins: [
require("@tailwindcss/typography"),
require("@tailwindcss/aspect-ratio"),
function ({ addComponents }) {
addComponents({
".blog-container": {
margin: "auto",
padding: "0 0.75rem",
maxWidth: "100%",
"@screen sm": {
maxWidth: "540px",
},
"@screen md": {
maxWidth: "720px",
},
"@screen lg": {
maxWidth: "960px",
},
"@screen xl": {
maxWidth: "1140px",
},
"@screen 2xl": {
maxWidth: "1320px",
},
"@screen 3xl": {
maxWidth: "1470px",
},
},
});
},
],
};