LuckFire / amoled-cord

A basically pitch black theme for Discord. Lights out, baby!
MIT License
422 stars 282 forks source link

More Bugs #22

Closed BigFlubba closed 2 years ago

BigFlubba commented 2 years ago

After the update it broke my custom CSS, how would this be fixed.

/*embed redesign*/
:root{
    --embed-border-radius: 8px;
}
.embed-IeVjo6 {
    border-radius: var(--embed-border-radius);
}
.embed-IeVjo6 code{
    background: var(--background-secondary);
}
:root{
    --embed-line-width: 256px;
}
.embedWrapper-lXpS3L{
}
.embedFull-2tM8-- {

    border-left: calc(4px + var(--embed-line-width)) solid var(--background-accent);
    background: var(--background-secondary);
}
.grid-1nZz7S {
    margin-left: calc( -1 * var(--embed-line-width));
    z-index: 1;
}
.embedFull-2tM8--:after, .embedFull-2tM8--:before{
    content: "";
    height: 100%;
    width: var(--embed-line-width);
    position: absolute;
    top: 0;
    left: calc(-1 * var(--embed-line-width));
}
.embedFull-2tM8--:after{
    background: linear-gradient(to right, transparent, var(--background-secondary));
}
.embedFull-2tM8--:before{
    background: var(--background-secondary);
    opacity: .8;
}

causes this to happen image

LuckFire commented 2 years ago
/*embed redesign*/
:root{
    --embed-border-radius: 8px;
}
.embed-IeVjo6 {
    border-radius: var(--embed-border-radius);
}
.embed-IeVjo6 code{
    background: var(--background-light);
}
:root{
    --embed-line-width: 256px;
}
.embedWrapper-lXpS3L{
}
.embedFull-2tM8-- {
    border-left: calc(4px + var(--embed-line-width)) solid var(--background-accent);
    background: var(--background-light);
}
.grid-1nZz7S {
    margin-left: calc( -1 * var(--embed-line-width));
    z-index: 1;
}
.embedFull-2tM8--:after, .embedFull-2tM8--:before{
    content: "";
    height: 100%;
    width: var(--embed-line-width);
    position: absolute;
    top: 0;
    left: calc(-1 * var(--embed-line-width));
}
.embedFull-2tM8--:after{
    background: linear-gradient(to right, transparent, var(--background-light));
}
.embedFull-2tM8--:before{
    background: var(--background-light);
    opacity: .8;
}