-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
32 lines (31 loc) · 1017 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
import { iconsPlugin, getIconCollections } from '@egoist/tailwindcss-icons'
import { fontFamily } from 'tailwindcss/defaultTheme'
import colors from 'tailwindcss/colors'
/** @type {import('tailwindcss').Config} */
export default {
content: ['src/**/*.{ts,tsx}', 'index.html'],
darkMode: 'media',
theme: {
extend: {
fontFamily: {
sans: ['Inter', ...fontFamily.sans],
mono: ['JetBrains Mono', ...fontFamily.mono],
},
colors: {
'gray': colors.neutral,
'background-light': colors.neutral[50],
'background-dark': colors.neutral[900],
'foreground-light': colors.neutral[950],
'foreground-dark': colors.neutral[100],
},
},
},
plugins: [
require('@tailwindcss/aspect-ratio'),
require('@tailwindcss/forms'),
require('@tailwindcss/typography'),
require('tailwindcss-animate'),
require('tailwind-scrollbar')({ nocompatible: true }),
iconsPlugin({ collections: getIconCollections(['heroicons']) }),
],
}