docs(style): use Tailwind to customize the docs colors
This commit is contained in:
parent
bf52bd0d3c
commit
43f4df5f37
5 changed files with 309 additions and 11 deletions
17
docs/tailwind.config.mjs
Normal file
17
docs/tailwind.config.mjs
Normal 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()],
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue