Skip to content

Contributing Default Theme from Kitty - Need Assistance Mapping to iTerm2 Colors #502

Open
@francoposa

Description

@francoposa

I have been manually porting the default Kitty theme (dumped with the get-colors) as well as a lower-contrast custom version to Wezterm and now Ghostty.

I attempted last night to set the colors manually in iTerm2 on an old macbook in order to generate a scheme and contribute here, but I could not figure out the exact mappings to iTerm2 as it seems to have several more options than a basic theme layout used by other terminals.

The Kitty Default color dump converted to wezterm TOML format is in my dotfiles repo as well as below. The ghostty key-value version can be found there as well.

[metadata]
name = "Kitty Default"

[colors]
background = "#000000"
foreground = "#dddddd"

cursor_bg = "#cccccc"
cursor_fg = "#111111"
cursor_border = "#cccccc"

selection_bg = "#fffacd"
selection_fg = "#000000"

ansi = [
    "#000000",  # color0
    "#cc0403",  # color1
    "#19cb00",  # color2
    "#cecb00",  # color3
    "#0d73cc",  # color4
    "#cb1ed1",  # color5
    "#0dcdcd",  # color6
    "#dddddd",  # color7
]

brights = [
    "#767676",  # color8
    "#f2201f",  # color9
    "#23fd00",  # color10
    "#fffd00",  # color11
    "#1a8fff",  # color12
    "#fd28ff",  # color13
    "#14ffff",  # color14
    "#ffffff",  # color15
]

The Low Contrast version only changes the background and foreground to be less harshly contrasted:

background = "#333333"
foreground = "#ffffff"

Would love any assistance so that I can contribute it here, thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions