Skip to content

Commit

Permalink
fix: convert tailwind to esm (#804)
Browse files Browse the repository at this point in the history
(cherry picked from commit efbe4cd)
  • Loading branch information
cstenglein committed Dec 19, 2024
1 parent a894822 commit 74bad3b
Showing 1 changed file with 25 additions and 27 deletions.
52 changes: 25 additions & 27 deletions tailwind.config.js
Original file line number Diff line number Diff line change
@@ -1,33 +1,31 @@
const { nextui } = require("@nextui-org/react");
import { nextui } from "@nextui-org/react";

/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./src/**/*.{js,jsx,ts,tsx}",
"./public/index.html",
"./node_modules/@nextui-org/theme/dist/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {
colors: {
"bd-yellow-light": "#F7CB47",
"bd-yellow-dark": "#F7CB47",
},
export const content = [
"./src/**/*.{js,jsx,ts,tsx}",
"./public/index.html",
"./node_modules/@nextui-org/theme/dist/**/*.{js,ts,jsx,tsx}",
];
export const theme = {
extend: {
colors: {
"bd-yellow-light": "#F7CB47",
"bd-yellow-dark": "#F7CB47",
},
},
plugins: [
nextui({
addCommonColors: true,
themes: {
light: {},
dark: {
colors: {
primary: "#4785FF",
secondary: "#BBC6DC",
tertiary: "#253553",
},
};
export const plugins = [
nextui({
addCommonColors: true,
themes: {
light: {},
dark: {
colors: {
primary: "#4785FF",
secondary: "#BBC6DC",
tertiary: "#253553",
},
},
}),
],
};
},
}),
];

0 comments on commit 74bad3b

Please sign in to comment.