@use "variables" as *;

code {
    font-size: $font-size-small;
    font-family: inherit;
    color: $color-text-secondary;
    background: $color-surface-alt;
    padding: 2px 6px;
    border-radius: 3px;
    border: 1px solid $color-border;

    &.is-post-publish {
        color: #1e7e34;
        background: #eaf7ee;
        border-color: #b7e4c7;
    }

    &.is-post-draft {
        color: #856404;
        background: #fff8e1;
        border-color: #ffe08a;
    }

    &.is-post-private {
        color: #5a3e85;
        background: #f3ecff;
        border-color: #d6c6ff;
    }

    &.is-post-future {
        color: #0c5460;
        background: #e8f7fa;
        border-color: #b8e2ea;
    }
}