offthemes.py 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. #!/bin/python
  2. colors = {
  3. "bold" : ["1","22"],
  4. "faint" : ["2","22"],
  5. "italic" : ["3","23"],
  6. "underline": ["4","24"],
  7. "black" : ["30","39"],
  8. "red" : ["31","39"],
  9. "green" : ["32","39"],
  10. "yellow" : ["33","39"],
  11. "blue" : ["34","39"],
  12. "purple" : ["35","39"],
  13. "cyan" : ["36","39"],
  14. "white" : ["37","39"],
  15. "background_black" : ["40","49"],
  16. "background_red" : ["41","49"],
  17. "background_green" : ["42","49"],
  18. "background_yellow" : ["43","49"],
  19. "background_blue" : ["44","49"],
  20. "background_purple" : ["45","49"],
  21. "background_cyan" : ["46","49"],
  22. "background_white" : ["47","49"],
  23. "bright_black" : ["90","39"],
  24. "bright_red" : ["91","39"],
  25. "bright_green" : ["92","39"],
  26. "bright_yellow" : ["93","39"],
  27. "bright_blue" : ["94","39"],
  28. "bright_purple" : ["95","39"],
  29. "bright_cyan" : ["96","39"],
  30. "bright_white" : ["97","39"],
  31. }
  32. offpunk1 = {
  33. "window_title" : ["red","bold"],
  34. "window_subtitle" : ["red","faint"],
  35. "title" : ["blue","bold","underline"],
  36. "subtitle" : ["blue"],
  37. "subsubtitle" : ["blue","faint"], #fallback to subtitle if none
  38. "link" : ["blue","faint"],
  39. "new_link": ["bold"],
  40. "oneline_link": [], #for gopher/gemini. fallback to link if none
  41. "image_link" : ["yellow","faint"],
  42. "preformatted": ["faint"],
  43. "blockquote" : ["italic"],
  44. "prompt_on" : ["green"],
  45. "prompt_off" : ["green"],
  46. }
  47. default = offpunk1