Skip to content

Commit

Permalink
Add variable and function styles to base16 theme
Browse files Browse the repository at this point in the history
Variables:
- base08 - Variables, XML Tags, Markup Link Text, Markup Lists, Diff
  Deleted

Functions:
- base0D - Functions, Methods, Attribute IDs, Headings
  • Loading branch information
skipkayhil committed Oct 21, 2024
1 parent 9bc773f commit afb4905
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/rouge/themes/base16.rb
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ def self.make_light!
style Operator,
Punctuation, :fg => :base05

style Generic::Deleted, :fg => :base08
style Generic::Deleted,
Name, :fg => :base08

style Generic::Emph, :italic => true
style Generic::EmphStrong, :italic => true, :bold => true
Expand All @@ -78,7 +79,8 @@ def self.make_light!

style Literal::String::Regex, :fg => :base0C

style Name::Attribute, :fg => :base0D
style Name::Attribute,
Name::Function, :fg => :base0D
style Generic::Heading, :fg => :base0D, :bg => :base00, :bold => true

style Keyword,
Expand Down

0 comments on commit afb4905

Please sign in to comment.