diff options
author | mitchell <70453897+667e-11@users.noreply.github.com> | 2016-06-15 08:53:58 -0400 |
---|---|---|
committer | mitchell <70453897+667e-11@users.noreply.github.com> | 2016-06-15 08:53:58 -0400 |
commit | 12716f7c445eac060dfa7d10555f875903b40597 (patch) | |
tree | 74192e40df7601e331ce477033b835e73b3ecc95 /themes | |
parent | cc23cab69c4ebf172df670920beb01824c0cbe0b (diff) |
Prefer '$(...)' notation in themes over '%(...)'.
The latter will still work though for now.
Diffstat (limited to 'themes')
-rw-r--r-- | themes/dark.lua | 40 | ||||
-rw-r--r-- | themes/light.lua | 42 | ||||
-rw-r--r-- | themes/term.lua | 36 |
3 files changed, 59 insertions, 59 deletions
diff --git a/themes/dark.lua b/themes/dark.lua index fd896731..a368f5a1 100644 --- a/themes/dark.lua +++ b/themes/dark.lua @@ -60,30 +60,30 @@ elseif OSX then 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.default'] = 'font:$(font),size:$(fontsize),'.. + 'fore:$(color.light_grey),back:$(color.black)' +property['style.linenumber'] = 'fore:$(color.dark_grey),back:$(color.black)' --property['style.controlchar'] = -property['style.indentguide'] = 'fore:%(color.light_black)' -property['style.calltip'] = 'fore:%(color.light_grey),back:%(color.light_black)' +property['style.indentguide'] = 'fore:$(color.light_black)' +property['style.calltip'] = 'fore:$(color.light_grey),back:$(color.light_black)' -- Token styles. -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.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.type'] = 'fore:%(color.lavender)' -property['style.variable'] = 'fore:%(color.light_blue)' +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.type'] = 'fore:$(color.lavender)' +property['style.variable'] = 'fore:$(color.light_blue)' property['style.whitespace'] = '' -- Multiple Selection and Virtual Space diff --git a/themes/light.lua b/themes/light.lua index 4a2f47ad..c80c1ca0 100644 --- a/themes/light.lua +++ b/themes/light.lua @@ -60,30 +60,30 @@ elseif OSX then 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.controlchar'] = '%(style.nothing)' -property['style.indentguide'] = 'fore:%(color.dark_white)' -property['style.calltip'] = 'fore:%(color.light_black),back:%(color.dark_white)' +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.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.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.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.type'] = 'fore:%(color.lavender)' -property['style.variable'] = 'fore:%(color.dark_lavender)' +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.type'] = 'fore:$(color.lavender)' +property['style.variable'] = 'fore:$(color.dark_lavender)' property['style.whitespace'] = '' -- Multiple Selection and Virtual Space diff --git a/themes/term.lua b/themes/term.lua index 8724d298..710458dd 100644 --- a/themes/term.lua +++ b/themes/term.lua @@ -28,30 +28,30 @@ property['color.light_magenta'] = 0xFF00FF property['color.light_white'] = 0xFFFFFF -- Predefined styles. -property['style.default'] = 'fore:%(color.white),back:%(color.black)' +property['style.default'] = 'fore:$(color.white),back:$(color.black)' --property['style.linenumber'] = -property['style.bracelight'] = 'fore:%(color.black),back:%(color.white)' +property['style.bracelight'] = 'fore:$(color.black),back:$(color.white)' --property['style.controlchar'] = --property['style.indentguide'] = -property['style.calltip'] = '%(style.default)' +property['style.calltip'] = '$(style.default)' -- Token styles. -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.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.type'] = 'fore:%(color.magenta),bold' -property['style.variable'] = 'fore:%(color.blue),bold' +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.type'] = 'fore:$(color.magenta),bold' +property['style.variable'] = 'fore:$(color.blue),bold' property['style.whitespace'] = '' -- Multiple Selection and Virtual Space |