Sha256: 210e689852967cddde6f0573c19afd57d9075c5a2111551d31e527937e9ebdb2

Contents?: true

Size: 1.41 KB

Versions: 28

Compression:

Stored size: 1.41 KB

Contents

const defaultTheme = require('tailwindcss/defaultTheme')
const execSync = require('child_process').execSync;
const output = execSync('bundle show tybo', { encoding: 'utf-8' });


module.exports = {
  content: [
    './app/helpers/**/*.rb',
    './app/javascript/**/*.js',
    './app/views/**/*.{erb,haml,html,slim}',
    './app/components/**/*.{erb,haml,html,rb}',
    output.trim() + '/app/**/*.{erb,haml,html,rb}'
  ],
  theme: {
    extend: {
      fontFamily: {
        sans: ['Inter var', ...defaultTheme.fontFamily.sans],
      },
      colors: {
        tybo: {
          DEFAULT: '#5626d9',
          '50': '#f4f3ff',
          '100': '#eae9fe',
          '200': '#d8d6fe',
          '300': '#bbb5fd',
          '400': '#998bfa',
          '500': '#785cf6',
          '600': '#663aed',
          '700': '#5626d9',
          '800': '#4921b6',
          '900': '#3d1d95',
          '950': '#241065',
        },
        'red-alert': {
          DEFAULT: '#d0342c',
          '50': '#fdf3f3',
          '100': '#fde4e3',
          '200': '#fbcfcd',
          '300': '#f8ada9',
          '400': '#f17e78',
          '500': '#e7544c',
          '600': '#d0342c',
          '700': '#b12b24',
          '800': '#932721',
          '900': '#7a2622',
          '950': '#42100d',
        }
      }
    },
  },
  plugins: [
    require('@tailwindcss/forms'),
    require('@tailwindcss/aspect-ratio'),
    require('@tailwindcss/typography'),
  ]
}

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
tybo-0.3.26 lib/generators/tybo_install/templates/tailwind.config.js
tybo-0.3.24 lib/generators/tybo_install/templates/tailwind.config.js
tybo-0.3.23 lib/generators/tybo_install/templates/tailwind.config.js
tybo-0.3.22 lib/generators/tybo_install/templates/tailwind.config.js
tybo-0.3.21 lib/generators/tybo_install/templates/tailwind.config.js
tybo-0.3.20 lib/generators/tybo_install/templates/tailwind.config.js
tybo-0.3.19 lib/generators/tybo_install/templates/tailwind.config.js
tybo-0.3.18 lib/generators/tybo_install/templates/tailwind.config.js
tybo-0.3.17 lib/generators/tybo_install/templates/tailwind.config.js
tybo-0.3.16 lib/generators/tybo_install/templates/tailwind.config.js
tybo-0.3.15 lib/generators/tybo_install/templates/tailwind.config.js
tybo-0.3.14 lib/generators/tybo_install/templates/tailwind.config.js
tybo-0.3.13 lib/generators/tybo_install/templates/tailwind.config.js
tybo-0.3.12 lib/generators/tybo_install/templates/tailwind.config.js
tybo-0.3.11 lib/generators/tybo_install/templates/tailwind.config.js
tybo-0.3.10 lib/generators/tybo_install/templates/tailwind.config.js
tybo-0.3.9 lib/generators/tybo_install/templates/tailwind.config.js
tybo-0.3.8 lib/generators/tybo_install/templates/tailwind.config.js
tybo-0.3.7 lib/generators/tybo_install/templates/tailwind.config.js
tybo-0.3.6 lib/generators/tybo_install/templates/tailwind.config.js