diff options
author | mitchell <70453897+667e-11@users.noreply.github.com> | 2013-04-06 12:55:18 -0400 |
---|---|---|
committer | mitchell <70453897+667e-11@users.noreply.github.com> | 2013-04-06 12:55:18 -0400 |
commit | 3483e4a785b47ed2636764b227ab1c7279ee6dc8 (patch) | |
tree | 2dbcd541a9e013c0f57ef2bee8c4b258d92d85ca /themes | |
parent | ce6262d946f17086d04737737442d3677b375be4 (diff) |
Update terminal color definitions.
Requires Scinterm r47.
Diffstat (limited to 'themes')
-rw-r--r-- | themes/term/lexer.lua | 27 |
1 files changed, 20 insertions, 7 deletions
diff --git a/themes/term/lexer.lua b/themes/term/lexer.lua index 6eb34f86..40e570c1 100644 --- a/themes/term/lexer.lua +++ b/themes/term/lexer.lua @@ -9,14 +9,27 @@ local l, color, style = lexer, lexer.color, lexer.style l.colors = { + -- Normal colors. black = color('00', '00', '00'), - red = color('FF', '00', '00'), - green = color('00', 'FF', '00'), - yellow = color('FF', 'FF', '00'), - blue = color('00', '00', 'FF'), - magenta = color('FF', '00', 'FF'), - cyan = color('00', 'FF', 'FF'), - white = color('FF', 'FF', 'FF') + red = color('80', '00', '00'), + green = color('00', '80', '00'), + yellow = color('80', '80', '00'), + blue = color('00', '00', '80'), + magenta = color('80', '00', '80'), + cyan = color('00', '80', '80'), + white = color('C0', 'C0', 'C0'), + + -- Light colors. (16 color terminals only.) + -- These only apply to 16 color terminals. For other terminals, set the + -- style's `bold` attribute to use the light color variant. + light_black = color('40', '40', '40'), + light_red = color('FF', '00', '00'), + light_green = color('00', 'FF', '00'), + light_yellow = color('FF', 'FF', '00'), + light_blue = color('00', '00', 'FF'), + light_magenta = color('FF', '00', 'FF'), + light_cyan = color('00', 'FF', 'FF'), + light_white = color('FF', 'FF', 'FF'), } l.style_nothing = style{ } |