Giter VIP home page Giter VIP logo

Comments (5)

mbadolato avatar mbadolato commented on May 18, 2024 1

For reference, the shell script is

#!/bin/bash
#
#   This file echoes a bunch of color codes to the
#   terminal to demonstrate what's available.  Each
#   line is the color code of one forground color,
#   out of 17 (default + 16 escapes), followed by a
#   test use of that color on all nine background
#   colors (default + 8 escapes).
#

T='gYw'   # The test text

echo -e "\n                 40m     41m     42m     43m\
     44m     45m     46m     47m";

for FGs in '    m' '   1m' '  30m' '1;30m' '  31m' '1;31m' '  32m' \
           '1;32m' '  33m' '1;33m' '  34m' '1;34m' '  35m' '1;35m' \
           '  36m' '1;36m' '  37m' '1;37m';
  do FG=${FGs// /}
  echo -en " $FGs \033[$FG  $T  "
  for BG in 40m 41m 42m 43m 44m 45m 46m 47m;
    do echo -en "$EINS \033[$FG\033[$BG  $T  \033[0m";
  done
  echo;
done
echo

from iterm2-color-schemes.

mbadolato avatar mbadolato commented on May 18, 2024

I have a shell script that outputs the colors, which I then just do a screen grab on. If you'd like to submit, you can go ahead and just send in the scheme files and I can screenshot them. I usually do that anyway, just so they're all consistent in terms of the fonts etc :)

Thanks much for any schemes you'd like to submit!

from iterm2-color-schemes.

jaytaylor avatar jaytaylor commented on May 18, 2024

Fantastic, thank you!

from iterm2-color-schemes.

rex avatar rex commented on May 18, 2024

I'm not 100% sure, but I'm pretty sure you just made me fall back in love with Bash. I have always enjoyed it, but seeing this was like going on a first date again. Thank you, @mbadolato!

from iterm2-color-schemes.

mbadolato avatar mbadolato commented on May 18, 2024

@rex I'm glad this is useful for you! Cheers!

from iterm2-color-schemes.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.