-
-
Notifications
You must be signed in to change notification settings - Fork 30
/
tailwind.config.js
76 lines (68 loc) · 2.11 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
const colors = require("tailwindcss/colors");
function withOpacityValue(variable) {
return ({ opacityValue }) => {
if (opacityValue === undefined) {
return `rgb(var(${variable}))`;
}
return `rgba(var(${variable}), ${opacityValue})`;
};
}
module.exports = {
darkMode: "class",
important: ".ipt",
content: [
"./node_modules/@deck9/ui/dist/src/ui.mjs",
"./node_modules/smooth-dnd/dist/index.js",
"./vendor/laravel/framework/src/Illuminate/Pagination/resources/views/*.blade.php",
"./vendor/laravel/jetstream/**/*.blade.php",
"./storage/framework/views/*.php",
"./resources/views/**/*.blade.php",
"./resources/js/**/*.vue",
"./resources/js/**/*.ts",
],
theme: {
extend: {
fontSize: {
xxs: "0.625rem",
},
colors: {
gray: null,
slate: null,
grey: colors.slate,
// Custom colors used for user overrides
primary: withOpacityValue("--color-primary"),
contrast: withOpacityValue("--color-contrast"),
background: withOpacityValue("--color-background"),
content: withOpacityValue("--color-content"),
range: withOpacityValue("--color-range"),
},
borderColor: {
DEFAULT: colors.slate[300],
},
brightness: {
user: "var(--brightness-user)",
60: '.6',
70: '.7',
80: '.8',
},
keyframes: {
spinner: {
"0%, 70%, 100%": { transform: "scale3D(1,1,1);" },
"35%": { transform: "scale3D(0,0,1);" },
},
},
animation: {
spinner: "spinner 1.3s ease-in-out infinite",
},
},
},
plugins: [
require("@tailwindcss/forms")({
strategy: "base",
}),
],
corePlugins: {
preflight: false,
container: false,
},
};