-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
97 lines (94 loc) · 3.28 KB
/
tailwind.config.js
File metadata and controls
97 lines (94 loc) · 3.28 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
import defaultTheme from 'tailwindcss/defaultTheme';
import plugin from 'tailwindcss/plugin';
import typographyPlugin from '@tailwindcss/typography';
export default {
content: ['./src/**/*.{astro,html,js,jsx,json,md,mdx,svelte,ts,tsx,vue}'],
theme: {
extend: {
colors: {
primary: 'var(--aw-color-primary)',
secondary: 'var(--aw-color-secondary)',
accent: 'var(--aw-color-accent)',
default: 'var(--aw-color-text-default)',
muted: 'var(--aw-color-text-muted)',
// MonaKit-inspired colors
'tea-main': 'var(--tea-main)',
'tea-secondary': 'var(--tea-secondary)',
'tea-light': 'var(--tea-light)',
'nebula': 'var(--nebula-accent)',
'solar': 'var(--solar-accent)',
'cosmic': 'var(--cosmic-accent)',
// Enhanced background colors
'bg-page': 'var(--aw-color-bg-page)',
'bg-card': 'var(--aw-color-bg-card)',
'bg-border': 'var(--aw-color-bg-border)',
},
fontFamily: {
sans: ['var(--aw-font-sans, ui-sans-serif)', ...defaultTheme.fontFamily.sans],
serif: ['var(--aw-font-serif, ui-serif)', ...defaultTheme.fontFamily.serif],
heading: ['var(--aw-font-heading, ui-sans-serif)', ...defaultTheme.fontFamily.sans],
},
animation: {
fade: 'fadeInUp 1s both',
'fade-in': 'fadeIn 1s both',
'slide-up': 'slideUp 0.8s both',
'slide-left': 'slideLeft 0.8s both',
'slide-right': 'slideRight 0.8s both',
'scale-in': 'scaleIn 0.6s both',
'float': 'float 3s ease-in-out infinite',
'pulse-slow': 'pulseSlow 4s ease-in-out infinite',
'gradient': 'gradient 8s ease infinite',
'scroll-tags': 'scrollTags 30s linear infinite',
},
keyframes: {
fadeInUp: {
'0%': { opacity: 0, transform: 'translateY(2rem)' },
'100%': { opacity: 1, transform: 'translateY(0)' },
},
fadeIn: {
'0%': { opacity: 0 },
'100%': { opacity: 1 },
},
slideUp: {
'0%': { opacity: 0, transform: 'translateY(1.5rem)' },
'100%': { opacity: 1, transform: 'translateY(0)' },
},
slideLeft: {
'0%': { opacity: 0, transform: 'translateX(1.5rem)' },
'100%': { opacity: 1, transform: 'translateX(0)' },
},
slideRight: {
'0%': { opacity: 0, transform: 'translateX(-1.5rem)' },
'100%': { opacity: 1, transform: 'translateX(0)' },
},
scaleIn: {
'0%': { opacity: 0, transform: 'scale(0.9)' },
'100%': { opacity: 1, transform: 'scale(1)' },
},
float: {
'0%, 100%': { transform: 'translateY(0)' },
'50%': { transform: 'translateY(-10px)' },
},
pulseSlow: {
'0%, 100%': { opacity: 1 },
'50%': { opacity: 0.7 },
},
gradient: {
'0%, 100%': { backgroundPosition: '0% 50%' },
'50%': { backgroundPosition: '100% 50%' },
},
scrollTags: {
'0%': { transform: 'translateX(0)' },
'100%': { transform: 'translateX(-50%)' },
},
},
},
},
plugins: [
typographyPlugin,
plugin(({ addVariant }) => {
addVariant('intersect', '&:not([no-intersect])');
}),
],
darkMode: 'class',
};