-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
83 lines (83 loc) · 2.07 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
77
78
79
80
81
82
83
const colors = require("tailwindcss/colors");
const defaultTheme = require("tailwindcss/defaultTheme");
const plugin = require("tailwindcss/plugin");
/** @type {import('tailwindcss').Config} */
module.exports = {
content: {
files: [
"./src/**/*.clj",
"./src/**/*.cljs",
"./resources/public/js/widgets/**/*.js",
"./resources/public/js/app.js",
],
},
theme: {
extend: {
typography: ({ theme }) => ({
blue: {
css: {
"--tw-prose-links": colors.blue[600],
"--tw-prose-invert-links": colors.blue[500],
},
},
}),
colors: {
"sno-orange": {
50: "#fff7ed",
100: "#ffedd5",
200: "#fed7aa",
300: "#fdba74",
400: "#fb923c",
500: "#f97316",
600: "#ea580c",
700: "#c2410c",
800: "#9a3412",
900: "#7c2d12",
},
"sno-green": {
50: "#f0fdf4",
100: "#dcfce7",
200: "#bbf7d0",
300: "#86efac",
400: "#4ade80",
500: "#22c55e",
600: "#16a34a",
700: "#15803d",
800: "#166534",
900: "#14532d",
},
"sno-lime-green": {
50: "#f7fee7",
100: "#ecfccb",
200: "#d9f99d",
300: "#bef264",
400: "#a3e635",
500: "#84cc16",
600: "#65a30d",
700: "#4d7c0f",
800: "#3f6212",
900: "#365314 ",
},
},
fontFamily: {
sans: ["Inter var", ...defaultTheme.fontFamily.sans],
},
},
},
variants: {
margin: ["responsive", "first"],
opacity: ["responsive", "hover", "focus", "disabled"],
},
plugins: [
require("@tailwindcss/typography"),
require("@tailwindcss/forms"),
require("@tailwindcss/aspect-ratio"),
plugin(function ({ addVariant }) {
addVariant("progress-unfilled", ["&::-webkit-progress-bar", "&"]);
addVariant("progress-filled", [
"&::-webkit-progress-value",
"&::-moz-progress-bar",
]);
}),
],
};