This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

core / docs / tailwind.config.cjs
1.1 kB 35 lines
1// compiles the appview's input.css for the docs site. we can't require 2// the root tailwind.config.js here (it resolves its plugins from the 3// standalone tailwind CLI in the nix build), so the font stacks are 4// duplicated from it. differences from the appview config: 5// - scans the docs sources instead of appview templates 6// - keys dark mode off starlight's data-theme attribute instead of 7// prefers-color-scheme, so the theme toggle works 8// - disables preflight: starlight ships its own reset 9 10/** @type {import('tailwindcss').Config} */ 11module.exports = { 12 content: ["./src/**/*.{astro,html,md,mdx}"], 13 darkMode: ["class", '[data-theme="dark"]'], 14 corePlugins: { 15 preflight: false, 16 }, 17 theme: { 18 extend: { 19 fontFamily: { 20 sans: ["InterVariable", "system-ui", "sans-serif", "ui-sans-serif"], 21 mono: [ 22 "IBMPlexMono", 23 "ui-monospace", 24 "SFMono-Regular", 25 "Menlo", 26 "Monaco", 27 "Consolas", 28 "Liberation Mono", 29 "Courier New", 30 "monospace", 31 ], 32 }, 33 }, 34 }, 35};