diff options
-rw-r--r-- | README.md | 3 | ||||
-rw-r--r-- | colors/github.lua | 31 |
2 files changed, 33 insertions, 1 deletions
@@ -19,4 +19,5 @@ Theme | Preview Theme | Preview ------|----------------------------------------- ---- | --- +[`github`](colors/github.lua?raw=1) | ![github_preview](https://user-images.githubusercontent.com/3920290/80308013-800e9300-87c4-11ea-88a7-1f56104a7423.png) + diff --git a/colors/github.lua b/colors/github.lua new file mode 100644 index 0000000..c2ba66c --- /dev/null +++ b/colors/github.lua @@ -0,0 +1,31 @@ +local style = require "core.style" +local common = require "core.common" + +-- GitHubs style varies from language to language so its hard to get perfect +-- Originally written by thebirk, 2019 + +style.background = { common.color "#fbfbfb" } +style.background2 = { common.color "#f2f2f2" } +style.background3 = { common.color "#f2f2f2" } +style.text = { common.color "#404040" } +style.caret = { common.color "#181818" } +style.accent = { common.color "#0366d6" } +style.dim = { common.color "#b0b0b0" } +style.divider = { common.color "#e8e8e8" } +style.selection = { common.color "#b7dce8" } +style.line_number = { common.color "#d0d0d0" } +style.line_number2 = { common.color "#808080" } +style.line_highlight = { common.color "#f2f2f2" } +style.scrollbar = { common.color "#e0e0e0" } +style.scrollbar2 = { common.color "#c0c0c0" } + +style.syntax["normal"] = { common.color "#24292e" } +style.syntax["symbol"] = { common.color "#24292e" } +style.syntax["comment"] = { common.color "#6a737d" } +style.syntax["keyword"] = { common.color "#d73a49" } +style.syntax["keyword2"] = { common.color "#d73a49" } +style.syntax["number"] = { common.color "#005cc5" } +style.syntax["literal"] = { common.color "#005cc5" } +style.syntax["string"] = { common.color "#032f62" } +style.syntax["operator"] = { common.color "#d73a49" } +style.syntax["function"] = { common.color "#005cc5" } |