@import url("schema.css");

.theme-preview {
    height: 100%;
    background: lightgrey;
}
.theme-preview__row {
    display: flex;
}
.theme-preview__color {
    position: relative;
    padding-top: 15%;
    flex: 1;
}
.theme-preview__color:before {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.theme-preview__color--primary {
    background: var(--primary-background);
    color: var(--primary-color);
}
.theme-preview__color--primary:before {
    content: 'primary';
}

.theme-preview__color--secondary {
    background: var(--secondary-background);
    color: var(--secondary-color);
}
.theme-preview__color--secondary:before {
    content: 'secondary';
}
.theme-preview__color--accent {
    
    background: var(--accent-background);
    color: var(--accent-color);
}
.theme-preview__color--accent:before {
    content: 'accent';
}

.theme-preview__buttons h2 { 
    text-align: center;
}

.btn{
    display: block;
    flex: 1;
}
.btn--primary{
    background: var(--primary-background);
    color: var(--primary-color);
}
.btn--primary.btn--hover{
    background: var(--primary-hover-background);
    color: var(--primary-hover-color);
}



.flex {
    display: flex;
}

.center {
    display: flex;
    align-items: center;
}

.stretch {
    display: flex;
    width: 20%;
}

.hover:hover {
        background-color: var(--secondary-background);

}

.hover_accent:hover {
        background-color: var(--accent-background);

}