-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtailwind.config.js
53 lines (52 loc) · 1.3 KB
/
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
43
44
45
46
47
48
49
50
51
52
53
const colors = require('tailwindcss/colors')
const defaultTheme = require('tailwindcss/defaultTheme')
module.exports = {
mode: "jit",
purge: {
content: ["./src/index.html", "./src/pages/**/*.imba", "./src/components/**/*.imba"],
extract: {
imba: (content) => content.match(/\.-?[_a-zA-Z]+[_a-zA-Z0-9-]*\b(?!")/),
},
},
darkMode: false, // or 'media' or 'class'
theme: {
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",
},
},
extend: {
borderColor: (theme) => ({
DEFAULT: theme("colors.gray.200", "currentColor"),
}),
fontFamily: {
sans: ["Cerebri Sans", ...defaultTheme.fontFamily.sans],
},
boxShadow: (theme) => ({
outline: "0 0 0 2px " + theme("colors.indigo.500"),
}),
fill: (theme) => theme("colors"),
},
},
variants: {
extend: {
fill: ["focus", "group-hover"],
},
},
plugins: [],
};