-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
48 lines (48 loc) · 1.22 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
const plugin = require('tailwindcss/plugin');
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./components/**/*.{js,vue,ts}",
"./layouts/**/*.vue",
"./pages/**/*.vue",
"./plugins/**/*.{js,ts}",
"./nuxt.config.{js,ts}",
"./app.vue",
],
theme: {
extend: {
colors: {
gray: {
25: "#fafafa",
50: "#f2f2f2",
100: "#e6e6e6",
200: "#cccccc",
300: "#b3b3b3",
400: "#999999",
500: "#808080",
600: "#666666",
700: "#4d4d4d",
800: "#333333",
900: "#1a1a1a",
925: "#0d0d0d",
},
},
},
},
variants: {
extend: {},
},
plugins: [
plugin(function({ addUtilities }) {
addUtilities({
'.bg-green-striped': {
'background-image': `linear-gradient(45deg, #0a2000 10%, transparent 10%,
transparent 20%, #0a2000 20%, #0a2000 30%, transparent 30%, transparent 40%,
#0a2000 40%, #0a2000 50%, transparent 50%, transparent 60%, #0a2000 60%,
#0a2000 70%, transparent 70%, transparent 80%, #0a2000 80%, #0a2000 90%,
transparent 90%, transparent)`,
},
})
})
],
}