-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtailwind.config.ts
More file actions
113 lines (111 loc) · 3.03 KB
/
tailwind.config.ts
File metadata and controls
113 lines (111 loc) · 3.03 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
import type { Config } from 'tailwindcss';
// const px0_50 = Object.fromEntries(Array.from({ length: 51 }, (_, i) => [i, `${i}px`]));
const px0_100 = Object.fromEntries(Array.from({ length: 101 }, (_, i) => [i, `${i}px`]));
const px0_400 = Object.fromEntries(Array.from({ length: 401 }, (_, i) => [i, `${i}px`]));
const px0_1000 = Object.fromEntries(Array.from({ length: 1001 }, (_, i) => [i, `${i}px`]));
export default {
darkMode: ['class'],
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}',
],
theme: {
extend: {
fontSize: px0_100,
spacing: px0_400,
borderWidth: px0_100,
minWidth: px0_400,
minHeight: px0_400,
width: px0_1000,
height: px0_1000,
colors: {
orange: {
50: '#FFF3E0',
100: '#FFE0B2',
200: '#FFCC80',
300: '#FFB74D',
400: '#FFA726',
500: '#FB8C00',
600: '#F57C00',
700: '#EF6C00',
800: '#E65100',
900: '#BF360C',
},
beige: {
50: '#FFFFFF',
100: '#FFF9F5',
200: '#FFF3E0',
300: '#FFEBD1',
400: '#FFE2C0',
500: '#FFD9AF',
600: '#FFD09D',
700: '#FFC18B',
800: '#FFB17A',
900: '#FFA063',
},
mint: {
50: '#F0FCFC',
100: '#E0F7FA',
200: '#C3EEF4',
300: '#A7E4ED',
400: '#8CD9E5',
500: '#71CEDD',
600: '#57C3D4',
700: '#45B8CA',
800: '#34ADC0',
900: '#239BAE',
},
yellow: {
50: '#FEF3C7',
100: '#FDE047',
200: '#FFD700',
300: '#FACC15',
400: '#EAB308',
},
amber: {
300: '#FCD34D',
400: '#FBBF24',
},
navy: '#04394A',
error: '#FFF1F2',
},
fontFamily: {
sans: ['NPSfont', 'MoveSans', 'sans-serif'],
},
borderRadius: px0_100,
boxShadow: {
sm: '0px 8px 13px 0px rgba(25, 31, 40, 0.04)',
md: '3px 6px 28px 0px rgba(25, 31, 40, 0.08)',
lg: '0px 16px 34px 0px rgba(25, 31, 40, 0.16)',
},
animation: {
bounce: 'bounce 1s infinite',
press: 'press 0.2s ease-in-out',
},
keyframes: {
bounce: {
'0%, 100%': {
transform: 'translateY(-25%)',
animationTimingFunction: 'cubic-bezier(0.8, 0, 1, 1)',
},
'50%': {
transform: 'translateY(0)',
animationTimingFunction: 'cubic-bezier(0, 0, 0.2, 1)',
},
},
press: {
'0%': { transform: 'scale(1)' },
'50%': { transform: 'scale(0.95)' },
'100%': { transform: 'scale(1)' },
},
},
},
},
plugins: [
require('tailwindcss-animate'),
require('@tailwindcss/typography'),
require('tailwind-scrollbar-hide'),
],
} satisfies Config;