diff --git a/extras/alacritty/duckbones.toml b/extras/alacritty/duckbones.toml new file mode 100644 index 0000000..02cae7a --- /dev/null +++ b/extras/alacritty/duckbones.toml @@ -0,0 +1,25 @@ +# This file is auto-generated by shipwright.nvim +[colors.bright] +black = "#2B2F46" +red = "#FF4821" +green = "#58DB9E" +yellow = "#F6A100" +blue = "#00B4E0" +magenta = "#B3A1E6" +cyan = "#00B4E0" +white = "#B3B692" +[colors.cursor] +cursor = "#EDF2C2" +text = "#0E101A" +[colors.normal] +black = "#0E101A" +blue = "#00A3CB" +cyan = "#00A3CB" +green = "#5DCD97" +magenta = "#795CCC" +red = "#E03600" +white = "#EBEFC0" +yellow = "#E39500" +[colors.primary] +background = "#0E101A" +foreground = "#EBEFC0" diff --git a/extras/alacritty/duckbones.yml b/extras/alacritty/duckbones.yml deleted file mode 100644 index a65025d..0000000 --- a/extras/alacritty/duckbones.yml +++ /dev/null @@ -1,26 +0,0 @@ -# This file is auto-generated by shipwright.nvim -colors: - primary: - foreground: '#EBEFC0' - background: '#0E101A' - cursor: - cursor: '#EDF2C2' - text: '#0E101A' - normal: - black: '#0E101A' - red: '#E03600' - green: '#5DCD97' - yellow: '#E39500' - blue: '#00A3CB' - magenta: '#795CCC' - cyan: '#00A3CB' - white: '#EBEFC0' - bright: - black: '#2B2F46' - red: '#FF4821' - green: '#58DB9E' - yellow: '#F6A100' - blue: '#00B4E0' - magenta: '#B3A1E6' - cyan: '#00B4E0' - white: '#B3B692' diff --git a/extras/alacritty/kanagawabones.toml b/extras/alacritty/kanagawabones.toml new file mode 100644 index 0000000..bd2b985 --- /dev/null +++ b/extras/alacritty/kanagawabones.toml @@ -0,0 +1,25 @@ +# This file is auto-generated by shipwright.nvim +[colors.bright] +black = "#3C3C51" +red = "#EC818C" +green = "#9EC967" +yellow = "#F1C982" +blue = "#7BC2DF" +magenta = "#A98FD2" +cyan = "#7BC2DF" +white = "#A8A48D" +[colors.cursor] +cursor = "#E6E0C2" +text = "#1F1F28" +[colors.normal] +black = "#1F1F28" +blue = "#7EB3C9" +cyan = "#7EB3C9" +green = "#98BC6D" +magenta = "#957FB8" +red = "#E46A78" +white = "#DDD8BB" +yellow = "#E5C283" +[colors.primary] +background = "#1F1F28" +foreground = "#DDD8BB" diff --git a/extras/alacritty/kanagawabones.yml b/extras/alacritty/kanagawabones.yml deleted file mode 100644 index 7fb9fa0..0000000 --- a/extras/alacritty/kanagawabones.yml +++ /dev/null @@ -1,26 +0,0 @@ -# This file is auto-generated by shipwright.nvim -colors: - primary: - foreground: '#DDD8BB' - background: '#1F1F28' - cursor: - cursor: '#E6E0C2' - text: '#1F1F28' - normal: - black: '#1F1F28' - red: '#E46A78' - green: '#98BC6D' - yellow: '#E5C283' - blue: '#7EB3C9' - magenta: '#957FB8' - cyan: '#7EB3C9' - white: '#DDD8BB' - bright: - black: '#3C3C51' - red: '#EC818C' - green: '#9EC967' - yellow: '#F1C982' - blue: '#7BC2DF' - magenta: '#A98FD2' - cyan: '#7BC2DF' - white: '#A8A48D' diff --git a/extras/alacritty/neobones_dark.toml b/extras/alacritty/neobones_dark.toml new file mode 100644 index 0000000..5c07d92 --- /dev/null +++ b/extras/alacritty/neobones_dark.toml @@ -0,0 +1,25 @@ +# This file is auto-generated by shipwright.nvim +[colors.bright] +black = "#263945" +red = "#E8838F" +green = "#A0FF85" +yellow = "#D68C67" +blue = "#92A0E2" +magenta = "#CF86C1" +cyan = "#65B8C1" +white = "#98A39E" +[colors.cursor] +cursor = "#CEDDD7" +text = "#0F191F" +[colors.normal] +black = "#0F191F" +blue = "#8190D4" +cyan = "#66A5AD" +green = "#90FF6B" +magenta = "#B279A7" +red = "#DE6E7C" +white = "#C6D5CF" +yellow = "#B77E64" +[colors.primary] +background = "#0F191F" +foreground = "#C6D5CF" diff --git a/extras/alacritty/neobones_dark.yml b/extras/alacritty/neobones_dark.yml deleted file mode 100644 index bab277d..0000000 --- a/extras/alacritty/neobones_dark.yml +++ /dev/null @@ -1,26 +0,0 @@ -# This file is auto-generated by shipwright.nvim -colors: - primary: - foreground: '#C6D5CF' - background: '#0F191F' - cursor: - cursor: '#CEDDD7' - text: '#0F191F' - normal: - black: '#0F191F' - red: '#DE6E7C' - green: '#90FF6B' - yellow: '#B77E64' - blue: '#8190D4' - magenta: '#B279A7' - cyan: '#66A5AD' - white: '#C6D5CF' - bright: - black: '#263945' - red: '#E8838F' - green: '#A0FF85' - yellow: '#D68C67' - blue: '#92A0E2' - magenta: '#CF86C1' - cyan: '#65B8C1' - white: '#98A39E' diff --git a/extras/alacritty/neobones_light.toml b/extras/alacritty/neobones_light.toml new file mode 100644 index 0000000..a82dfcc --- /dev/null +++ b/extras/alacritty/neobones_light.toml @@ -0,0 +1,25 @@ +# This file is auto-generated by shipwright.nvim +[colors.bright] +black = "#B3C6B6" +red = "#94253E" +green = "#3F5A22" +yellow = "#803D1C" +blue = "#1D5573" +magenta = "#7B3B70" +cyan = "#2B747C" +white = "#415934" +[colors.cursor] +cursor = "#202E18" +text = "#E5EDE6" +[colors.normal] +black = "#E5EDE6" +blue = "#286486" +cyan = "#3B8992" +green = "#567A30" +magenta = "#88507D" +red = "#A8334C" +white = "#202E18" +yellow = "#944927" +[colors.primary] +background = "#E5EDE6" +foreground = "#202E18" diff --git a/extras/alacritty/neobones_light.yml b/extras/alacritty/neobones_light.yml deleted file mode 100644 index 6aed49c..0000000 --- a/extras/alacritty/neobones_light.yml +++ /dev/null @@ -1,26 +0,0 @@ -# This file is auto-generated by shipwright.nvim -colors: - primary: - foreground: '#202E18' - background: '#E5EDE6' - cursor: - cursor: '#202E18' - text: '#E5EDE6' - normal: - black: '#E5EDE6' - red: '#A8334C' - green: '#567A30' - yellow: '#944927' - blue: '#286486' - magenta: '#88507D' - cyan: '#3B8992' - white: '#202E18' - bright: - black: '#B3C6B6' - red: '#94253E' - green: '#3F5A22' - yellow: '#803D1C' - blue: '#1D5573' - magenta: '#7B3B70' - cyan: '#2B747C' - white: '#415934' diff --git a/extras/alacritty/seoulbones_dark.toml b/extras/alacritty/seoulbones_dark.toml new file mode 100644 index 0000000..9342288 --- /dev/null +++ b/extras/alacritty/seoulbones_dark.toml @@ -0,0 +1,25 @@ +# This file is auto-generated by shipwright.nvim +[colors.bright] +black = "#6C6465" +red = "#EB99B1" +green = "#8FCD92" +yellow = "#FFE5B3" +blue = "#A2C8E9" +magenta = "#B2B3DA" +cyan = "#6BCACB" +white = "#A8A8A8" +[colors.cursor] +cursor = "#E2E2E2" +text = "#4B4B4B" +[colors.normal] +black = "#4B4B4B" +blue = "#97BDDE" +cyan = "#6FBDBE" +green = "#98BD99" +magenta = "#A5A6C5" +red = "#E388A3" +white = "#DDDDDD" +yellow = "#FFDF9B" +[colors.primary] +background = "#4B4B4B" +foreground = "#DDDDDD" diff --git a/extras/alacritty/seoulbones_dark.yml b/extras/alacritty/seoulbones_dark.yml deleted file mode 100644 index 045f939..0000000 --- a/extras/alacritty/seoulbones_dark.yml +++ /dev/null @@ -1,26 +0,0 @@ -# This file is auto-generated by shipwright.nvim -colors: - primary: - foreground: '#DDDDDD' - background: '#4B4B4B' - cursor: - cursor: '#E2E2E2' - text: '#4B4B4B' - normal: - black: '#4B4B4B' - red: '#E388A3' - green: '#98BD99' - yellow: '#FFDF9B' - blue: '#97BDDE' - magenta: '#A5A6C5' - cyan: '#6FBDBE' - white: '#DDDDDD' - bright: - black: '#6C6465' - red: '#EB99B1' - green: '#8FCD92' - yellow: '#FFE5B3' - blue: '#A2C8E9' - magenta: '#B2B3DA' - cyan: '#6BCACB' - white: '#A8A8A8' diff --git a/extras/alacritty/seoulbones_light.toml b/extras/alacritty/seoulbones_light.toml new file mode 100644 index 0000000..40eeb66 --- /dev/null +++ b/extras/alacritty/seoulbones_light.toml @@ -0,0 +1,25 @@ +# This file is auto-generated by shipwright.nvim +[colors.bright] +black = "#BFBABB" +red = "#BE3C6D" +green = "#487249" +yellow = "#A76B48" +blue = "#006F89" +magenta = "#7F4C7E" +cyan = "#006F70" +white = "#777777" +[colors.cursor] +cursor = "#555555" +text = "#E2E2E2" +[colors.normal] +black = "#E2E2E2" +blue = "#0084A3" +cyan = "#008586" +green = "#628562" +magenta = "#896788" +red = "#DC5284" +white = "#555555" +yellow = "#C48562" +[colors.primary] +background = "#E2E2E2" +foreground = "#555555" diff --git a/extras/alacritty/seoulbones_light.yml b/extras/alacritty/seoulbones_light.yml deleted file mode 100644 index 63aac25..0000000 --- a/extras/alacritty/seoulbones_light.yml +++ /dev/null @@ -1,26 +0,0 @@ -# This file is auto-generated by shipwright.nvim -colors: - primary: - foreground: '#555555' - background: '#E2E2E2' - cursor: - cursor: '#555555' - text: '#E2E2E2' - normal: - black: '#E2E2E2' - red: '#DC5284' - green: '#628562' - yellow: '#C48562' - blue: '#0084A3' - magenta: '#896788' - cyan: '#008586' - white: '#555555' - bright: - black: '#BFBABB' - red: '#BE3C6D' - green: '#487249' - yellow: '#A76B48' - blue: '#006F89' - magenta: '#7F4C7E' - cyan: '#006F70' - white: '#777777' diff --git a/extras/alacritty/vimbones.toml b/extras/alacritty/vimbones.toml new file mode 100644 index 0000000..2949a46 --- /dev/null +++ b/extras/alacritty/vimbones.toml @@ -0,0 +1,25 @@ +# This file is auto-generated by shipwright.nvim +[colors.bright] +black = "#C6C6A3" +red = "#94253E" +green = "#3F5A22" +yellow = "#803D1C" +blue = "#1D5573" +magenta = "#7B3B70" +cyan = "#2B747C" +white = "#5C5C5C" +[colors.cursor] +cursor = "#353535" +text = "#F0F0CA" +[colors.normal] +black = "#F0F0CA" +blue = "#286486" +cyan = "#3B8992" +green = "#4F6C31" +magenta = "#88507D" +red = "#A8334C" +white = "#353535" +yellow = "#944927" +[colors.primary] +background = "#F0F0CA" +foreground = "#353535" diff --git a/extras/alacritty/vimbones.yml b/extras/alacritty/vimbones.yml deleted file mode 100644 index 3df7dda..0000000 --- a/extras/alacritty/vimbones.yml +++ /dev/null @@ -1,26 +0,0 @@ -# This file is auto-generated by shipwright.nvim -colors: - primary: - foreground: '#353535' - background: '#F0F0CA' - cursor: - cursor: '#353535' - text: '#F0F0CA' - normal: - black: '#F0F0CA' - red: '#A8334C' - green: '#4F6C31' - yellow: '#944927' - blue: '#286486' - magenta: '#88507D' - cyan: '#3B8992' - white: '#353535' - bright: - black: '#C6C6A3' - red: '#94253E' - green: '#3F5A22' - yellow: '#803D1C' - blue: '#1D5573' - magenta: '#7B3B70' - cyan: '#2B747C' - white: '#5C5C5C' diff --git a/extras/alacritty/zenbones_dark.toml b/extras/alacritty/zenbones_dark.toml new file mode 100644 index 0000000..feb9272 --- /dev/null +++ b/extras/alacritty/zenbones_dark.toml @@ -0,0 +1,25 @@ +# This file is auto-generated by shipwright.nvim +[colors.bright] +black = "#403833" +red = "#E8838F" +green = "#8BAE68" +yellow = "#D68C67" +blue = "#61ABDA" +magenta = "#CF86C1" +cyan = "#65B8C1" +white = "#888F94" +[colors.cursor] +cursor = "#C4CACF" +text = "#1C1917" +[colors.normal] +black = "#1C1917" +blue = "#6099C0" +cyan = "#66A5AD" +green = "#819B69" +magenta = "#B279A7" +red = "#DE6E7C" +white = "#B4BDC3" +yellow = "#B77E64" +[colors.primary] +background = "#1C1917" +foreground = "#B4BDC3" diff --git a/extras/alacritty/zenbones_dark.yml b/extras/alacritty/zenbones_dark.yml deleted file mode 100644 index 9e88dbb..0000000 --- a/extras/alacritty/zenbones_dark.yml +++ /dev/null @@ -1,26 +0,0 @@ -# This file is auto-generated by shipwright.nvim -colors: - primary: - foreground: '#B4BDC3' - background: '#1C1917' - cursor: - cursor: '#C4CACF' - text: '#1C1917' - normal: - black: '#1C1917' - red: '#DE6E7C' - green: '#819B69' - yellow: '#B77E64' - blue: '#6099C0' - magenta: '#B279A7' - cyan: '#66A5AD' - white: '#B4BDC3' - bright: - black: '#403833' - red: '#E8838F' - green: '#8BAE68' - yellow: '#D68C67' - blue: '#61ABDA' - magenta: '#CF86C1' - cyan: '#65B8C1' - white: '#888F94' diff --git a/extras/alacritty/zenbones_light.toml b/extras/alacritty/zenbones_light.toml new file mode 100644 index 0000000..5c54c7e --- /dev/null +++ b/extras/alacritty/zenbones_light.toml @@ -0,0 +1,25 @@ +# This file is auto-generated by shipwright.nvim +[colors.bright] +black = "#CFC1BA" +red = "#94253E" +green = "#3F5A22" +yellow = "#803D1C" +blue = "#1D5573" +magenta = "#7B3B70" +cyan = "#2B747C" +white = "#4F5E68" +[colors.cursor] +cursor = "#2C363C" +text = "#F0EDEC" +[colors.normal] +black = "#F0EDEC" +blue = "#286486" +cyan = "#3B8992" +green = "#4F6C31" +magenta = "#88507D" +red = "#A8334C" +white = "#2C363C" +yellow = "#944927" +[colors.primary] +background = "#F0EDEC" +foreground = "#2C363C" diff --git a/extras/alacritty/zenbones_light.yml b/extras/alacritty/zenbones_light.yml deleted file mode 100644 index bbf0368..0000000 --- a/extras/alacritty/zenbones_light.yml +++ /dev/null @@ -1,26 +0,0 @@ -# This file is auto-generated by shipwright.nvim -colors: - primary: - foreground: '#2C363C' - background: '#F0EDEC' - cursor: - cursor: '#2C363C' - text: '#F0EDEC' - normal: - black: '#F0EDEC' - red: '#A8334C' - green: '#4F6C31' - yellow: '#944927' - blue: '#286486' - magenta: '#88507D' - cyan: '#3B8992' - white: '#2C363C' - bright: - black: '#CFC1BA' - red: '#94253E' - green: '#3F5A22' - yellow: '#803D1C' - blue: '#1D5573' - magenta: '#7B3B70' - cyan: '#2B747C' - white: '#4F5E68' diff --git a/extras/alacritty/zenburned.toml b/extras/alacritty/zenburned.toml new file mode 100644 index 0000000..7d2b39d --- /dev/null +++ b/extras/alacritty/zenburned.toml @@ -0,0 +1,25 @@ +# This file is auto-generated by shipwright.nvim +[colors.bright] +black = "#625A5B" +red = "#EC8685" +green = "#8BAE68" +yellow = "#D68C67" +blue = "#61ABDA" +magenta = "#CF86C1" +cyan = "#65B8C1" +white = "#C0AB86" +[colors.cursor] +cursor = "#F3EADB" +text = "#404040" +[colors.normal] +black = "#404040" +blue = "#6099C0" +cyan = "#66A5AD" +green = "#819B69" +magenta = "#B279A7" +red = "#E3716E" +white = "#F0E4CF" +yellow = "#B77E64" +[colors.primary] +background = "#404040" +foreground = "#F0E4CF" diff --git a/extras/alacritty/zenburned.yml b/extras/alacritty/zenburned.yml deleted file mode 100644 index 61d2960..0000000 --- a/extras/alacritty/zenburned.yml +++ /dev/null @@ -1,26 +0,0 @@ -# This file is auto-generated by shipwright.nvim -colors: - primary: - foreground: '#F0E4CF' - background: '#404040' - cursor: - cursor: '#F3EADB' - text: '#404040' - normal: - black: '#404040' - red: '#E3716E' - green: '#819B69' - yellow: '#B77E64' - blue: '#6099C0' - magenta: '#B279A7' - cyan: '#66A5AD' - white: '#F0E4CF' - bright: - black: '#625A5B' - red: '#EC8685' - green: '#8BAE68' - yellow: '#D68C67' - blue: '#61ABDA' - magenta: '#CF86C1' - cyan: '#65B8C1' - white: '#C0AB86' diff --git a/extras/alacritty/zenwritten_dark.toml b/extras/alacritty/zenwritten_dark.toml new file mode 100644 index 0000000..26d1619 --- /dev/null +++ b/extras/alacritty/zenwritten_dark.toml @@ -0,0 +1,25 @@ +# This file is auto-generated by shipwright.nvim +[colors.bright] +black = "#3D3839" +red = "#E8838F" +green = "#8BAE68" +yellow = "#D68C67" +blue = "#61ABDA" +magenta = "#CF86C1" +cyan = "#65B8C1" +white = "#8E8E8E" +[colors.cursor] +cursor = "#C9C9C9" +text = "#191919" +[colors.normal] +black = "#191919" +blue = "#6099C0" +cyan = "#66A5AD" +green = "#819B69" +magenta = "#B279A7" +red = "#DE6E7C" +white = "#BBBBBB" +yellow = "#B77E64" +[colors.primary] +background = "#191919" +foreground = "#BBBBBB" diff --git a/extras/alacritty/zenwritten_dark.yml b/extras/alacritty/zenwritten_dark.yml deleted file mode 100644 index fb7ef7a..0000000 --- a/extras/alacritty/zenwritten_dark.yml +++ /dev/null @@ -1,26 +0,0 @@ -# This file is auto-generated by shipwright.nvim -colors: - primary: - foreground: '#BBBBBB' - background: '#191919' - cursor: - cursor: '#C9C9C9' - text: '#191919' - normal: - black: '#191919' - red: '#DE6E7C' - green: '#819B69' - yellow: '#B77E64' - blue: '#6099C0' - magenta: '#B279A7' - cyan: '#66A5AD' - white: '#BBBBBB' - bright: - black: '#3D3839' - red: '#E8838F' - green: '#8BAE68' - yellow: '#D68C67' - blue: '#61ABDA' - magenta: '#CF86C1' - cyan: '#65B8C1' - white: '#8E8E8E' diff --git a/extras/alacritty/zenwritten_light.toml b/extras/alacritty/zenwritten_light.toml new file mode 100644 index 0000000..bcf48d3 --- /dev/null +++ b/extras/alacritty/zenwritten_light.toml @@ -0,0 +1,25 @@ +# This file is auto-generated by shipwright.nvim +[colors.bright] +black = "#C6C3C3" +red = "#94253E" +green = "#3F5A22" +yellow = "#803D1C" +blue = "#1D5573" +magenta = "#7B3B70" +cyan = "#2B747C" +white = "#5C5C5C" +[colors.cursor] +cursor = "#353535" +text = "#EEEEEE" +[colors.normal] +black = "#EEEEEE" +blue = "#286486" +cyan = "#3B8992" +green = "#4F6C31" +magenta = "#88507D" +red = "#A8334C" +white = "#353535" +yellow = "#944927" +[colors.primary] +background = "#EEEEEE" +foreground = "#353535" diff --git a/extras/alacritty/zenwritten_light.yml b/extras/alacritty/zenwritten_light.yml deleted file mode 100644 index a8d3899..0000000 --- a/extras/alacritty/zenwritten_light.yml +++ /dev/null @@ -1,26 +0,0 @@ -# This file is auto-generated by shipwright.nvim -colors: - primary: - foreground: '#353535' - background: '#EEEEEE' - cursor: - cursor: '#353535' - text: '#EEEEEE' - normal: - black: '#EEEEEE' - red: '#A8334C' - green: '#4F6C31' - yellow: '#944927' - blue: '#286486' - magenta: '#88507D' - cyan: '#3B8992' - white: '#353535' - bright: - black: '#C6C3C3' - red: '#94253E' - green: '#3F5A22' - yellow: '#803D1C' - blue: '#1D5573' - magenta: '#7B3B70' - cyan: '#2B747C' - white: '#5C5C5C' diff --git a/lua/zenbones/shipwright/runners/alacritty.lua b/lua/zenbones/shipwright/runners/alacritty.lua index 878dbf0..e3075dd 100644 --- a/lua/zenbones/shipwright/runners/alacritty.lua +++ b/lua/zenbones/shipwright/runners/alacritty.lua @@ -1,11 +1,48 @@ +local helpers = require("shipwright.transform.helpers") + +local base_template = [[ +[colors.bright] +black = "$bright_black" +red = "$bright_red" +green = "$bright_green" +yellow = "$bright_yellow" +blue = "$bright_blue" +magenta = "$bright_magenta" +cyan = "$bright_cyan" +white = "$bright_white" + +[colors.cursor] +cursor = "$cursor_bg" +text = "$cursor_fg" + +[colors.normal] +black = "$black" +blue = "$blue" +cyan = "$cyan" +green = "$green" +magenta = "$magenta" +red = "$red" +white = "$white" +yellow = "$yellow" + +[colors.primary] +background = "$bg" +foreground = "$fg"]] + +local function alacritty_toml(colors) + local text = helpers.apply_template(base_template, colors) + + return helpers.split_newlines(text) +end + ---@diagnostic disable: undefined-global -- selene: allow(undefined_variable) run( { specs, p, term }, transform.colorscheme_to_term_colors, - contrib.alacritty, + alacritty_toml, { prepend, "# This file is auto-generated by shipwright.nvim" }, - { overwrite, string.format("extras/alacritty/%s.yml", name) } + { overwrite, string.format("extras/alacritty/%s.toml", name) } ) -- selene: deny(undefined_variable) ---@diagnostic enable: undefined-global