-
-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a80f2fd
commit 95c341d
Showing
5 changed files
with
55 additions
and
2 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
@tailwind base; | ||
@tailwind components; | ||
@tailwind utilities; | ||
|
||
@layer base { | ||
[x-cloak] { | ||
display: none !important; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
import defaultTheme from 'tailwindcss/defaultTheme'; | ||
import forms from '@tailwindcss/forms'; | ||
import presets from './vendor/filament/support/tailwind.config.preset'; | ||
import typography from '@tailwindcss/typography'; | ||
|
||
/** @type {import('tailwindcss').Config} */ | ||
export default { | ||
presets: [presets], | ||
|
||
content: [ | ||
'./resources/views/**/*.blade.php', | ||
'./storage/framework/views/*.php', | ||
], | ||
|
||
darkMode: 'class', | ||
|
||
theme: { | ||
extend: { | ||
fontFamily: { | ||
sans: ['Inter', ...defaultTheme.fontFamily.sans], | ||
}, | ||
}, | ||
}, | ||
|
||
plugins: [ | ||
forms, | ||
typography, | ||
], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,22 @@ | ||
import { defineConfig } from 'vite'; | ||
import laravel from 'laravel-vite-plugin'; | ||
import laravel, { refreshPaths } from 'laravel-vite-plugin'; | ||
|
||
export default defineConfig({ | ||
plugins: [ | ||
laravel({ | ||
input: [ | ||
'resources/css/app.css', | ||
'resources/css/filament/admin/theme.css', | ||
], | ||
refresh: true, | ||
refresh: [ | ||
...refreshPaths, | ||
'app/Livewire/**', | ||
], | ||
}), | ||
], | ||
server: { | ||
hmr: { | ||
host: 'localhost', | ||
}, | ||
}, | ||
}); |