feat: add light 16-bit colors palette

This commit is contained in:
Maciej Sypien 2024-09-15 23:50:23 +02:00
parent ff5acf3ea2
commit 1199432e88
No known key found for this signature in database
GPG key ID: 10BC01EDA6827DC8
3 changed files with 49 additions and 3 deletions

View file

@ -41,7 +41,7 @@ main() {
case "$_theme" in case "$_theme" in
light) light)
# shellcheck disable=1091 # shellcheck disable=1091
source "${CURRENT_DIR}/src/palette_gruvbox_light256.sh" source "${CURRENT_DIR}/src/palette_gruvbox_light.sh"
# shellcheck disable=1091 # shellcheck disable=1091
source "${CURRENT_DIR}/src/theme_gruvbox_light.sh" source "${CURRENT_DIR}/src/theme_gruvbox_light.sh"
;; ;;
@ -53,7 +53,7 @@ main() {
;; ;;
dark) dark)
# shellcheck disable=1091 # shellcheck disable=1091
source "${CURRENT_DIR}/src/palette_gruvbox_dark256.sh" source "${CURRENT_DIR}/src/palette_gruvbox_dark.sh"
# shellcheck disable=1091 # shellcheck disable=1091
source "${CURRENT_DIR}/src/theme_gruvbox_dark.sh" source "${CURRENT_DIR}/src/theme_gruvbox_dark.sh"
;; ;;

View file

@ -13,7 +13,7 @@
# shellcheck disable=2034 # ignored as this file only contains var definitions # shellcheck disable=2034 # ignored as this file only contains var definitions
col_bg="#282828" col_bg="#282828"
col_bg0_h="1d2021" col_bg0_h="#1d2021"
col_bg0="#282828" col_bg0="#282828"
col_bg1="#3c3836" col_bg1="#3c3836"
col_bg2="#504945" col_bg2="#504945"

View file

@ -0,0 +1,46 @@
#!/bin/bash
##########################
# gruvbox dark pallete
##########################
####
# When using 'colour124' you are using the color default in terminal pallete.
# This could be important for people which terminals support only 256 colors
# and does not support HEX values.
#
# The names of colors used from https://github.com/morhetz/gruvbox
# shellcheck disable=2034 # ignored as this file only contains var definitions
col_bg="#fbf1c7"
col_bg0_h="#f9f5d7"
col_bg0="#fbf1c7"
col_bg1="#ebdbb2"
col_bg2="#d5c4a1"
col_bg3="#bdae93"
col_bg4="#a89984"
col_gray0="#7c6f64"
col_gray1="#928374"
col_gray2="#928374"
col_bg0_s="#f2e5bc"
col_fg="#3c3836"
col_fg4="#7c6f64"
col_fg3="#665c54"
col_fg2="#504945"
col_fg1="#3c3836"
col_fg0="#282828"
col_red="#cc241d"
col_red2="#9d0006"
col_green="#98971a"
col_green2="#79740e"
col_yellow="#d79921"
col_yellow2="#b57614"
col_blue="#458588"
col_blue2="#076678"
col_purple="#b16286"
col_purple2="#8f3f71"
col_aqua="#689d6a"
col_aqua2="#427b58"
col_orange="#d65d0e"
col_orange2="#af3a03"