forked from brodiehunt/Code.Sydney-Website
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
111 lines (111 loc) · 3.47 KB
/
tailwind.config.js
File metadata and controls
111 lines (111 loc) · 3.47 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./src/pages/**/*.{js,ts,jsx,tsx,mdx}",
"./src/components/**/*.{js,ts,jsx,tsx,mdx}",
"./src/app/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
extend: {
colors: {
"custom-dark": "#030712",
"custom-light": "#ffffff",
"custom-primary": "#2892F9",
"cs-syd-1": "#8FD7ED",
"cs-syd-2": "#5ACAEC",
"cs-syd-3": "#28B8E4",
"cs-syd-4": "#22A3DC",
"cs-syd-5": "#3292CC",
"cs-syd-6": "#2D82BB",
"cs-syd-7": "#2B6F9B",
"cs-syd-8": "#26577C",
},
fontFamily: {
inter: ["Inter", "sans-serif"],
},
gridTemplateColumns: {
"auto-fill-300": "repeat(auto-fill, minmax(300px, 1fr))",
"auto-fit-300": "repeat(auto-fit, minmax(300px, 1fr))",
},
keyframes: {
fadeIn: {
"0%": { opacity: "0", transform: "translateY(-10px)" },
"100%": { opacity: "0", transform: "translateY(0)" },
},
rotate3d: {
"0%": { transform: "rotateY(0deg)" },
"100%": { transform: "rotateY(360deg)" },
},
carouselSlide: {
"0%": { transform: "translateX(0)" },
"100%": { transform: "translateX(-100%)" },
},
showProjectContent: {
"0%": {
transform: "translateY(50px)",
opacity: 0,
},
"100%": { transform: "translateY(0)", opacity: 1 },
},
testimonialAutoSlide: {
"0%": { transform: "scaleX(0)" },
"100%": { transform: "scaleX(1)" },
},
scaleYToZero: {
"0%": { transform: "scaleY(1)" },
"100%": { transform: "scaleY(0)" },
},
wave: {
"0%": { transform: "rotate(0deg)" },
"10%": { transform: "rotate(14deg)" },
"20%": { transform: "rotate(-8deg)" },
"30%": { transform: "rotate(14deg)" },
"40%": { transform: "rotate(-4deg)" },
"50%": { transform: "rotate(10deg)" },
"60%": { transform: "rotate(0deg)" },
"100%": { transform: "rotate(0deg)" },
},
},
transitionProperty: {
width: "width",
},
animation: {
rotate3d: "rotate3d 5s linear infinite",
fadeIn: "fadeIn 0.3s ease-out",
carouselSlide: "carouselSlide 60s infinite linear",
showProjectContentOrganisation:
"showProjectContent 0.5s ease-in-out 0.7s forwards",
showProjectContentTitle:
"showProjectContent 0.5s ease-in-out 0.9s forwards",
showProjectContentDescription:
"showProjectContent 0.5s ease-in-out 1.1s forwards",
showProjectContentButton:
"showProjectContent 0.5s ease-in-out 1.3s forwards",
testimonialAutoSlide: "testimonialAutoSlide 10s infinite linear",
scaleYToZero: "scaleYToZero 1s forwards",
wavingHand: "wave 2.5s ease-in-out infinite",
},
gridTemplateColumns: {
"40-60": "40% 60%",
},
},
},
plugins: [
function ({ addUtilities }) {
addUtilities(
{
".text-outline": {
"-webkit-text-stroke-width": "1px",
"-webkit-text-stroke-color": "rgba(255,255,255, 0.3)",
},
".text-outline-2": {
"-webkit-text-stroke-width": "2px",
"-webkit-text-stroke-color": "currentColor",
},
},
["responsive", "hover"]
);
},
],
darkMode: "class",
};