Skip to content

Commit 523166c

Browse files
committed
Add syntax highlighting
1 parent 7bd9840 commit 523166c

File tree

5 files changed

+100
-26
lines changed

5 files changed

+100
-26
lines changed

src/styles/app.scss

Lines changed: 1 addition & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -58,20 +58,6 @@ pre > code {
5858
white-space: pre;
5959
}
6060

61-
@mixin code-highlight-white {
62-
color: white;
63-
background-color: rgba(black, 0.3);
64-
border: 1px solid #E1E1E1;
65-
border-radius: $border-radius;
66-
}
67-
68-
@mixin code-highlight-black {
69-
color: black;
70-
background-color: rgba(black, 0.05);
71-
border: 1px solid rgba(black, 0.25);
72-
border-radius: $border-radius;
73-
}
74-
7561
.button,
7662
button {
7763
display: inline-block;
@@ -270,7 +256,7 @@ a.brand {
270256
}
271257
}
272258
code {
273-
@include code-highlight-white();
259+
// @include code-highlight-white();
274260
}
275261
}
276262

@@ -293,9 +279,6 @@ a.brand {
293279
border-color: white;
294280
}
295281
}
296-
code {
297-
@include code-highlight-white();
298-
}
299282
}
300283

301284
.white {
@@ -316,9 +299,6 @@ a.brand {
316299
border-color: $gray;
317300
}
318301
}
319-
code {
320-
@include code-highlight-black();
321-
}
322302
}
323303

324304
.purple {
@@ -340,9 +320,6 @@ a.brand {
340320
border-color: white;
341321
}
342322
}
343-
code {
344-
@include code-highlight-white();
345-
}
346323
}
347324

348325
h3 {

0 commit comments

Comments
 (0)