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 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()]
});

Binary file not shown.

View file

@ -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"
}
}

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",
"postcss": "^8",
"tailwind-merge": "^2.3.0",
"tailwindcss": "^3.4.4",
"typescript": "^5"
}
}