src

Go monorepo.
git clone git://code.dwrz.net/src
Log | Files | Refs

color.go (1218B)


      1 package color
      2 
      3 type Color string
      4 
      5 const (
      6 	Reset = "\u001b[0m"
      7 
      8 	Bold      = "\u001b[1m"
      9 	Underline = "\u001b[4m"
     10 	Inverse   = "\u001b[7m"
     11 	Italic    = "\u001b[3m"
     12 
     13 	Black  = "\u001b[30m"
     14 	Blue   = "\u001b[34m"
     15 	Cyan   = "\u001b[36m"
     16 	Green  = "\u001b[32m"
     17 	Purple = "\u001b[35m"
     18 	Red    = "\u001b[31m"
     19 	White  = "\u001b[37m"
     20 	Yellow = "\u001b[33m"
     21 
     22 	BrightBlack   = "\u001b[30;1m"
     23 	BrightBlue    = "\u001b[34;1m"
     24 	BrightCyan    = "\u001b[36;1m"
     25 	BrightGreen   = "\u001b[32;1m"
     26 	BrightMagenta = "\u001b[35;1m"
     27 	BrightRed     = "\u001b[31;1m"
     28 	BrightWhite   = "\u001b[37;1m"
     29 	BrightYellow  = "\u001b[33;1m"
     30 
     31 	BackgroundBlack   = "\u001b[40m"
     32 	BackgroundBlue    = "\u001b[44m"
     33 	BackgroundCyan    = "\u001b[46m"
     34 	BackgroundGreen   = "\u001b[42m"
     35 	BackgroundMagenta = "\u001b[45m"
     36 	BackgroundRed     = "\u001b[41m"
     37 	BackgroundWhite   = "\u001b[47m"
     38 	BackgroundYellow  = "\u001b[43m"
     39 
     40 	BackgroundBrightBlack   = "\u001b[40;1m"
     41 	BackgroundBrightBlue    = "\u001b[44;1m"
     42 	BackgroundBrightCyan    = "\u001b[46;1m"
     43 	BackgroundBrightGreen   = "\u001b[42;1m"
     44 	BackgroundBrightMagenta = "\u001b[45;1m"
     45 	BackgroundBrightRed     = "\u001b[41;1m"
     46 	BackgroundBrightWhite   = "\u001b[47;1m"
     47 	BackgroundBrightYellow  = "\u001b[43;1m"
     48 )