.ns-notice {
    @apply text-white;
    &
    h1, h2, h3, h4, h5 {
        @apply text-primary;
    }

    p, span {
        @apply text-primary;
    }

    &.danger {
        @apply border-danger-tertiary bg-danger-primary;

        h1, h2, h3, h4, h5 {
            @apply text-danger-tertiary;
        }

        p > a {
            @apply text-danger-tertiary;
            &:hover {
                @apply underline;
            }
        }
    
        pre {
            @apply bg-pre text-white;
        }
    }
    
    &.warning {
        @apply border-warning-tertiary bg-warning-primary;

        h1, h2, h3, h4, h5 {
            @apply text-warning-tertiary;
        }

        p > a {
            @apply text-warning-tertiary;
            &:hover {
                @apply underline;
            }
        }
    
        pre {
            @apply bg-pre text-white;
        }
    }
    
    &.success {
        @apply border-success-tertiary bg-success-primary;

        h1, h2, h3, h4, h5 {
            @apply text-success-tertiary;
        }

        p > a {
            @apply text-success-tertiary;
            &:hover {
                @apply underline;
            }
        }
    
        pre {
            @apply bg-pre text-white;
        }
    }
    
    &.error {
        @apply border-error-secondary bg-error-primary text-white;

        h1, h2, h3, h4, h5 {
            @apply text-error-tertiary;
        }

        p {
            @apply text-primary;
            a {
                @apply text-error-tertiary;
                &:hover {
                    @apply underline;
                }
            }
        }
    
        pre {
            @apply bg-pre text-white;
        }
    }
    
    &.info {
        @apply border-info-tertiary bg-info-primary;

        h1, h2, h3, h4, h5 {
            @apply text-info-tertiary;
        }

        p {
            @apply text-primary;
            & > a {
                @apply text-info-secondary;
                &:hover {
                    @apply underline;
                }
            }
        }
    
        pre {
            @apply bg-pre text-white;
        }
    }
}

.ns-normal-text {
    @apply text-primary;
}