/* ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
 * ┃ ██████ ██████ ██████       █      █      █      █      █ █▄  ▀███ █       ┃
 * ┃ ▄▄▄▄▄█ █▄▄▄▄▄ ▄▄▄▄▄█  ▀▀▀▀▀█▀▀▀▀▀ █ ▀▀▀▀▀█ ████████▌▐███ ███▄  ▀█ █ ▀▀▀▀▀ ┃
 * ┃ █▀▀▀▀▀ █▀▀▀▀▀ █▀██▀▀ ▄▄▄▄▄ █ ▄▄▄▄▄█ ▄▄▄▄▄█ ████████▌▐███ █████▄   █ ▄▄▄▄▄ ┃
 * ┃ █      ██████ █  ▀█▄       █ ██████      █      ███▌▐███ ███████▄ █       ┃
 * ┣━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┫
 * ┃ Copyright (c) 2017, the Perspective Authors.                              ┃
 * ┃ ╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ┃
 * ┃ This file is part of the Perspective library, distributed under the terms ┃
 * ┃ of the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ┃
 * ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ */

perspective-workspace,
perspective-workspace[theme="Pro Dark"],
perspective-indicator[theme="Pro Dark"] {
    --psp-theme-name: "Pro Dark";
}

perspective-workspace perspective-viewer {
    --psp-status-bar--height: 39px;
    --psp-plugin-selector--height: 47px;
}

perspective-workspace perspective-viewer.widget-maximize {
    --modal-panel--margin: -4px 0 -4px 0;
    --psp-status-bar--border-radius: 6px 0 0 0;
    --psp-main-column--margin: 3px 0 3px 3px;
    --psp-main-column--border: 1px solid var(--psp-inactive--color);
    --psp-main-column--border-width: 1px 0px 1px 1px;
    --psp-main-column--border-radius: 6px 0 0 6px;
    --settings-button--margin: 10px 0 0 0;
}

perspective-workspace {
    /* perspective-workspace-pro-base */
    font-family:
        "ui-monospace", "SFMono-Regular", "SF Mono", "Menlo", "Consolas",
        "Liberation Mono", monospace;
    --open-settings-button--content: "expand_more";
    --close-settings-button--content: "expand_less";
    --close-button--content: "\2715";
    --master-divider--background-color: #243136;
    --menu-maximize--content: "fullscreen";
    --menu-minimize--content: "fullscreen_exit";
    --menu-duplicate--content: "call_split";
    --menu-master--content: "cast";
    --menu-detail--content: "notes";
    --menu-export--content: "file_download";
    --menu-copy--content: "file_copy";
    --menu-reset--content: "autorenew";
    --menu-link--content: "link";
    --menu-unlink--content: "link_off";
    --menu-newmenu--content: "add";
    --menu-close--content: "close";
    --menu-new--content: "description";
    --menu-newview--content: "file_copy";

    --psp-workspace--tabbar--border: 1px solid var(--psp-inactive--color);
    --psp-workspace--tabbar--border-width: 0px 1px 1px 1px;
    --psp-workspace--tabbar--border-radius: 6px;
    --psp-workspace--tabbar--border-color: var(--psp-inactive--color);
    --psp-workspace--tabbar-tab--border-width: 1px 1px 0px 1px;

    /* Workspace */
    --psp-icon--column-drag-handle--mask-image: url("../svg/drag-handle.svg");
    --psp-icon--bookmarks--mask-image: url("../svg/bookmark-icon.svg");

    /* perspective-viewer-pro-dark--colors */
    background-color: #242526;
    --psp-workspace--split-panel-handle--background-color: #242526;
    color: white;
    --psp--color: white;
    --psp-active--color: #2770a9;
    --psp-error--color: #ff9485;
    --psp-inactive--color: #61656e;
    --psp-inactive--border-color: #4c505b;
    --psp--background-color: #242526;
    --psp-active--background: rgba(39, 113, 170, 0.5);
    --psp-expression--operator--color: #c5c9d0;
    --psp-expression--function--color: #22a0ce;
    --psp-expression--error--color: rgb(255, 136, 136);
    --psp-calendar--filter: invert(1);
    --psp-input--filter: invert(1);
    --psp-warning--color: #242526;
    --psp-warning--background: var(--psp--color);

    --psp-icon--select-arrow--mask-image: var(
        --psp-icon--select-arrow-light--mask-image
    );

    --psp-icon--select-arrow-hover--mask-image: var(
        --psp-icon--select-arrow-dark--mask-image
    );

    /* Syntax */
    --psp-code-editor--symbol--color: white;
    --psp-code-editor--literal--color: #7dc3f0;
    --psp-code-editor--operator--color: rgb(23, 166, 123);
    --psp-code-editor--comment--color: rgb(204, 120, 48);
    --psp-code-editor--column--color: #e18ee1;

    background-color: #000202;
    color: white;
    --workspace-tabbar--background-color: #242526;
    --workspace-secondary--color: #c5c9d0;
    --psp-workspace--tabbar--border: 1px solid var(--psp-inactive--color);
    --psp-workspace--tabbar--border-width: 1px 1px 1px 1px;
    --psp-workspace--tabbar--border-radius: 6px;
    --psp-workspace--tabbar--border-color: var(--psp-inactive--color);
    --psp-workspace--tabbar-tab--border-width: 1px 1px 0 1px;
}

perspective-viewer[theme="Pro Dark"].workspace-master-widget {
    --psp--background-color: #242526;
}

perspective-workspace-menu {
    font-family:
        "ui-monospace", "SFMono-Regular", "SF Mono", "Menlo", "Consolas",
        "Liberation Mono", monospace;
    font-weight: 300;
    background: #2a2c2f !important;
    color: white !important;
    border: 1px solid #3b3f46 !important;
}
