Skip to content

Commit

Permalink
Add gruvbox theme
Browse files Browse the repository at this point in the history
Filetype mapping heavily inspired/based on #39 with some touches.
Files were generated by a [ruby script][] using gruvbox colors table:
* https://github.com/gruvbox-community/gruvbox-contrib/blob/5be530c3bcde7f226324ec7974bd1a40a61a59d8/color.table

Colour table to palette mapping can be found here:
* https://gitlab.com/ixti/gruvbox-themes-generator/-/blob/master/palette.yml

Theme template:
* https://gitlab.com/ixti/gruvbox-themes-generator/-/blob/master/templates/vivid.yml

[ruby script]: https://gitlab.com/ixti/gruvbox-themes-generator/-/blob/master/generate

Closes: #76
  • Loading branch information
ixti authored and sharkdp committed Jan 29, 2022
1 parent 9fa6b56 commit dc0cfc7
Show file tree
Hide file tree
Showing 6 changed files with 1,002 additions and 0 deletions.
167 changes: 167 additions & 0 deletions themes/gruvbox-dark-hard.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,167 @@
colors:
bg: "1d2021"
bg0: "1d2021"
bg1: "3c3836"
bg2: "504945"
bg3: "665c54"
bg4: "7c6f64"

fg: "ebdbb2"
fg0: "fbf1c7"
fg1: "ebdbb2"
fg2: "d5c4a1"
fg3: "bdae93"
fg4: "a89984"

red: "cc241d"
green: "98971a"
yellow: "d79921"
blue: "458588"
purple: "b16286"
aqua: "689d6a"
orange: "d65d0e"
gray: "a89984"

alt_red: "fb4934"
alt_green: "b8bb26"
alt_yellow: "fabd2f"
alt_blue: "83a598"
alt_purple: "d3869b"
alt_aqua: "8ec07c"
alt_orange: "fe8019"
alt_gray: "928374"

core:
normal_text:
foreground: fg
background: bg

regular_file:
foreground: fg
background: bg

reset_to_normal: {}

directory:
foreground: blue

symlink:
foreground: alt_blue
font-style: italic

multi_hard_link:
font-style: bold

fifo:
foreground: purple

socket:
foreground: purple
font-style: bold

door:
foreground: alt_purple
font-style: bold

block_device:
foreground: yellow
font-style: bold

character_device:
foreground: alt_yellow
font-style: italic

broken_symlink:
foreground: alt_red
font-style: italic

missing_symlink_target:
foreground: fg
background: alt_red

setuid:
foreground: fg
background: red

setgid:
foreground: bg
background: orange

file_with_capability:
foreground: bg
background: red

sticky_other_writable:
foreground: fg
background: blue
font-style: italic

other_writable:
foreground: alt_green
font-style: bold

sticky:
foreground: fg
background: blue

executable_file:
foreground: alt_green
font-style: bold

text:
special:
foreground: alt_yellow
font-style: bold

todo:
foreground: alt_green

licenses:
foreground: fg1
font-style: italic

configuration:
foreground: alt_yellow

other:
foreground: fg

markup:
foreground: yellow

programming:
source:
foreground: green

tooling:
foreground: alt_green
font-style: italic

continuous-integration:
foreground: alt_blue

media:
foreground: aqua

video:
foreground: alt_aqua
font-style: bold

office:
foreground: alt_blue
font-style: bold

archives:
foreground: orange

images:
foreground: alt_orange
font-style: bold

executable:
foreground: alt_green
font-style: bold

unimportant:
foreground: bg3
font-style: italic
167 changes: 167 additions & 0 deletions themes/gruvbox-dark-soft.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,167 @@
colors:
bg: "32302f"
bg0: "32302f"
bg1: "3c3836"
bg2: "504945"
bg3: "665c54"
bg4: "7c6f64"

fg: "ebdbb2"
fg0: "fbf1c7"
fg1: "ebdbb2"
fg2: "d5c4a1"
fg3: "bdae93"
fg4: "a89984"

red: "cc241d"
green: "98971a"
yellow: "d79921"
blue: "458588"
purple: "b16286"
aqua: "689d6a"
orange: "d65d0e"
gray: "a89984"

alt_red: "fb4934"
alt_green: "b8bb26"
alt_yellow: "fabd2f"
alt_blue: "83a598"
alt_purple: "d3869b"
alt_aqua: "8ec07c"
alt_orange: "fe8019"
alt_gray: "928374"

core:
normal_text:
foreground: fg
background: bg

regular_file:
foreground: fg
background: bg

reset_to_normal: {}

directory:
foreground: blue

symlink:
foreground: alt_blue
font-style: italic

multi_hard_link:
font-style: bold

fifo:
foreground: purple

socket:
foreground: purple
font-style: bold

door:
foreground: alt_purple
font-style: bold

block_device:
foreground: yellow
font-style: bold

character_device:
foreground: alt_yellow
font-style: italic

broken_symlink:
foreground: alt_red
font-style: italic

missing_symlink_target:
foreground: fg
background: alt_red

setuid:
foreground: fg
background: red

setgid:
foreground: bg
background: orange

file_with_capability:
foreground: bg
background: red

sticky_other_writable:
foreground: fg
background: blue
font-style: italic

other_writable:
foreground: alt_green
font-style: bold

sticky:
foreground: fg
background: blue

executable_file:
foreground: alt_green
font-style: bold

text:
special:
foreground: alt_yellow
font-style: bold

todo:
foreground: alt_green

licenses:
foreground: fg1
font-style: italic

configuration:
foreground: alt_yellow

other:
foreground: fg

markup:
foreground: yellow

programming:
source:
foreground: green

tooling:
foreground: alt_green
font-style: italic

continuous-integration:
foreground: alt_blue

media:
foreground: aqua

video:
foreground: alt_aqua
font-style: bold

office:
foreground: alt_blue
font-style: bold

archives:
foreground: orange

images:
foreground: alt_orange
font-style: bold

executable:
foreground: alt_green
font-style: bold

unimportant:
foreground: bg3
font-style: italic
Loading

0 comments on commit dc0cfc7

Please sign in to comment.