/
tailwind.config.js
49 lines (47 loc) · 1.31 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
/* eslint-disable @typescript-eslint/no-var-requires */
const colors = require('tailwindcss/colors')
const { fontFamily } = require('tailwindcss/defaultTheme')
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
'./src/app/**/*.{js,ts,jsx,tsx,mdx}',
'./src/components/**/*.{js,ts,jsx,tsx,mdx}',
'./src/styles/**/*.{js,ts,jsx,tsx,mdx}',
'./src/layouts/**/*.{js,ts,jsx,tsx,mdx}',
'./src/hooks/**/*.{js,ts,jsx,tsx,mdx}',
],
darkMode: 'class',
theme: {
fontFamily: {
primary: ['var(--font-inter)', ...fontFamily.sans],
firaCode: ['var(--font-fira-code)'],
firaCodeVF: ['var(--font-fira-code-vf)'],
},
extend: {
colors: {
base: colors.neutral,
typo: {
head: colors.neutral[950],
'h-dark': colors.white,
paragraph: colors.neutral[900],
'p-dark': colors.neutral[200],
},
primary: colors.blue,
secondary: colors.cyan,
white: colors.white,
black: colors.black,
transparent: colors.transparent,
unset: 'unset',
},
spacing: {
unset: 'unset',
},
screens: {
xs: '426px',
lg: '1126px',
'3xl': '1876px',
},
},
},
plugins: [require('@tailwindcss/typography')({ target: 'modern' })],
}