Skip to content

Commit

Permalink
refactor: Update tailwind.config.js to include generated colors from …
Browse files Browse the repository at this point in the history
…Nova
  • Loading branch information
ferdiunal committed Sep 16, 2024
1 parent 75b2da8 commit bf65985
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/css/field.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/js/field.js

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion tailwind.config.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
import { generateTailwindColors } from '../../vendor/laravel/nova/generators'
/** @type {import('tailwindcss').Config} */
module.exports = {
prefix: "npcm--",
content: ["./resources/**/*{js,vue,blade.php}"],
darkMode: ["class"],
darkMode: ['class', '[class="dark"]'],
theme: {
colors: generateTailwindColors(),
extend: {
animation: {
shake: "shake 0.82s cubic-bezier(.36,.07,.19,.97) both",
Expand Down

0 comments on commit bf65985

Please sign in to comment.