Skip to content

Missing css from tailwindcss/base #2449

Answered by n1ghtmare
n1ghtmare asked this question in Help
Discussion options

You must be logged in to vote

Ok, so I figured out the problem! My tailwind.config.js, looked like:

module.exports = {
    purge: ["./Client/**/*.tsx"],

    theme: {
        extend: {
            screens: {
                dark: { raw: "(prefers-color-scheme: dark)" }
                // => @media (prefers-color-scheme: dark) { ... }
            },
            spacing: {
                "72": "18rem",
                "84": "21rem",
                "96": "24rem"
            }
        }
    },
    variants: {
        borderWidth: ["responsive", "last"],
        borderRadius: ["last"]
    },
    plugins: []
};

Since, I'm doing purging outside (because I'm also doing css minification), I should've set purge to false (whic…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by simonswiss
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
1 participant