Files
wanderer/docs/tailwind.config.mjs
Christian Beutel f23eb03eb9 adds more docs
2024-06-09 21:14:18 +02:00

28 lines
915 B
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import colors from 'tailwindcss/colors';
import starlightPlugin from '@astrojs/starlight-tailwind';
const accent = { 200: '#b0c8fd', 600: '#2a56f1', 900: '#152b6d', 950: '#112149' };
/** @type {import('tailwindcss').Config} */
export default {
content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'],
theme: {
extend: {
colors: {
primary: "#242734",
// Your preferred accent color. Indigo is closest to Starlights defaults.
accent: accent,
// Your preferred gray scale. Zinc is closest to Starlights defaults.
gray: colors.gray,
},
fontFamily: {
// Deine bevorzugte Schriftart. Starlight verwendet standardmäßig eine Systemschriftart.
sans: ['"IBM Plex Sans"'],
// Deine bevorzugte Code-Schriftart. Starlight verwendet standardmäßig die Systemschriftart Monospace.
mono: ['"IBM Plex Mono"'],
},
},
},
plugins: [starlightPlugin()],
};