Skip to content

Instantly share code, notes, and snippets.

@gkeep
Last active July 13, 2023 16:08
Show Gist options
  • Star 12 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save gkeep/9b6f3e86d44542f73b526183095d5c3a to your computer and use it in GitHub Desktop.
Save gkeep/9b6f3e86d44542f73b526183095d5c3a to your computer and use it in GitHub Desktop.
Iceberg dark theme for kitty terminal
background #161821
foreground #c6c8d1
selection_background #1e2132
selection_foreground #c6c8d1
cursor #d2d4de
# black
color0 #161821
color8 #6b7089
# red
color1 #e27878
color9 #e98989
# green
color2 #b4be82
color10 #c0ca8e
# yellow/orange
color3 #e2a478
color11 #e9b189
# blue
color4 #84a0c6
color12 #91acd1
# magenta/purple
color5 #a093c7
color13 #ada0d3
# cyan
color6 #89b8c2
color14 #95c4ce
# white
color7 #c6c8d1
color15 #d2d4de
# tab bar
active_tab_foreground #161821
active_tab_background #84a0c6
inactive_tab_foreground #d2d4de
inactive_tab_background #353a50
tab_bar_background #0f1117
@gkeep
Copy link
Author

gkeep commented Aug 16, 2019

  1. Copy everything above.
  2. Open ~/.config/kitty/kitty.conf with an editor of your choice.
  3. Paste everything.
  4. Open a new kitty window! 🎆
    image

@tostr7191
Copy link

Thanks for sharing. Just curious if you intend to make one in iceberg-light?

@gkeep
Copy link
Author

gkeep commented Jun 24, 2020

Oh yeah, it's practically done. I just need to post a gist with it 😄

Check back in a an hour or two and I'll drop a link in this comment.

E: Light variant

@tostr7191
Copy link

Thank you very much, I really like that in my terminal!

@arthurk
Copy link

arthurk commented Mar 29, 2021

This is great, thanks a lot!

@metalelf0
Copy link

If you also want to customize how the tab bar looks, add the following (for the dark variant):

active_tab_foreground   #161821
active_tab_background   #b4be82
active_tab_font_style   bold
inactive_tab_foreground #d2d4de
inactive_tab_background #464851
inactive_tab_font_style normal
tab_bar_background      #161821

Or this, for the light one:

active_tab_foreground   #e8e9ec
active_tab_background   #668e3d
active_tab_font_style   bold-italic
inactive_tab_foreground #33374c
inactive_tab_background #dcdfe7
inactive_tab_font_style normal
tab_bar_background      #e8e9ec

@gkeep
Copy link
Author

gkeep commented Aug 3, 2021

Thank you for contribution! Could you add screenshots to your comment? (Never used tabs in kitty)

I'm not sure about active_tab_background and inactive_tab_background on both variants. Iceberg generally uses blue color for highlighting stuff like active tabs (#84a0c6 and #2d539e for dark and light, respectively). For inactive I'd probably try to use selection_background for background. I don't think font styles (active_tab_font_style and inactive_tab_font_style) should be here either.

Feel free to add the same on the light variant's gist.

@metalelf0
Copy link

Well, it's all a matter of personal preference. I chose colors that are in the default iceberg palette (or a darkened/lightened version of such colors), but of course feel free to adjust to your liking.

Here's a screenshot for how the dark version looks:

Schermata 2021-08-03 alle 14 28 24

And here's one for the light variant:

Schermata 2021-08-03 alle 14 31 15

@gkeep
Copy link
Author

gkeep commented Aug 3, 2021

Well, it's all a matter of personal preference.

True. I aim for these themes to be faithful to iceberg's original design.

This is what I think should be more faithful.
Dark:

active_tab_foreground   #161821
active_tab_background   #84a0c6
inactive_tab_foreground #d2d4de
inactive_tab_background #353a50
tab_bar_background      #0f1117

image

Light:

active_tab_foreground   #dcdfe7
active_tab_background   #2d539e
inactive_tab_foreground #33374c
inactive_tab_background #adb4c7
tab_bar_background      #8b98b6

image

@metalelf0
Copy link

Yep, yours are definitely more faithful. Good job :)

@0xVesion
Copy link

Thank you. This theme is awesome. What do you think about adding it to the official themes repository?

@gkeep
Copy link
Author

gkeep commented Jul 13, 2023

Thank you. This theme is awesome. What do you think about adding it to the official themes repository?

Feel free to contribute this theme (and light theme)! I don't see much point in contributing to the said repository (can you switch themes without installing the theme manually?). These gists are mentioned on iceberg theme's main GitHub page, and honestly, I think that's good enough.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment