Skip to content

Commit 4123240

Browse files
Merge pull request rails#51724 from akhilgkrishnan/fix-document-css
Fix guides styling issue on light mode [ci skip] Fixes: rails#51723
2 parents ae2983a + 03a07c1 commit 4123240

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

guides/assets/stylesrc/_main.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,6 @@ body.guide {
278278
line-height: 1.5;
279279
margin: 1em 0;
280280
overflow: auto;
281-
color: #222;
282281
} // pre, code
283282

284283
p code, ul code {

guides/assets/stylesrc/highlight.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@
7171
.n { color: #f8f8f2; } /* Name */
7272
.o { color: #ff699b; } /* Operator */
7373
.p { color: #f8f8f2; } /* Punctuation */
74+
.pi { color: #c74646; } /* Punctuation.Indicator */
7475
.cm { color: #b4b4b3; } /* Comment.Multiline */
7576
.cp { color: #b4b4b3; } /* Comment.Preproc */
7677
.c1 { color: #b4b4b3; } /* Comment.Single */

0 commit comments

Comments
 (0)