Skip to content

Commit

Permalink
feat: add light colors variant (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
scottmckendry authored May 11, 2024
1 parent 12c5b2a commit 548968a
Show file tree
Hide file tree
Showing 19 changed files with 1,328 additions and 3 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ Lualine (optional):

```lua
{
local cyberdream = require("lualine.themes.cyberdream")
local cyberdream = require("lualine.themes.cyberdream") -- or require("lualine.themes.cyberdream-light") for the light variant
require("lualine").setup({
-- ... other config
options = {
Expand Down Expand Up @@ -111,6 +111,7 @@ require("cyberdream").setup({
terminal_colors = true, -- Default: true

theme = { -- Default: nil
variant = "light", -- Default: "deafult" (dark)
highlights = {
-- Highlight groups to override, adding new groups is also possible
-- See `:help highlight-groups` for a list of highlight groups
Expand Down
3 changes: 2 additions & 1 deletion doc/cyberdream.txt
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ Lualine (optional):

>lua
{
local cyberdream = require("lualine.themes.cyberdream")
local cyberdream = require("lualine.themes.cyberdream") -- or require("lualine.themes.cyberdream-light") for the light variant
require("lualine").setup({
-- ... other config
options = {
Expand Down Expand Up @@ -97,6 +97,7 @@ Below is an example of all the available configuration options:
terminal_colors = true, -- Default: true

theme = { -- Default: nil
variant = "light", -- Default: "deafult" (dark)
highlights = {
-- Highlight groups to override, adding new groups is also possible
-- See `:help highlight-groups` for a list of highlight groups
Expand Down
36 changes: 36 additions & 0 deletions extras/alacritty/cyberdream-light.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# cyberdream theme for alacritty
[[colors.indexed_colors]]
color = "0xd17c00"
index = 16

[[colors.indexed_colors]]
color = "0xd11500"
index = 17

[colors.bright]
black = "0xacacac"
blue = "0x0057d1"
cyan = "0x008c99"
green = "0x008b0c"
magenta = "0xa018ff"
red = "0xd11500"
white = "0x16181a"
yellow = "0x997b00"

[colors.normal]
black = "0xffffff"
blue = "0x0057d1"
cyan = "0x008c99"
green = "0x008b0c"
magenta = "0xa018ff"
red = "0xd11500"
white = "0x16181a"
yellow = "0x997b00"

[colors.primary]
background = "0xffffff"
foreground = "0x16181a"

[colors.selection]
background = "0xacacac"
foreground = "0x16181a"
30 changes: 30 additions & 0 deletions extras/fish/cyberdream-light.theme
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# name: 'cyberdream'
# url: 'https://github.com/scottmckendry/cyberdream.nvim'
# preferred_background: ffffff

fish_color_normal 16181a
fish_color_command 008c99
fish_color_param 850c3f
fish_color_keyword 008b0c
fish_color_quote 997b00
fish_color_redirection 0057d1
fish_color_end a018ff
fish_color_comment 7b8496
fish_color_error d11500
fish_color_gray 7b8496
fish_color_selection --background=acacac
fish_color_search_match --background=acacac
fish_color_option 997b00
fish_color_operator 0057d1
fish_color_escape 850c3f
fish_color_autosuggestion 7b8496
fish_color_cancel d11500
fish_color_cwd d17c00
fish_color_user 008b6e
fish_color_host 008b0c
fish_color_host_remote 997b00
fish_color_status d11500
fish_pager_color_progress 7b8496
fish_pager_color_prefix 0057d1
fish_pager_color_completion 16181a
fish_pager_color_description 7b8496
23 changes: 23 additions & 0 deletions extras/gitui/cyberdream-light.ron
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
(
selected_tab: Rgb(0, 140, 153), // bright cyan for highlight
command_fg: Rgb(22, 24, 26), // white for commands foreground
selection_bg: Rgb(172, 172, 172), // darker grey for selection background
selection_fg: Rgb(22, 24, 26), // white for selected text
cmdbar_bg: Rgb(255, 255, 255), // very dark grey almost black for command bar background
cmdbar_extra_lines_bg: Rgb(255, 255, 255), // very dark grey almost black for extra lines in command bar
disabled_fg: Rgb(123, 132, 150), // a soft grey for disabled elements, adjusted to fit the theme
diff_line_add: Rgb(0, 139, 12), // vibrant green for added lines
diff_line_delete: Rgb(209, 21, 0), // vibrant red for deleted lines
diff_file_added: Rgb(153, 123, 0), // yellow for added files
diff_file_removed: Rgb(244, 0, 100), // light red for removed files
diff_file_moved: Rgb(160, 24, 255), // purple for moved files
diff_file_modified: Rgb(0, 87, 209), // blue for modified files
commit_hash: Rgb(91, 24, 140), // light purplish for commit hashes
commit_time: Rgb(61, 109, 179), // greyish blue for commit time
commit_author: Rgb(0, 87, 209), // soft blue for author
danger_fg: Rgb(209, 21, 0), // vibrant red for danger
push_gauge_bg: Rgb(0, 87, 209), // soft blue for push gauge background
push_gauge_fg: Rgb(117, 160, 221), // dark blue for push gauge foreground
tag_fg: Rgb(133, 12, 63), // light pastel pink for tags
branch_fg: Rgb(0, 139, 110) // soft turquoise for branches
)
87 changes: 87 additions & 0 deletions extras/helix/cyberdream-light.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
# cyberdream theme for helix
"ui.background" = "bg"
"ui.text" = "fg"
"ui.cursor" = { bg = "fg", fg = "bg" }
"ui.linenr" = "grey"
"ui.statusline" = { fg = "cyan" }
"ui.selection" = "green"
"ui.selection.primary" = "magenta"

# Syntax Highlighting for Code
"comment" = { fg = "grey", modifiers = ["italic"] }
"comment.line" = { fg = "grey", modifiers = ["italic"] }
"comment.block" = { fg = "grey", modifiers = ["italic"] }
"comment.documentation" = { fg = "blue", modifiers = ["italic"] }
"keyword" = "orange"
"keyword.control" = "orange"
"keyword.operator" = "pink"
"keyword.function" = "orange"
"type" = "cyan"
"type.builtin" = "cyan"
"function" = "blue"
"function.builtin" = "pink"
"function.method" = "blue"
"variable" = "fg"
"variable.builtin" = "magenta"
"variable.parameter" = "cyan"
"string" = "green"
"string.special" = "pink"
"constant" = "fg"
"constant.builtin" = "red"
"constant.numeric" = "yellow"
"constant.character" = "pink"
"constant.boolean" = "red"
"attribute" = "magenta"
"operator" = "purple"
"tag" = { fg = "purple", modifiers = ["bold"] }
"tag.special" = { fg = "orange", modifiers = ["bold"] }
"namespace" = "purple"
"macro" = "orange"
"label" = "red"

# Interface specific
"ui.cursorline.primary" = { bg = "bgHighlight" }
"ui.cursorline.secondary" = { bg = "bgAlt" }
"ui.cursorcolumn.primary" = { bg = "bgHighlight" }
"ui.cursorcolumn.secondary" = { bg = "bgAlt" }
"ui.statusline.normal" = { fg = "fg", bg = "bg" }
"ui.statusline.insert" = { fg = "green", bg = "bg" }
"ui.statusline.select" = { fg = "blue", bg = "bg" }
"ui.statusline.command" = { fg = "red", bg = "bg" }
"ui.statusline.visual" = { fg = "purple", bg = "bg" }

# Diagnostic styles
"warning" = { fg = "yellow", modifiers = ["bold"] }
"error" = { fg = "red", modifiers = ["bold"] }
"info" = { fg = "cyan", modifiers = ["bold"] }
"hint" = { fg = "blue", modifiers = ["bold"] }
"diagnostic.error" = { fg = "red" }
"diagnostic.warning" = { fg = "yellow" }
"diagnostic.info" = { fg = "cyan" }
"diagnostic.hint" = { fg = "blue" }

# Popups and Menus
"ui.popup" = { fg = "fg", bg = "bg" }
"ui.popup.info" = { fg = "cyan", bg = "bgAlt" }
"ui.menu" = { fg = "fg", bg = "bg" }
"ui.menu.selected" = { fg = "bg", bg = "fg" }

# Additional overrides
"ui.virtual.whitespace" = "grey"
"ui.virtual.indent-guide" = { fg = "grey", style = "dotted" }

[palette]
bg = "#ffffff"
fg = "#16181a"
grey = "#7b8496"
blue = "#0057d1"
green = "#008b0c"
cyan = "#008c99"
red = "#d11500"
yellow = "#997b00"
magenta = "#d100bf"
pink = "#f40064"
orange = "#d17c00"
purple = "#a018ff"
bgAlt = "#eaeaea"
bgHighlight = "#acacac"
13 changes: 13 additions & 0 deletions extras/lazydocker/cyberdream-light.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# yaml-language-server: $schema=https://json.schemastore.org/lazydocker.json
# cyberdream theme for lazygit
gui:
border: rounded # pending merge of https://github.com/jesseduffield/lazydocker/pull/529 🤞
theme:
activeBorderColor:
- "#008c99"
inactiveBorderColor:
- "#7b8496"
selectedLineBgColor:
- "#acacac"
optionsTextColor:
- "#acacac"
23 changes: 23 additions & 0 deletions extras/lazygit/cyberdream-light.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# yaml-language-server: $schema=https://raw.githubusercontent.com/jesseduffield/lazygit/master/schema/config.json
# cyberdream theme for lazygit
gui:
border: rounded
theme:
activeBorderColor:
- "#008c99"
inactiveBorderColor:
- "#7b8496"
searchingActiveBorderColor:
- "#d100bf"
optionsTextColor:
- "#acacac"
selectedLineBgColor:
- "#acacac"
cherryPickedCommitBgColor:
- "#acacac"
cherryPickedCommitFgColor:
- "#f40064"
unstagedChangesColor:
- "#d17c00"
defaultFgColor:
- "#16181a"
27 changes: 27 additions & 0 deletions extras/pywal/cyberdream-light.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"colors": {
"color0": "#ffffff",
"color1": "#d11500",
"color2": "#008b0c",
"color3": "#997b00",
"color4": "#0057d1",
"color5": "#a018ff",
"color6": "#008c99",
"color7": "#16181a",
"color8": "#acacac",
"color9": "#d11500",
"color10": "#008b0c",
"color11": "#997b00",
"color12": "#0057d1",
"color13": "#a018ff",
"color14": "#008c99",
"color15": "#16181a",
"color16": "#d17c00",
"color17": "#d11500"
},
"special": {
"foreground": "#16181a",
"background": "#ffffff",
"cursor": "#16181a"
}
}
Loading

0 comments on commit 548968a

Please sign in to comment.