@import "./var.scss";
@import "./common.scss";
@import "./common/index.scss";
@import "./border_1px/index.scss";

html{
    min-width: 100vw;
    min-height: 100vh;
}

img {
    max-width: 100%;
    height: auto;
}

*{
    margin: 0;
    padding: 0;
}

// 不支持IE
// https://www.caniuse.com/#feat=css-variables
// https://www.cnblogs.com/WQLong/p/7792174.html
// 白天主题
.light{
    background-color: $light-sidenav-bg;
    color: $light-sidenav-color;
    transition: background-color .3s linear;
    // @at-root :root{
    //     --navbar-bg:#f4f6fb;
    // }

    --navbar-color:#000000;
    --navbar-hover:#00000021;
    --navbar-background:#f4f6fb;
    --test-image:url(/static/image/icon0.png);
}

// 黑夜主题
.dark{
   
    background-color: $dark-sidenav-bg;
    color: $dark-sidenav-color;
    transition: background-color .3s linear;
    // @at-root :root{
    //     --navbar-bg:#000;
    // }
    --aaa:asdsa;
    --navbar-color:#ffffff;
    --navbar-hover:rgba(255, 255, 255, 0.13);
    --navbar-background:#000000;
}