Add Tailwind CSS as module, update config
This commit is contained in:
parent
531b2c053a
commit
42f978b4c2
4 changed files with 2508 additions and 0 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
node_modules
|
||||
2476
package-lock.json
generated
Normal file
2476
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load diff
9
package.json
Normal file
9
package.json
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"devDependencies": {
|
||||
"tailwindcss": "^2.2.4"
|
||||
},
|
||||
"dependencies": {
|
||||
"@tailwindcss/forms": "^0.3.3",
|
||||
"@tailwindcss/typography": "^0.4.1"
|
||||
}
|
||||
}
|
||||
22
tailwind.config.js
Normal file
22
tailwind.config.js
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
module.exports = {
|
||||
mode: 'jit',
|
||||
purge: [
|
||||
'./public/**/*.php'
|
||||
],
|
||||
darkMode: false, // or 'media' or 'class'
|
||||
theme: {
|
||||
extend: {
|
||||
fontFamily: {
|
||||
'sans': 'Raleway',
|
||||
'serif': 'Cinzel'
|
||||
},
|
||||
},
|
||||
},
|
||||
variants: {
|
||||
extend: {},
|
||||
},
|
||||
plugins: [
|
||||
//require('@tailwindcss/typography'),
|
||||
//require('@tailwindcss/forms'),
|
||||
],
|
||||
}
|
||||
Loading…
Reference in a new issue