-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
62 lines (61 loc) · 1.7 KB
/
tailwind.config.js
File metadata and controls
62 lines (61 loc) · 1.7 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
/** @type {import('tailwindcss').Config} */
export default {
content: [
"./index.html",
"./src/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {
colors: {
primary: {
100: '#faf5ff', // Lightest lavender
200: '#e9d8fd', // Light lavender
300: '#d6bcfa', // Medium lavender
400: '#b794f4', // Deep lavender
500: '#9f7aea', // Rich lavender
},
accent: {
100: '#fff5f7', // Light pink
200: '#fed7e2', // Medium pink
300: '#ff87b7', // Bright pink
400: '#3be8e0', // Teal
500: '#16b4a4', // Deep teal
},
neutral: {
100: '#ffffff', // White
200: '#f7fafc', // Off white
300: '#e2e8f0', // Light gray
400: '#4a5568', // Dark gray
500: '#1a202c', // Near black
}
},
fontFamily: {
sans: ['Inter', 'sans-serif'],
serif: ['Playfair Display', 'serif'],
rockbilly: ['Rockbilly', 'cursive'],
},
textShadow: {
'sm': '0 1px 2px rgba(0, 0, 0, 0.25)',
'md': '0 2px 4px rgba(0, 0, 0, 0.25)',
'lg': '0 4px 8px rgba(0, 0, 0, 0.25)',
'xl': '0 8px 16px rgba(0, 0, 0, 0.25)',
'none': 'none',
},
},
},
plugins: [
require('@tailwindcss/aspect-ratio'),
// Add text shadow plugin
function({ addUtilities, theme }) {
const textShadows = theme('textShadow');
const utilities = Object.entries(textShadows).map(([key, value]) => {
return {
[`.text-shadow${key === 'none' ? '' : `-${key}`}`]: {
textShadow: value,
},
};
});
addUtilities(utilities);
},
],
}