-
Notifications
You must be signed in to change notification settings - Fork 1
/
windi.config.js
48 lines (47 loc) · 1.1 KB
/
windi.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
import { defineConfig } from 'windicss/helpers'
import colors from 'windicss/colors'
import filters from 'windicss/plugin/filters'
import forms from 'windicss/plugin/forms'
import aspectRatio from 'windicss/plugin/aspect-ratio'
import lineClamp from 'windicss/plugin/line-clamp'
import typography from 'windicss/plugin/typography'
export default defineConfig({
darkMode: 'class', // or 'media'
safelist: 'text-red-500',
theme: {
extend: {
screens: {
'sm': '640px',
'md': '768px',
'lg': '1024px',
'xl': '1280px',
'2xl': '1536px',
},
colors: {
gray: colors.coolGray,
blue: colors.sky,
red: colors.rose,
pink: colors.fuchsia,
},
fontFamily: {
title: ['Comforter Brush', 'sans-serif'],
sans: ['Inter', 'sans-serif'],
serif: ['Merriweather', 'serif'],
},
spacing: {
128: '32rem',
144: '36rem',
},
borderRadius: {
'4xl': '2rem',
},
},
},
plugins: [
// filters,
forms,
aspectRatio,
lineClamp,
typography,
],
})