-
-
Notifications
You must be signed in to change notification settings - Fork 39
/
Copy pathstyles.scss
155 lines (121 loc) · 3.26 KB
/
styles.scss
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
@use "sass:selector";
@mixin codeAndFrontmatter($child) {
#{selector.unify(".cm-hmd-frontmatter", $child)},
#{selector.unify(".cm-math", $child)},
pre.HyperMD-codeblock #{$child} {
@content;
}
}
.cm-s-obsidian pre.HyperMD-codeblock span.cm-formatting-code-block {
color: var(--text-muted);
}
.cm-s-obsidian pre.HyperMD-codeblock .cm-keyword {
font-weight: normal;
}
.cm-s-obsidian {
.theme-dark & {
/*
Name: yoncé
Author: Thomas MacLean (http://github.com/thomasmaclean)
Original yoncé color scheme by Mina Markham (https://github.com/minamarkham)
*/
.cm-hmd-frontmatter,
pre.HyperMD-codeblock {
color: #d4d4d4;
}
@include codeAndFrontmatter(".cm-keyword") {
color: #00A7AA;
font-weight: normal;
}
@include codeAndFrontmatter(".cm-atom") {
color: #F39B35;
}
@include codeAndFrontmatter(".cm-number") {
color: #A06FCA;
}
@include codeAndFrontmatter("span.cm-type") {
color: #A06FCA;
}
/**/
@include codeAndFrontmatter(".cm-def") {
color: #98E342;
}
@include codeAndFrontmatter(".cm-property") {
color: #D4D4D4;
}
@include codeAndFrontmatter("span.cm-variable") {
color: #D4D4D4;
}
@include codeAndFrontmatter("span.cm-variable-2") {
color: #da7dae;
}
@include codeAndFrontmatter("span.cm-variable-3") {
color: #A06FCA;
}
@include codeAndFrontmatter(".cm-type.cm-def") {
color: #FC4384;
}
@include codeAndFrontmatter(".cm-property.cm-def") {
color: #FC4384;
}
@include codeAndFrontmatter(".cm-callee") {
color: #FC4384;
}
@include codeAndFrontmatter(".cm-operator") {
color: #FC4384;
}
@include codeAndFrontmatter(".cm-qualifier") {
color: #FC4384;
}
@include codeAndFrontmatter(".cm-tag") {
color: #FC4384;
}
@include codeAndFrontmatter(".cm-tag.cm-bracket") {
color: #D4D4D4;
}
@include codeAndFrontmatter(".cm-attribute") {
color: #A06FCA;
}
@include codeAndFrontmatter(".cm-comment") {
color: #696d70;
}
@include codeAndFrontmatter(".cm-comment.cm-tag") {
color: #FC4384
}
@include codeAndFrontmatter(".cm-comment.cm-attribute") {
color: #D4D4D4;
}
@include codeAndFrontmatter(".cm-string") {
color: #E6DB74;
}
@include codeAndFrontmatter(".cm-string-2") {
color: #F39B35;
}
@include codeAndFrontmatter(".cm-meta") {
color: #D4D4D4;
background: inherit;
}
@include codeAndFrontmatter(".cm-builtin") {
color: #FC4384;
}
@include codeAndFrontmatter(".cm-header") {
color: #da7dae;
}
@include codeAndFrontmatter(".cm-hr") {
color: #98E342;
}
@include codeAndFrontmatter(".cm-link") {
color: #696d70;
}
@include codeAndFrontmatter(".cm-error") {
border-bottom: 1px solid #C42412;
}
@include codeAndFrontmatter(".CodeMirror-activeline-background") {
background: #272727;
}
@include codeAndFrontmatter(".CodeMirror-matchingbracket") {
outline: 1px solid grey;
color: #D4D4D4 !important;
}
}
}