-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
75 lines (72 loc) · 1.74 KB
/
tailwind.config.js
File metadata and controls
75 lines (72 loc) · 1.74 KB
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
const { gray } = require('@tailwindcss/typography/src/styles')
const defaultTheme = require('tailwindcss/defaultTheme')
module.exports = {
content: [
'./**/*.html',
'./**/**/*.html'
],
darkMode: 'media',
theme: {
extend: {
colors: {
transparent: "transparent",
success: "#28A745",
alert: "#ED1C24",
warning: "#FFB703",
black: "#020203",
white: "#FFFFFF",
yellowpoke: "#FFE223",
gray: {
DEFAULT: "#6B7280CC", // 80% opacity
2: "#3E4C5C",
3: "#E1E5EF",
4: "#242424",
5: "#F6F8FA",
6: "#D3D5D9"
},
},
typography: {
DEFAULT: {
css: {
pre: {
padding: "0",
color: "#1F2933",
backgroundColor: "#F3F3F3"
},
code: {
padding: "0.2em 0.4em",
backgroundColor: "#F3F3F3",
color: "#DD1144",
fontWeight: "400",
"border-radius": "0.25rem"
},
"code::before": false,
"code::after": false,
"blockquote p:first-of-type::before": false,
"blockquote p:last-of-type::after": false
},
},
},
fontFamily: {
sans: ['Inter var', ...defaultTheme.fontFamily.sans],
},
fontSize: {
xs: ["13px", "16px"],
sm: ["14px", "18px"],
md: ["16px", "20px"],
lg: ["18px", "23px"],
xl: ["20px", "25px"],
"2xl": ["24px", "30px"],
"3xl": ["32px", "40px"],
"4xl": ["36px", "45px"],
"5xl": ["48px", "60px"]
},
},
},
variants: {
extend: {},
},
plugins: [
require('@tailwindcss/typography'),
],
}