Skip to content

Commit c93ba6d

Browse files
committed
Update source and config
1 parent e38f79c commit c93ba6d

File tree

4 files changed

+125
-146
lines changed

4 files changed

+125
-146
lines changed

app/assets/stylesheets/application.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@
77
themes: all;
88
}
99

10+
@source "../../../public/*.html";
11+
@source "../../../app/helpers/**/*.rb";
12+
@source "../../../app/javascript/**/*.js";
13+
@source "../../../app/views/**/*.{html,html.erb,erb,haml,slim}";
14+
1015
/* Scrollbar css */
1116

1217
.scrollbar-rounded {

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"daisyui": "^5.0.35",
1313
"heroicons": "^2.2.0",
1414
"tailwind-scrollbar": "^4.0.2",
15-
"tailwindcss": "^4.1.6",
15+
"tailwindcss": "^4.1.7",
1616
"tailwindcss-displaymodes": "^1.0.8",
1717
"tinymce": "^7.9.0"
1818
},
@@ -21,7 +21,7 @@
2121
"build:css": "npx @tailwindcss/cli -i ./app/assets/stylesheets/application.css -o ./app/assets/builds/application.css --minify"
2222
},
2323
"devDependencies": {
24-
"@tailwindcss/cli": "^4.1.6",
24+
"@tailwindcss/cli": "^4.1.7",
2525
"esbuild": "^0.25.4",
2626
"esbuild-plugin-copy": "^2.1.1",
2727
"esbuild-rails": "^1.0.7",

tailwind.config.js

Lines changed: 3 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,5 @@
11
export default {
2-
mode: 'jit',
3-
content: [
4-
'./app/views/**/*.{slim,erb,jbuilder,turbo_stream,js}',
5-
'./app/decorators/**/*.rb',
6-
'./app/helpers/**/*.rb',
7-
'./app/inputs/**/*.rb',
8-
'./app/assets/javascripts/**/*.js',
9-
'./config/initializers/**/*.rb',
10-
'./lib/components/**/*.rb'
11-
],
12-
safelist: [
13-
'badge-*',
14-
],
15-
variants: {
16-
extend: {
17-
overflow: ['hover']
18-
}
19-
},
20-
theme: {
21-
listStyleType: {
22-
none: 'none',
23-
disc: 'disc',
24-
decimal: 'decimal',
25-
square: 'square'
26-
}
27-
},
28-
plugins: {
29-
'@tailwindcss/postcss': {},
30-
}
2+
content: [],
3+
safelist: [],
4+
plugins: []
315
}

0 commit comments

Comments
 (0)