update pay function
This commit is contained in:
@@ -1,23 +1,22 @@
|
||||
/** @type {import('tailwindcss').Config} */
|
||||
const { heroui } = require("@heroui/react");
|
||||
const path = require("path");
|
||||
|
||||
module.exports = {
|
||||
content: [
|
||||
// 只扫描 src 目录(明确指定 js 和 jsx,避免 ts 匹配 node_modules)
|
||||
"./src/**/*.js",
|
||||
"./src/**/*.jsx",
|
||||
"./public/index.html",
|
||||
// 使用绝对路径(Tailwind 推荐方式,避免误报)
|
||||
path.join(__dirname, "./src/**/*.{js,jsx}"),
|
||||
path.join(__dirname, "./public/index.html"),
|
||||
|
||||
// Hero UI 组件库(精确路径)
|
||||
"./node_modules/@heroui/theme/dist/**/*.js",
|
||||
"./node_modules/@heroui/react/dist/**/*.js",
|
||||
// Hero UI 组件库
|
||||
path.join(__dirname, "./node_modules/@heroui/theme/dist/**/*.js"),
|
||||
path.join(__dirname, "./node_modules/@heroui/react/dist/**/*.js"),
|
||||
],
|
||||
|
||||
darkMode: "class",
|
||||
|
||||
theme: {
|
||||
extend: {
|
||||
// Brainwave 自定义颜色
|
||||
colors: {
|
||||
n: {
|
||||
1: "#FFFFFF",
|
||||
|
||||
Reference in New Issue
Block a user