-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
42 lines (42 loc) · 1.21 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
module.exports = {
purge: ["./src/**/*.js", "./src/**/*.jsx", "./src/**/*.ts", "./src/**/*.tsx"],
darkMode: false, // or 'media' or 'class'
theme: {
textShadow: {
// defaults to {}
default: "0 2px 5px rgba(0, 0, 0, 0.5)",
lg: "0 2px 10px rgba(0, 0, 0, 0.5)",
},
fontFamily: { sans: ["Inter", "sans-serif"] },
extend: {
backgroundImage: theme => ({
"hero-pattern": "url('../../static/pattern.svg')",
}),
colors: {
primary: "#083D77",
secondary: "#F9C22E",
"primary-light": "#6CD4FF",
rose: "#F56476",
"rose-dark": "#E43F6F",
},
gradientColorStops: ["group-hover"],
borderColor: ["group-hover"],
fontFamily: {
"sans-alternate": ["Segoe UI Web (West European)", "sans-serif"],
},
},
},
variants: {
extend: {},
},
plugins: [
require("tailwindcss-typography")({
// all these options default to the values specified here
ellipsis: true, // whether to generate ellipsis utilities
hyphens: true, // whether to generate hyphenation utilities
kerning: true, // whether to generate kerning utilities
textUnset: true, // whether to generate utilities to unset text properties
componentPrefix: "c-", // the prefix to use for text style classes
}),
],
};