-
-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into light-variant
- Loading branch information
Showing
28 changed files
with
1,813 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: Generate Extras | ||
on: | ||
push: | ||
|
||
jobs: | ||
generate-extras: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Install Neovim | ||
uses: rhysd/action-setup-vim@v1 | ||
with: | ||
neovim: true | ||
version: stable | ||
|
||
- name: Generate Extras | ||
run: | | ||
nvim -u NONE -E -R --headless --cmd "set rtp^=." --cmd "lua require('cyberdream.extra').generate_all_extras()" --cmd qa | ||
- name: Commit changes | ||
uses: stefanzweifel/git-auto-commit-action@v4 | ||
with: | ||
commit_message: "chore: generate extras" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
extras/alacritty_cyberdream.toml → extras/alacritty/cyberdream.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
## Usage | ||
|
||
### Install | ||
|
||
1. Place the `cyberdream.theme` under `~/.config/fish/themes/` | ||
|
||
2. Run command to set the theme: | ||
|
||
```bash | ||
fish_config theme save cyberdream | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: 16181a | ||
|
||
fish_color_normal ffffff | ||
fish_color_command 5ef1ff | ||
fish_color_param ffaecf | ||
fish_color_keyword 5eff6c | ||
fish_color_quote f1ff5e | ||
fish_color_redirection 5ea1ff | ||
fish_color_end bd5eff | ||
fish_color_comment 7b8496 | ||
fish_color_error ff6e5e | ||
fish_color_gray 7b8496 | ||
fish_color_selection --background=3c4048 | ||
fish_color_search_match --background=3c4048 | ||
fish_color_option f1ff5e | ||
fish_color_operator 5ea1ff | ||
fish_color_escape ffaecf | ||
fish_color_autosuggestion 7b8496 | ||
fish_color_cancel ff6e5e | ||
fish_color_cwd ffbd5e | ||
fish_color_user 5ef5d2 | ||
fish_color_host 5eff6c | ||
fish_color_host_remote f1ff5e | ||
fish_color_status ff6e5e | ||
fish_pager_color_progress 7b8496 | ||
fish_pager_color_prefix 5ea1ff | ||
fish_pager_color_completion ffffff | ||
fish_pager_color_description 7b8496 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
( | ||
selected_tab: Rgb(94, 241, 255), // bright cyan for highlight | ||
command_fg: Rgb(255, 255, 255), // white for commands foreground | ||
selection_bg: Rgb(60, 64, 72), // darker grey for selection background | ||
selection_fg: Rgb(255, 255, 255), // white for selected text | ||
cmdbar_bg: Rgb(22, 24, 26), // very dark grey almost black for command bar background | ||
cmdbar_extra_lines_bg: Rgb(22, 24, 26), // 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(94, 255, 108), // vibrant green for added lines | ||
diff_line_delete: Rgb(255, 110, 94), // vibrant red for deleted lines | ||
diff_file_added: Rgb(241, 255, 94), // yellow for added files | ||
diff_file_removed: Rgb(255, 94, 160), // light red for removed files | ||
diff_file_moved: Rgb(189, 94, 255), // purple for moved files | ||
diff_file_modified: Rgb(94, 161, 255), // blue for modified files | ||
commit_hash: Rgb(222, 174, 255), // light purplish for commit hashes | ||
commit_time: Rgb(108, 146, 202), // greyish blue for commit time | ||
commit_author: Rgb(94, 161, 255), // soft blue for author | ||
danger_fg: Rgb(255, 110, 94), // vibrant red for danger | ||
push_gauge_bg: Rgb(94, 161, 255), // soft blue for push gauge background | ||
push_gauge_fg: Rgb(62, 97, 145), // dark blue for push gauge foreground | ||
tag_fg: Rgb(255, 174, 207), // light pastel pink for tags | ||
branch_fg: Rgb(94, 245, 210) // soft turquoise for branches | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
## Usage | ||
|
||
### Install | ||
|
||
1. Place the `cyberdream.toml` under `$HOME/.config/helix/themes` | ||
2. Open `hx` and run the command `:theme cyberdream` | ||
3. If you want permanentely to use the theme, add this to your `$HOME/.config/helix/config.toml`: | ||
```toml | ||
theme = "cyberdream" | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 = "#16181a" | ||
fg = "#ffffff" | ||
grey = "#7b8496" | ||
blue = "#5ea1ff" | ||
green = "#5eff6c" | ||
cyan = "#5ef1ff" | ||
red = "#ff6e5e" | ||
yellow = "#f1ff5e" | ||
magenta = "#ff5ef1" | ||
pink = "#ff5ea0" | ||
orange = "#ffbd5e" | ||
purple = "#bd5eff" | ||
bgAlt = "#1e2124" | ||
bgHighlight = "#3c4048" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
extras/windows_terminal.json → extras/windowsterminal/cyberdream.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
local colors = require("cyberdream.colors") | ||
local util = require("cyberdream.util") | ||
|
||
local M = {} | ||
|
||
--- Format a color for use in allacritty. | ||
--- @param hex string: The hex color to format. Must be in the format "#RRGGBB". | ||
local function format_color(hex) | ||
return "0x" .. string.sub(hex, 2) | ||
end | ||
|
||
--- Iterate over the colors in a table and format them. | ||
--- @param t table: The table of colors to format. | ||
local function format_colors(t) | ||
local formatted = {} | ||
for k, v in pairs(t) do | ||
formatted[k] = format_color(v) | ||
end | ||
return formatted | ||
end | ||
|
||
--- Generate the theme for alacritty. | ||
--- @param variant string: Variation of the colorscheme to use. | ||
function M.generate(variant) | ||
local t = format_colors(colors[variant]) | ||
local template = [==[ | ||
# cyberdream theme for alacritty | ||
[[colors.indexed_colors]] | ||
color = "${orange}" | ||
index = 16 | ||
[[colors.indexed_colors]] | ||
color = "${red}" | ||
index = 17 | ||
[colors.bright] | ||
black = "${bgHighlight}" | ||
blue = "${blue}" | ||
cyan = "${cyan}" | ||
green = "${green}" | ||
magenta = "${purple}" | ||
red = "${red}" | ||
white = "${fg}" | ||
yellow = "${yellow}" | ||
[colors.normal] | ||
black = "${bg}" | ||
blue = "${blue}" | ||
cyan = "${cyan}" | ||
green = "${green}" | ||
magenta = "${purple}" | ||
red = "${red}" | ||
white = "${fg}" | ||
yellow = "${yellow}" | ||
[colors.primary] | ||
background = "${bg}" | ||
foreground = "${fg}" | ||
[colors.selection] | ||
background = "${bgHighlight}" | ||
foreground = "${fg}" | ||
]==] | ||
|
||
return util.parse_extra_template(template, t) | ||
end | ||
|
||
return M |
Oops, something went wrong.