mirror of https://github.com/luizdepra/hugo-coder.git

Rabin Adhikari
06.00.2021 67f278f1b4d1a05d1389b3733ed2a0d7dca5dc45
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
@mixin notices_dark {
  .notice {
    .notice-title {
      border-bottom: 1px solid $bg-color-dark;
    }
  }
}
 
body.colorscheme-dark {
  @include notices_dark();
}
 
body.colorscheme-auto {
  @media (prefers-color-scheme: dark) {
    @include notices_dark();
  }
}