-
Notifications
You must be signed in to change notification settings - Fork 68
/
tailwind.config.js
72 lines (72 loc) · 1.74 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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./src/components/**/*.{js,vue,ts}",
"./src/layouts/**/*.vue",
"./src/pages/**/*.vue",
"./src/templates/**/*.vue",
"./gridsome.config.js",
],
// Safelist is a brute force method to get tailwind to work with `gridsome develop`
// https://tailwindcss.com/docs/content-configuration#safelisting-classes
// Only enable during local dev
// safelist: [{ pattern: /.*/ }],
theme: {
fontSize: {
xs: ".75rem",
sm: ".875rem",
base: "1rem",
md: "1.025rem",
lg: "1.125rem",
xl: "1.25rem",
"2xl": "1.5rem",
"3xl": "1.875rem",
"4xl": "2.25rem",
"5xl": "3rem",
"6xl": "4rem",
"7xl": "5rem",
},
extend: {
borderRadius: {
none: "0",
full: "9999px",
},
colors: {
white: {
DEFAULT: "#ffffff",
"07": "rgba(255, 255, 255, 0.7)",
fade: "rgba(255, 255, 255, 0.2)",
},
transparent: {
DEFAULT: "transparent",
},
blue: {
DEFAULT: "#3A64FA",
light: "#18C3FA",
},
purple: {
DEFAULT: "#311772",
50: "#E9E5FB",
lila: "#DAD1FE",
hub: "#E9E5FB",
},
par: {
DEFAULT: "#080216",
},
},
opacity: {
15: ".15",
},
screens: {
"2xl": { min: "1536px" },
xl: { min: "1280px" },
lg: { min: "1024px" },
md: { min: "768px" },
sm: { min: "640px" },
},
},
// safelist: [{ pattern: /.*/, variants: ["lg", "md", "sm", "hover"] }],
},
// eslint-disable-next-line global-require
plugins: [require("@tailwindcss/typography")],
};