_syntax-highlighting.scss 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. /**
  2. * Syntax highlighting styles
  3. */
  4. .highlighter-rouge {
  5. background: lighten($light-blue,5%);
  6. }
  7. .highlight {
  8. background: lighten($light-blue,10%);
  9. //@extend %vertical-rhythm;
  10. .c { color: #999988; font-style: italic } /* Comment */
  11. .err { color: $blue; background-color: #e3d2d2 } /* Error */
  12. .k { color: #000000; font-weight: bold } /* Keyword */
  13. .o { color: #000000; font-weight: bold } /* Operator */
  14. .cm { color: #999988; font-style: italic } /* Comment.Multiline */
  15. .cp { color: #999999; font-weight: bold; font-style: italic } /* Comment.Preproc */
  16. .c1 { color: #999988; font-style: italic } /* Comment.Single */
  17. .cs { color: #999999; font-weight: bold; font-style: italic } /* Comment.Special */
  18. .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */
  19. .ge { color: #000000; font-style: italic } /* Generic.Emph */
  20. .gr { color: #aa0000 } /* Generic.Error */
  21. .gh { color: #999999 } /* Generic.Heading */
  22. .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */
  23. .go { color: #888888 } /* Generic.Output */
  24. .gp { color: #555555 } /* Generic.Prompt */
  25. .gs { font-weight: bold } /* Generic.Strong */
  26. .gu { color: #aaaaaa } /* Generic.Subheading */
  27. .gt { color: #aa0000 } /* Generic.Traceback */
  28. .kc { color: #000000; font-weight: bold } /* Keyword.Constant */
  29. .kd { color: #000000; font-weight: bold } /* Keyword.Declaration */
  30. .kn { color: #000000; font-weight: bold } /* Keyword.Namespace */
  31. .kp { color: #000000; font-weight: bold } /* Keyword.Pseudo */
  32. .kr { color: #000000; font-weight: bold } /* Keyword.Reserved */
  33. .kt { color: #445588; font-weight: bold } /* Keyword.Type */
  34. .m { color: #009999 } /* Literal.Number */
  35. .p { color: $blue } /* { } ( ) */
  36. .s { color: $light-red } /* Literal.String */
  37. .na { color: #00b16a } /* Name.Attribute */
  38. .nb { color: #0086B3 } /* Name.Builtin */
  39. .nc { color: $light-red; font-weight: bold } /* Name.Class */
  40. .no { color: #00b16a } /* Name.Constant */
  41. .nd { color: #DB6968; font-weight: bold } /* Name.Decorator */
  42. .ni { color: #800080 } /* Name.Entity */
  43. .ne { color: #990000; font-weight: bold } /* Name.Exception */
  44. .nf { color: #990000; font-weight: bold } /* Name.Function */
  45. .nl { color: #990000; font-weight: bold } /* Name.Label */
  46. .nn { color: #555555 } /* Name.Namespace */
  47. .nt { color: #000080 } /* Name.Tag */
  48. .nv { color: #00b16a } /* Name.Variable */
  49. /* .nx { color: #cc66ff } */
  50. .ow { color: #000000; font-weight: bold } /* Operator.Word */
  51. .w { color: #bbbbbb } /* Text.Whitespace */
  52. .mf { color: #009999 } /* Literal.Number.Float */
  53. .mh { color: #009999 } /* Literal.Number.Hex */
  54. .mi { color: #009999 } /* Literal.Number.Integer */
  55. .mo { color: #009999 } /* Literal.Number.Oct */
  56. .sb { color: $light-red } /* Literal.String.Backtick */
  57. .sc { color: $light-red } /* Literal.String.Char */
  58. .sd { color: $light-red } /* Literal.String.Doc */
  59. .s2 { color: $light-red } /* Literal.String.Double */
  60. .se { color: $light-red } /* Literal.String.Escape */
  61. .sh { color: $light-red } /* Literal.String.Heredoc */
  62. .si { color: $light-red } /* Literal.String.Interpol */
  63. .sx { color: $light-red } /* Literal.String.Other */
  64. .sr { color: $light-red } /* Literal.String.Regex */
  65. .s1 { color: $light-red } /* Literal.String.Single */
  66. .ss { color: #990073 } /* Literal.String.Symbol */
  67. .bp { color: #999999 } /* Name.Builtin.Pseudo */
  68. .vc { color: #00b16a } /* Name.Variable.Class */
  69. .vg { color: #00b16a } /* Name.Variable.Global */
  70. .vi { color: #00b16a } /* Name.Variable.Instance */
  71. .il { color: #009999 } /* Literal.Number.Integer.Long */
  72. }