-
Notifications
You must be signed in to change notification settings - Fork 2
/
tailwind.config.js
78 lines (76 loc) · 2.28 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
/** @type {import('tailwindcss').Config} */
const { fontFamily } = require("@mui/system");
module.exports = {
content: [
"./src/pages/**/*.{js,ts,jsx,tsx}",
"./src/components/**/*.{js,ts,jsx,tsx}",
],
darkMode: 'class',
theme: {
extend: {
fontFamily: { "e-ukraine": ["e-Ukraine", "sans-serif"] },
height: {
card: "30rem",
},
colors: {
text: { DEFAULT: "#232327", inverted: "#FFFDF5" },
background: { DEFAULT: "#FFEBAF", inverted: "#232335" },
accent: "#D7E6F5",
"ukraine-yellow": "#FFD700",
"ukraine-blue": "#0057B8",
"oxford-blue": "#00162E",
"blond-yellow": "#FFF5C0",
"iceberg-blue": "#80ABDC",
"alice-blue": "#F0F5FB",
},
dropShadow: ({ theme }) => ({
button: `4px 4px 0px ${theme("colors")["ukraine-blue"]}`,
// top drop shadow configs
"t-sm": `0 -1px -1px rgb(0 0 0 / 0.05)`,
"t": [
`0 -1px 2px rgb(0 0 0 / 0.1)`,
`0 -1px 1px rgb(0 0 0 / 0.06)`
],
"t-md": [
`0 -4px 3px rgb(0 0 0 / 0.07)`,
`0 -2px 2px rgb(0 0 0 / 0.06)`
],
"t-lg": [
`0 -10px 8px rgb(0 0 0 / 0.04)`,
`0 -4px 3px rgb(0 0 0 / 0.1)`
],
"t-xl": [
`0 -20px 13px rgb(0 0 0 / 0.03)`,
`0 -8px 5px rgb(0 0 0 / 0.08)`
],
"t-2xl": `0 -25px 25px rgb(0 0 0 / 0.15)`,
"t-white-md": [
`0 -4px 3px rgb(255 255 255 / 0.07)`,
`0 -2px 2px rgb(255 255 255 / 0.06)`
],
"white-md": [
`0 4px 3px rgb(255 255 255 / 0.07)`,
`0 2px 2px rgb(255 255 255 / 0.06)`
],
"white-lg": [
`0 10px 8px rgb(255 255 255 / 0.04)`,
`0 4px 3px rgb(255 255 255 / 0.1)`
],
"white-xl": [
`0 20px 13px rgb(255 255 255 / 0.03)`,
`0 8px 5px rgb(255 255 255 / 0.08)`
]
}),
transitionProperty: { filter: "filter" },
backgroundImage: {
"gradient-radial": "radial-gradient(var(--tw-gradient-stops))",
},
backgroundPosition: { "bottom-edge": "0% 0% 0% 150%" },
backgroundSize: { "size-2x": "100% 300%" },
},
},
plugins: [
require("@tailwindcss/line-clamp"),
require("@tailwindcss/typography"),
],
};