Skip to content

Commit 86f1f68

Browse files
committed
Don't mix light and dark mode on getting_started
1 parent d6d90ec commit 86f1f68

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

css/_scss/getting_started.scss

+2-4
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,8 @@
1717
}
1818

1919
pre {
20-
font-family: Monaco, Consolas, "Lucida Console", monospace;
21-
font-size: 12px;
22-
background-color: #031317;
23-
color: #93a1a1;
20+
@include light-code();
21+
font-size: 14px; // make things fit
2422
padding: 10px;
2523
margin-bottom: 1rem;
2624
}

pages/getting_started.html

+6-2
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,15 @@ <h2>Jasmine for Node.js</h2>
2828
<div class="option">
2929
<h2>Jasmine for Browsers</h2>
3030
<p>Add Jasmine to your package.json</p>
31-
<pre>npm install --save-dev jasmine-browser-runner jasmine-core</pre>
31+
<pre>npm install --save-dev \
32+
jasmine-browser-runner \
33+
jasmine-core</pre>
3234
<p>Initialize Jasmine in your project</p>
3335
<pre>npx jasmine-browser-runner init</pre>
3436
<p>Set jasmine as your test script in your package.json</p>
35-
<pre>"scripts": { "test": "jasmine-browser-runner runSpecs" }</pre>
37+
<pre>"scripts": {
38+
"test": "jasmine-browser-runner runSpecs"
39+
}</pre>
3640
<p>Run your tests</p>
3741
<pre>npm test</pre>
3842
<p>

0 commit comments

Comments
 (0)