1
0
mirror of https://github.com/Mayccoll/Gogh.git synced 2023-08-10 21:12:46 +03:00

Merge pull request #326 from guigui64/master

Sonokai theme
This commit is contained in:
Mayccoll 2022-01-20 12:42:39 -05:00 committed by GitHub
commit 2aa8bcda81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 58 additions and 1 deletions

View File

@ -129,6 +129,7 @@ If you want to create your own color scheme or contribute to the project, [start
- [SMYCK](http://color.smyck.org/) by [John-Paul Bader](https://github.com/hukl)
- [Snazzy](https://github.com/sindresorhus/hyper-snazzy) by [Sindre Sorhus](https://github.com/sindresorhus)
- [Solarized](https://ethanschoonover.com/solarized) by [Ethan Schoonover](https://github.com/altercation)
- [Sonokai](https://github.com/sainnhe/sonokai) by [Sainnhe Park](https://github.com/sainnhe)
- [Srcery](https://github.com/roosta/vim-srcery) by [Daniel Berg](https://github.com/roosta)
- [Summer Pop](https://github.com/guillermoap/Gogh) by [Guillermo Aguirre](https://github.com/guillermoap)
- [SynthWave '84 ](https://github.com/robb0wen/synthwave-vscode)

File diff suppressed because one or more lines are too long

56
themes/sonokai.sh Normal file
View File

@ -0,0 +1,56 @@
#!/usr/bin/env bash
# ====================CONFIG THIS =============================== #
# Regular text
export COLOR_01="#2C2E34" # Dark Gray
export COLOR_02="#FC5D7C" # Sonokai Red
export COLOR_03="#9ED072" # Sonokai Green
export COLOR_04="#E7C664" # Sonokai Yellow
export COLOR_05="#F39660" # Sonokai Orange
export COLOR_06="#B39DF3" # Sonokai Magenta
export COLOR_07="#76CCE0" # Sonokai Cyan
export COLOR_08="#E2E2E3" # Light Gray
# Bold text
export COLOR_09="#2C2E34" # Dark Gray
export COLOR_10="#FC5D7C" # Sonokai Red
export COLOR_11="#9ED072" # Sonokai Green
export COLOR_12="#E7C664" # Sonokai Yellow
export COLOR_13="#F39660" # Sonokai Orange
export COLOR_14="#B39DF3" # Sonokai Magenta
export COLOR_15="#76CCE0" # Sonokai Cyan
export COLOR_16="#E2E2E3" # Light Gray
# Text and background
export BACKGROUND_COLOR="#2C2E34" # Background Color
export FOREGROUND_COLOR="#E2E2E3" # Foreground Color (text)
export CURSOR_COLOR="$FOREGROUND_COLOR" # Cursor color
export PROFILE_NAME="Sonokai"
# =============================================================== #
# =============================================================== #
# | Apply Colors
# ===============================================================|#
SCRIPT_PATH="${SCRIPT_PATH:-$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)}"
PARENT_PATH="$(dirname "${SCRIPT_PATH}")"
# Allow developer to change url to forked url for easier testing
# IMPORTANT: Make sure you export this variable if your main shell is not bash
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
if [[ -e "${PARENT_PATH}/apply-colors.sh" ]]; then
bash "${PARENT_PATH}/apply-colors.sh"
else
if [[ "$(uname)" = "Darwin" ]]; then
# OSX ships with curl and ancient bash
bash -c "$(curl -so- "${BASE_URL}/apply-colors.sh")"
else
# Linux ships with wget
bash -c "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
fi
fi