diff --git a/package.json b/package.json index 470970b..3a76bd9 100644 --- a/package.json +++ b/package.json @@ -70,6 +70,7 @@ "@types/markdown-it": "^14.1.2", "@types/mdast": "^4.0.4", "@types/sanitize-html": "^2.16.0", + "daisyui": "^5.5.14", "postcss-import": "^16.1.1", "postcss-nesting": "^13.0.2" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 9c2f885..e7a1e15 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -165,6 +165,9 @@ importers: '@types/sanitize-html': specifier: ^2.16.0 version: 2.16.0 + daisyui: + specifier: ^5.5.14 + version: 5.5.14 postcss-import: specifier: ^16.1.1 version: 16.1.1(postcss@8.5.3) @@ -2389,6 +2392,9 @@ packages: resolution: {integrity: sha512-0LrrStPOdJj+SPCCrGhzryycLjwcgUSHBtxNA8aIDxf0GLsRh1cKYhB00Gd1lDOS4yGH69+SNn13+TWbVHETFQ==} engines: {node: ^10 || ^12.20.0 || ^14.13.0 || >=15.0.0, npm: '>=7.0.0'} + daisyui@5.5.14: + resolution: {integrity: sha512-L47rvw7I7hK68TA97VB8Ee0woHew+/ohR6Lx6Ah/krfISOqcG4My7poNpX5Mo5/ytMxiR40fEaz6njzDi7cuSg==} + data-view-buffer@1.0.2: resolution: {integrity: sha512-EmKO5V3OLXh1rtK2wgXRansaK1/mtVdTUEiEI0W8RkvgT05kfxaH29PliLnpLP73yYO6142Q72QNa8Wx/A5CqQ==} engines: {node: '>= 0.4'} @@ -7859,6 +7865,8 @@ snapshots: dependencies: css-tree: 2.2.1 + daisyui@5.5.14: {} + data-view-buffer@1.0.2: dependencies: call-bound: 1.0.4 diff --git a/tailwind.config.cjs b/tailwind.config.cjs index ed0e1ec..7772e8c 100644 --- a/tailwind.config.cjs +++ b/tailwind.config.cjs @@ -1,8 +1,9 @@ /** @type {import('tailwindcss').Config} */ const defaultTheme = require("tailwindcss/defaultTheme") + module.exports = { content: ["./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue,mjs}"], - darkMode: "class", // allows toggling dark mode manually + darkMode: "class", theme: { extend: { fontFamily: { @@ -10,5 +11,8 @@ module.exports = { }, }, }, - plugins: [require("@tailwindcss/typography")], -} + plugins: [ + require("@tailwindcss/typography"), + require("daisyui"), + ], +} \ No newline at end of file