-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
tailwind.config.cjs
38 lines (37 loc) · 1000 Bytes
/
tailwind.config.cjs
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
import plugin from "tailwindcss/plugin";
/** @type {import("tailwindcss").Config} */
const config = {
content: ["./src/**/*.{js,ts,jsx,tsx,mdx}"],
theme: {
extend: {
textShadow: {
sm: "0 1px 2px var(--tw-shadow-color)",
DEFAULT: "0 2px 4px var(--tw-shadow-color)",
lg: "0 8px 16px var(--tw-shadow-color)",
},
backgroundImage: {
"gradient-radial": "radial-gradient(var(--tw-gradient-stops))",
"gradient-conic":
"conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))",
},
},
},
corePlugins: {
aspectRatio: false,
},
plugins: [
require.resolve("@tailwindcss/aspect-ratio"),
require.resolve("@tailwindcss/container-queries"),
plugin(({ matchUtilities, theme }) => {
matchUtilities(
{
"text-shadow": (value) => ({
textShadow: value,
}),
},
{ values: theme("textShadow") },
);
}),
],
};
export default config;