import type { Config } from 'tailwindcss'

/** Responsivní výšky grafů: mobil chart-sm, tablet chart-md, desktop chart-lg (ekonomika chart-xl). */
const chartHeights = {
  'chart-sm': '140px',
  'chart-md': '200px',
  'chart-lg': '260px',
  'chart-xl': '280px',
} as const

export default {
  darkMode: 'class',
  content: ['./index.html', './src/**/*.{js,ts,jsx,tsx}'],
  theme: {
    extend: {
      height: chartHeights,
      maxHeight: chartHeights,
      minHeight: chartHeights,
    },
  },
  plugins: [],
} satisfies Config
