{"size": 4375, "ext": "js", "max_stars_repo_path": "tailwind.config.js", "max_stars_repo_name": "httpsgithu/iciba-translate-userscript", "max_stars_repo_stars_event_min_datetime": "2018-04-17T07:57:13.000Z", "max_stars_repo_stars_event_max_datetime": "2022-03-30T07:02:17.000Z", "max_issues_repo_path": "tailwind.config.js", "max_issues_repo_name": "noe132/iciba-translate-userscript", "max_issues_repo_issues_event_min_datetime": "2019-04-14T11:02:49.000Z", "max_issues_repo_issues_event_max_datetime": "2022-03-31T20:28:49.000Z", "max_forks_repo_path": "tailwind.config.js", "max_forks_repo_name": "httpsgithu/iciba-translate-userscript", "max_forks_repo_forks_event_min_datetime": "2018-04-18T07:39:52.000Z", "max_forks_repo_forks_event_max_datetime": "2021-12-01T03:24:51.000Z"}
{"max_stars_count": 149, "max_issues_count": 54, "max_forks_count": 12, "avg_line_length": 45.5729166667, "max_line_length": 115, "alphanum_fraction": 0.5133714286}
const colors = require('./utils/color-palette')

module.exports = {
  content: {
    layers: ['utilities'],
    content: [
      './src/**/*.vue',
      './src/**/*.tsx',
      './src/**/*.js',
    ],
  },
  corePlugins: {
    textOpacity: false,
    backgroundOpacity: false,
    borderOpacity: false,
    preflight: false,
  },
  theme: {
    screens: false,
    fontSize: {
      0: '0',
      ...Array(50).fill(0).map((_v, i) => i + 1).reduce((p, c) => {
        p[c] = `${c}px`
        return p
      }, {}),
    },

    boxShadow: {
      '0': '0px 0px 0px 0px rgba(0,0,0,.2),0px 0px 0px 0px rgba(0,0,0,.14),0px 0px 0px 0px rgba(0,0,0,.12)',
      '1': '0px 2px 1px -1px rgba(0,0,0,.2),0px 1px 1px 0px rgba(0,0,0,.14),0px 1px 3px 0px rgba(0,0,0,.12)',
      '2': '0px 3px 1px -2px rgba(0,0,0,.2),0px 2px 2px 0px rgba(0,0,0,.14),0px 1px 5px 0px rgba(0,0,0,.12)',
      '3': '0px 3px 3px -2px rgba(0,0,0,.2),0px 3px 4px 0px rgba(0,0,0,.14),0px 1px 8px 0px rgba(0,0,0,.12)',
      '4': '0px 2px 4px -1px rgba(0,0,0,.2),0px 4px 5px 0px rgba(0,0,0,.14),0px 1px 10px 0px rgba(0,0,0,.12)',
      '5': '0px 3px 5px -1px rgba(0,0,0,.2),0px 5px 8px 0px rgba(0,0,0,.14),0px 1px 14px 0px rgba(0,0,0,.12)',
      '6': '0px 3px 5px -1px rgba(0,0,0,.2),0px 6px 10px 0px rgba(0,0,0,.14),0px 1px 18px 0px rgba(0,0,0,.12)',
      '7': '0px 4px 5px -2px rgba(0,0,0,.2),0px 7px 10px 1px rgba(0,0,0,.14),0px 2px 16px 1px rgba(0,0,0,.12)',
      '8': '0px 5px 5px -3px rgba(0,0,0,.2),0px 8px 10px 1px rgba(0,0,0,.14),0px 3px 14px 2px rgba(0,0,0,.12)',
      '9': '0px 5px 6px -3px rgba(0,0,0,.2),0px 9px 12px 1px rgba(0,0,0,.14),0px 3px 16px 2px rgba(0,0,0,.12)',
      '10': '0px 6px 6px -3px rgba(0,0,0,.2),0px 10px 14px 1px rgba(0,0,0,.14),0px 4px 18px 3px rgba(0,0,0,.12)',
      '11': '0px 6px 7px -4px rgba(0,0,0,.2),0px 11px 15px 1px rgba(0,0,0,.14),0px 4px 20px 3px rgba(0,0,0,.12)',
      '12': '0px 7px 8px -4px rgba(0,0,0,.2),0px 12px 17px 2px rgba(0,0,0,.14),0px 5px 22px 4px rgba(0,0,0,.12)',
      '13': '0px 7px 8px -4px rgba(0,0,0,.2),0px 13px 19px 2px rgba(0,0,0,.14),0px 5px 24px 4px rgba(0,0,0,.12)',
      '14': '0px 7px 9px -4px rgba(0,0,0,.2),0px 14px 21px 2px rgba(0,0,0,.14),0px 5px 26px 4px rgba(0,0,0,.12)',
      '15': '0px 8px 9px -5px rgba(0,0,0,.2),0px 15px 22px 2px rgba(0,0,0,.14),0px 6px 28px 5px rgba(0,0,0,.12)',
      '16': '0px 8px 10px -5px rgba(0,0,0,.2),0px 16px 24px 2px rgba(0,0,0,.14),0px 6px 30px 5px rgba(0,0,0,.12)',
      '17': '0px 8px 11px -5px rgba(0,0,0,.2),0px 17px 26px 2px rgba(0,0,0,.14),0px 6px 32px 5px rgba(0,0,0,.12)',
      '18': '0px 9px 11px -5px rgba(0,0,0,.2),0px 18px 28px 2px rgba(0,0,0,.14),0px 7px 34px 6px rgba(0,0,0,.12)',
      '19': '0px 9px 12px -6px rgba(0,0,0,.2),0px 19px 29px 2px rgba(0,0,0,.14),0px 7px 36px 6px rgba(0,0,0,.12)',
      '20': '0px 10px 13px -6px rgba(0,0,0,.2),0px 20px 31px 3px rgba(0,0,0,.14),0px 8px 38px 7px rgba(0,0,0,.12)',
      '21': '0px 10px 13px -6px rgba(0,0,0,.2),0px 21px 33px 3px rgba(0,0,0,.14),0px 8px 40px 7px rgba(0,0,0,.12)',
      '22': '0px 10px 14px -6px rgba(0,0,0,.2),0px 22px 35px 3px rgba(0,0,0,.14),0px 8px 42px 7px rgba(0,0,0,.12)',
      '23': '0px 11px 14px -7px rgba(0,0,0,.2),0px 23px 36px 3px rgba(0,0,0,.14),0px 9px 44px 8px rgba(0,0,0,.12)',
      '24': '0px 11px 15px -7px rgba(0,0,0,.2),0px 24px 38px 3px rgba(0,0,0,.14),0px 9px 46px 8px rgba(0,0,0,.12)',
    },

    extend: {
      variants: {
        backgroundColor: ['group-hover'],
      },
      colors: {
        ...colors,
        'link': '#77a9dd', // lighten(desaturate($primary, 40%), 4%)
        'primary': '#409EFF',
        'success': '#67C23A',
        'warning': '#E6A23C',
        'danger': '#F56C6C',
        'info': '#909399',
        'bg-1': 'hsl(0, 0%, 85%)',
        'bg-2': 'hsl(0, 0%, 88%)',
        'bg-3': 'hsl(0, 0%, 91%)',
        'bg-4': 'hsl(0, 0%, 94%)',
        'bg-5': 'hsl(0, 0%, 97%)',
      },

      borderRadius: {
        ...Array(20).fill(0)
          .map((_v, i) => i + 1)
          .reduce((p, c) => ({ ...p, [c]: `${c}px` }), {}),
      },

      spacing: {
        ...Object.fromEntries(
          Array(14).fill(0).map(
            (_v, i) => [`${i + 2}px`, `${(i + 2)}px`],
          ),
        ),
        ...Object.fromEntries(
          Array(64).fill(0).map(
            (_v, i) => [i + 1, `${4 * (i + 1)}px`],
          ),
        ),
      },
    },
  },
}
