-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathtailwind.config.js
More file actions
57 lines (56 loc) · 1.28 KB
/
tailwind.config.js
File metadata and controls
57 lines (56 loc) · 1.28 KB
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
54
55
56
57
/** @type {import('tailwindcss').Config} */
module.exports = {
darkMode: "class", // or 'media' or 'class'
content: ["./index.html", "./src/**/*.{vue,js,ts,jsx,tsx}"],
plugins: [
function ({ addVariant, e }) {
addVariant("child", "& > *");
addVariant("child-hover", "& > *:hover");
addVariant("not-first", ({ modifySelectors, separator }) => {
modifySelectors(({ className }) => {
return `.${e(
`not-first${separator}${className}`
)}:not(:first-child)`;
});
});
},
function ({ addBase }) {
addBase({});
},
],
theme: {
fontFamily: {
sans: [
"Roboto",
"Helvetica Neue Light",
"Helvetica Neue",
"Helvetica",
"Arial",
"Lucida Grande",
"sans-serif",
],
mono: ["monospace"],
},
extend: {
colors: {
background: "#212529",
"gray-dark": "#151515",
"link-primary": "#6ea8fe",
"pp-primary": "#1e1e1e", // Primary content color
"pp-secondary": "#212d40", // Secondary content color7
"pp-border": "#2d2d30",
"pp-card-header": "#d66853",
row: "#1e1e1e",
"row-alternate": "#222222",
"dark-gray": "#404040",
"table-border": "#495057",
prunplanner: "#c0e219",
positive: "rgba(192,226,24,1)",
negative: "rgba(199,0,57,1)",
},
spacing: {
em: "1em",
},
},
},
};