/
tailwind.config.js
42 lines (41 loc) · 932 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
39
40
41
42
/* eslint-disable @typescript-eslint/no-var-requires */
const konstaConfig = require('konsta/config')
const colors = require('tailwindcss/colors')
/** @type {import('konsta').Config} */
module.exports = konstaConfig({
konsta: {
colors: {
primary: colors.indigo[600],
},
},
content: [
'./components/**/*.{vue,ts}',
'./layouts/**/*.vue',
'./pages/**/*.vue',
'./plugins/**/*.ts',
'./nuxt.config.ts',
'./app.vue',
],
theme: {
extend: {
animation: {
'fade-in': 'fade-in .15s',
'fade-out': 'fade-out .15s',
},
keyframes: {
'fade-in': {
'0%': { opacity: '0' },
'100%': { opacity: '1' },
},
'fade-out': {
'0%': { opacity: '1' },
'100%': { opacity: '0' },
},
},
width: {
frame: '28rem',
},
},
},
plugins: [require('@tailwindcss/aspect-ratio')],
})