-
Notifications
You must be signed in to change notification settings - Fork 64
/
_variables.sass
44 lines (38 loc) · 970 Bytes
/
_variables.sass
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: #161d21
--gray: #f5f5f5
--bubble: #1f2A2f
--accent: var(--gray)
--bg: var(--light)
--text: var(--dark)
--font: 'Metropolis', sans-serif
--theme: #ef7f1a
@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))