timetracker update
This commit is contained in:
@@ -11,14 +11,6 @@ export const uiOptions: NuxtUIOptions = {
|
||||
root: '',
|
||||
}
|
||||
},
|
||||
// selectMenu: {
|
||||
// variants: {
|
||||
// size: {
|
||||
// xxl: {
|
||||
// group: 'mt-20!'
|
||||
// },
|
||||
// },
|
||||
// },
|
||||
button: {
|
||||
slots: {
|
||||
base: 'border! border-(--border-light)! dark:border-(--border-dark)! outline-0! ring-0!',
|
||||
@@ -27,115 +19,29 @@ export const uiOptions: NuxtUIOptions = {
|
||||
input: {
|
||||
slots: {
|
||||
base: 'text-(--black) dark:text-white border! border-(--border-light)! dark:border-(--border-dark)! outline-0! ring-0!',
|
||||
error: 'text-red-600!'
|
||||
},
|
||||
},
|
||||
// variants: {
|
||||
// size: {
|
||||
// xxl: {
|
||||
// base: 'h-8 sm:h-[38px] px-[10px] py-[10px] border! border-(--border-light)! dark:border-(--border-dark)!',
|
||||
// trailingIcon: 'px-6 !text-base',
|
||||
// root: 'w-full',
|
||||
// },
|
||||
// },
|
||||
// },
|
||||
// defaultVariants: {
|
||||
// size: 'xxl',
|
||||
// },
|
||||
// },
|
||||
// textarea: {
|
||||
// slots: {
|
||||
// base: 'disabled:!opacity-100 text-(--black) dark:text-white disabled:text-(--gray) !text-base placeholder:text-(--gray)/50! dark:placeholder:text-(--gray)!',
|
||||
// trailingIcon: 'shrink-0 pr-4 !text-base',
|
||||
// error: 'text-sm! !sm:text-[15px] leading-none! mt-1!',
|
||||
// },
|
||||
// variants: {
|
||||
// size: {
|
||||
// xxl: {
|
||||
// base: 'px-[25px] py-[15px]',
|
||||
// trailingIcon: 'px-6 !text-base',
|
||||
// root: 'w-full',
|
||||
// },
|
||||
// },
|
||||
// },
|
||||
// defaultVariants: {
|
||||
// size: 'xxl',
|
||||
// },
|
||||
// },
|
||||
// formField: {
|
||||
// slots: {
|
||||
// base: 'flex !flex-col border! border-(--border-light)! dark:border-(--border-dark)!',
|
||||
// label: 'text-[15px] text-(--gray)! dark:text-(--gray-dark)! pl-6! leading-none! font-normal! mb-1 sm:mb-1',
|
||||
// error: 'text-sm! !sm:text-[15px] leading-none! mt-1!',
|
||||
// },
|
||||
// variants: {
|
||||
// size: {
|
||||
// xxl: 'w-full',
|
||||
// label: '!label !mb-1',
|
||||
// },
|
||||
// },
|
||||
// defaultVariants: {
|
||||
// size: 'xxl',
|
||||
// },
|
||||
// },
|
||||
|
||||
// defaultVariants: {
|
||||
// size: 'xxl',
|
||||
// },
|
||||
// },
|
||||
select: {
|
||||
slots: {
|
||||
base: 'w-full! cursor-pointer border! border-(--border-light)! dark:border-(--border-dark)! outline-0! ring-0!',
|
||||
itemLabel: 'text-black! dark:text-white!',
|
||||
itemTrailingIcon: 'text-black! dark:text-white!'
|
||||
},
|
||||
// variants: {
|
||||
// size: {
|
||||
// xxl: {
|
||||
// base: ' h-12 sm:h-[54px] px-[25px]',
|
||||
// item: 'py-2 px-2',
|
||||
// trailingIcon: 'px-6 !text-base',
|
||||
// leading: '!px-[25px]',
|
||||
// itemLabel: 'text-black dark:text-white',
|
||||
// },
|
||||
// },
|
||||
// },
|
||||
// defaultVariants: {
|
||||
// size: 'xxl',
|
||||
// },
|
||||
// },
|
||||
// inputDate: {
|
||||
// slots: {
|
||||
// leadingIcon: 'border-none! outline-0! ring-0!',
|
||||
// },
|
||||
// defaultVariants: {
|
||||
// size: 'xxl',
|
||||
// },
|
||||
// },
|
||||
// checkbox: {
|
||||
// slots: {
|
||||
// label: 'block !font-normal',
|
||||
// indicator: '!bg-(--accent-brown)',
|
||||
// },
|
||||
// },
|
||||
// radioGroup: {
|
||||
// slots: {
|
||||
// label: 'block !font-normal text-base font-normal leading-none text-(--black) dark:text-(--second-light)',
|
||||
// indicator: '!bg-(--accent-brown)',
|
||||
// size: 'xxl',
|
||||
// },
|
||||
},
|
||||
formField: {
|
||||
slots: {
|
||||
error: 'mt-1! text-[14px] text-error text-red-600! dark:text-red-400!',
|
||||
label: 'text-[16px]'
|
||||
},
|
||||
},
|
||||
selectMenu: {
|
||||
slots: {
|
||||
base: 'border! border-(--border-light)! dark:border-(--border-dark)! outline-0! ring-0!',
|
||||
content: 'border! border-(--border-light)! dark:border-(--border-dark)! outline-0! ring-0! z-80 text-(--black)! dark:text-white!',
|
||||
itemLeadingIcon: 'text-(--black)! dark:text-white!'
|
||||
}
|
||||
|
||||
// },
|
||||
// modal: {
|
||||
// slots: {
|
||||
// overlay: 'dark:bg-(--main-dark)/90',
|
||||
// },
|
||||
// },
|
||||
// tooltip: {
|
||||
// slots: {
|
||||
// content: 'max-w-60 sm:max-w-100 bg-(--main-light)! dark:bg-(--black)! w-full h-full',
|
||||
// text: 'whitespace-normal',
|
||||
// },
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user