Branchwell

Jotley / website / tailwind.config.js

1/** @type {import('tailwindcss').Config} */
2module.exports = {
3 darkMode: 'class',
4 content: [
5 "./src/**/*.{js,ts,jsx,tsx}",
6 ],
7 theme: {
8 extend: {
9 colors: {
10 primary: "#4F46E5",
11 secondary: "#10B981",
12 accent: "#818CF8",
13 },
14 animation: {
15 'gradient-shift': 'gradient-shift 3s ease infinite',
16 'float': 'float 3s ease-in-out infinite',
17 'fade-in-up': 'fade-in-up 0.6s ease-out forwards',
18 'bounce-subtle': 'dock-bounce 5s ease-in-out infinite',
19 },
20 keyframes: {
21 'gradient-shift': {
22 '0%, 100%': {
23 'background-size': '200% 200%',
24 'background-position': 'left center',
25 },
26 '50%': {
27 'background-size': '200% 200%',
28 'background-position': 'right center',
29 },
30 },
31 'float': {
32 '0%, 100%': {
33 transform: 'translateY(0px)'
34 },
35 '50%': {
36 transform: 'translateY(-10px)'
37 },
38 },
39 'fade-in-up': {
40 'from': {
41 opacity: '0',
42 transform: 'translateY(20px)',
43 },
44 'to': {
45 opacity: '1',
46 transform: 'translateY(0)',
47 },
48 },
49 'dock-bounce': {
50 '0%, 5%, 9%, 14%, 18%, 100%': {
51 transform: 'translateY(0)',
52 },
53 '2.5%': {
54 transform: 'translateY(-16px)',
55 },
56 '7%': {
57 transform: 'translateY(-5px)',
58 },
59 '16%': {
60 transform: 'translateY(-16px)',
61 },
62 },
63 },
64 },
65 },
66 plugins: [],
67}