Blame view

src/design/theme.less 1.09 KB
Vben authored
1
.bg-white {
2
  background-color: @component-background !important;
Vben authored
3
4
5
6
}

html[data-theme='light'] {
  .text-secondary {
vben authored
7
    color: rgb(0 0 0 / 45%);
Vben authored
8
  }
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23

  .ant-alert-success {
    background-color: #f6ffed;
    border: 1px solid #b7eb8f;
  }

  .ant-alert-error {
    background-color: #fff2f0;
    border: 1px solid #ffccc7;
  }

  .ant-alert-warning {
    background-color: #fffbe6;
    border: 1px solid #ffe58f;
  }
24
25
26
27

  :not(:root):fullscreen::backdrop {
    background-color: @layout-body-background !important;
  }
Vben authored
28
29
}
30
[data-theme='dark'] {
Vben authored
31
32
33
34
35
36
37
38
39
  .text-secondary {
    color: #8b949e;
  }

  .ant-card-grid-hoverable:hover {
    box-shadow: 0 3px 6px -4px rgb(0 0 0 / 48%), 0 6px 16px 0 rgb(0 0 0 / 32%),
      0 9px 28px 8px rgb(0 0 0 / 20%);
  }
40
41
42
43
  .ant-card-grid {
    box-shadow: 1px 0 0 0 #434343, 0 1px 0 0 #434343, 1px 1px 0 0 #434343, 1px 0 0 0 #434343 inset,
      0 1px 0 0 #434343 inset;
  }
44
45

  .ant-calendar-selected-day .ant-calendar-date {
vben authored
46
    color: rgb(0 0 0 / 80%);
47
48
49
  }

  .ant-select-tree li .ant-select-tree-node-content-wrapper.ant-select-tree-node-selected {
vben authored
50
    color: rgb(0 0 0 / 90%);
51
  }
Vben authored
52
}