-
Notifications
You must be signed in to change notification settings - Fork 2
/
tailwind.config.js
98 lines (92 loc) · 2.22 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
const colors = require("tailwindcss/colors");
module.exports = {
purge: {
enabled:true,
content: [ './pages/**/*.{js,ts,jsx,tsx}', './components/**/*.{js,ts,jsx,tsx}', './layouts/**/*.{js,ts,jsx,tsx}', "./styles/**/*.{js,ts,jsx,tsx}", './utils/**/*.{js,ts,jsx,tsx}']
},
darkMode: 'class',
theme: {
colors: {
black: colors.black,
white: colors.white,
gray: colors.trueGray,
indigo: colors.indigo,
red: colors.rose,
yellow: colors.amber,
special: "rgba( 255, 255, 255, 0.20 )",
nav:{
light: '#f39189',
dark: '#1e5f74',
},
body:{
light:"#F6F6F6",
dark:"#1d2d50"
},
button:{
light: "#e63946",
dark: "#c26406",
},
words: {
light: "#1d3557",
dark:"#ebe8e5"
}
},
boxShadow:{
personal: "0 8px 8px 0 rgba( 31, 38, 135, 0.37 )"
},
height:{
card: "390px"
},
fontFamily: {
display: ['Roboto', 'sans-serif'],
body: ['Cabin', 'sans-serif'],
},
extend: {
gridTemplateColumns:{
"cards": "repeat(auto-fill, minmax(450px, 1fr))"
},
gridTemplateRows:{
"testimonials": "250px, 1fr"
},
typography: (theme) => ({
DEFAULT: {
css: {
"max-width": "74ch",
"width": "100%",
color: "inherit",
padding: "1rem",
a: {
color: '#1864af',
textDecoration: 'none',
'&:hover': {
color: '#414e4e',
},
},
pre:{
padding: ".5rem",
margin: ".5rem",
background: "#2A2D40",
color: "#c7b7ab",
fontWeight: "bolder"
},
".remark-code-title":{
color: "#4a9fb4"
},
'h1, h2, h3, h4, h5, h6': {
color: theme('colors.red.400'),
},
strong:{
color: theme("colors.red.600"),
},
"p > code":{
color: theme("colors.red.600")
}
},
},
}
)},
},
plugins: [
require("@tailwindcss/typography")
],
};