const { themeVariants } = require('tailwindcss-theme-variants');
const colors = require('tailwindcss/colors');
module.exports = {
  prefix: 'tw-',
  purge: ['./index.html', './src/**/*.{vue,js,ts,jsx,tsx}'],
  darkMode: 'media', // or false or 'class' or 'media'
  theme: {
    colors: {
      transparent: 'transparent',
      current: 'currentColor',
      black: colors.black,
      white: colors.white,
      indigo: colors.indigo,
      purple: colors.violet,
      pink: colors.pink,
      blue: {
        50: '#F5F8FB',
        100: '#DBEAFE',
        200: '#BFDBFE',
        300: '#80B8F1',
        400: '#4789CD',
        500: '#1B6DC1',
        600: '#1860AD',
        700: '#165398',
        800: '#144684',
        900: '#11396F',
      },
      gray: {
        50: '#F8FAFC',
        100: '#DFE7EF',
        200: '#C6D3E1',
        300: '#AEC0D4',
        400: '#95ACC6',
        500: '#7C99B9',
        600: '#607894',
        700: '#435870',
        800: '#27374C',
        900: '#0A1627',
      },
      darkGray: {
        50: '#F8F9FA',
        100: '#F1F4F6',
        200: '#E2E6EA',
        300: '#CFD5DB',
        400: '#98A3AF',
        500: '#687480',
        600: '#364453',
        700: '#323b4a',
        800: '#272E39',
        900: '#1E232B',
      },
      red: {
        50: '#FCF0F3',
        100: '#FCE3E8',
        200: '#FFCBD7',
        300: '#FAA6B9',
        400: '#F57894',
        500: '#EF466C',
        600: '#DE214C',
        700: '#BC163B',
        800: '#9C1937',
        900: '#871630',
      },
      green: {
        50: '#ECFCF8',
        100: '#CEFBF1',
        200: '#97F5E1',
        300: '#56ECCC',
        400: '#23D4AE',
        500: '#13B894',
        600: '#0A9678',
        700: '#067960',
        800: '#08604D',
        900: '#044D3D',
      },
      yellow: {
        50: '#FEFCE8',
        100: '#FEF9C3',
        200: '#FEF08A',
        300: '#FDE047',
        400: '#FACC15',
        500: '#EAB308',
        600: '#CA8A04',
        700: '#A16207',
        800: '#854D0E',
        900: '#713F12',
      },
    },
    backgroundSize: {
      auto: 'auto',
      cover: 'cover',
      contain: 'contain',
      80: '20rem',
      88: '22rem',
    },
    extend: {},
  },
  variants: {
    extend: {
      backgroundColor: ['checked'],
      color: ['checked'],
      borderColor: ['checked'],
      borderWidth: ['checked'],
    },
  },
  plugins: [
    themeVariants({
      themes: {
        'dark': {
          selector: '.dark',
        },
      },
    }),
  ],
};
