-
Notifications
You must be signed in to change notification settings - Fork 2
/
tailwind.config.ts
64 lines (63 loc) · 1.81 KB
/
tailwind.config.ts
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
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}',
],
theme: {
extend: {
/** Color palette for the app, based on the design system in the figma file */
colors: {
asparagus: '#7CA24E',
'hunter-green': '#3F6A38',
'scary-forest': '#386131',
'mint-cream': '#EBF0E8',
'white-smoke': '#F5F6F5',
night: '#3B3B3B',
shadow: '#808080',
silver: '#BDBDBD',
ivory: '#FFFDF7',
timberwolf: '#E2E2E2',
},
textColor: {
default: '#FFFDF7',
},
backgroundImage: {
'gradient-radial': 'radial-gradient(var(--tw-gradient-stops))',
'gradient-conic':
'conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))',
},
screens: {
web: '1024px',
},
/** Default font is Lato */
fontFamily: {
sans: ['Lato'],
lato: ['Lato'],
},
screens: {
web: '1024px',
},
theme: {
fontSize: {
sm: ['14px', '20px'],
base: ['16px', '19px'],
lg: ['20px', '28px'],
xl: ['24px', '32px'],
},
},
boxShadow: {
vignette: '0px 4px 24px 0px rgba(20, 20, 20, 0.2) inset',
light: `0px 4px 24px 0px rgba(20, 20, 20, 0.16)`,
dark: '0px 0px 14px 0px rgba(0, 0, 0, 0.25);',
darkest: '0px 4px 24px 0px rgba(0, 0, 0, 0.40)',
'strong-inner':
'inset 0 2px 4px 0 rgba(0, 0, 0, 0.2), inset 0 2px 10px 0 rgba(0, 0, 0, 0.2)',
},
},
},
// eslint-disable-next-line import/no-extraneous-dependencies, global-require
plugins: [require('daisyui')],
};
export default config;