-
Notifications
You must be signed in to change notification settings - Fork 20
/
tailwind.config.js
40 lines (39 loc) · 1.13 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
/* eslint-disable @typescript-eslint/no-var-requires */
const { fontFamily } = require('tailwindcss/defaultTheme')
const colors = require('tailwindcss/colors')
/** @type {import("@types/tailwindcss/tailwind-config").TailwindConfig } */
module.exports = {
content: ['./src/**/*.{js,jsx,ts,tsx,mdx}'],
darkMode: 'class', // or media (automatically switch theme based on user preference theme)
theme: {
extend: {
fontFamily: {
primary: ['Inter', ...fontFamily.sans]
},
colors: {
main: {
1: colors.zinc[50],
1.5: colors.zinc[200],
2: colors.zinc[400],
3: colors.zinc[700],
4: colors.zinc[800],
5: colors.zinc[900]
},
primary: {
0.5: colors.indigo[100],
1: colors.indigo[300],
2: colors.indigo[400],
3: colors.indigo[500],
4: colors.indigo[600],
5: colors.indigo[700]
},
secondary: {
1: colors.purple[300],
2: colors.purple[400],
3: colors.purple[500]
}
}
}
},
plugins: [require('@tailwindcss/typography')]
}