We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://github.com/tailwindlabs/tailwindcss-typography
方便灵活的配置
/** @type {import('tailwindcss').Config} */ module.exports = { content: [ "./pages/**/*.{js,ts,jsx,tsx,mdx}", "./components/**/*.{js,ts,jsx,tsx,mdx}", "./app/**/*.{js,ts,jsx,tsx,mdx}", ], theme: { extend: { typography: { // 配置@tailwindcss/typography DEFAULT: { css: { pre: null, // 停用该样式 code: null, // 停用该样式 }, }, }, }, }, darkMode: "class", plugins: [ require("@tailwindcss/typography"), ], }
简单的@apply
@apply
.my-component { @apply prose dark:prose-invert prose-stone prose-a:text-primary max-w-none; }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
https://github.com/tailwindlabs/tailwindcss-typography
方便灵活的配置
简单的
@apply
The text was updated successfully, but these errors were encountered: