-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
38 lines (37 loc) · 947 Bytes
/
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
const colors = require('./src/tokens');
const resumeConfig = require('./config/resumeConfig');
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
'./src/app/**/*.{js,ts,jsx,tsx}',
'./src/pages/**/*.{js,ts,jsx,tsx}',
'./src/components/**/*.{js,ts,jsx,tsx}',
],
theme: {
colors: {
...colors.accents,
...colors.neutrals,
accent: colors.accents[resumeConfig.accentColor],
neutral: colors.neutrals[resumeConfig.neutralColor],
inherit: 'inherit',
transparent: 'transparent',
},
extend: {
container: {
center: true,
padding: {
DEFAULT: '1.25rem',
sm: '2rem',
lg: '4rem',
xl: '5rem',
'2xl': '6rem',
},
},
fontFamily: {
mono: ['var(--font-roboto-mono)'],
sans: ['var(--font-albert)'],
},
},
},
plugins: [require('@tailwindcss/typography')],
};