h_modals 0.1.3

A library for basic modals.
Documentation
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

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

.modal-top{
    position: fixed;
    top: 8%;
    left: 50%;
    transform: translateX(-50%);
}
  
  
.bg-error {
    background-color: oklch(var(--er) / var(--tw-bg-opacity)) !important;
}
  
.bg-success {
    background-color: oklch(var(--su) / var(--tw-bg-opacity)) !important;
}

.bg-warning {
    background-color: oklch(var(--wa) / var(--tw-bg-opacity)) !important;
}
  
.bg-neutral {
    background-color: oklch(var(--n) / var(--tw-bg-opacity)) !important;
}
  
.blur-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 998;
}

.modal-box {
    background-color: oklch(var(--b1) / var(--tw-bg-opacity));
    width: fit-content;
}