style modal in dark mode
This commit is contained in:
@@ -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>
|
||||||
|
|
||||||
|
|||||||
@@ -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"
|
||||||
>
|
>
|
||||||
|
|||||||
Reference in New Issue
Block a user