How to use the tailwindcss/colors.coolGray function in tailwindcss

To help you get started, we’ve selected a few tailwindcss examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github gambala / rubyshow / tailwind.config.js View on Github external
purge: [
    './app/views/**/*.erb',
    './app/views/**/*.html',
    './app/views/**/*.slim',
    './frontend/**/*.js',
  ],
  variants: {
    gradientColorStops: ['responsive', 'hover', 'focus', 'active'],
  },
  theme: {
    colors: {
      transparent: 'transparent',
      current: 'currentColor',
      black: colors.black,
      white: colors.white,
      gray: colors.coolGray,
      red: colors.red,
      orange: colors.orange,
      yellow: colors.amber,
      green: colors.green,
      teal: colors.teal,
      blue: colors.blue,
      indigo: colors.indigo,
      purple: colors.purple,
    },
    fontSize: {
      'xs':   ['0.75rem', '1rem'],
      'sm':   ['0.875rem', '1.25rem'],
      'base': ['1rem', '1.5rem'],
      'lg':   ['1.125rem', '1.75rem'],
      'xl':   ['1.25rem', '1.75rem'],
      '2xl':  ['1.5rem', '2rem'],