forked from Bonizozo/stellar-tipjar-frontend
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.ts
More file actions
118 lines (116 loc) · 3.19 KB
/
Copy pathtailwind.config.ts
File metadata and controls
118 lines (116 loc) · 3.19 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
112
113
114
115
116
117
118
import type { Config } from "tailwindcss";
const config: Config = {
darkMode: "class",
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: {
primary: {
50: '#f5f3ff',
100: '#ede9fe',
500: '#8b5cf6',
600: '#7c3aed',
900: '#4c1d95'
},
secondary: {
50: '#f0f9ff',
100: '#e0f2fe',
500: '#0ea5e9',
600: '#0284c7',
900: '#0c4a6e'
},
accent: {
cyan: '#06b6d4',
purple: '#a855f7',
pink: '#ec4899'
},
semantic: {
success: '#10b981',
warning: '#f59e0b',
error: '#ef4444',
info: '#3b82f6'
},
canvas: "#f3efe4",
ink: "#151515",
sunrise: "#ff785a",
wave: "#0f6c7b",
moss: "#5f7f41",
},
spacing: {
"0": "0",
"1": "0.25rem",
"2": "0.5rem",
"3": "0.75rem",
"4": "1rem",
"6": "1.5rem",
"8": "2rem",
"12": "3rem",
"16": "4rem",
"24": "6rem",
},
backgroundImage: {
'gradient-primary': 'linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%)',
'gradient-secondary': 'linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%)',
'gradient-accent': 'linear-gradient(135deg, #06b6d4 0%, #a855f7 50%, #ec4899 100%)',
},
boxShadow: {
card: "0 20px 45px -28px rgba(15, 108, 123, 0.45)",
"card-dark": "0 20px 45px -28px rgba(88, 166, 255, 0.25)",
'soft': '0 2px 8px rgba(0, 0, 0, 0.1)',
'medium': '0 4px 16px rgba(0, 0, 0, 0.15)',
'strong': '0 8px 32px rgba(0, 0, 0, 0.2)',
},
borderRadius: {
'none': '0',
'sm': '0.125rem',
'md': '0.375rem',
'lg': '0.5rem',
'xl': '0.75rem',
'2xl': '1rem',
'3xl': '1.5rem',
'full': '9999px',
},
fontSize: {
'xs': ['0.75rem', { lineHeight: '1rem' }],
'sm': ['0.875rem', { lineHeight: '1.25rem' }],
'base': ['1rem', { lineHeight: '1.5rem' }],
'lg': ['1.125rem', { lineHeight: '1.75rem' }],
'xl': ['1.25rem', { lineHeight: '1.75rem' }],
'2xl': ['1.5rem', { lineHeight: '2rem' }],
'3xl': ['1.875rem', { lineHeight: '2.25rem' }],
'4xl': ['2.25rem', { lineHeight: '2.5rem' }],
'5xl': ['3rem', { lineHeight: '1' }],
},
container: {
center: true,
padding: {
DEFAULT: "1rem",
sm: "2rem",
lg: "4rem",
xl: "5rem",
},
},
animation: {
'spin-slow': 'spin 8s linear infinite',
'shimmer': 'shimmer 2.5s infinite linear',
'float': 'float 3s ease-in-out infinite',
},
keyframes: {
shimmer: {
'0%': { transform: 'translateX(-100%)' },
'100%': { transform: 'translateX(100%)' },
},
float: {
'0%, 100%': { transform: 'translateY(0)' },
'50%': { transform: 'translateY(-10px)' },
}
}
},
},
plugins: [],
};
export default config;