Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes for base16 theme #1925

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
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
42 changes: 22 additions & 20 deletions lib/rouge/themes/base16.rb
Original file line number Diff line number Diff line change
Expand Up @@ -48,39 +48,41 @@ def self.make_light!
light!

style Error, :fg => :base00, :bg => :base08
style Comment, :fg => :base03

style Comment::Preproc,
Name::Tag, :fg => :base0A
style Comment, :fg => :base03

style Operator,
Punctuation, :fg => :base05

style Generic::Inserted, :fg => :base0B
style Generic::Deleted, :fg => :base08
style Generic::Heading, :fg => :base0D, :bg => :base00, :bold => true
style Generic::Deleted,
Name, :fg => :base08

style Keyword, :fg => :base0E
style Keyword::Constant,
Keyword::Type, :fg => :base09
Keyword::Declaration,
Keyword::Type,
Literal::Number, :fg => :base09

style Comment::Preproc,
Name::Class,
Name::Constant,
Name::Namespace,
Name::Tag, :fg => :base0A

style Keyword::Declaration, :fg => :base09
style Generic::Inserted,
Literal::String,
Literal::String::Symbol, :fg => :base0B

style Literal::String, :fg => :base0B
style Literal::String::Affix, :fg => :base0E
style Literal::String::Regex, :fg => :base0C

style Literal::String::Interpol,
Literal::String::Escape, :fg => :base0F

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

style Name::Attribute, :fg => :base0D
style Keyword,
Literal::String::Affix, :fg => :base0E

style Literal::Number,
Literal::String::Symbol, :fg => :base0B
style Literal::String::Escape,
Literal::String::Interpol, :fg => :base0F

class Solarized < Base16
name 'base16.solarized'
Expand Down