forked from ledermann/pingcrm
-
Notifications
You must be signed in to change notification settings - Fork 9
/
windi.config.ts
43 lines (42 loc) · 1.04 KB
/
windi.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
import { defineConfig } from 'vite-plugin-windicss'
import colors from 'windicss/colors'
export default defineConfig({
extract: {
include: [
'app/views/**/*.{html,erb}',
'app/helpers/**/*.rb',
'app/javascript/**/*.{vue,js,ts,jsx,tsx}',
],
},
theme: {
extend: {
colors: {
transparent: 'transparent',
current: 'currentColor',
black: colors.black,
white: colors.white,
red: colors.red,
orange: colors.orange,
yellow: colors.yellow,
green: colors.green,
gray: colors.blueGray,
indigo: {
100: '#e6e8ff',
300: '#b2b7ff',
400: '#7886d7',
500: '#6574cd',
600: '#5661b3',
800: '#2f365f',
900: '#191e38',
},
},
borderColor: theme => ({
DEFAULT: theme('colors.gray.200', 'currentColor'),
}),
boxShadow: theme => ({
outline: `0 0 0 2px ${theme('colors.indigo.500')}`,
}),
fill: theme => theme('colors'),
},
},
})