@media (prefers-color-scheme: dark) {

    html {
        background-color: #181a1b !important;
    }
    html, body, input, textarea, select, button {
        background-color: #181a1b !important;
    }

    html, body, input, textarea, select, button,uni-view {
        border-color: #575757;
        color: rgba(202, 202, 202,0.6);
    }
    a {
        color: rgba(202, 202, 202,0.8);
        text-decoration-color: currentcolor;
    }
    .logo-wrapper a,nav a,.toc a,.beian a,h1.post-title,h1.post-title a{
        color: rgba(202, 202, 202,0.8) !important;
    }

    table ,thead {
        border-color: #4c4c4c;
        background-color: rgba(202, 202, 202,0.3)  !important;
    }
    img {
        -webkit-filter: brightness(0.6);
        filter: brightness(0.6);
    }
    .post .post-toc {
        background-color: rgba(202, 202, 202,0.3)  !important;
        background-image: none;
        box-shadow: rgba(0, 0, 0, 0.13) 1px 1px 2px;
    }
    .post .post-content h2{
        color: rgba(202, 202, 202,0.6) !important;
        background-color: rgba(42, 161, 152, 0.3);
    }
    .hl-pre{
        background-color: #2d2d2d !important
    }
    .hl-code{
        background: none !important;
    }
    .tox .tox-toolbar, .tox .tox-toolbar__overflow, .tox .tox-toolbar__primary {
        background-color: rgb(24, 26, 27) !important;
        /*color: #ffffff !important;*/
    }
    .tox-tbtn , .tox-tbtn__select-label{
        color: rgb(179, 198, 213) !important;
    }
    svg {
        fill: #fff !important;
    }
    ::placeholder {
        color: #bab5ab;
    }
    ::selection {
        background-color: #005ccc;
        color: #ffffff;
    }
    ::-moz-selection {
        background-color: #005ccc;
        color: #ffffff;
    }
    input:-webkit-autofill,
    textarea:-webkit-autofill,
    select:-webkit-autofill {
        background-color: #545b00 !important;
        color: #e8e6e3 !important;
    }
    ::-webkit-scrollbar {
        background-color: #1c1e1f;
        color: #c5c1b9;
    }
    ::-webkit-scrollbar-thumb {
        background-color: #2a2c2e;
    }
    ::-webkit-scrollbar-thumb:hover {
        background-color: #323537;
    }
    ::-webkit-scrollbar-thumb:active {
        background-color: #3d4043;
    }
    ::-webkit-scrollbar-corner {
        background-color: #181a1b;
    }
    * {
        scrollbar-color: #2a2c2e #1c1e1f;
    }
    .slideout-panel {
        background-color: rgb(25, 26, 27) !important;
    }
    button, html input[type="button"], input[type="reset"], input[type="submit"] {
        background-color: #2d2d2d !important;
    }
    .post .post-copyright, .post .post-footer,.v .vwrap ,.tox-tinymce,.tox:not([dir="rtl"]) .tox-toolbar__group:not(:last-of-type){
        border-color: #2d2d2d !important;
    }
    .post .post-content blockquote{
        color: rgba(202, 202, 202,0.7) !important;
    }

    /*搜索全屏页面调整*/
    .morphsearch.open{
        background-color: #181a1b;
    }
    .morphsearch-close::before,
    .morphsearch-close::after {
        opacity: 0.6;
        background: white;
    }

    /*手机版式顶部菜单*/
    .mobile-menu{
        background-color: #181a1b !important;
    }
    .mobile-navbar{
        background-color: #181a1b !important;
    }

    /*留言部分*/
    .v .vlist .vcard .vhead .vsys{
        background-color: rgba(46, 38, 17, 0.6);
    }
    .v .vlist .vcard .vh{
        border-bottom: 1px dashed rgba(245,245,245,0.5);
    }


    /*登陆页面*/
    .tox .tox-dialog-wrap__backdrop {
        background-color: rgba(255,255,255,.25) !important;
    }
    .tox .tox-dialog{
        background: none !important;
    }
    .tox .tox-dialog__header{
        background-color: rgba(188,188,188,0.7) !important;
    }
    .tox .tox-dialog__body-iframe .tox-navobj iframe{
        -webkit-filter: brightness(0.6);
        filter: brightness(0.6);
    }

    .tox .tox-notification--error{
        background-color: rgba(45, 45, 45,0.9)!important;
        border-color: #3090e4 !important;
    }
    .tox .tox-notification--error p{
        color: rgba(202, 202, 202,0.8) !important;
    }
    .tox .tox-icon.tox-tbtn__icon-wrap{
        -webkit-filter: brightness(0.6);
        filter: brightness(0.6);
    }

}

