Skip to content

Commit

Permalink
feat: improve tailwind config
Browse files Browse the repository at this point in the history
  • Loading branch information
AlejandroAkbal committed Aug 7, 2020
1 parent 7ed76ee commit f493d7d
Showing 1 changed file with 5 additions and 19 deletions.
24 changes: 5 additions & 19 deletions tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,6 @@ module.exports = {
target: 'modern',

purge: {
// Fix: not purging anything. This shouldnt be necessary, but it is for now
content: [
// 'assets/**/*.css',
// 'assets/**/*.js',
'components/**/*.vue',
'layouts/**/*.vue',
'pages/**/*.vue',
'plugins/**/*.js',
'nuxt.config.js',
],

options: {
whitelistPatterns: [/active/, /fade/, /enter/, /leave/],
},
Expand Down Expand Up @@ -80,9 +69,10 @@ module.exports = {
'1/2': '50%',
'3/4': '75%',
},
},
fontFamily: {
sans: ['Inter var', ...defaultTheme.fontFamily.sans],

fontFamily: {
sans: ['Inter var', ...defaultTheme.fontFamily.sans],
},
},
},
// Recommended variant order
Expand All @@ -94,9 +84,5 @@ module.exports = {
textColor: ['responsive', 'group-hover', 'hover', 'focus'],
},

plugins: [
require('@tailwindcss/ui')({
layout: 'sidebar',
}),
],
plugins: [require('@tailwindcss/ui')],
}

0 comments on commit f493d7d

Please sign in to comment.