diff --git a/bun.lockb b/bun.lockb index bc0ee96..650aede 100644 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/docs/astro.config.mjs b/docs/astro.config.mjs index 70b28d2..189b4ed 100644 --- a/docs/astro.config.mjs +++ b/docs/astro.config.mjs @@ -1,14 +1,14 @@ import { defineConfig } from "astro/config"; import starlight from "@astrojs/starlight"; +import tailwind from "@astrojs/tailwind"; + // https://astro.build/config export default defineConfig({ - integrations: [ - starlight({ - title: "File Converter Tool", - social: { - github: "https://github.com/rzmk/fct", - }, - }), - ], -}); + integrations: [starlight({ + title: "File Converter Tool", + social: { + github: "https://github.com/rzmk/fct" + } + }), tailwind()] +}); \ No newline at end of file diff --git a/docs/bun.lockb b/docs/bun.lockb index 3b019d7..3fd8450 100644 Binary files a/docs/bun.lockb and b/docs/bun.lockb differ diff --git a/docs/package.json b/docs/package.json index a94a1fb..fbb2555 100644 --- a/docs/package.json +++ b/docs/package.json @@ -1,19 +1,21 @@ { - "name": "fct-docs", - "type": "module", - "version": "0.0.1", - "scripts": { - "dev": "astro dev", - "start": "astro dev", - "build": "astro check && astro build", - "preview": "astro preview", - "astro": "astro" - }, - "dependencies": { - "@astrojs/starlight": "^0.25.0", - "astro": "^4.10.2", - "sharp": "^0.32.5", - "@astrojs/check": "^0.7.0", - "typescript": "^5.5.3" - } + "name": "fct-docs", + "type": "module", + "version": "0.0.1", + "scripts": { + "dev": "astro dev", + "start": "astro dev", + "build": "astro check && astro build", + "preview": "astro preview", + "astro": "astro" + }, + "dependencies": { + "@astrojs/check": "^0.7.0", + "@astrojs/starlight": "^0.25.0", + "@astrojs/tailwind": "^5.1.0", + "astro": "^4.10.2", + "sharp": "^0.32.5", + "tailwindcss": "^3.4.4", + "typescript": "^5.5.3" + } } diff --git a/docs/tailwind.config.mjs b/docs/tailwind.config.mjs new file mode 100644 index 0000000..19f0614 --- /dev/null +++ b/docs/tailwind.config.mjs @@ -0,0 +1,8 @@ +/** @type {import('tailwindcss').Config} */ +export default { + content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'], + theme: { + extend: {}, + }, + plugins: [], +} diff --git a/package.json b/package.json index 14fd9d3..dda2a74 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,6 @@ "eslint-config-next": "14.2.4", "postcss": "^8", "tailwind-merge": "^2.3.0", - "tailwindcss": "^3.4.4", "typescript": "^5" } }