Skip to content

Commit

Permalink
try require instead of import in tailwind config
Browse files Browse the repository at this point in the history
  • Loading branch information
AxonC committed Mar 28, 2024
1 parent 2c62e4b commit 9be82dc
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tailwind.config.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
/** @type {import('tailwindcss').Config} */
import preset from './vendor/filament/support/tailwind.config.preset.js';

const colors = require('tailwindcss/colors');

module.exports = {
presets: [preset],
export default {
presets: [require('./vendor/filament/support/tailwind.config.preset')],
darkMode: 'class',
theme: {
colors: {
Expand Down

0 comments on commit 9be82dc

Please sign in to comment.