ansi_color.h 1.1 KB

1234567891011121314151617181920212223242526272829303132
  1. #ifndef __COLOR_ANSI_
  2. #define NONE "\033[m"
  3. #define RED "\033[0;41;32m" //error
  4. #define LIGHT_RED "\033[1;41m"
  5. #define GREEN "\033[0;42;33m" //ci send
  6. #define LIGHT_GREEN "\033[1;42m"
  7. #define BLUE "\033[0;44;35m" //ci notify
  8. #define LIGHT_BLUE "\033[1;44m"
  9. #define DARY_GRAY "\033[1;40m"
  10. #define CYAN "\033[0;46m" //info
  11. #define LIGHT_CYAN "\033[1;46m"
  12. #define PURPLE "\033[0;45m" //test
  13. #define LIGHT_PURPLE "\033[1;45m"
  14. #define BROWN "\033[0;43m"
  15. #define YELLOW "\033[1;43m" //warning
  16. #define LIGHT_GRAY "\033[0;47m"
  17. #define WHITE "\033[1;47m"
  18. #define RED_FONT "\033[0;31m"
  19. #define GREEN_FONT "\033[0;32m"
  20. #define BLUE_FONT "\033[0;34m"
  21. #define GRAY_FONT "\033[0;30m"
  22. #define CYAN_FONT "\033[0;36m"
  23. #define PURPLE_FONT "\033[0;35m"
  24. #define YELLOW_FONT "\033[1;33m"
  25. #define ATTR_CLOSE "\33[0m"
  26. #define ATTR_UNDERLINE "\33[4m"
  27. #define ATTR_FLASH "\33[5m"
  28. #define ATTR_REFLACT "\33[7m"
  29. #define ATTR_REVEAL "\33[8m"
  30. #endif