forked from next-dev-team/nuxt3-element-plus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.ts
47 lines (44 loc) · 1.07 KB
/
tailwind.config.ts
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
/* eslint-disable @typescript-eslint/no-var-requires */
/** @type {import('tailwindcss/types').Config} */
const defaultTheme = require('tailwindcss/defaultTheme')
const colors = require('tailwindcss/colors')
module.exports = {
darkMode: 'class',
content: [
'./components/**/*.{js,vue,ts}',
'./layouts/**/*.vue',
'./pages/**/*.vue',
'./plugins/**/*.{js,ts}',
'./app.vue',
'./assets/**/*.scss',
'./assets/**/*.css',
],
theme: {
extend: {
colors: {
primary: colors.yellow,
},
fontFamily: {
sans: ['"Inter var"', ...defaultTheme.fontFamily.sans],
},
},
// https://github.com/rogden/tailwind-config-viewer#configuration
configViewer: {
colors: {
primary: colors.yellow,
},
fontFamily: {
sans: ['"Inter var"', ...defaultTheme.fontFamily.sans],
},
},
},
variants: {
extend: {},
},
plugins: [
require('@tailwindcss/forms'),
require('@tailwindcss/typography'),
require('@tailwindcss/line-clamp'),
require('@tailwindcss/aspect-ratio'),
],
}