style modal in dark mode

This commit is contained in:
Rotimi Best
2023-09-24 11:28:37 +01:00
parent 657e77f30f
commit 61826452c1
3 changed files with 3 additions and 3 deletions
@@ -51,7 +51,7 @@
<div class="{className} relative z-[100]"> <div class="{className} relative z-[100]">
<IconButton <IconButton
contained={true} contained={true}
color="text-primary-700 dark:bg-neutral-800" color="text-primary-700 dark:bg-neutral-500 dark:text-white"
size="large" size="large"
onClick={() => (openPopover = !openPopover)} onClick={() => (openPopover = !openPopover)}
> >
@@ -4,7 +4,7 @@
export let onClick; export let onClick;
export let contained; export let contained;
export let color = 'text-primary-700 bg-primary-200 dark:bg-gray-500'; export let color = 'text-primary-700 bg-primary-200 dark:bg-neutral-500';
export let size = 'small'; export let size = 'small';
</script> </script>
+1 -1
View File
@@ -31,7 +31,7 @@
<div <div
class="{maxWidth || 'container'} {size === 'sm' class="{maxWidth || 'container'} {size === 'sm'
? 'small' ? 'small'
: ''} bg-white dark:bg-black mx-auto {width} shadow-lg p-5 pt-2 rounded-md" : ''} bg-white dark:bg-neutral-800 mx-auto {width} shadow-lg p-5 pt-2 rounded-md"
on:click={(e) => e.stopPropagation()} on:click={(e) => e.stopPropagation()}
role="presentation" role="presentation"
> >