viewy 2.0.6

A web UI toolkit that combine the advantages of a design system and an ui library.
.tag {
    padding: sp(4) sp(10);
    background: var(--surface-blue-lighter);
    color: var(--color-accent);
    border-radius: sp(20);
    display: flex;
    align-items: center;
    width: max-content;
    gap: sp(4);
    position: relative;

    & > .badge {
        position: absolute;
        right: sp(-12);
        top: sp(-12);
    }
    &--destructive {
        background: var(--surface-red);
        color: var(--color-destructive);
    }
    &--warning {
        background: var(--surface-warning);
        color: var(--color-warning);
    }
    &--success {
        background: var(--surface-success);
        color: var(--color-success);
    }
}
.tag.clickable:hover {
    background: var(--surface-accent-darker);
    color: var(--color-accent);
}