Skip to content

Commit a8ff737

Browse files
Julien NahumJulien Nahum
Julien Nahum
authored and
Julien Nahum
committed
Fix tailwind classes
1 parent 2b24c89 commit a8ff737

File tree

5 files changed

+6
-5
lines changed

5 files changed

+6
-5
lines changed

public/app.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/mix-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"/app.js": "/app.js?id=fa4e195f7a7c207756a0",
3-
"/app.css": "/app.css?id=411a95c49634f7ffaf46"
3+
"/app.css": "/app.css?id=2668be8a85bb02c3e51d"
44
}

resources/js/components/App.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export default {
3333
},
3434
3535
data: () => ({
36-
frontEndVersion: 3,
36+
frontEndVersion: 4,
3737
alert: {
3838
type: null,
3939
autoClose: 0,

src/Http/Controllers/HomeController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ private function modelStatsConfig()
2222
return [
2323
'appName' => config('app.name'),
2424
'path' => config('model-stats.routes_prefix'),
25-
'frontEndVersion' => 3,
25+
'frontEndVersion' => 4,
2626
];
2727
}
2828

tailwind.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
const graphColors = ['blue','gray','red','green','yellow','purple','pink']
2+
const graphColors = ['blue','gray','red','green','yellow','purple','pink', 'orange']
33
const alertColors = ['green','red','blue','gray']
44

55
module.exports = {
@@ -11,6 +11,7 @@ module.exports = {
1111
'./resources/**/*.vue'
1212
],
1313
safelist: [
14+
/.*(bg|border)-(blue|gray|red|green).*/, // Buttons
1415
...alertColors.map((color)=>['bg-'+color+'-100', 'border-'+color+'-500']).flat(), // Alerts
1516
...graphColors.map((color) => 'to-'+color+'-100') // Gradients widgets
1617
]

0 commit comments

Comments
 (0)