Repository navigation
Expand file tree
/
Copy pathtailwind.config.js
More file actions
65 lines (63 loc) · 1.57 KB
/
Copy pathtailwind.config.js
File metadata and controls
65 lines (63 loc) · 1.57 KB
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
const colors = require("tailwindcss/colors");
module.exports = {
purge: ["./src/**/*.js"],
darkMode: false, // or 'media' or 'class'
theme: {
colors: {
white: colors.white,
black: colors.black,
blueGray: colors.blueGray,
coolGray: colors.coolGray,
gray: colors.gray,
trueGray: colors.trueGray,
warmGray: colors.warmGray,
red: colors.red,
orange: colors.orange,
amber: colors.amber,
yellow: colors.yellow,
lime: colors.lime,
green: colors.green,
emerald: colors.emerald,
teal: colors.teal,
cyan: colors.cyan,
lightBlue: colors.lightBlue,
blue: colors.blue,
indigo: colors.indigo,
violet: colors.violet,
purple: colors.purple,
fuchsia: colors.fuchsia,
pink: colors.pink,
rose: colors.rose,
},
extend: {},
},
variants: {
animation: ["responsive", "motion-safe", "motion-reduce"],
extend: {},
},
plugins: [
function ({ addUtilities }) {
const newUtilities = {
".text-shadow": {
textShadow: "0px 2px 3px darkgrey",
},
".text-shadow-md": {
textShadow: "0px 3px 3px darkgrey",
},
".text-shadow-lg": {
textShadow: "0px 5px 3px darkgrey",
},
".text-shadow-xl": {
textShadow: "0px 7px 3px darkgrey",
},
".text-shadow-2xl": {
textShadow: "0px 10px 3px darkgrey",
},
".text-shadow-none": {
textShadow: "none",
},
};
addUtilities(newUtilities);
},
],
};