- Fix sidebar menu items requiring double-click (checkbox overlay issue) - Remove jittery scroll animation on sidebar navigation - Remove green search button, use neutral icon instead - Standardize dropdown menus across all pages (btn instead of label, menu-sm) - Fix brand dashboard topPerformer undefined key error - Fix product hashid validation for image routes - Initialize Alpine.js search state from URL params on products page - Update theme colors in tailwind config
66 lines
1.8 KiB
JavaScript
66 lines
1.8 KiB
JavaScript
import defaultTheme from "tailwindcss/defaultTheme";
|
|
import forms from "@tailwindcss/forms";
|
|
import { addIconSelectors } from "@iconify/tailwind4";
|
|
|
|
/** @type {import('tailwindcss').Config} */
|
|
export default {
|
|
darkMode: ["class", '[data-theme="dark"]'],
|
|
content: [
|
|
"./vendor/laravel/framework/src/Illuminate/Pagination/resources/views/*.blade.php",
|
|
"./storage/framework/views/*.php",
|
|
"./resources/views/**/*.blade.php",
|
|
"./resources/js/**/*.js",
|
|
],
|
|
|
|
theme: {
|
|
extend: {
|
|
fontFamily: {
|
|
sans: ["Figtree", ...defaultTheme.fontFamily.sans],
|
|
},
|
|
},
|
|
},
|
|
plugins: [
|
|
forms,
|
|
require("daisyui"),
|
|
addIconSelectors(['heroicons', 'lucide', 'hugeicons', 'ri', 'logos'])
|
|
],
|
|
|
|
daisyui: {
|
|
themes: [
|
|
{
|
|
cannabrands: {
|
|
"primary": "#4E8D71",
|
|
"primary-content": "#ffffff",
|
|
|
|
"secondary": "#4B6FA4",
|
|
"secondary-content": "#ffffff",
|
|
|
|
"accent": "#4E8D71",
|
|
"accent-content": "#ffffff",
|
|
|
|
"success": "#4E8D71",
|
|
"success-content": "#ffffff",
|
|
|
|
"warning": "#D97706",
|
|
"warning-content": "#ffffff",
|
|
|
|
"error": "#E1524D",
|
|
"error-content": "#ffffff",
|
|
|
|
"info": "#4B6FA4",
|
|
"info-content": "#ffffff",
|
|
|
|
"neutral": "#374151",
|
|
"neutral-content": "#ffffff",
|
|
|
|
"base-100": "#ffffff",
|
|
"base-200": "#f7f7f7",
|
|
"base-300": "#e5e7eb",
|
|
"base-content": "#1f2937",
|
|
},
|
|
},
|
|
"dark",
|
|
],
|
|
},
|
|
};
|