-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
tailwind.config.js
59 lines (58 loc) · 1.61 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
const plugin = require("tailwindcss/plugin");
module.exports = {
content: [
"./src/main/resources/templates/**/*.html",
"./src/main/resources/templates/**/*.svg",
"./src/main/javascript/**/*.ts",
"./src/main/javascript/**/*.svelte",
],
darkMode: "class",
theme: {
extend: {
fontFamily: {
logo: ["KaushanScript"],
},
inset: {
"nav-header": "var(--navigation-header-height)",
},
spacing: {
6.5: "1.625rem",
7.5: "1.875rem",
8.5: "2.125rem",
13: "3.25rem",
18: "4.5rem",
21: "5.25rem",
},
screens: {
xxs: "420px",
xs: "480px",
"2xl": "1440px",
"3xl": "1600px",
},
backgroundColor: {
"timeslot-form-day": "var(--timeslot-form-day-background-color)",
"timeslot-form-datepicker":
"var(--timeslot-form-datepicker-background-color)",
},
borderColor: {
"timeslot-form": "var(--timeslot-form-border-color)",
},
textColor: {
"timeslot-form": "var(--timeslot-form-color)",
"timeslot-form-datepicker-background":
"var(--timeslot-form-datepicker-background-color)",
"timeslot-form-day": "var(--timeslot-form-day-color)",
"timeslot-form-input": "var(--timeslot-form-input-color)",
"timeslot-form-label": "var(--timeslot-form-label-color)",
},
},
},
plugins: [
plugin(function ({ addVariant }) {
addVariant(
"supports-backdrop-blur",
"@supports (backdrop-filter: blur(0)) or (-webkit-backdrop-filter: blur(0))",
);
}),
],
};