mirror of https://github.com/lxndrblz/anatole.git

Andreas Deininger
07.57.2025 acb0c1788976af1601ac300b9206e1c898a29d5b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
@use 'sass:color' as color;
@use 'modules/color_theme' as colorTheme;
@use 'modules/variables' as var;
 
.notice {
  display: flex;
  flex-direction: column;
 
  @include colorTheme.themed() {
    background-color: color.mix(colorTheme.t('info'), colorTheme.t('accent'), 40%);
  }
 
  &--update {
    @include colorTheme.themed() {
      background-color: color.mix(colorTheme.t('success'), colorTheme.t('accent'), 40%);
    }
  }
 
  &--warning {
    @include colorTheme.themed() {
      background-color: color.mix(colorTheme.t('danger'), colorTheme.t('accent'), 40%);
    }
  }
 
  &__title {
    background-color: colorTheme.t('info');
    align-self: flex-end;
    font-weight: 300;
    letter-spacing: 0.025em;
    padding: 0.2rem 0.5rem 0.2rem 0.5rem;
 
    @include colorTheme.themed() {
      color: colorTheme.t('accent');
    }
 
    &--update {
      background-color: colorTheme.t('success');
    }
 
    &--warning {
      background-color: colorTheme.t('danger');
    }
  }
 
  &__content {
    padding: 8px 8px 1rem 1rem;
  }
}