mirror of https://github.com/onweru/compose.git

weru
24.38.2023 9412f10b0de552fe15dc98faf7e56ecd67f45c52
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
49
50
51
html
  --color-mode: "light"
  --light: #fff
  --dark:  rgb(28,28,30)
  --haze: #f2f5f7
  --bubble: rgb(36,36,38)
  --accent: var(--haze)
  --bg: var(--light)
  --code-bg: var(--accent)
  --overlay: var(--light)
  --text: #111
  --font: 'Metropolis', sans-serif
  --border-color: #eee
  --inline-color: darkgoldenrod
  --theme: rgb(52,199,89)
  --ease: ease
  --search-border-color: transparent
  --next-icon-path: url(../images/icons/double-arrow.svg)
  --never-icon-path: url(../images/sitting.svg)
 
  @mixin darkmode
    --color-mode: "dark"
    --theme: rgb(48,209,88)
    --bg: var(--dark)
    --text: #eee
    --accent: var(--bubble)
    --overlay: var(--bubble)
    --border-color: transparent
    --search-bg: var(--accent)
    --search-border-color: var(--accent)
    *
      box-shadow: none !important
 
  &[data-mode="dark"]
    @include darkmode
    .color
      &_choice
        &::after
          background-image: var(--moon-icon)
 
  &.dark:not([data-mode="light"])
    @media (prefers-color-scheme: dark)
      @include darkmode
 
%narrow
  max-width: 750px
  margin: 0 auto
 
blockquote
  + .highlight_wrap
    margin-top: 2.25rem