build: remove tailwindcss but add to docs

This commit is contained in:
rzmk 2024-07-07 01:10:38 -04:00
parent 65e23b0d20
commit 8c3f766bc0
No known key found for this signature in database
6 changed files with 36 additions and 27 deletions

BIN
bun.lockb

Binary file not shown.

View file

@ -1,14 +1,14 @@
import { defineConfig } from "astro/config"; import { defineConfig } from "astro/config";
import starlight from "@astrojs/starlight"; import starlight from "@astrojs/starlight";
import tailwind from "@astrojs/tailwind";
// https://astro.build/config // https://astro.build/config
export default defineConfig({ export default defineConfig({
integrations: [ integrations: [starlight({
starlight({ title: "File Converter Tool",
title: "File Converter Tool", social: {
social: { github: "https://github.com/rzmk/fct"
github: "https://github.com/rzmk/fct", }
}, }), tailwind()]
}), });
],
});

Binary file not shown.

View file

@ -1,19 +1,21 @@
{ {
"name": "fct-docs", "name": "fct-docs",
"type": "module", "type": "module",
"version": "0.0.1", "version": "0.0.1",
"scripts": { "scripts": {
"dev": "astro dev", "dev": "astro dev",
"start": "astro dev", "start": "astro dev",
"build": "astro check && astro build", "build": "astro check && astro build",
"preview": "astro preview", "preview": "astro preview",
"astro": "astro" "astro": "astro"
}, },
"dependencies": { "dependencies": {
"@astrojs/starlight": "^0.25.0", "@astrojs/check": "^0.7.0",
"astro": "^4.10.2", "@astrojs/starlight": "^0.25.0",
"sharp": "^0.32.5", "@astrojs/tailwind": "^5.1.0",
"@astrojs/check": "^0.7.0", "astro": "^4.10.2",
"typescript": "^5.5.3" "sharp": "^0.32.5",
} "tailwindcss": "^3.4.4",
"typescript": "^5.5.3"
}
} }

8
docs/tailwind.config.mjs Normal file
View file

@ -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: [],
}

View file

@ -31,7 +31,6 @@
"eslint-config-next": "14.2.4", "eslint-config-next": "14.2.4",
"postcss": "^8", "postcss": "^8",
"tailwind-merge": "^2.3.0", "tailwind-merge": "^2.3.0",
"tailwindcss": "^3.4.4",
"typescript": "^5" "typescript": "^5"
} }
} }