This repository has been archived by the owner on Aug 30, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathtailwind.config.js
78 lines (77 loc) · 1.89 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
77
78
const defaultTheme = require('tailwindcss/defaultTheme')
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
'./src/pages/**/*.{js,ts,jsx,tsx,mdx}',
'./src/components/**/*.{js,ts,jsx,tsx}',
'./src/app/**/*.{js,ts,jsx,tsx}',
],
theme: {
colors: {
transparent: 'transparent',
current: 'currentColor',
accent: '#FF6600',
black: '#121418',
'dark-gray': '#1C1E22',
'med-gray': '#cbd7d7',
'light-gray': '#F7F7F7',
white: '#FFFFFF'
},
container: {
screens: {
sm: '640px',
md: '768px',
lg: '1024px',
xl: '1280px',
'2xl': '1340px'
}
},
fontFamily: {
heading: ['var(--font-figtree)', ...defaultTheme.fontFamily.sans],
body: ['var(--font-figtree)', ...defaultTheme.fontFamily.sans],
sans: ['var(--font-figtree)', ...defaultTheme.fontFamily.sans],
mono: ['var(--font-roboto-mono)', ...defaultTheme.fontFamily.mono],
},
fontSize: {
xs: ['0.75rem', '1rem'],
sm: ['0.875rem', '1.25rem'],
base: ['1.063rem', '1.6rem'],
lg: ['1.125rem', '1.75rem'],
xl: ['1.25rem', '1.75rem'],
'2xl': ['1.5rem', '2rem'],
'3xl': ['1.875rem', '2.25rem'],
'4xl': ['2.25rem', '2.5rem'],
'5xl': ['3rem', '1.1'],
'6xl': ['3.75rem', '1.1'],
'7xl': ['4.5rem', '1.1'],
'8xl': ['6rem', '1.1'],
'9xl': ['8rem', '1.1'],
},
letterSpacing: {
tighter: '-0.025em',
tight: '0',
normal: '.025em',
wide: '.05em',
wider: '.75em',
widest: '.25em',
},
extend: {
typography: {
DEFAULT: {
css: {
code: {
color: '#fb4934'
}
}
}
}
}
},
plugins: [
require('@tailwindcss/forms'),
require("@tailwindcss/typography")
],
variants: {
backgroundColor: ['active']
},
}