Skip to content

Commit

Permalink
fix(scripts: is_dark): now it should be 128
Browse files Browse the repository at this point in the history
  • Loading branch information
actionless committed Jan 3, 2023
1 parent 8517509 commit 49d01ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/is_dark.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ script_dir="$(readlink -f "$(dirname "${0}")")"

is_dark() {
hexinput=$(echo "${1}" | tr '[:lower:]' '[:upper:]')
half_darker=$("${script_dir}/darker.sh" "${hexinput}" 88)
half_darker=$("${script_dir}/darker.sh" "${hexinput}" 128)
if [[ "${half_darker}" = "000000" ]] ; then
return 0;
else
Expand Down

0 comments on commit 49d01ee

Please sign in to comment.