Skip to content

Commit

Permalink
feat: created Minimalist Dark Theme
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabrielsoac committed Nov 29, 2024
1 parent d9b2523 commit 0a85606
Show file tree
Hide file tree
Showing 2 changed files with 78 additions and 0 deletions.
51 changes: 51 additions & 0 deletions installs/minimalist-dark.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
#!/usr/bin/env bash

export PROFILE_NAME="Minimalist Dark"

export COLOR_01="#F5F5F5" # Black (Host)
export COLOR_02="#B81414" # Red (Syntax string)
export COLOR_03="#205843" # Green (Command)
export COLOR_04="#D28F79" # Yellow (Command second)
export COLOR_05="#AA5A24" # Blue (Path)
export COLOR_06="#f5f5f5" # Magenta (Syntax var)
export COLOR_07="#FE8330" # Cyan (Prompt)
export COLOR_08="#A5A2A2" # White

export COLOR_09="#5C5855" # Bright Black
export COLOR_10="#E8BBD0" # Bright Red (Command error)
export COLOR_11="#006400" # Bright Green (Exec)
export COLOR_12="#4A4543" # Bright Yellow
export COLOR_13="#869088" # Bright Blue (Folder)
export COLOR_14="#582957" # Bright Magenta
export COLOR_15="#CDAB53" # Bright Cyan
export COLOR_16="#CACAD0" # Bright White

export BACKGROUND_COLOR="#13141f" # Background
export FOREGROUND_COLOR="#F5F5F5" # Foreground (Text)

export CURSOR_COLOR="#F5F5F5" # Cursor

apply_theme() {
if [[ -e "${GOGH_APPLY_SCRIPT}" ]]; then
bash "${GOGH_APPLY_SCRIPT}"
elif [[ -e "${PARENT_PATH}/apply-colors.sh" ]]; then
bash "${PARENT_PATH}/apply-colors.sh"
elif [[ -e "${SCRIPT_PATH}/apply-colors.sh" ]]; then
bash "${SCRIPT_PATH}/apply-colors.sh"
else
printf '\n%s\n' "Error: Couldn't find apply-colors.sh" 1>&2
exit 1
fi
}

# | ===========================================================================
# | Apply Colors
# | ===========================================================================
SCRIPT_PATH="${SCRIPT_PATH:-$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)}"
PARENT_PATH="$(dirname "${SCRIPT_PATH}")"

if [ -z "${GOGH_NONINTERACTIVE+no}" ]; then
apply_theme
else
apply_theme 1>/dev/null
fi
27 changes: 27 additions & 0 deletions themes/Minimalist Dark.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
name: 'Minimalist Dark'
author: 'Gabriel Soares (https://github.com/Gabrielsoac)' # 'AUTHOR NAME (http://WEBSITE.com)'
variant: 'dark' # dark or light

color_01: '#F5F5F5' # Black (Host)
color_02: '#B81414' # Red (Syntax string)
color_03: '#205843' # Green (Command)
color_04: '#D28F79' # Yellow (Command second)
color_05: '#AA5A24' # Blue (Path)
color_06: '#582957' # Magenta (Syntax var)
color_07: '#FE8330' # Cyan (Prompt)
color_08: '#A5A2A2' # White

color_09: '#5C5855' # Bright Black
color_10: '#E8BBD0' # Bright Red (Command error)
color_11: '#006400' # Bright Green (Exec)
color_12: '#4A4543' # Bright Yellow
color_13: '#A16A94' # Bright Blue (Folder)
color_14: '#A020F0' # Bright Magenta
color_15: '#FF69B4' # Bright Cyan
color_16: '#CACAD0' # Bright White

background: '#13141f' # Background
foreground: '#F5F5F5' # Foreground (Text)

cursor: '#F5F5F5' # Cursor

0 comments on commit 0a85606

Please sign in to comment.