aboutsummaryrefslogtreecommitdiffhomepage
path: root/themes
diff options
context:
space:
mode:
authorGravatar mitchell <70453897+667e-11@users.noreply.github.com>2013-09-12 15:01:16 -0400
committerGravatar mitchell <70453897+667e-11@users.noreply.github.com>2013-09-12 15:01:16 -0400
commitf37276331fe1e146193b45e380911b7a60e11de4 (patch)
treeacfae9e9388a30e92b6efc7356e3bcf29f202548 /themes
parentd0264d375273bb661aa030f1f2cbd83b46e30268 (diff)
Code cleanup in themes.
Diffstat (limited to 'themes')
-rw-r--r--themes/dark.lua27
-rw-r--r--themes/light.lua27
-rw-r--r--themes/term.lua25
3 files changed, 38 insertions, 41 deletions
diff --git a/themes/dark.lua b/themes/dark.lua
index 59d0f950..a446e9b6 100644
--- a/themes/dark.lua
+++ b/themes/dark.lua
@@ -59,35 +59,34 @@ elseif OSX then
property['font'], property['fontsize'] = 'Monaco', 12
end
+-- Predefined styles.
+property['style.default'] = 'font:%(font),size:%(fontsize),'..
+ 'fore:%(color.light_grey),back:%(color.black)'
+property['style.linenumber'] = 'fore:%(color.dark_grey),back:%(color.black)'
+property['style.bracelight'] = 'fore:%(color.light_blue)'
+property['style.bracebad'] = 'fore:%(color.light_red)'
+property['style.controlchar'] = '%(style.nothing)'
+property['style.indentguide'] = 'fore:%(color.light_black)'
+property['style.calltip'] = 'fore:%(color.light_grey),back:%(color.light_black)'
+
-- Token styles.
-property['style.nothing'] = ''
property['style.class'] = 'fore:%(color.light_yellow)'
property['style.comment'] = 'fore:%(color.dark_grey)'
property['style.constant'] = 'fore:%(color.red)'
+property['style.embedded'] = '%(style.keyword),back:%(color.light_black)'
property['style.error'] = 'fore:%(color.red),italics'
property['style.function'] = 'fore:%(color.blue)'
+property['style.identifier'] = ''
property['style.keyword'] = 'fore:%(color.dark_white)'
property['style.label'] = 'fore:%(color.orange)'
property['style.number'] = 'fore:%(color.teal)'
property['style.operator'] = 'fore:%(color.yellow)'
+property['style.preprocessor'] = 'fore:%(color.purple)'
property['style.regex'] = 'fore:%(color.light_green)'
property['style.string'] = 'fore:%(color.green)'
-property['style.preprocessor'] = 'fore:%(color.purple)'
property['style.type'] = 'fore:%(color.lavender)'
property['style.variable'] = 'fore:%(color.light_blue)'
property['style.whitespace'] = ''
-property['style.embedded'] = '%(style.tag),back:%(color.light_black)'
-property['style.identifier'] = '%(style.nothing)'
-
--- Predefined styles.
-property['style.default'] = 'font:%(font),size:%(fontsize),'..
- 'fore:%(color.light_grey),back:%(color.black)'
-property['style.linenumber'] = 'fore:%(color.dark_grey),back:%(color.black)'
-property['style.bracelight'] = 'fore:%(color.light_blue)'
-property['style.bracebad'] = 'fore:%(color.light_red)'
-property['style.controlchar'] = '%(style.nothing)'
-property['style.indentguide'] = 'fore:%(color.light_black)'
-property['style.calltip'] = 'fore:%(color.light_grey),back:%(color.light_black)'
-- Multiple Selection and Virtual Space
--buffer.additional_sel_alpha =
diff --git a/themes/light.lua b/themes/light.lua
index 619ef5cf..dc6daf1c 100644
--- a/themes/light.lua
+++ b/themes/light.lua
@@ -59,35 +59,34 @@ elseif OSX then
property['font'], property['fontsize'] = 'Monaco', 12
end
+-- Predefined styles.
+property['style.default'] = 'font:%(font),size:%(fontsize),'..
+ 'fore:%(color.light_black),back:%(color.white)'
+property['style.linenumber'] = 'fore:%(color.grey),back:%(color.white)'
+property['style.bracelight'] = 'fore:%(color.light_blue)'
+property['style.bracebad'] = 'fore:%(color.light_red)'
+property['style.controlchar'] = '%(style.nothing)'
+property['style.indentguide'] = 'fore:%(color.dark_white)'
+property['style.calltip'] = 'fore:%(color.light_black),back:%(color.dark_white)'
+
-- Token styles.
-property['style.nothing'] = ''
property['style.class'] = 'fore:%(color.yellow)'
property['style.comment'] = 'fore:%(color.grey)'
property['style.constant'] = 'fore:%(color.red)'
+property['style.embedded'] = '%(style.keyword),back:%(color.dark_white)'
property['style.error'] = 'fore:%(color.red),italics'
property['style.function'] = 'fore:%(color.dark_orange)'
+property['style.identifier'] = ''
property['style.keyword'] = 'fore:%(color.dark_blue)'
property['style.label'] = 'fore:%(color.dark_orange)'
property['style.number'] = 'fore:%(color.teal)'
property['style.operator'] = 'fore:%(color.purple)'
+property['style.preprocessor'] = 'fore:%(color.dark_yellow)'
property['style.regex'] = 'fore:%(color.dark_green)'
property['style.string'] = 'fore:%(color.green)'
-property['style.preprocessor'] = 'fore:%(color.dark_yellow)'
property['style.type'] = 'fore:%(color.lavender)'
property['style.variable'] = 'fore:%(color.dark_lavender)'
property['style.whitespace'] = ''
-property['style.embedded'] = '%(style.tag),back:%(color.dark_white)'
-property['style.identifier'] = '%(style.nothing)'
-
--- Predefined styles.
-property['style.default'] = 'font:%(font),size:%(fontsize),'..
- 'fore:%(color.light_black),back:%(color.white)'
-property['style.linenumber'] = 'fore:%(color.grey),back:%(color.white)'
-property['style.bracelight'] = 'fore:%(color.light_blue)'
-property['style.bracebad'] = 'fore:%(color.light_red)'
-property['style.controlchar'] = '%(style.nothing)'
-property['style.indentguide'] = 'fore:%(color.dark_white)'
-property['style.calltip'] = 'fore:%(color.light_black),back:%(color.dark_white)'
-- Multiple Selection and Virtual Space
--buffer.additional_sel_alpha =
diff --git a/themes/term.lua b/themes/term.lua
index fde41f16..9f530723 100644
--- a/themes/term.lua
+++ b/themes/term.lua
@@ -27,34 +27,33 @@ property['color.light_magenta'] = 0xFF00FF
property['color.light_cyan'] = 0xFFFF00
property['color.light_white'] = 0xFFFFFF
+-- Predefined styles.
+property['style.default'] = 'fore:%(color.white),back:%(color.black)'
+property['style.linenumber'] = '%(style.default)'
+property['style.bracelight'] = 'fore:%(color.black),back:%(color.white)'
+property['style.bracebad'] = 'fore:%(color.red),bold'
+property['style.controlchar'] = '%(style.nothing)'
+property['style.indentguide'] = '%(style.nothing)'
+property['style.calltip'] = '%(style.default)'
+
-- Token styles.
-property['style.nothing'] = ''
property['style.class'] = 'fore:%(color.yellow)'
property['style.comment'] = 'fore:%(color.black),bold'
property['style.constant'] = 'fore:%(color.red)'
+property['style.embedded'] = '%(style.keyword),back:%(color.black)'
property['style.error'] = 'fore:%(color.red),bold'
property['style.function'] = 'fore:%(color.blue)'
+property['style.identifier'] = ''
property['style.keyword'] = 'fore:%(color.white),bold'
property['style.label'] = 'fore:%(color.red),bold'
property['style.number'] = 'fore:%(color.cyan)'
property['style.operator'] = 'fore:%(color.yellow)'
+property['style.preprocessor'] = 'fore:%(color.magenta)'
property['style.regex'] = 'fore:%(color.green),bold'
property['style.string'] = 'fore:%(color.green)'
-property['style.preprocessor'] = 'fore:%(color.magenta)'
property['style.type'] = 'fore:%(color.magenta),bold'
property['style.variable'] = 'fore:%(color.blue),bold'
property['style.whitespace'] = ''
-property['style.embedded'] = '%(style.tag),back:%(color.black),bold'
-property['style.identifier'] = '%(style.nothing)'
-
--- Predefined styles.
-property['style.default'] = 'fore:%(color.white),back:%(color.black)'
-property['style.linenumber'] = '%(style.default)'
-property['style.bracelight'] = 'fore:%(color.black),back:%(color.white)'
-property['style.bracebad'] = 'fore:%(color.red),bold'
-property['style.controlchar'] = '%(style.nothing)'
-property['style.indentguide'] = '%(style.nothing)'
-property['style.calltip'] = '%(style.default)'
-- Multiple Selection and Virtual Space
--buffer.additional_sel_alpha =