.root:pretty:dark .color-box {
    -fx-background-color: linear-gradient(from 100% 0% to 0% 100%, derive(-color-bg-default, 5%) 40%, derive(-color-bg-default, 1%) 50%, derive(-color-bg-default, 5%) 100%);
    -fx-border-color: -color-border-default;
}

.root:performance:dark .color-box {
    -fx-background-color: derive(-color-bg-default, 5%);
    -fx-border-color: -color-border-default;
}

.root:pretty:light .color-box {
    -fx-background-color: linear-gradient(from 100% 0% to 0% 100%, derive(-color-bg-default, -8%) 40%, derive(-color-bg-default, -3%) 50%, derive(-color-bg-default, -8%) 100%);
    -fx-border-color: derive(-color-border-default, -10%);
}

.root:performance:light .color-box {
    -fx-background-color: derive(-color-bg-default, -8%);
    -fx-border-color: derive(-color-border-default, -10%);
}

.root:dark .color-box.gray {
    -fx-background-color: -color-foreground-base;
    -fx-border-color: -color-border-default;
}

.root:light .color-box.gray {
    -fx-background-color: -color-foreground-base;
    -fx-border-color: derive(-color-border-default, -10%);
}

.color-box > .separator .line {
    -fx-border-color: -color-border-default;
}


.root:pretty:light .color-box.blue {
    -fx-background-color: linear-gradient(from 100% 0% to 0% 100%, rgb(170, 130, 250, 0.08) 40%, rgb(87, 57, 200, 0.08) 50%, rgb(167, 137, 250, 0.08) 100%);
    -fx-border-color: rgba(80, 100, 150, 0.6);
}

.root:performance:light .color-box.blue {
    -fx-background-color: rgb(130, 130, 250, 0.08);
    -fx-border-color: rgba(80, 100, 150, 0.6);
}

.root:light .color-box.blue > .separator .line {
    -fx-border-color: rgba(80, 100, 150, 0.4);
}

.root:pretty:dark .color-box.blue {
    -fx-background-color: linear-gradient(from 100% 0% to 0% 100%, rgb(30, 30, 80, 0.8) 40%, rgb(27, 27, 65, 0.8) 50%, rgb(50, 37, 100, 0.8) 100%);
    -fx-border-color: rgba(80, 100, 150, 0.7);
}

.root:performance:dark .color-box.blue {
    -fx-background-color: rgb(30, 30, 80, 0.8);
    -fx-border-color: rgba(80, 100, 150, 0.7);
}

.root:dark .color-box.blue > .separator .line {
    -fx-border-color: rgba(80, 100, 150, 0.7);
}


.root:pretty:light .color-box.red {
    -fx-background-color: linear-gradient(from 100% 0% to 0% 100%, rgb(250, 100, 100, 0.06) 40%, rgb(245, 50, 50, 0.06) 50%, rgb(240, 90, 90, 0.06) 100%);
    -fx-border-color: rgba(150, 100, 80, 0.6);
}

.root:performance:light .color-box.red {
    -fx-background-color: rgb(250, 100, 100, 0.06);
    -fx-border-color: rgba(150, 100, 80, 0.6);
}

.root:light .color-box.red > .separator .line {
    -fx-border-color: rgba(150, 100, 80, 0.4);
}

.root:pretty:dark .color-box.red {
    -fx-background-color: linear-gradient(from 100% 0% to 0% 100%, rgb(80, 30, 40, 0.4) 40%, rgb(65, 30, 43, 0.4) 50%, rgb(100, 37, 57, 0.4) 100%);
    -fx-border-color: rgba(150, 100, 80, 0.4);
}

.root:performance:dark .color-box.red {
    -fx-background-color: rgb(80, 30, 30, 0.4);
    -fx-border-color: rgba(150, 100, 80, 0.4);
}

.root:dark .color-box.red > .separator .line {
    -fx-border-color: rgba(150, 100, 80, 0.4);
}


.root:pretty:light .color-box.yellow {
    -fx-background-color: linear-gradient(from 100% 0% to 0% 100%, rgb(180, 180, 30, 0.15) 40%, rgb(135, 135, 27, 0.15) 50%, rgb(200, 200, 37, 0.15) 100%);
    -fx-border-color: rgba(170, 170, 80, 0.7);
}

.root:performance:light .color-box.yellow {
    -fx-background-color: rgb(180, 180, 30, 0.15);
    -fx-border-color: rgba(170, 170, 80, 0.7);
}

.root:light .color-box.yellow > .separator .line {
    -fx-border-color: rgba(170, 170, 80, 0.5);
}

.root:pretty:dark .color-box.yellow {
    -fx-background-color: linear-gradient(from 100% 0% to 0% 100%, rgb(80, 80, 60, 0.4) 40%, rgb(65, 65, 57, 0.4) 50%, rgb(100, 100, 67, 0.4) 100%);
    -fx-border-color: rgba(150, 150, 80, 0.4);
}

.root:performance:dark .color-box.yellow {
    -fx-background-color: rgb(80, 80, 30, 0.4);
    -fx-border-color: rgba(150, 150, 80, 0.4);
}

.root:dark .color-box.yellow > .separator .line {
    -fx-border-color: rgba(170, 170, 80, 0.3);
}


.root:pretty:light .color-box.green {
    -fx-background-color: linear-gradient(from 100% 0% to 0% 100%, rgb(30, 180, 30, 0.1) 40%, rgb(20, 120, 20, 0.15) 50%, rgb(37, 200, 37, 0.1) 100%);
    -fx-border-color: rgba(100, 150, 80, 0.6);
}

.root:performance:light .color-box.green {
    -fx-background-color: rgb(30, 180, 30, 0.1);
    -fx-border-color: rgba(100, 150, 80, 0.6);
}

.root:light .color-box.green > .separator .line {
    -fx-border-color: rgba(100, 150, 80, 0.4);
}

.root:pretty:dark .color-box.green {
    -fx-background-color: linear-gradient(from 100% 0% to 0% 100%, rgb(30, 80, 60, 0.3) 40%, rgb(20, 60, 50, 0.3) 50%, rgb(37, 100, 57, 0.3) 100%);
    -fx-border-color: rgba(100, 190, 80, 0.3);
}

.root:performance:dark .color-box.green {
    -fx-background-color: rgb(30, 80, 30, 0.3);
    -fx-border-color: rgba(100, 190, 80, 0.3);
}

.root:dark .color-box.green > .separator .line {
    -fx-border-color: rgba(100, 190, 80, 0.2);
}