docs(style): use Tailwind to customize the docs colors

This commit is contained in:
Joakim Carlstein 2023-12-18 14:31:52 +01:00 committed by Joakim Carlstein
parent bf52bd0d3c
commit 43f4df5f37
5 changed files with 309 additions and 11 deletions

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

@ -0,0 +1,17 @@
import starlightPlugin from '@astrojs/starlight-tailwind';
import colors from 'tailwindcss/colors';
/** @type {import('tailwindcss').Config} */
// eslint-disable-next-line import/no-anonymous-default-export
export default {
content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'],
theme: {
extend: {
colors: {
accent: colors.orange,
gray: colors.slate,
},
},
},
plugins: [starlightPlugin()],
};