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

Merge pull request #250 from Jangrie/add-panda-theme

Add panda theme
This commit is contained in:
Mayccoll 2020-10-08 19:05:24 -05:00 committed by GitHub
commit 713f98a024
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 83 additions and 3 deletions

View File

@ -85,6 +85,7 @@ If you want to create your own color scheme or contribute to the project, [start
## Credits:
- [4bit](https://ciembor.github.io/4bit/)
- [Bluloco Light Theme](https://github.com/uloco/theme-bluloco-light)
- [Chalk](https://github.com/chalk/chalk) by [Sindre Sorhus](https://github.com/sindresorhus)
- [Dracula](https://github.com/dracula/dracula-theme) by [Zeno Rocha](https://github.com/zenorocha)
- [Elementary OS](https://elementary.io/)
@ -96,9 +97,12 @@ If you want to create your own color scheme or contribute to the project, [start
- [Gruvbox](https://github.com/morhetz/gruvbox) by [Pavel Pertsev](https://github.com/morhetz)
- [Hemisu](https://noahfrederick.com/log/hemisu-for-os-x-terminal/) by [Noah Frederick](https://github.com/noahfrederick)
- [kokuban](https://github.com/ygkn/kokuban) by [ygkn](https://github.com/ygkn)
- Material theme by [Mitchel van Eijgen](https://gist.github.com/mvaneijgen/4c56701215847dd5ddcf) and [Liu Xinan](https://gist.github.com/xinan/ca2b82fef6aaa0d1e099)
- [Monokai](https://web.archive.org/web/20161117102850/https://www.monokai.nl/blog/2006/07/15/textmate-color-theme) by [Wimer Hazenberg](https://github.com/monokai)
- [Ocean](https://github.com/fabianperez/ocean-dark-iterm) by [Fabian Perez](https://github.com/fabianperez)
- [Omni](https://github.com/getomni)
- [One Dark & Light theme set](https://github.com/nathanbuchar/one-dark-terminal) by [Nathan Buchar](https://github.com/nathanbuchar)
- [Panda](https://github.com/PandaTheme) by [Siamak](https://github.com/siamak)
- [Peppermint](https://noahfrederick.com/log/lion-terminal-theme-peppermint/) by [Noah Frederick](https://github.com/noahfrederick)
- [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)
@ -109,9 +113,6 @@ If you want to create your own color scheme or contribute to the project, [start
- [Terminal Sexy](https://terminal.sexy) by [George Czabania](https://github.com/stayradiated)
- [Tilix](https://github.com/storm119/Tilix-Themes)
- [Tomorrow color theme set](https://github.com/chriskempson/tomorrow-theme) by [Chris Kempson](https://github.com/chriskempson)
- Material theme by [Mitchel van Eijgen](https://gist.github.com/mvaneijgen/4c56701215847dd5ddcf) and [Liu Xinan](https://gist.github.com/xinan/ca2b82fef6aaa0d1e099)
- [Bluloco Light Theme](https://github.com/uloco/theme-bluloco-light)
- [Omni](https://github.com/getomni)
<br/>
<br/>

View File

@ -2815,6 +2815,28 @@ const $schemes = {
"brightCyan": "#4BB8FD",
"brightWhite": "#A020F0"
},
{
"name": "Panda",
"foreground": "#F0F0F0",
"background": "#1D1E20",
"cursorColor": "#F0F0F0",
"black": "#1F1F20",
"red": "#FB055A",
"green": "#26FFD4",
"yellow": "#FDAA5A",
"blue": "#5C9FFF",
"purple": "#FC59A6",
"cyan": "#26FFD4",
"white": "#F0F0F0",
"brightBlack": "#5C6370",
"brightRed": "#FB055A",
"brightGreen": "#26FFD4",
"brightYellow": "#FEBE7E",
"brightBlue": "#55ADFF",
"brightPurple": "#FD95D0",
"brightCyan": "#26FFD4",
"brightWhite": "#F0F0F0"
},
{
"name": "PaperColor Dark",
"foreground": "#D0D0D0",

View File

@ -143,6 +143,7 @@ declare -a THEMES=(
'one-light.sh'
'palenight.sh'
'pali.sh'
'panda.sh'
'papercolor-dark.sh'
'papercolor-light.sh'
'paraiso-dark.sh'

View File

@ -145,6 +145,7 @@ declare -a THEMES=(
'one-half-black.sh'
'one-light.sh'
'pali.sh'
'panda.sh'
'paraiso-dark.sh'
'paul-millr.sh'
'pencil-dark.sh'

0
test/test.sh Normal file → Executable file
View File

55
themes/panda.sh Executable file
View File

@ -0,0 +1,55 @@
#!/usr/bin/env bash
# ====================CONFIG THIS =============================== #
export COLOR_01="#1F1F20" # Black
export COLOR_02="#FB055A" # Red
export COLOR_03="#26FFD4" # Green
export COLOR_04="#FDAA5A" # Yellow
export COLOR_05="#5C9FFF" # Blue
export COLOR_06="#FC59A6" # Magenta
export COLOR_07="#26FFD4" # Cyan
export COLOR_08="#F0F0F0" # Light gray
export COLOR_09="#5C6370" # Dark gray
export COLOR_10="#FB055A" # Light Red
export COLOR_11="#26FFD4" # Light Green
export COLOR_12="#FEBE7E" # Light Yellow
export COLOR_13="#55ADFF" # Light Blue
export COLOR_14="#FD95D0" # Light Magenta
export COLOR_15="#26FFD4" # Light Cyan
export COLOR_16="#F0F0F0" # White
export BACKGROUND_COLOR="#1D1E20" # Background Color
export FOREGROUND_COLOR="#F0F0F0" # Foreground Color (text)
export CURSOR_COLOR="$FOREGROUND_COLOR" # Cursor color
export PROFILE_NAME="_bash"
# =============================================================== #
# =============================================================== #
# | 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