Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions adoc/config/rouge/lib/rouge/themes/sycl_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ class SYCLspec < Github
style Comment, :fg => '#9acd32'
style Comment::Multiline, :fg => '#9acd32'
style Comment::Single, :fg => '#9acd32'
# Give preprocessing statements a different color from comments.
# DarkOrchid3 (#9a32cd) is close to what Visual Studio Code uses in its
# Light Modern theme. This is the same color we use for sycl_data_types
# (above), but those are very uncommon in our code listings now.
style Comment::Preproc, :fg => '#9a32cd'
style Comment::PreprocFile, :fg => '#9a32cd'
# Use a clearer white background
style Text, :bg => '#ffffff'

Expand Down