Add missing dark mode colors for some lexers that reference colors directly (e.g. markdown)

This commit is contained in:
Jason Haslam 2019-08-29 11:26:43 -06:00
parent 221a0d22ae
commit 808e6e8642
2 changed files with 27 additions and 0 deletions

View File

@ -181,6 +181,20 @@ theme['tooltip'] = {
-- Symbolic style names are allowed:
-- $(style.name)
-- http://www.scintilla.org/MyScintillaDoc.html#Styling
-- colors
theme.property['color.red'] = '#994D4D'
theme.property['color.yellow'] = '#99994D'
theme.property['color.green'] = '#4D994D'
theme.property['color.teal'] = '#4D9999'
theme.property['color.purple'] = '#994D99'
theme.property['color.orange'] = '#E6994D'
theme.property['color.blue'] = '#4D99E6'
theme.property['color.black'] = '#1A1A1A'
theme.property['color.grey'] = '#808080'
theme.property['color.white'] = '#E6E6E6'
-- styles
theme.property['style.bracebad'] = 'fore:#CC8080'
theme.property['style.bracelight'] = 'fore:#80CCFF'
theme.property['style.calltip'] = 'fore:#AAB2BE,back:#333333'

View File

@ -1,4 +1,17 @@
if theme.dark then
-- colors
lexer.property['color.red'] = '#994D4D'
lexer.property['color.yellow'] = '#99994D'
lexer.property['color.green'] = '#4D994D'
lexer.property['color.teal'] = '#4D9999'
lexer.property['color.purple'] = '#994D99'
lexer.property['color.orange'] = '#E6994D'
lexer.property['color.blue'] = '#4D99E6'
lexer.property['color.black'] = '#1A1A1A'
lexer.property['color.grey'] = '#808080'
lexer.property['color.white'] = '#E6E6E6'
-- styles
lexer.property['style.bracebad'] = 'fore:#CC8080'
lexer.property['style.bracelight'] = 'fore:#80CCFF'
lexer.property['style.calltip'] = 'fore:#AAB2BE,back:#333333'