_dark.scss 1.3 KB
Newer Older
C
chomik 已提交
1 2
// stylelint-disable declaration-no-important

C
codecalm 已提交
3
$dark-text: $light;
C
codecalm 已提交
4 5

@include dark-mode {
6
  & {
C
codecalm 已提交
7 8
    color: $dark-text;
    background: $dark-darken;
C
codecalm 已提交
9
  }
C
chomik 已提交
10 11

  .card,
C
codecalm 已提交
12 13 14
  .navbar-light,
  .footer,
  .modal-content {
C
codecalm 已提交
15
    background: $dark;
16
    color: inherit;
C
codecalm 已提交
17 18
  }

19 20
  .card {
    border-color: transparent;
C
chomik 已提交
21
  }
C
chomik 已提交
22

C
codecalm 已提交
23 24 25
  .btn-secondary,
  .form-file-button {
    @include button-variant($dark-lighten, $border-color, $dark-text, rgba($dark, 0), $border-color, $dark-text);
26
    background-image: none;
C
codecalm 已提交
27 28 29
  }

  .form-check-input:not(:checked),
C
codecalm 已提交
30 31 32 33 34 35
  .form-select,
  .form-file-text,
  .form-control,
  .flatpickr-input.flatpickr-input,
  .form-selectgroup-check,
  .form-imagecheck-figure:before {
C
codecalm 已提交
36 37 38 39
    background-color: $dark-darken;
    color: $dark-text;
  }

C
codecalm 已提交
40 41 42 43
  .input-group-flat .input-group-text {
    background-color: $dark-darken;
  }

C
codecalm 已提交
44 45 46 47
  .navbar {
    box-shadow: 0 0 0 1px $dark-darken;
  }

C
codecalm 已提交
48 49 50 51
  .highlight {
    background-color: $dark-darken;
  }

C
codecalm 已提交
52 53
  .avatar {
    background-color: $dark-lighten;
C
chomik 已提交
54
  }
C
codecalm 已提交
55

56 57
  .avatar-list-stacked .avatar {
    box-shadow: 0 0 0 2px $dark;
C
codecalm 已提交
58
  }
C
codecalm 已提交
59

C
codecalm 已提交
60
  .markdown,
C
codecalm 已提交
61 62
  .markdown>*,
  .close {
C
codecalm 已提交
63 64 65
    color: inherit;
  }

66
  .apexcharts-text {
C
codecalm 已提交
67
    fill: $dark-text;
C
codecalm 已提交
68 69
  }

70 71
  .apexcharts-legend-text {
    color: inherit !important;
C
codecalm 已提交
72
  }
C
codecalm 已提交
73

74 75
  .navbar-brand-autodark {
    @include autodark-image;
C
codecalm 已提交
76
  }
C
chomik 已提交
77 78
}