Skip to content

Commit 02e963e

Browse files
xStormyyjgmdev
authored andcommitted
Add Oxocarbon Dark theme (#44)
* Update manifest.json * Create oxocarbon-dark.lua * Update oxocarbon-dark.lua * moved oxocarbon manifest entry below only-dark
1 parent 65e929e commit 02e963e

File tree

2 files changed

+143
-0
lines changed

2 files changed

+143
-0
lines changed

colors/oxocarbon-dark.lua

Lines changed: 132 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,132 @@
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 "#161616" }
8+
local base01 = { common.color "#262626" }
9+
local base02 = { common.color "#393939" }
10+
local base03 = { common.color "#525252" }
11+
local base04 = { common.color "#dde1e6" }
12+
local base05 = { common.color "#f2f4f8" }
13+
local base06 = { common.color "#ffffff" }
14+
local base07 = { common.color "#08bdba" }
15+
local base08 = { common.color "#3ddbd9" }
16+
local base09 = { common.color "#78a9ff" }
17+
local base10 = { common.color "#ee5396" }
18+
local base11 = { common.color "#33b1ff" }
19+
local base12 = { common.color "#ff7eb6" }
20+
local base13 = { common.color "#42be65" }
21+
local base14 = { common.color "#be95ff" }
22+
local base15 = { common.color "#82cfff" }
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"] = base15 -- strings
35+
style.syntax["operator"] = base08 -- operators
36+
style.syntax["function"] = base08 -- functions
37+
38+
style.caret = base06 -- caret
39+
40+
style.line_highlight = base01 -- editor line highlighting
41+
style.selection = base02 -- editor selection
42+
43+
style.bracketmatch_color = base02
44+
45+
style.guide = base02 -- indentation guide
46+
style.guide_highlighting = base02 -- indentation guide
47+
48+
-- User Interface
49+
style.background2 = base00 -- sidebar
50+
style.background3 = base00 -- status bar
51+
style.text = base04 -- user interface text
52+
53+
style.accent = style.caret -- accent color
54+
style.divider = base00 -- borders
55+
56+
style.line_number = base03 -- inactive
57+
style.line_number2 = base04 -- active
58+
59+
-- Evergreen
60+
style.syntax["attribute"] = base14
61+
style.syntax["boolean"] = base09
62+
style.syntax["character"] = base13
63+
style.syntax["comment"] = base03
64+
style.syntax["comment.documentation"] = base04
65+
style.syntax["conditional"] = base09
66+
style.syntax["conditional.ternary"] = base09
67+
style.syntax["constant"] = base04
68+
style.syntax["constant.builtin"] = base07
69+
style.syntax["constructor"] = base09
70+
style.syntax["define"] = base09
71+
style.syntax["exception"] = base09
72+
style.syntax["field"] = base04
73+
style.syntax["float"] = base09
74+
style.syntax["function"] = base12
75+
style.syntax["function.call"] = base08
76+
style.syntax["function.macro"] = base07
77+
style.syntax["include"] = base09
78+
style.syntax["keyword.function"] = base12
79+
style.syntax["keyword.operator"] = base09
80+
style.syntax["keyword.return"] = base09
81+
style.syntax["label"] = base09
82+
style.syntax["method"] = base07
83+
style.syntax["method.call"] = base06
84+
style.syntax["namespace"] = base07
85+
style.syntax["number"] = base09
86+
style.syntax["operator"] = base09
87+
style.syntax["parameter"] = base04
88+
style.syntax["preproc"] = base09
89+
style.syntax["punctuation.delimiter"] = base08
90+
style.syntax["punctuation.brackets"] = base08
91+
style.syntax["punctuation.special"] = base08
92+
style.syntax["repeat"] = base09
93+
style.syntax["storageclass"] = base09
94+
style.syntax["storageclass.lifetime"] = base09
95+
style.syntax["string"] = base13
96+
style.syntax["tag"] = base04
97+
style.syntax["tag.attribute"] = base14
98+
style.syntax["tag.delimiter"] = base14
99+
style.syntax["text.diff.add"] = base07
100+
style.syntax["text.diff.delete"] = base10
101+
style.syntax["type"] = base09
102+
style.syntax["type.builtin"] = base09
103+
style.syntax["type.definition"] = { common.color "#78a9ff" } -- TODO
104+
style.syntax["type.qualifier"] = { common.color "#78a9ff" } -- TODO
105+
style.syntax["variable"] = base04
106+
style.syntax["variable.builtin"] = base04
107+
style.syntax["error"] = base08
108+
109+
-- lint+
110+
style.lint = {} -- Lint+
111+
style.lint.info = base13 -- Lint+ info
112+
style.lint.hint = base14 -- Lint+ hint
113+
style.lint.warning = base07 -- Lint+ warning
114+
style.lint.error = base10 -- Lint+ error
115+
116+
-- rainbowparen
117+
style.syntax.paren_unbalanced = base10
118+
style.syntax.paren1 = base12
119+
style.syntax.paren2 = base13
120+
style.syntax.paren3 = base09
121+
style.syntax.paren4 = base15
122+
style.syntax.paren5 = base14
123+
124+
-- gitstatus
125+
style.gitstatus_addition = base13
126+
style.gitstatus_modification = base09
127+
style.gitstatus_deletion = base10
128+
129+
-- gitdiff_highlight
130+
style.gitdiff_addition = base13
131+
style.gitdiff_modification = base09
132+
style.gitdiff_deletion = base10

manifest.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -444,6 +444,17 @@
444444
"type" : "color",
445445
"version" : "0.1"
446446
},
447+
{
448+
"id" : "oxocarbon-dark",
449+
"mod_version" : "3.0.0",
450+
"name" : "Oxocarbon Dark",
451+
"path" : "colors/oxocarbon-dark.lua",
452+
"tags" : [
453+
"dark"
454+
],
455+
"type" : "color",
456+
"version" : "0.1"
457+
},
447458
{
448459
"id" : "plasma",
449460
"mod_version" : "3.0.0",

0 commit comments

Comments
 (0)