-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.ts
More file actions
79 lines (78 loc) · 2.37 KB
/
tailwind.config.ts
File metadata and controls
79 lines (78 loc) · 2.37 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
import type { Config } from 'tailwindcss';
const config: Config = {
content: [
'./src/pages/**/*.{js,ts,jsx,tsx,mdx}',
'./src/components/**/*.{js,ts,jsx,tsx,mdx}',
'./src/app/**/*.{js,ts,jsx,tsx,mdx}',
'./src/features/**/*.{js,ts,jsx,tsx,mdx}',
],
theme: {
screens: {
sm: '360px',
md: '600px',
lg: '900px',
configxl: '1300px',
},
colors: {
'primary-white': '#FFFFFF',
'primary-orange': '#C75000',
'primary-blue': '#0535FF',
'primary-black': '#000000',
'secondary-yellow': '#FFE700',
'secondary-green': '#77FB4C',
'tertiary-light-orange': '#FFF2E9',
'tertiary-light-blue': '#EFF1FE',
'tertiary-light-yellow': '#FFFCE8',
'tertiary-light-green': '#F4FEEE',
'text-primary': '#222222',
'text-secondary': '#757575',
'text-disabled': '#CCCCCC',
'text-hint': '#AAAAAA',
error: '#EB1100',
'error-contrast-text': '#FFFFFF',
},
fontFamily: {
montserrat: ['Montserrat', 'sans-serif'],
euclid: ['var(--font-euclid)', 'sans-serif'],
goodsans: ['var(--font-goodsans)', 'sans-serif'],
},
extend: {
backgroundImage: {
'gradient-radial': 'radial-gradient(var(--tw-gradient-stops))',
'gradient-conic':
'conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))',
},
keyframes: {
slidesFromRight: {
'0%': { transform: 'translateX(0.75rem)' },
'100%': { transform: 'translateX(0)' },
},
slidesFromLeft: {
'0%': { transform: 'translateX(-2rem)' },
'100%': { transform: 'translateX(0)' },
},
slidesUp: {
'0%': { transform: 'translateY(3rem)', opacity: '0%' },
'100%': { transform: 'translate(0)', opacity: '100%' },
},
slidesUpInfoBar: {
'0%': { height: '100%' },
'100%': { height: '0%' },
},
fadeInLoading: {
'0%': { opacity: '0%' },
'100%': { opacity: '100%' },
},
},
animation: {
slidesFromRight: 'slidesFromRight .5s ease-out',
slidesFromLeft: 'slidesFromLeft .8s ease-out',
slidesUp: 'slidesUp .3s ease-out',
slidesUpInfoBar: 'slidesUpInfoBar .3s ease-out',
fadeInLoading: 'fadeInLoading .7s ease-in-out',
},
},
},
plugins: [],
};
export default config;