import defaultTheme from 'tailwindcss/defaultTheme';
import forms from '@tailwindcss/forms';
import typography from '@tailwindcss/typography';
import { createRequire } from 'module';

const require = createRequire(import.meta.url);
const { content } = require('./config/tailwind-content.json');

/** @type {import('tailwindcss').Config} */
export default {
    /*
    **  Use "config/tailwind-content.json" to add content paths. */
    content,
    darkMode: 'class',
    plugins: [forms, typography],
    theme: {
        extend: {
            fontFamily: {
                sans: ['Figtree', ...defaultTheme.fontFamily.sans],
            },
            colors: {
                primary: {
                    50:  "#E5F6F5", // Sehr hell
                    100: "#BFEAE8", // Helles Türkis
                    200: "#99DDD9",
                    300: "#4DBFB9",
                    400: "#009F96",
                    500: "#006C66", // Basisfarbe
                    600: "#005954",
                    700: "#00433F",
                    800: "#002E2B",
                    900: "#001A18", // Sehr dunkel
                }
            },
        },
    }

};
