Skip to content

Commit

Permalink
chore(repo): convert themes to new spec (#4002)
Browse files Browse the repository at this point in the history
  • Loading branch information
imsnif authored Feb 17, 2025
1 parent 1593e5c commit d1ada03
Show file tree
Hide file tree
Showing 46 changed files with 4,613 additions and 528 deletions.
132 changes: 118 additions & 14 deletions zellij-utils/assets/themes/ansi.kdl
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,123 @@
// terminal emulator does not support truecolor (e.g. macOS Terminal.app)

// Note: there is no orange in the ANSI color palette, so we use bright red instead

themes {
ansi {
fg 7 // white
bg 8 // bright black
red 1
green 2
yellow 3
blue 4
magenta 5
orange 9 // bright red
cyan 6
black 0
white 15 // bright white
}
ansi {
text_unselected {
base 15
background 0
emphasis_0 9
emphasis_1 6
emphasis_2 2
emphasis_3 5
}
text_selected {
base 15
background 8
emphasis_0 9
emphasis_1 6
emphasis_2 2
emphasis_3 5
}
ribbon_unselected {
base 0
background 7
emphasis_0 1
emphasis_1 15
emphasis_2 4
emphasis_3 5
}
ribbon_selected {
base 0
background 2
emphasis_0 1
emphasis_1 9
emphasis_2 5
emphasis_3 4
}
table_title {
base 2
background 0
emphasis_0 9
emphasis_1 6
emphasis_2 2
emphasis_3 5
}
table_cell_unselected {
base 15
background 0
emphasis_0 9
emphasis_1 6
emphasis_2 2
emphasis_3 5
}
table_cell_selected {
base 15
background 8
emphasis_0 9
emphasis_1 6
emphasis_2 2
emphasis_3 5
}
list_unselected {
base 15
background 0
emphasis_0 9
emphasis_1 6
emphasis_2 2
emphasis_3 5
}
list_selected {
base 15
background 8
emphasis_0 9
emphasis_1 6
emphasis_2 2
emphasis_3 5
}
frame_selected {
base 2
background 0
emphasis_0 9
emphasis_1 6
emphasis_2 5
emphasis_3 0
}
frame_highlight {
base 9
background 0
emphasis_0 9
emphasis_1 9
emphasis_2 9
emphasis_3 9
}
exit_code_success {
base 2
background 0
emphasis_0 6
emphasis_1 0
emphasis_2 5
emphasis_3 4
}
exit_code_error {
base 1
background 0
emphasis_0 3
emphasis_1 0
emphasis_2 0
emphasis_3 0
}
multiplayer_user_colors {
player_1 5
player_2 4
player_3 0
player_4 3
player_5 6
player_6 0
player_7 1
player_8 0
player_9 0
player_10 0
}
}
}
127 changes: 116 additions & 11 deletions zellij-utils/assets/themes/ao.kdl
Original file line number Diff line number Diff line change
@@ -1,15 +1,120 @@
themes {
ao {
fg "#acc4e4"
bg "#2c5484"
black "#000000"
red "#000000"
green "#3c6eb4"
yellow "#ffba00"
blue "#45b1e8"
magenta "#d2a8ff"
cyan "#6eb0ff"
white "#f3f4f6"
orange "#e59728"
text_unselected {
base 243 244 246
background 0 0 0
emphasis_0 229 151 40
emphasis_1 110 176 255
emphasis_2 60 110 180
emphasis_3 210 168 255
}
text_selected {
base 243 244 246
background 44 84 132
emphasis_0 229 151 40
emphasis_1 110 176 255
emphasis_2 60 110 180
emphasis_3 210 168 255
}
ribbon_selected {
base 0 0 0
background 60 110 180
emphasis_0 0 0 0
emphasis_1 229 151 40
emphasis_2 210 168 255
emphasis_3 69 177 232
}
ribbon_unselected {
base 0 0 0
background 172 196 228
emphasis_0 0 0 0
emphasis_1 243 244 246
emphasis_2 69 177 232
emphasis_3 210 168 255
}
table_title {
base 60 110 180
background 0
emphasis_0 229 151 40
emphasis_1 110 176 255
emphasis_2 60 110 180
emphasis_3 210 168 255
}
table_cell_selected {
base 243 244 246
background 44 84 132
emphasis_0 229 151 40
emphasis_1 110 176 255
emphasis_2 60 110 180
emphasis_3 210 168 255
}
table_cell_unselected {
base 243 244 246
background 0 0 0
emphasis_0 229 151 40
emphasis_1 110 176 255
emphasis_2 60 110 180
emphasis_3 210 168 255
}
list_selected {
base 243 244 246
background 44 84 132
emphasis_0 229 151 40
emphasis_1 110 176 255
emphasis_2 60 110 180
emphasis_3 210 168 255
}
list_unselected {
base 243 244 246
background 0 0 0
emphasis_0 229 151 40
emphasis_1 110 176 255
emphasis_2 60 110 180
emphasis_3 210 168 255
}
frame_selected {
base 60 110 180
background 0
emphasis_0 229 151 40
emphasis_1 110 176 255
emphasis_2 210 168 255
emphasis_3 0
}
frame_highlight {
base 229 151 40
background 0
emphasis_0 229 151 40
emphasis_1 229 151 40
emphasis_2 229 151 40
emphasis_3 229 151 40
}
exit_code_success {
base 60 110 180
background 0
emphasis_0 110 176 255
emphasis_1 0 0 0
emphasis_2 210 168 255
emphasis_3 69 177 232
}
exit_code_error {
base 0 0 0
background 0
emphasis_0 255 186 0
emphasis_1 0
emphasis_2 0
emphasis_3 0
}
multiplayer_user_colors {
player_1 210 168 255
player_2 69 177 232
player_3 0
player_4 255 186 0
player_5 110 176 255
player_6 0
player_7 0 0 0
player_8 0
player_9 0
player_10 0
}
}
}
Loading

0 comments on commit d1ada03

Please sign in to comment.