-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
109 lines (109 loc) · 2.49 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
104
105
106
107
108
109
module.exports = {
content: ["./pages/**/*.tsx", "./src/**/*.tsx"],
darkMode: "class", // or 'media' or 'class'
theme: {
extend: {
colors: {
primaryRed: "#F94144",
primaryRedHover: "rgba(249, 65, 68, 0.38)",
react: "#6461EA",
nextJS: "#5A5A5A",
graphql: "#C710A9",
reactNative: "#ABABAB",
nodeJS: "#46A360",
lightWhite: "rgba(255, 255, 255, 0.3)",
lighterWhite: "rgba(255, 255, 255, 0.05)",
overlay: "rgba(0, 0, 0, 0.65)",
black: "#2F2F2F",
reallyBlack: "#222",
lightPrimary: "#FBFBFB",
//lightPrimary: "#FFF",
lightSecondary: "rgba(240, 240, 240, 0.42)",
lightLines: "#DCDCDC",
darkPrimary: "#282828",
darkLines: "#494949",
circleBlue: "#E5F1F8",
circleRed: "rgba(254, 236, 234, 1)",
circleDark: "rgba(173, 173, 173, 1)",
},
borderColor: (theme) => ({
lightCircles: "#DCDCDC",
darkCircles: "#494949",
}),
fontSize: {
nav: "1.05rem",
heroSize: "5.5rem",
},
flex: {
2: "2 2 0%",
1.5: "1.5 1.5 0%",
},
width: {
1: "1px",
},
height: {
1: "1px",
},
fontFamily: {
zilla: ["Zilla Slab", "serif"],
},
backgroundImage: {
heroDetail: "url('/assets/textures/paper.png')",
},
},
variant: {
extend: {
display: ["group-hover", "hover"],
borderRadius: ["group-hover", "hover"],
padding: ["hover"],
},
},
fontFamily: ["Libre Franklin", "Serif"],
container: {
center: true,
padding: {
DEFAULT: "2rem",
},
},
screens: {
xs: "640px",
sm: "768px",
md: "1024px",
lg: "1280px",
xl: "1300px",
"2xl": "1700px",
"3xl": "2000px",
},
},
container: {
center: true,
},
variants: {
extend: {},
},
plugins: [
function ({ addComponents }) {
addComponents({
".container": {
width: "100%",
// marginLeft: 'auto',
// marginRight: 'auto',
// paddingLeft: '2rem',
// paddingRight: '2rem',
"@screen sm": {
maxWidth: "80%",
},
"@screen md": {
maxWidth: "90%",
},
"@screen lg": {
maxWidth: "1024px",
},
"@screen xl": {
maxWidth: "1280px",
},
},
});
},
],
};