Skip to content

Commit 307a229

Browse files
authored
Update syntax highlighting (#24)
1 parent fee3f08 commit 307a229

File tree

1 file changed

+23
-9
lines changed

1 file changed

+23
-9
lines changed

docs/_sass/vendors/highlight/dracula.scss

Lines changed: 23 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,23 +11,37 @@
1111
* @author Chris Bracco <[email protected]>
1212
* @author Zeno Rocha <[email protected]>
1313
* @author Piruin Panichphol <[email protected]>
14+
*
15+
* This has been modified to adapt the theme to Bow OpenAPI visual identity
1416
*/
1517

1618
/*
1719
* Variables
1820
*/
1921

22+
// $dt-gray-dark: #282a36; // Background
23+
// $dt-gray: #44475a; // Current Line & Selection
24+
// $dt-gray-light: #f8f8f2; // Foreground
25+
// $dt-blue: #6272a4; // Comment
26+
// $dt-cyan: #8be9fd;
27+
// $dt-green: #50fa7b;
28+
// $dt-orange: #ffb86c;
29+
// $dt-pink: #ff79c6;
30+
// $dt-purple: #bd93f9;
31+
// $dt-red: #ff5555;
32+
// $dt-yellow: #f1fa8c;
33+
2034
$dt-gray-dark: #282a36; // Background
2135
$dt-gray: #44475a; // Current Line & Selection
2236
$dt-gray-light: #f8f8f2; // Foreground
2337
$dt-blue: #6272a4; // Comment
24-
$dt-cyan: #8be9fd;
25-
$dt-green: #50fa7b;
26-
$dt-orange: #ffb86c;
27-
$dt-pink: #ff79c6;
28-
$dt-purple: #bd93f9;
29-
$dt-red: #ff5555;
30-
$dt-yellow: #f1fa8c;
38+
$dt-cyan: #4bbacd;
39+
$dt-green: lighten(#4bbacd, 5);
40+
$dt-orange: lighten(#4bbacd, 35);
41+
$dt-pink: lighten(#1d263f, 45);
42+
$dt-purple: lighten(#4bbacd, 15);
43+
$dt-red: darken(#4bbacd, 20);
44+
$dt-yellow: #f8f8f2;
3145

3246
/*
3347
* Styles
@@ -97,7 +111,7 @@ $dt-yellow: #f1fa8c;
97111
}
98112

99113
.bp {
100-
font-style: italic;
114+
// font-style: italic;
101115
}
102116

103117
.c,
@@ -129,7 +143,7 @@ $dt-yellow: #f1fa8c;
129143
.vg,
130144
.vi,
131145
.vm {
132-
font-style: italic;
146+
// font-style: italic;
133147
}
134148

135149
.na,

0 commit comments

Comments
 (0)