Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
105 changes: 101 additions & 4 deletions config/tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,40 @@ module.exports = {
safelist: [
// === Navbar ===
'ml-4',
'text-white',
'sm:px-8',
'focus:outline-none',

// === Custom table layout utilities ===
'div-table',
'div-table-row',
'div-table-cell',
'sm:text-base',
'last:border-b-0',
'gap-4',
'rtl:text-right',
'text-small',

// === Visibility and typography helpers ===
'hidden',
'xl:hidden',
'block',
'text-left',
'text-right',
'text-xl',
'text-lg',
'text-base',
'text-sm',
'text-4xl',
'font-bold',
'text-right',

// === Text color helpers ===
'text-gray-300',
'text-gray-500',
'text-gray-700',
'text-gray-800',
'text-gray-900',
'text-purple-700',

// === Grid templates used for configurable layouts ===
'grid',
Expand All @@ -41,9 +60,11 @@ module.exports = {
'flex',
'flex-col',
'flex-wrap',
'flex-row',
'flex-row-reverse',
'flex-auto',
'flex-initial',
'flex-1',
'justify-between',
'justify-end',
'space-x-1',
Expand All @@ -60,44 +81,95 @@ module.exports = {
'w-8',
'min-w-96',
'max-w-full',
'h-fit',
'h-1/2',

// === Spacing utilities ===
'p-4',
'p-2',
'p-1',
'px-6',
'px-4',
'px-3',
'px-2',
'px-1',
'px-5',
'py-8',
'py-4',
'py-2',
'py-1',
'py-3',
'pl-2',
'pr-1',
'mb-2',
'ml-2',
'mx-2',
'mt-8',
'mt-2',
'mt-4',
'space-x-4',
'space-y-2',

// === Pagination styles ===
'bg-white',
'bg-purple-500',
'rounded-md',
'hover:bg-purple-100',
'hover:bg-gray-100',
'hover:bg-gray-300',
'hover:text-gray-800',
'hover:text-gray-700',
'text-purple-700',
'page',
'gap',
'first',
'last',
'prev',
'next',

// === Dark mode pagination styles ===
// === Dark mode helpers ===
'dark:text-white',
'dark:text-gray-100',
'dark:text-gray-300',
'dark:text-gray-400',
'dark:text-gray-500',
'dark:text-gray-800',
'dark:text-teal-100',
'dark:bg-gray-800',
'dark:hover:bg-gray-700',
'dark:bg-gray-900',
'dark:bg-gray-700',
'dark:text-gray-400',
'dark:bg-white',
'dark:bg-teal-900',
'dark:hover:bg-gray-700',
'dark:hover:bg-blue-500',
'dark:hover:bg-red-500',
'dark:hover:text-gray-200',
'dark:hover:text-gray-400',
'dark:border-gray-600',
'dark:border-gray-700',
'dark:border-teal-700',
'dark:hover:border-gray-600',
'dark:ring-1',
'dark:ring-gray-700',
'dark:shadow-lg',
'dark:focus:ring-2',
'dark:focus:ring-red-400',
'dark:focus:border-red-400',
'dark:placeholder-gray-400',
'dark:placeholder-white',
'dark:disabled:bg-gray-800',
'dark:disabled:text-gray-500',

// === Button and badge helpers ===
'bg-purple-700',
'btn',
'btn-delete',
'btn-primary',
'rounded',
'rounded-full',
'rounded-t',
'rounded-sm',
'inline-block',
'font-medium',
'font-normal',
'text-xs',
Expand Down Expand Up @@ -148,6 +220,20 @@ module.exports = {
'mb-4',
'bg-red-500',
'hover:bg-red-700',
'focus:outline-none',
'focus:border-red-500',
'focus:border-transparent',
'focus:ring-2',
'focus:ring-blue-500',
'focus:shadow-outline',

// === Background helpers ===
'bg-gray-100',

// === Border color helpers ===
'border-gray-100',
'border-gray-200',
'border-gray-300',

// === Multiselect dropdown positioning ===
'absolute',
Expand All @@ -156,6 +242,7 @@ module.exports = {
'top-11',
'z-40',
'left-0',
'lef-0',
'max-h-select',
'overflow-y-auto',
'cursor-pointer',
Expand All @@ -178,5 +265,15 @@ module.exports = {
'h-full',
'm-1',
'hover:bg-teal-100',

// === Overlay and animation helpers ===
'fixed',
'inset-x-0',
'bottom-0',
'top-4',
'right-4',
'shadow-lg',
'z-50',
'animate-roll-up',
],
}
Loading