|
| 1 | +-- Theme by @xStormyy on github |
| 2 | +-- Original Color Scheme: https://github.com/nyoom-engineering/oxocarbon |
| 3 | + |
| 4 | +local style = require "core.style" |
| 5 | +local common = require "core.common" |
| 6 | + |
| 7 | +local base00 = { common.color "#ffffff" } |
| 8 | +local base01 = { common.color "#f2f2f2" } |
| 9 | +local base02 = { common.color "#d0d0d0" } |
| 10 | +local base03 = { common.color "#161616" } |
| 11 | +local base04 = { common.color "#37474F" } |
| 12 | +local base05 = { common.color "#90A4AE" } |
| 13 | +local base06 = { common.color "#525252" } |
| 14 | +local base07 = { common.color "#08bdba" } |
| 15 | +local base08 = { common.color "#ff7eb6" } |
| 16 | +local base09 = { common.color "#ee5396" } |
| 17 | +local base10 = { common.color "#FF6F00" } |
| 18 | +local base11 = { common.color "#0f62fe" } |
| 19 | +local base12 = { common.color "#673AB7" } |
| 20 | +local base13 = { common.color "#42be65" } |
| 21 | +local base14 = { common.color "#be95ff" } |
| 22 | +local base15 = { common.color "#FFAB91" } |
| 23 | + |
| 24 | +style.background = base00 -- editor |
| 25 | +style.syntax["normal"] = base06 -- editor text |
| 26 | + |
| 27 | +style.syntax["symbol"] = base15 -- symbols |
| 28 | +style.syntax["comment"] = base03 -- comments |
| 29 | +style.syntax["keyword"] = base09 -- keywords like function, local, if, end, in lua |
| 30 | +style.syntax["keyword2"] = base09 -- types |
| 31 | +-- style.syntax["keyword3"] = { common.color "#FF000FF" } -- absolutely no idea |
| 32 | +style.syntax["number"] = base09 -- numbers |
| 33 | +style.syntax["literal"] = base04 -- literals |
| 34 | +style.syntax["string"] = base14 -- strings |
| 35 | +style.syntax["operator"] = base08 -- operators |
| 36 | +style.syntax["function"] = base08 -- functions |
| 37 | +style.syntax["whitespace"] = base02 -- whitespace |
| 38 | + |
| 39 | +style.caret = base06 -- caret |
| 40 | + |
| 41 | +style.line_highlight = base01 -- editor line highlighting |
| 42 | +style.selection = base02 -- editor selection |
| 43 | + |
| 44 | +style.guide = base02 -- indentation guide |
| 45 | +style.guide_highlighting = base02 -- indentation guide |
| 46 | + |
| 47 | +-- User Interface |
| 48 | +style.background2 = base00 -- sidebar |
| 49 | +style.background3 = base00 -- status bar |
| 50 | +style.text = base04 -- user interface text |
| 51 | + |
| 52 | +style.accent = style.caret -- accent color |
| 53 | +style.divider = base00 -- borders |
| 54 | + |
| 55 | +style.line_number = base03 -- inactive |
| 56 | +style.line_number2 = base04 -- active |
| 57 | + |
| 58 | +style.drag_overlay = { common.color "rgba(0, 0, 0, 0.30)" } |
| 59 | +style.drag_overlay_tab = base03 |
| 60 | + |
| 61 | +style.scrollbar = base02 -- scrollbar button when not interacted |
| 62 | +style.scrollbar2 = base02 -- button when you hover over |
| 63 | +style.scrollbar_track = base01 -- scrollbar track |
| 64 | + |
| 65 | +style.nagbar = base09 |
| 66 | +style.nagbar_text = base01 |
| 67 | +style.nagbar_dim = { common.color "rgba(0, 0, 0, 0.30)" } |
| 68 | + |
| 69 | +-- Evergreen |
| 70 | +style.syntax["attribute"] = base14 |
| 71 | +style.syntax["boolean"] = base09 |
| 72 | +style.syntax["character"] = base13 |
| 73 | +style.syntax["comment"] = base03 |
| 74 | +style.syntax["comment.documentation"] = base04 |
| 75 | +style.syntax["conditional"] = base09 |
| 76 | +style.syntax["conditional.ternary"] = base09 |
| 77 | +style.syntax["constant"] = base04 |
| 78 | +style.syntax["constant.builtin"] = base07 |
| 79 | +style.syntax["constructor"] = base09 |
| 80 | +style.syntax["define"] = base09 |
| 81 | +style.syntax["exception"] = base09 |
| 82 | +style.syntax["field"] = base04 |
| 83 | +style.syntax["float"] = base09 |
| 84 | +style.syntax["function"] = base12 |
| 85 | +style.syntax["function.call"] = base08 |
| 86 | +style.syntax["function.macro"] = base07 |
| 87 | +style.syntax["include"] = base09 |
| 88 | +style.syntax["keyword.function"] = base12 |
| 89 | +style.syntax["keyword.operator"] = base09 |
| 90 | +style.syntax["keyword.return"] = base09 |
| 91 | +style.syntax["label"] = base09 |
| 92 | +style.syntax["method"] = base07 |
| 93 | +style.syntax["method.call"] = base06 |
| 94 | +style.syntax["namespace"] = base07 |
| 95 | +style.syntax["number"] = base09 |
| 96 | +style.syntax["operator"] = base09 |
| 97 | +style.syntax["parameter"] = base04 |
| 98 | +style.syntax["preproc"] = base09 |
| 99 | +style.syntax["punctuation.delimiter"] = base08 |
| 100 | +style.syntax["punctuation.brackets"] = base08 |
| 101 | +style.syntax["punctuation.special"] = base08 |
| 102 | +style.syntax["repeat"] = base09 |
| 103 | +style.syntax["storageclass"] = base09 |
| 104 | +style.syntax["storageclass.lifetime"] = base09 |
| 105 | +style.syntax["string"] = base14 |
| 106 | +style.syntax["tag"] = base04 |
| 107 | +style.syntax["tag.attribute"] = base14 |
| 108 | +style.syntax["tag.delimiter"] = base14 |
| 109 | +style.syntax["text.diff.add"] = base07 |
| 110 | +style.syntax["text.diff.delete"] = base10 |
| 111 | +style.syntax["type"] = base09 |
| 112 | +style.syntax["type.builtin"] = base09 |
| 113 | +style.syntax["type.definition"] = base09 -- unsure |
| 114 | +style.syntax["type.qualifier"] = base09 -- unsure |
| 115 | +style.syntax["variable"] = base04 |
| 116 | +style.syntax["variable.builtin"] = base04 |
| 117 | +style.syntax["error"] = base08 |
| 118 | + |
| 119 | +-- lint+ |
| 120 | +style.lint = {} -- Lint+ |
| 121 | +style.lint.info = base13 -- Lint+ info |
| 122 | +style.lint.hint = base14 -- Lint+ hint |
| 123 | +style.lint.warning = base07 -- Lint+ warning |
| 124 | +style.lint.error = base10 -- Lint+ error |
| 125 | + |
| 126 | +-- rainbowparen |
| 127 | +style.syntax.paren_unbalanced = base10 |
| 128 | +style.syntax.paren1 = base12 |
| 129 | +style.syntax.paren2 = base13 |
| 130 | +style.syntax.paren3 = base09 |
| 131 | +style.syntax.paren4 = base15 |
| 132 | +style.syntax.paren5 = base14 |
| 133 | + |
| 134 | +-- gitstatus |
| 135 | +style.gitstatus_addition = base13 |
| 136 | +style.gitstatus_modification = base09 |
| 137 | +style.gitstatus_deletion = base10 |
| 138 | + |
| 139 | +-- gitdiff_highlight |
| 140 | +style.gitdiff_addition = base13 |
| 141 | +style.gitdiff_modification = base09 |
| 142 | +style.gitdiff_deletion = base10 |
| 143 | + |
| 144 | +-- bracketmatch |
| 145 | +style.bracketmatch_color = base03 |
| 146 | +style.bracketmatch_char_color = base09 |
| 147 | +style.bracketmatch_block_color = base05 |
| 148 | +style.bracketmatch_frame_color = base06 |
0 commit comments