forked from atymic/laravel-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
35 lines (33 loc) · 1.05 KB
/
tailwind.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
const tailwind = require('tailwindcss/defaultTheme');
module.exports = {
purge: [
'./src/**/*.php', // `/app` by default, but this boierlplate uses `/src`
'./resources/**/*.html',
'./resources/**/*.js',
'./resources/**/*.jsx',
'./resources/**/*.ts',
'./resources/**/*.tsx',
'./resources/**/*.php',
'./resources/**/*.vue',
],
theme: {
extend: {
fontFamily: {
sans: ['Nunito', ...tailwind.fontFamily.sans],
},
},
},
variants: {},
plugins: [
// Uncomment this line to use powerful theming! Check your theme.config.js.
// Order is important if you want to use the two plugins in combination.
require('tailwindcss-theming')({
// Remove the preset and start using your own palette when you're ready.
// See: https://github.com/innocenzi/tailwindcss-theming/blob/master/docs/themes.md#configuring-your-themes
preset: 'tailwind-vanilla',
}),
// Uses a new color palette and extended configuration, made for
// Tailwind UI.
require('@tailwindcss/ui'),
],
};