This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | //magic to convert strings to a nice pastel colour based on first two chars | |
| // | |
| // every string with the same first two chars will generate the same pastel colour | |
| function pastel_colour(input_str) { | |
| //TODO: adjust base colour values below based on theme | |
| var baseRed = 128; | |
| var baseGreen = 128; | |
| var baseBlue = 128; |