Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_variables.sass « sass « assets - github.com/onweru/hugo-swift-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 9399fd00f7d9ed9c9d426161b26989dfe74cfd06 (plain)
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
$padding: 10px
$margin: 25px
$font-path: '../fonts'
$icons: '../images/icons/'
$copy-icon-path: '#{$icons}copy.svg'
$next-icon-path: '#{$icons}next.svg'
$reply-icon-path: '#{$icons}reply.svg'
$close-icon-path: '#{$icons}close.svg'
$never-icon-path: '#{$icons}sitting.svg'

// #161d21; // #1F2A2F; // #132433; // #24292e;
html
  --light: #fff
  --dark: #010101
  --gray: #f5f5f5
  --bubble: #111
  --accent: var(--gray)
  --bg: var(--light)
  --text: var(--dark)
  --theme: #ef7f1a
  --font: 'Metropolis', sans-serif
  --italic: 'Volkhov' // italic font

@media (prefers-color-scheme: dark)
  *
    box-shadow: none !important
  html
    --bg: var(--dark)
    --text: var(--light)
    --accent: var(--bubble)

%narrow
  max-width: 750px
  margin: 0 auto

@mixin viewport($width: 1024px, $margin: 25px)
  max-width: $width
  margin: $margin auto
  @content

@mixin shadow($opacity: 0.17)
  box-shadow: 0 0 3rem rgba(0,0,0,$opacity)
  &:hover
    box-shadow: 0 0 5rem rgba(0,0,0, (1.5 * $opacity))