diff --git a/lib/rdoc/generator/template/darkfish/css/rdoc.css b/lib/rdoc/generator/template/darkfish/css/rdoc.css index c2e0d80917..84e6b48104 100644 --- a/lib/rdoc/generator/template/darkfish/css/rdoc.css +++ b/lib/rdoc/generator/template/darkfish/css/rdoc.css @@ -348,16 +348,16 @@ main h6 { } /* 13. Syntax Highlighting */ -.ruby-constant { color: #005cc5; } -.ruby-keyword { color: #d73a49; } -.ruby-ivar { color: #e36209; } -.ruby-operator { color: #005cc5; } -.ruby-identifier { color: #0f6e81; } -.ruby-node { color: #22863a; } -.ruby-comment { color: #6a737d; } -.ruby-regexp { color: #032f62; } -.ruby-value { color: #005cc5; } -.ruby-string { color: #032f62; } +.ruby-constant { color: #0366d6; } /* Bright blue for constants */ +.ruby-keyword { color: #d73a49; } /* Red for keywords */ +.ruby-ivar { color: #e36209; } /* Orange for instance variables */ +.ruby-operator { color: #005cc5; } /* Dark blue for operators */ +.ruby-identifier { color: #24292e; } /* Dark gray for identifiers */ +.ruby-node { color: #22863a; } /* Green for interpolation */ +.ruby-comment { color: #6a737d; } /* Gray for comments */ +.ruby-regexp { color: #032f62; } /* Navy for regular expressions */ +.ruby-value { color: #005cc5; } /* Dark blue for numeric values */ +.ruby-string { color: #22863a; } /* Green for strings */ code { background-color: #f0f4f8; /* Match pre background */ @@ -465,6 +465,7 @@ main h5, main h6 { main p { margin: 0 0 0.5em; line-height: 1.5em; + font-weight: 400; /* Added to ensure paragraphs are not too thin */ } main pre {