Last active
August 14, 2023 08:27
-
-
Save olygood/2a1dc5af465822310ece7776c6598672 to your computer and use it in GitHub Desktop.
all.config //tailwind, vite etc....config.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export default { | |
plugins: { | |
tailwindcss: {}, | |
autoprefixer: {}, | |
}, | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** @type {import('tailwindcss').Config} */ | |
export default { | |
content: [ | |
"./index.html", | |
"./src/**/*.{js,ts,jsx,tsx}", | |
], | |
theme: { | |
extend: {}, | |
}, | |
plugins: [], | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** @type {import('tailwindcss').Config} */ | |
module.exports = { | |
content: ["./pages/**/*.{js,ts,jsx,tsx}", "./src/**/*.{js,ts,jsx,tsx}"], | |
darkMode: "class", | |
theme: { | |
extend: { | |
gridTemplateColumns: { | |
"auto-fill-200-300": "repeat(auto-fill, minmax(200px, 1fr))", | |
}, | |
textColor: { | |
skin: { | |
primary: "rgb(var(--color-text-primary) / <alpha-value>)", | |
secondary: "rgb(var(--color-text-secondary) / <alpha-value>)", | |
}, | |
}, | |
colors: { | |
background: "rgb(var(--color-background) / <alpha-value>)", | |
paper: "rgb(var(--color-paper) / <alpha-value>)", | |
primary: "rgb(var(--color-primary) / <alpha-value>)", | |
secondary: "rgb(var(--color-secondary) / <alpha-value>)", | |
}, | |
}, | |
}, | |
plugins: [], | |
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { defineConfig } from 'vite' | |
import react from '@vitejs/plugin-react' | |
// https://vitejs.dev/config/ | |
export default defineConfig({ | |
plugins: [react()], | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment