-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.ts
More file actions
88 lines (86 loc) · 2.7 KB
/
tailwind.config.ts
File metadata and controls
88 lines (86 loc) · 2.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
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
import type { Config } from 'tailwindcss'
const config: Config = {
content: [
'./index.html',
'./src/**/*.{ts,tsx}',
],
theme: {
extend: {
colors: {
primary: '#FBBF24', // Główny żółty/amber z makiety
'primary-hover': '#F59E0B',
navy: '#0B235C', // Nowy ciemny granatowy z makiety
dark: '#111111',
'dark-card': '#1C1C1C',
'glass-bg': 'rgba(255, 255, 255, 0.08)',
'grey-mid': '#9CA3AF',
'ghost-white': '#F8F8FF',
},
fontFamily: {
sans: ['Roboto', 'sans-serif'],
condensed: ['"Roboto Condensed"', 'sans-serif'],
},
borderRadius: {
DEFAULT: '0',
none: '0',
sm: '0',
md: '0',
lg: '0',
xl: '0',
'2xl': '0',
'3xl': '0',
full: '0',
circle: '9999px',
},
scale: {
'65': '0.65',
},
animation: {
marquee: 'marquee 32s linear infinite',
'slide-up': 'slide-up 800ms cubic-bezier(0.22, 1, 0.36, 1) both',
'scale-in': 'scale-in 900ms cubic-bezier(0.22, 1, 0.36, 1) both',
'char-reveal': 'char-reveal 900ms ease-out both',
'accordion-down': 'accordion-down 280ms cubic-bezier(0.16, 1, 0.3, 1)',
'accordion-up': 'accordion-up 220ms ease-out',
'content-reveal': 'content-reveal 280ms cubic-bezier(0.16, 1, 0.3, 1) both',
'content-hide': 'content-hide 220ms ease-out both',
},
keyframes: {
marquee: {
from: { transform: 'translateX(0)' },
to: { transform: 'translateX(-50%)' },
},
'slide-up': {
from: { opacity: '0', transform: 'translateY(32px)' },
to: { opacity: '1', transform: 'translateY(0)' },
},
'scale-in': {
from: { opacity: '0', transform: 'scale(0.65)' },
to: { opacity: '1', transform: 'scale(1)' },
},
'char-reveal': {
'0%': { transform: 'translateY(130%)', opacity: '0' },
'100%': { transform: 'translateY(0)', opacity: '1' },
},
'accordion-down': {
from: { height: '0' },
to: { height: 'var(--radix-accordion-content-height)' },
},
'accordion-up': {
from: { height: 'var(--radix-accordion-content-height)' },
to: { height: '0' },
},
'content-reveal': {
from: { clipPath: 'inset(50% 0 50% 0)', opacity: '0' },
to: { clipPath: 'inset(0% 0 0% 0)', opacity: '1' },
},
'content-hide': {
from: { clipPath: 'inset(0% 0 0% 0)', opacity: '1' },
to: { clipPath: 'inset(50% 0 50% 0)', opacity: '0' },
},
},
},
},
plugins: [],
}
export default config