1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- /*
- ** TailwindCSS Configuration File
- **
- ** Docs: https://tailwindcss.com/docs/configuration
- ** Default: https://github.com/tailwindcss/tailwindcss/blob/master/stubs/defaultConfig.stub.js
- */
- module.exports = {
- future: {
- removeDeprecatedGapUtilities: true,
- purgeLayersByDefault: true,
- },
- experimental: "all",
- dark: "class",
- corePlugins: {
- clear: false,
- float: false,
- skew: false,
- },
- theme: {
- extend: {
- colors: {
- bgColor: "var(--bg-color)",
- bgLightColor: "var(--bg-light-color)",
- bgDarkColor: "var(--bg-dark-color)",
- fgColor: "var(--fg-color)",
- fgLightColor: "var(--fg-light-color)",
- brdColor: "var(--brd-color)",
- errColor: "var(--err-color)",
- acColor: "var(--ac-color)",
- actColor: "var(--act-color)",
- ttColor: "var(--tt-color)",
- },
- inset: {},
- },
- fontFamily: {
- body: "var(--font-body)",
- mono: "var(--font-mono)",
- icon: "var(--font-icon)",
- },
- },
- variants: {},
- plugins: [],
- purge: {
- // Learn more on https://tailwindcss.com/docs/controlling-file-size/#removing-unused-css
- enabled: process.env.NODE_ENV === "production",
- content: [
- "components/**/*.vue",
- "layouts/**/*.vue",
- "pages/**/*.vue",
- "plugins/**/*.js",
- "nuxt.config.js",
- "content/**/*.md",
- ],
- // These options are passed through directly to PurgeCSS
- options: {
- whitelistPatterns: [/^bg-/, /^text-/, /^border-/, /^h-/, /^w-/, /^hover:/],
- },
- },
- }
|