-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
76 lines (74 loc) · 1.76 KB
/
tailwind.config.js
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
const colors = require('tailwindcss/colors');
const defaultTheme = require('tailwindcss/defaultTheme');
const fontSize = (multiplier = 1) => {
const base = 1.3;
const number = base * multiplier;
return number + `rem`;
};
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
// './src/pages/**/*.{js,ts,jsx,tsx}',
// './src/components/**/*.{js,ts,jsx,tsx}',
// './src/context/**/*.{js,ts,jsx,tsx}',
'./src/**/*.{js,ts,jsx,tsx}',
],
theme: {
extend: {
fontFamily: {
sans: ['Mulish', ...defaultTheme.fontFamily.sans],
heading: ['Inter', ...defaultTheme.fontFamily.sans],
},
},
colors: {
transparent: 'transparent',
current: 'currentColor',
black: colors.black,
white: colors.white,
gray: colors.gray,
emerald: colors.emerald,
indigo: colors.indigo,
yellow: colors.yellow,
red: colors.red,
// https://www.tailwindshades.com/
pink: {
DEFAULT: '#AC1E8C',
50: '#ED95D9',
100: '#E984D3',
200: '#E361C6',
300: '#DD3EBA',
400: '#CF24A8',
500: '#AC1E8C',
600: '#7C1665',
700: '#4C0D3E',
800: '#1D0517',
900: '#000000',
},
},
borderWidth: {
DEFAULT: '1px',
0: '0',
2: '2px',
3: '3px',
4: '4px',
6: '6px',
8: '8px',
},
fontSize: {
xxs: '.7rem',
xs: '1rem',
sm: '1.2rem',
tiny: '1rem',
base: fontSize(1),
lg: '1.125rem',
xl: '1.25rem',
'2xl': '1.5rem',
'3xl': fontSize(3),
'4xl': '2.25rem',
'5xl': '3rem',
'6xl': '4rem',
'7xl': '5rem',
},
},
plugins: [require('@tailwindcss/typography'), require('@tailwindcss/forms')],
};