.vc-color-block {
    aspect-ratio: 1/1;
    background: var(--color);
    height: 1rem;
    vertical-align: middle;
    border-radius: 4px;
    display: inline-block;
    user-select: none;
    margin-left: 2px;
}

.vc-color-bg {
    background: var(--color);
}

/* Light color in dark theme */
.theme-dark .vc-color-bg.vc-color-bg-invert,
.theme-light .vc-color-bg:not(.vc-color-bg-invert) {
    color: var(--background-tertiary);
}
