Skip to content
Snippets Groups Projects
tailwind.config.cjs 787 B
Newer Older
  • Learn to ignore specific revisions
  • import starlightPlugin from "@astrojs/starlight-tailwind";
    import colors from "tailwindcss/colors";
    import defaultTheme from "tailwindcss/defaultTheme";
    
    /** @type {import('tailwindcss').Config} */
    export default {
      content: ["./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}"],
      theme: {
        extend: {
          colors: {
            accent: {
              50: "#F2FAF9",
              100: "#E7F9E4",
              200: "#bfe4e1",
              300: "#99d4cf",
              400: "#4db4aa",
              500: "#009486",
              600: "#008579",
              700: "#006D60",
              800: "#00564A",
              900: "#003D0B",
            },
            gray: colors.stone,
          },
          fontFamily: {
            sans: ["Inter", ...defaultTheme.fontFamily.sans],
          },
        },
      },
      plugins: [starlightPlugin()],
    };