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

11 Commits
v220 ... v221

Author SHA1 Message Date
github-actions[bot]
673a98d53f ------- Generate themes.json ------- 2021-11-02 14:32:04 +00:00
Mayccoll
75d6c13157 Merge pull request #314 from codeinred/nord-light
Increase Usability and Consistency of Nord Light
2021-11-02 09:24:05 -05:00
Mayccoll
0d155a3a59 Merge pull request #313 from codeinred/attributes
Mark data/themes.json as a binary file
2021-11-02 09:23:27 -05:00
Mayccoll
43df3054c8 Merge pull request #312 from codeinred/themes
Create Bluloco Zsh Light theme
2021-11-02 09:22:05 -05:00
Mayccoll
9b365f4c6b Merge pull request #311 from codeinred/docs
Fix link to base script in howto docs
2021-11-02 09:21:22 -05:00
Alecto Irene Perez
29c2fd5088 Increase contrast of cyan
Cyan is commonly used to display moved sections of text when viewing a
git diff on the command line: the moved-from section is magenta,
and the
moved-to section is cyan. This commit increases the contrast of Cyan
in the Nord Light theme to better cover these use cases, while still
maintaining it's distinguishability as Cyan.

Signed-off-by: Alecto Irene Perez <perez.cs@pm.me>
2021-11-02 00:16:43 -06:00
Alecto Irene Perez
f90dad51c3 Make Nord Light More Nord
Update Nord Light theme to improve usability and make the black and
grey colors a dark blue.

Regarding usability: Prior to this change, it was extremely difficult
to read green text with Nord Light because the green was such a light
color that the text was hard to discern against the background.

Green text is common in the output of commands like `git diff`, and
many zsh themes use green text to indicate the existence of a command.

This commit uses a darker green that's still in line with the theme.

Regarding update to black and grey: using dark blue and blue-grey
colors for Black and Grey respectively is more in line with the style
choices
made by the Nord theme.

Signed-off-by: Alecto Irene Perez <perez.cs@pm.me>
2021-11-01 19:02:44 -06:00
Alecto Irene Perez
8332969b10 Mark data/themes.json as a binary file
This adds a .gitattributes file that marks data/themes.json as binary.
data/themes.json stores all it's data on a single line, and that entire
line
is marked as changed between commits. By marking it as binary, git
displays diffs more accurately.

NB: As an alternative to marking it as binary, we could also modify
tools/generate.sh so that it doesn't generate the entire file on one
line. This can be done by removing the `tr -d " \t\n\r"` portion of the
script. Doing so would ensure that git only stored the sections of the
themes.json file that changed when a theme was modified or added.

Signed-off-by: Alecto Irene Perez <perez.cs@pm.me>
2021-11-01 17:28:20 -06:00
Alecto Irene Perez
3de6d70c35 Create Bluloco Zsh Light theme
Creates the Bluloco Zsh Light theme. This theme is adjusts the Bluloco
theme to increase the relative contrast of "Dark Grey" (color 9), which
was previously almost white. This rendered autocompleted or greyed-out
text nearly unreadable.

Signed-off-by: Alecto Irene Perez <perez.cs@pm.me>
2021-11-01 16:59:32 -06:00
Alecto Irene Perez
10eb1487ee Fix link to base script in howto docs
This commit fixes a link to the _base script in the howto docs

Signed-off-by: Alecto Irene Perez <perez.cs@pm.me>
2021-11-01 16:39:08 -06:00
github-actions[bot]
769b681828 ------- Generate themes.json ------- 2021-10-25 19:59:24 +00:00
6 changed files with 63 additions and 6 deletions

1
.gitattributes vendored Normal file
View File

@@ -0,0 +1 @@
data/themes.json binary

View File

@@ -15,7 +15,7 @@ Please feel free to use and create your own color schemes.
- **The Script**
https://github.com/Mayccoll/Gogh/blob/master/themes/_base.sh
https://github.com/Mayccoll/Gogh/blob/master/_base.sh
- **Variables**

File diff suppressed because one or more lines are too long

View File

@@ -35,6 +35,7 @@ declare -a THEMES=(
'birds-of-paradise.sh'
'blazer.sh'
'bluloco-light.sh'
'bluloco-zsh-light.sh'
'borland.sh'
'broadcast.sh'
'brogrammer.sh'

55
themes/bluloco-zsh-light.sh Executable file
View File

@@ -0,0 +1,55 @@
#!/usr/bin/env bash
# ====================CONFIG THIS =============================== #
export COLOR_01="#e4e5f1" # Black
export COLOR_02="#d52753" # Red
export COLOR_03="#23974a" # Green
export COLOR_04="#df631c" # Yellow
export COLOR_05="#275fe4" # Blue
export COLOR_06="#823ff1" # Magenta
export COLOR_07="#27618d" # Cyan
export COLOR_08="#000000" # Light gray
export COLOR_09="#5794de" # Dark gray
export COLOR_10="#ff6480" # Light Red
export COLOR_11="#3cbc66" # Light Green
export COLOR_12="#c5a332" # Light Yellow
export COLOR_13="#0099e1" # Light Blue
export COLOR_14="#ce33c0" # Light Magenta
export COLOR_15="#6d93bb" # Light Cyan
export COLOR_16="#26272d" # White
export BACKGROUND_COLOR="#f9f9f9" # Background Color
export FOREGROUND_COLOR="#383a42" # Foreground Color (text)
export CURSOR_COLOR="$FOREGROUND_COLOR" # Cursor color
export PROFILE_NAME="Bluloco Zsh Light"
# =============================================================== #
# =============================================================== #
# | 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

View File

@@ -1,16 +1,16 @@
#!/usr/bin/env bash
# ====================CONFIG THIS =============================== #
export COLOR_01="#353535" #black
export COLOR_01="#003B4E" #black
export COLOR_02="#E64569" #red
export COLOR_03="#89D287" #green
export COLOR_03="#069F5F" #green
export COLOR_04="#DAB752" #yellow
export COLOR_05="#439ECF" #blue
export COLOR_06="#D961DC" #magenta
export COLOR_07="#64AAAF" #cyan
export COLOR_07="#00B1BE" #cyan
export COLOR_08="#B3B3B3" #white
export COLOR_09="#535353" #lightBlack
export COLOR_09="#3E89A1" #lightBlack
export COLOR_10="#E4859A" #lightRed
export COLOR_11="#A2CCA1" #lightGreen
export COLOR_12="#E1E387" #lightYellow