-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.mjs
25 lines (24 loc) · 1015 Bytes
/
tailwind.config.mjs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
import starlightPlugin from '@astrojs/starlight-tailwind';
import colors from 'tailwindcss/colors';
/** @type {import('tailwindcss').Config} */
export default {
content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'],
theme: {
extend: {
colors: {
// Your preferred accent color. Indigo is closest to Starlight’s defaults.
accent: colors.gray,
// Your preferred gray scale. Zinc is closest to Starlight’s defaults.
gray: colors.black,
},
fontFamily: {
// Your preferred text font. Starlight uses a system font stack by default.
//sans: ["Arial"', '"PT Sans"', '"Baskerville"'],
sans: ['"PT Sans"', '"Atkinson Hyperlegible"'],
// Your preferred code font. Starlight uses system monospace fonts by default.
mono: ['"IBM Plex Mono"'],
},
},
},
plugins: [starlightPlugin()],
};