tailwind fucked up many things so its large small fix

This commit is contained in:
Stanislaw
2023-10-26 14:01:49 +02:00
parent d1d79d78f0
commit 96e507eca1
5 changed files with 34 additions and 17 deletions

View File

@@ -1,4 +1,6 @@
/** @type {import('tailwindcss').Config} */
const plugin = require("tailwindcss/plugin");
module.exports = {
content: [
"./app/**/*.{js,ts,jsx,tsx,mdx}", // Note the addition of the `app` directory.
@@ -9,7 +11,23 @@ module.exports = {
"./src/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
extend: {},
extend: {
textShadow: {
DEFAULT:
"0 0 10px #fff, 0 0 20px #fff, 0 0 30px #23d400, 0 0 40px #00a30e, 0 0 50px #0a7c00, 0 0 60px #0b5e00, 0 0 70px #00440b",
},
},
},
plugins: [],
plugins: [
plugin(function ({ matchUtilities, theme }) {
matchUtilities(
{
"text-shadow": (value) => ({
textShadow: value,
}),
},
{ values: theme("textShadow") }
);
}),
],
};