aboutsummaryrefslogtreecommitdiff
path: root/sass/_syntax.scss
blob: 0f822d7131d09ab15aa1a4cf031f8dd0d53d2ad6 (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
// Syntax Highlighting
@mixin dark(
  $bg: #191919,
  $h1: #e65,
  $h2: #f91,
  $h3: #eb6,
  $h4: #ac3,
  $h5: #8db,
  $h6: #6ae,
  $h7: #d6e
) {
  #{--bg}: $bg;// background color
  #{--h1}: $h1;// red, support function
  #{--h2}: $h2;// orange, punctuation, constant, variable, json-key
  #{--h3}: $h3;// tan, entity/function name
  #{--h4}: $h4;// green, string
  #{--h5}: $h5;// teal, escape character
  #{--h6}: $h6;// blue, declaration, tag, property
  #{--h7}: $h7;// purple, operators
}
@mixin light(
  $bg: #f7f7f7,
  $h1: #a21,
  $h2: #930,
  $h3: #a50,
  $h4: #350,
  $h5: #286,
  $h6: #059,
  $h7: #a3c
) {
  #{--bg}: $bg;// background color
  #{--h1}: $h1;// red, support function
  #{--h2}: $h2;// orange, punctuation, constant, variable, json-key
  #{--h3}: $h3;// tan, entity/function name
  #{--h4}: $h4;// green, string
  #{--h5}: $h5;// teal, escape character
  #{--h6}: $h6;// blue, declaration, tag, property
  #{--h7}: $h7;// purple, operators
}