123456789101112131415161718192021222324252627282930313233343536 |
- /** @type {import('tailwindcss').Config} */
- import type { Config } from 'tailwindcss'
- export default {
- content: ['./index.html', './src/**/*.{vue,js,ts,jsx,tsx}'],
- corePlugins: {
- preflight: false
- },
- theme: {
- // screens: {
- // sm: '480px',
- // md: '768px',
- // lg: '976px',
- // xl: '1440px'
- // },
- // colors: {
- // blue: '#1fb6ff',
- // pink: '#ff49db',
- // orange: '#ff7849',
- // green: '#13ce66',
- // 'gray-dark': '#273444',
- // gray: '#8492a6',
- // 'gray-light': '#d3dce6'
- // },
- extend: {}
- },
- plugins: []
- /*// 这部分 css 需要通过比较复杂的计算得出,所以要用 `safelist` 保证它们出现在最终 css 里
- safelist: [
- {
- pattern: /w-\d+\/\d+/
- },
- {
- pattern: /grid-cols-[5-9]/
- }
- ]*/
- } satisfies Config
|