The package.json and package-lock.json files have been updated to include new development tools: Prettier, its Astro and TailwindCSS plugins, and a package called preline. The tailwind.config.mjs file has also been updated to reference preline and its plugin as well as to enable Tailwind's dark mode feature.
12 lines
279 B
JavaScript
12 lines
279 B
JavaScript
/** @type {import('tailwindcss').Config} */
|
|
export default {
|
|
content: [
|
|
"./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}",
|
|
"./node_modules/preline/preline.js",
|
|
],
|
|
darkMode: "class",
|
|
theme: {
|
|
extend: {},
|
|
},
|
|
plugins: [require("preline/plugin")],
|
|
};
|