WIP: Update Tailwindcss to 4 #58

Draft
atomaka wants to merge 4 commits from update-tailwind into main
4 changed files with 1491 additions and 4 deletions
Showing only changes of commit 9f8d3bcc06 - Show all commits

2
.gitignore vendored
View file

@ -36,3 +36,5 @@
/app/assets/builds/* /app/assets/builds/*
!/app/assets/builds/.keep !/app/assets/builds/.keep
/node_modules

View file

@ -2,10 +2,10 @@ const defaultTheme = require('tailwindcss/defaultTheme')
module.exports = { module.exports = {
content: [ content: [
'./public/*.html', '../public/*.html',
'./app/helpers/**/*.rb', '../app/helpers/**/*.rb',
'./app/javascript/**/*.js', '../app/javascript/**/*.js',
'./app/views/**/*.{erb,haml,html,slim}' '../app/views/**/*.{erb,haml,html,slim}'
], ],
theme: { theme: {
extend: { extend: {

1475
package-lock.json generated Normal file

File diff suppressed because it is too large Load diff

10
package.json Normal file
View file

@ -0,0 +1,10 @@
{
"name": "app_name",
"version": "1.0.0",
"dependencies": {
"tailwindcss": "^3.4.17",
"@tailwindcss/aspect-ratio": "^0.4.2",
"@tailwindcss/forms": "^0.5.10",
"@tailwindcss/typography": "^0.5.16"
}
}