Jean-Tinland / iTerm2-theme-desaturated

A port of my vscode Night Shift theme to iTerm2
MIT License
5 stars 2 forks source link

Port resquest #1

Open gldtn opened 9 months ago

gldtn commented 9 months ago

Can you convert this to Alacritty terminal?

Either yaml or toml, alacritty 13(not released yet) can convert from yaml to toml.

Here is an example theme:

# Colors section of "Alacritty - TOML configuration file format"
# https://github.com/alacritty/alacritty/blob/master/extra/man/alacritty.5.scd#colors

[colors.primary]
foreground = "#e0def4"
background = "#191724"
dim_foreground = "#908caa"
bright_foreground = "#e0def4"

[colors.cursor]
text = "#e0def4"
cursor = "#524f67"

[colors.vi_mode_cursor]
text = "#e0def4"
cursor = "#524f67"

[colors.search.matches]
foreground = "#908caa"
background = "#26233a"

[colors.search.focused_match]
foreground = "#191724"
background = "#ebbcba"

[colors.hints.start]
foreground = "#908caa"
background = "#1f1d2e"

[colors.hints.end]
foreground = "#6e6a86"
background = "#1f1d2e"

[colors.line_indicator]
foreground = "None"
background = "None"

[colors.footer_bar]
foreground = "#e0def4"
background = "#1f1d2e"

[colors.selection]
text = "#e0def4"
background = "#403d52"

[colors.normal]
black = "#26233a"
red = "#eb6f92"
green = "#31748f"
yellow = "#f6c177"
blue = "#9ccfd8"
magenta = "#c4a7e7"
cyan = "#ebbcba"
white = "#e0def4"

[colors.bright]
black = "#6e6a86"
red = "#eb6f92"
green = "#31748f"
yellow = "#f6c177"
blue = "#9ccfd8"
magenta = "#c4a7e7"
cyan = "#ebbcba"
white = "#e0def4"

[colors.dim]
black = "#6e6a86"
red = "#eb6f92"
green = "#31748f"
yellow = "#f6c177"
blue = "#9ccfd8"
magenta = "#c4a7e7"
cyan = "#ebbcba"
white = "#e0def4"

Thanks

Jean-Tinland commented 9 months ago

Sure, here an .yaml version:

# Colors (Night Shift)
colors:
  primary:
    background: "#1e2737"
    foreground: "#fff9ee"
  search:
    matches:
      foreground: "#1e2737"
      background: "#fff9ee"
    focused_match:
      foreground: "#1e2737"
      background: "#7eddde"
    bar:
      background: "#ffd484"
      foreground: "#1e2737"
  hints:
    start:
      foreground: "#1e2737"
      background: "#fff9ee"
    end:
      foreground: "#fff9ee"
      background: "#1e2737"
  normal:
    black: "#1e2737"
    red: "#e78482"
    green: "#8fc8bb"
    yellow: "#ffd484"
    blue: "#6db3ce"
    magenta: "#ad82cb"
    cyan: "#7eddde"
    white: "#f5f5f5"
  bright:
    black: "#1e2737"
    red: "#e78482"
    green: "#8fc8bb"
    yellow: "#ffd484"
    blue: "#6db3ce"
    magenta: "#ad82cb"
    cyan: "#7eddde"
    white: "#f5f5f5"

Let me know if this suits you!

gldtn commented 9 months ago

Awesome, thank you very much for the fast port 😁

Here is how it looks: night-shift

Here is the TOML config:

[colors.bright]
black = "#1e2737"
blue = "#6db3ce"
cyan = "#7eddde"
green = "#8fc8bb"
magenta = "#ad82cb"
red = "#e78482"
white = "#f5f5f5"
yellow = "#ffd484"

[colors.hints.end]
background = "#1e2737"
foreground = "#fff9ee"

[colors.hints.start]
background = "#fff9ee"
foreground = "#1e2737"

[colors.normal]
black = "#1e2737"
blue = "#6db3ce"
cyan = "#7eddde"
green = "#8fc8bb"
magenta = "#ad82cb"
red = "#e78482"
white = "#f5f5f5"
yellow = "#ffd484"

[colors.primary]
background = "#1e2737"
foreground = "#fff9ee"

[colors.footer_bar]
background = "#ffd484"
foreground = "#1e2737"

[colors.search.focused_match]
background = "#7eddde"
foreground = "#1e2737"

[colors.search.matches]
background = "#fff9ee"
foreground = "#1e2737"