Skip to content

Commit f49b51a

Browse files
committed
no camel round here
1 parent 2d2746d commit f49b51a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+151
-151
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ function M.get(opts, t)
5151
-- Add your highlights here
5252
-- See lua/cyberdream/colors.lua for a complete list of available colors in the palette
5353
HighlightGroupName = { fg = t.blue },
54-
AnotherHighlightGroupName = { fg = t.purple, bg = t.bgHighlight },
54+
AnotherHighlightGroupName = { fg = t.purple, bg = t.bh_highlight },
5555
}
5656

5757
return highlights

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -266,8 +266,8 @@ vim.api.nvim_create_autocmd("User", {
266266
| 🖌 | Hex | Color |
267267
| --------------------------------------------------------- | --------- | ----------- |
268268
| ![#16181a](https://place-hold.it/15/16181a/16181a?text=+) | `#16181a` | bg |
269-
| ![#1e2124](https://place-hold.it/15/1e2124/1e2124?text=+) | `#1e2124` | bgAlt |
270-
| ![#3c4048](https://place-hold.it/15/3c4048/3c4048?text=+) | `#3c4048` | bgHighlight |
269+
| ![#1e2124](https://place-hold.it/15/1e2124/1e2124?text=+) | `#1e2124` | bg_alt |
270+
| ![#3c4048](https://place-hold.it/15/3c4048/3c4048?text=+) | `#3c4048` | bh_highlight |
271271
| ![#ffffff](https://place-hold.it/15/ffffff/ffffff?text=+) | `#ffffff` | fg |
272272
| ![#7b8496](https://place-hold.it/15/7b8496/7b8496?text=+) | `#7b8496` | grey |
273273
| ![#5ea1ff](https://place-hold.it/15/5ea1ff/5ea1ff?text=+) | `#5ea1ff` | blue |
@@ -288,8 +288,8 @@ vim.api.nvim_create_autocmd("User", {
288288
| 🖌 | Hex | Color |
289289
| --------------------------------------------------------- | --------- | ----------- |
290290
| ![#ffffff](https://place-hold.it/15/ffffff/ffffff?text=+) | `#ffffff` | bg |
291-
| ![#eaeaea](https://place-hold.it/15/eaeaea/eaeaea?text=+) | `#eaeaea` | bgAlt |
292-
| ![#acacac](https://place-hold.it/15/acacac/acacac?text=+) | `#acacac` | bgHighlight |
291+
| ![#eaeaea](https://place-hold.it/15/eaeaea/eaeaea?text=+) | `#eaeaea` | bg_alt |
292+
| ![#acacac](https://place-hold.it/15/acacac/acacac?text=+) | `#acacac` | bh_highlight |
293293
| ![#16181a](https://place-hold.it/15/16181a/16181a?text=+) | `#16181a` | fg |
294294
| ![#7b8496](https://place-hold.it/15/7b8496/7b8496?text=+) | `#7b8496` | grey |
295295
| ![#0057d1](https://place-hold.it/15/0057d1/0057d1?text=+) | `#0057d1` | blue |

lua/cyberdream/colors.lua

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---@class CyberdreamPalette
22
---@field bg string
3-
---@field bgAlt string
4-
---@field bgHighlight string
3+
---@field bg_alt string
4+
---@field bh_highlight string
55
---@field bg_solid? string
66
---@field fg string
77
---@field grey string
@@ -23,8 +23,8 @@ local M = {}
2323

2424
M.default = {
2525
bg = "#16181a",
26-
bgAlt = "#1e2124",
27-
bgHighlight = "#3c4048",
26+
bg_alt = "#1e2124",
27+
bh_highlight = "#3c4048",
2828
fg = "#ffffff",
2929
grey = "#7b8496",
3030
blue = "#5ea1ff",
@@ -40,8 +40,8 @@ M.default = {
4040

4141
M.light = {
4242
bg = "#ffffff",
43-
bgAlt = "#eaeaea",
44-
bgHighlight = "#acacac",
43+
bg_alt = "#eaeaea",
44+
bh_highlight = "#acacac",
4545
fg = "#16181a",
4646
grey = "#7b8496",
4747
blue = "#0057d1",
@@ -57,8 +57,8 @@ M.light = {
5757

5858
M.cyberone = {
5959
bg = "#282c34",
60-
bgalt = "#2c313a",
61-
bghighlight = "#3e4451",
60+
bg_alt = "#2c313a",
61+
bh_highlight = "#3e4451",
6262
fg = "#d7dae0",
6363
grey = "#5c6370",
6464
blue = "#61afef",

lua/cyberdream/extensions/base.lua

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ function M.get(opts, t)
88
opts = opts or {}
99
local highlights = {
1010
Comment = { fg = t.grey, italic = opts.italic_comments },
11-
ColorColumn = { bg = t.bgHighlight },
11+
ColorColumn = { bg = t.bh_highlight },
1212
Conceal = { fg = t.grey },
1313
Cursor = { fg = t.bg, bg = t.fg },
1414
ICursor = { fg = t.bg, bg = t.fg },
1515
CursorIM = { fg = t.bg, bg = t.fg },
16-
CursorColumn = { bg = t.bgHighlight },
17-
CursorLine = { bg = t.bgHighlight },
16+
CursorColumn = { bg = t.bh_highlight },
17+
CursorLine = { bg = t.bh_highlight },
1818
Directory = { fg = t.blue },
1919
DiffAdd = { bg = util.blend(t.bg_solid, t.green, 0.8) },
2020
DiffChange = { bg = util.blend(t.bg_solid, t.blue, 0.8) },
@@ -24,16 +24,16 @@ function M.get(opts, t)
2424
Removed = { fg = t.red },
2525
EndOfBuffer = { fg = t.bg },
2626
ErrorMsg = { fg = t.red },
27-
VertSplit = { fg = t.bgHighlight, bg = t.bg },
28-
WinSeparator = { fg = t.bgHighlight, bg = t.bg },
27+
VertSplit = { fg = t.bh_highlight, bg = t.bg },
28+
WinSeparator = { fg = t.bh_highlight, bg = t.bg },
2929
Folded = { fg = t.grey, bg = t.bg },
3030
FoldColumn = { fg = t.grey, bg = t.bg },
3131
SignColumn = { fg = t.grey, bg = t.bg },
3232
SignColumnSB = { fg = t.grey, bg = t.bg },
33-
Substitute = { fg = t.red, bg = t.bgHighlight },
34-
LineNr = { fg = util.blend(t.bgHighlight, t.fg, 0.9) },
33+
Substitute = { fg = t.red, bg = t.bh_highlight },
34+
LineNr = { fg = util.blend(t.bh_highlight, t.fg, 0.9) },
3535
CursorLineNr = { fg = t.grey },
36-
MatchParen = { fg = t.pink, bg = t.bgHighlight },
36+
MatchParen = { fg = t.pink, bg = t.bh_highlight },
3737
ModeMsg = { fg = t.fg },
3838
MsgArea = { fg = t.fg },
3939
MoreMsg = { fg = t.blue },
@@ -42,16 +42,16 @@ function M.get(opts, t)
4242
NormalNC = { fg = t.fg, bg = t.bg },
4343
NormalFloat = { fg = t.fg, bg = t.bg },
4444
FloatTitle = { fg = t.cyan, bg = t.bg },
45-
FloatBorder = { fg = t.bgHighlight, bg = t.bg },
45+
FloatBorder = { fg = t.bh_highlight, bg = t.bg },
4646
Pmenu = { fg = t.fg, bg = t.bg },
47-
PmenuSel = { fg = t.fg, bg = t.bgHighlight },
48-
PmenuSbar = { fg = t.bg, bg = t.bgHighlight },
49-
PmenuThumb = { fg = t.bg, bg = t.bgHighlight },
47+
PmenuSel = { fg = t.fg, bg = t.bh_highlight },
48+
PmenuSbar = { fg = t.bg, bg = t.bh_highlight },
49+
PmenuThumb = { fg = t.bg, bg = t.bh_highlight },
5050
Question = { fg = t.yellow },
51-
QuickFixLine = { bg = t.bgHighlight },
52-
Search = { fg = t.bgAlt, bg = t.fg },
53-
IncSearch = { fg = t.bgAlt, bg = t.cyan },
54-
CurSearch = { fg = t.bgAlt, bg = t.cyan },
51+
QuickFixLine = { bg = t.bh_highlight },
52+
Search = { fg = t.bg_alt, bg = t.fg },
53+
IncSearch = { fg = t.bg_alt, bg = t.cyan },
54+
CurSearch = { fg = t.bg_alt, bg = t.cyan },
5555
SpecialKey = { fg = t.grey },
5656
SpellBad = { sp = t.red, undercurl = true },
5757
SpellCap = { sp = t.yellow, undercurl = true },
@@ -61,14 +61,14 @@ function M.get(opts, t)
6161
StatusLineNC = { fg = t.grey, bg = t.bg },
6262
TabLine = { fg = t.grey, bg = t.bg },
6363
TabLineFill = { fg = t.grey, bg = t.bg },
64-
TabLineSel = { fg = t.fg, bg = t.bgHighlight },
64+
TabLineSel = { fg = t.fg, bg = t.bh_highlight },
6565
WinBar = { fg = t.fg, bg = t.bg },
6666
WinBarNC = { fg = t.grey, bg = t.bg },
6767
Title = { fg = t.fg },
68-
Visual = { bg = t.bgHighlight },
69-
VisualNOS = { bg = t.bgHighlight },
68+
Visual = { bg = t.bh_highlight },
69+
VisualNOS = { bg = t.bh_highlight },
7070
WarningMsg = { fg = t.orange },
71-
Whitespace = { fg = t.bgHighlight },
71+
Whitespace = { fg = t.bh_highlight },
7272
WildMenu = { fg = t.bg, bg = t.blue },
7373

7474
Constant = { fg = t.pink },
@@ -120,9 +120,9 @@ function M.get(opts, t)
120120
markdownH6 = { fg = t.green, bold = true },
121121
markdownLinkText = { fg = t.blue, underline = true },
122122

123-
LspReferenceText = { bg = t.bgHighlight },
124-
LspReferenceRead = { bg = t.bgHighlight },
125-
LspReferenceWrite = { bg = t.bgHighlight },
123+
LspReferenceText = { bg = t.bh_highlight },
124+
LspReferenceRead = { bg = t.bh_highlight },
125+
LspReferenceWrite = { bg = t.bh_highlight },
126126

127127
DiagnosticError = { fg = t.red },
128128
DiagnosticWarn = { fg = t.yellow },

lua/cyberdream/extensions/blinkcmp.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ function M.get(opts, t)
88
opts = opts or {}
99
local highlights = {
1010
BlinkCmpMenu = { link = "Pmenu" },
11-
BlinkCmpMenuBorder = { fg = util.blend(t.bgHighlight, t.grey, 0.7) },
12-
BlinkCmpMenuSelection = { bg = t.bgHighlight },
11+
BlinkCmpMenuBorder = { fg = util.blend(t.bh_highlight, t.grey, 0.7) },
12+
BlinkCmpMenuSelection = { bg = t.bh_highlight },
1313
BlinkCmpLabel = { fg = t.fg },
1414
BlinkCmpLabelDeprecated = { fg = t.grey, strikethrough = true },
1515
BlinkCmpLabelMatch = { fg = t.cyan },

lua/cyberdream/extensions/fzflua.lua

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@ function M.get(opts, t)
77
opts = opts or {}
88

99
local highlights = {
10-
FzfLuaNormal = { bg = t.bgAlt },
11-
FzfLuaPreviewNormal = { bg = t.bgAlt },
12-
FzfLuaBorder = { fg = t.bgAlt, bg = t.bgAlt },
13-
FzfLuaTitle = { bg = t.blue, fg = t.bgAlt },
10+
FzfLuaNormal = { bg = t.bg_alt },
11+
FzfLuaPreviewNormal = { bg = t.bg_alt },
12+
FzfLuaBorder = { fg = t.bg_alt, bg = t.bg_alt },
13+
FzfLuaTitle = { bg = t.blue, fg = t.bg_alt },
1414

1515
FzfLuaFzfMatch = { fg = t.cyan },
1616
FzfLuaFzfQuery = { fg = t.blue },
1717
FzfLuaFzfPrompt = { fg = t.fg },
18-
FzfLuaFzfGutter = { bg = t.bgAlt },
18+
FzfLuaFzfGutter = { bg = t.bg_alt },
1919
FzfLuaFzfPointer = { fg = t.pink },
2020
FzfLuaFzfHeader = { fg = t.purple },
2121
FzfLuaFzfInfo = { fg = t.cyan },

lua/cyberdream/extensions/grapple.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ function M.get(opts, t)
1313

1414
-- Inherit borderless theme from telescope (if enabled)
1515
if opts.borderless_telescope then
16-
highlights.GrappleNormal = { bg = t.bgAlt }
17-
highlights.GrappleBorder = { fg = t.bgAlt, bg = t.bgAlt }
18-
highlights.GrappleTitle = { fg = t.bgAlt, bg = t.cyan }
16+
highlights.GrappleNormal = { bg = t.bg_alt }
17+
highlights.GrappleBorder = { fg = t.bg_alt, bg = t.bg_alt }
18+
highlights.GrappleTitle = { fg = t.bg_alt, bg = t.cyan }
1919
end
2020

2121
return highlights

lua/cyberdream/extensions/grugfar.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ function M.get(opts, t)
1515
GrugFarHelpWinActionDescription = { link = "Comment" },
1616

1717
GrugFarInputLabel = { fg = t.orange, bold = true },
18-
GrugFarInputPlaceholder = { fg = util.blend(t.bgHighlight, t.fg, 0.9), italic = true },
18+
GrugFarInputPlaceholder = { fg = util.blend(t.bh_highlight, t.fg, 0.9), italic = true },
1919

2020
GrugFarResultsHeader = { link = "Comment" },
2121
GrugFarResultsStats = { fg = t.yellow },

lua/cyberdream/extensions/helpview.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ function M.get(opts, t)
1313
HelpviewHeading3 = { fg = t.purple, bg = util.blend(t.bg_solid, t.purple, 0.8), bold = true },
1414
HelpviewHeading4 = { fg = t.magenta, bg = util.blend(t.bg_solid, t.magenta, 0.8), bold = true },
1515

16-
HelpviewCode = { bg = t.bgAlt },
16+
HelpviewCode = { bg = t.bg_alt },
1717
HelpviewInlineCode = { link = "HelpviewCode" },
18-
HelpviewCodeLanguage = { fg = t.grey, bg = t.bgAlt, italic = true },
18+
HelpviewCodeLanguage = { fg = t.grey, bg = t.bg_alt, italic = true },
1919

2020
HelpviewTaglink = { fg = t.blue },
2121
HelpviewOptionlink = { fg = util.blend(t.cyan, t.magenta, 0.4) },

lua/cyberdream/extensions/hop.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ function M.get(opts, t)
1414
bg = util.blend(t.bg_solid, t.cyan, 0.9),
1515
bold = true,
1616
},
17-
HopUnmatched = { fg = t.bgHighlight },
18-
HopPreview = { fg = t.fg, bg = t.bgHighlight },
17+
HopUnmatched = { fg = t.bh_highlight },
18+
HopPreview = { fg = t.fg, bg = t.bh_highlight },
1919
}
2020
return highlights
2121
end

0 commit comments

Comments
 (0)