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