-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
66 lines (64 loc) · 1.83 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
const plugin = require("tailwindcss/plugin");
module.exports = {
content: ["./src/**/*.{js,ts,jsx,tsx}", "./public/index.html"],
theme: {
extend: {
colors: {
headerStart: "#FFFBF6",
headerEnd: "#FCEAF2",
headerTeal: "#DCFDFB",
headerBlue: "#07246D",
middleGradient: '#73BEF7',
endGradient: '#0066B3',
textColor: "#44ABF9",
textColorDark: '#266FAD'
},
fontFamily: {
coco: "CocoBubble",
bubblegum: "BubblegumSans",
},
fontSize: {
navText: "1.75rem",
},
fontWeight: {
header: "1000",
},
height: {
navBar: "4.5rem",
},
spacing: {
'1/8' : '12.5%',
'1/6' : '16.6%',
'1/5' : '20.0%',
}
},
backgroundImage: (theme) => ({
'custom-gradient': `linear-gradient(to bottom, ${theme('colors.headerStart')}, ${theme('colors.headerStart')}, ${theme('colors.headerEnd')})`,
"main-gradient": `linear-gradient(to bottom, ${theme("colors.headerTeal")},
${theme("colors.middleGradient")}, ${theme("colors.endGradient")})`,
}),
},
variants: {
extend: {
fontSize: ["responsive"],
},
},
plugins: [
plugin(function ({ addUtilities }) {
const newUtilities = {
'.text-outline-large': {
'color': 'white', // Text color
'-webkit-text-stroke-width': '8.5px', // Stroke width
'-webkit-text-stroke-color': '#07246D', // Stroke color
},
'.text-outline-small': {
'color': 'white', // Text color
'-webkit-text-stroke-width': '6px', // Stroke width
'-webkit-text-stroke-color': '#07246D', // Stroke color
},
// Add more utilities for different stroke widths and colors if needed
};
addUtilities(newUtilities);
}),
],
};