1. 'use strict';
    
  2. 
    
  3. const chalk = require('chalk');
    
  4. 
    
  5. const colors = {
    
  6.   blue: '#0091ea',
    
  7.   gray: '#78909c',
    
  8.   green: '#00c853',
    
  9.   red: '#d50000',
    
  10.   yellow: '#ffd600',
    
  11. };
    
  12. 
    
  13. const theme = chalk.constructor();
    
  14. theme.package = theme.hex(colors.green);
    
  15. theme.version = theme.hex(colors.yellow);
    
  16. theme.tag = theme.hex(colors.yellow);
    
  17. theme.build = theme.hex(colors.yellow);
    
  18. theme.commit = theme.hex(colors.yellow);
    
  19. theme.error = theme.hex(colors.red).bold;
    
  20. theme.dimmed = theme.hex(colors.gray);
    
  21. theme.caution = theme.hex(colors.red).bold;
    
  22. theme.link = theme.hex(colors.blue).underline.italic;
    
  23. theme.header = theme.hex(colors.green).bold;
    
  24. theme.path = theme.hex(colors.gray).italic;
    
  25. theme.command = theme.hex(colors.gray);
    
  26. theme.quote = theme.italic;
    
  27. 
    
  28. theme.diffHeader = theme.hex(colors.gray);
    
  29. theme.diffAdded = theme.hex(colors.green);
    
  30. theme.diffRemoved = theme.hex(colors.red);
    
  31. 
    
  32. theme.spinnerInProgress = theme.hex(colors.yellow);
    
  33. theme.spinnerError = theme.hex(colors.red);
    
  34. theme.spinnerSuccess = theme.hex(colors.green);
    
  35. 
    
  36. module.exports = theme;