#Modal is transparent

5 messages ยท Page 1 of 1 (latest)

bronze anvil
#

What could could be the reason why my mantine modal is transparent

inland plover
#

You might have ssome styles in your application that do that

bronze anvil
#

This is my :

@tailwind base;
@tailwind components;
@tailwind utilities;

/* ๐Ÿ‘‡ Make sure the styles are applied in the correct order */
@layer mantine, mantine-datatable;

@layer utilities {
  .bg-primary {
    @apply bg-brand-600;
  }
  .text-primary {
    @apply text-brand-600;
  }
  .border-primary {
    @apply border-brand-600;
  }
}

/* For light mode */
:root[data-mantine-color-scheme="light"] {
  --mantine-color-body: var(--mantine-color-primary-0) !important;
}

/* For dark mode */
:root[data-mantine-color-scheme="dark"] {
  --mantine-color-body: #282827 !important;
}

#

does the modal have style to change the bg?

bronze anvil