diff --git a/apps/dashboard/src/lib/components/Course/components/Lesson/Materials/index.svelte b/apps/dashboard/src/lib/components/Course/components/Lesson/Materials/index.svelte index 66522178..6a5334f8 100644 --- a/apps/dashboard/src/lib/components/Course/components/Lesson/Materials/index.svelte +++ b/apps/dashboard/src/lib/components/Course/components/Lesson/Materials/index.svelte @@ -264,6 +264,7 @@ isLoading={$isLoading} isDisabled={$isLoading} variant={VARIANTS.OUTLINED} + disableScale > AI diff --git a/apps/dashboard/src/lib/components/PrimaryButton/constants.js b/apps/dashboard/src/lib/components/PrimaryButton/constants.js index 214b9b81..225cd44f 100644 --- a/apps/dashboard/src/lib/components/PrimaryButton/constants.js +++ b/apps/dashboard/src/lib/components/PrimaryButton/constants.js @@ -25,7 +25,7 @@ export const VARIANTS_CLASS = { [VARIANTS.CONTAINED_SUCCESS]: 'bg-green-700 hover:bg-green-900 text-white', [VARIANTS.CONTAINED_DANGER]: 'bg-red-700 hover:bg-red-900 text-white', [VARIANTS.OUTLINED]: - 'border border-black hover:bg-neutral-600 hover:text-white text-black dark:text-white', + 'border border-black dark:border-white hover:bg-neutral-600 hover:text-white text-black dark:text-white', [VARIANTS.NONE]: 'border-none hover:border-black-300 hover:bg-gray-200 dark:hover:bg-neutral-800 text-black', [VARIANTS.TEXT]: 'text-black hover:underline', diff --git a/apps/dashboard/src/lib/components/PrimaryButton/index.svelte b/apps/dashboard/src/lib/components/PrimaryButton/index.svelte index 810bc7a6..3dcf43e4 100644 --- a/apps/dashboard/src/lib/components/PrimaryButton/index.svelte +++ b/apps/dashboard/src/lib/components/PrimaryButton/index.svelte @@ -12,16 +12,19 @@ export let disablePadding = false; export let isDisabled = false; export let isLoading = false; + export let disableScale = false;