hljs-github.css 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. /*!
  2. Theme: GitHub
  3. Description: Light theme as seen on github.com
  4. Author: github.com
  5. Maintainer: @Hirse
  6. Updated: 2021-05-15
  7. Outdated base version: https://github.com/primer/github-syntax-light
  8. Current colors taken from GitHub's CSS
  9. */
  10. .hljs {
  11. color: #24292e;
  12. background: #ffffff;
  13. }
  14. .hljs-doctag,
  15. .hljs-keyword,
  16. .hljs-meta .hljs-keyword,
  17. .hljs-template-tag,
  18. .hljs-template-variable,
  19. .hljs-type,
  20. .hljs-variable.language_ {
  21. /* prettylights-syntax-keyword */
  22. color: #d73a49;
  23. }
  24. .hljs-title,
  25. .hljs-title.class_,
  26. .hljs-title.class_.inherited__,
  27. .hljs-title.function_ {
  28. /* prettylights-syntax-entity */
  29. color: #6f42c1;
  30. }
  31. .hljs-attr,
  32. .hljs-attribute,
  33. .hljs-literal,
  34. .hljs-meta,
  35. .hljs-number,
  36. .hljs-operator,
  37. .hljs-variable,
  38. .hljs-selector-attr,
  39. .hljs-selector-class,
  40. .hljs-selector-id {
  41. /* prettylights-syntax-constant */
  42. color: #005cc5;
  43. }
  44. .hljs-regexp,
  45. .hljs-string,
  46. .hljs-meta .hljs-string {
  47. /* prettylights-syntax-string */
  48. color: #032f62;
  49. }
  50. .hljs-built_in,
  51. .hljs-symbol {
  52. /* prettylights-syntax-variable */
  53. color: #e36209;
  54. }
  55. .hljs-comment,
  56. .hljs-code,
  57. .hljs-formula {
  58. /* prettylights-syntax-comment */
  59. color: #6a737d;
  60. }
  61. .hljs-name,
  62. .hljs-quote,
  63. .hljs-selector-tag,
  64. .hljs-selector-pseudo {
  65. /* prettylights-syntax-entity-tag */
  66. color: #22863a;
  67. }
  68. .hljs-subst {
  69. /* prettylights-syntax-storage-modifier-import */
  70. color: #24292e;
  71. }
  72. .hljs-section {
  73. /* prettylights-syntax-markup-heading */
  74. color: #005cc5;
  75. font-weight: bold;
  76. }
  77. .hljs-bullet {
  78. /* prettylights-syntax-markup-list */
  79. color: #735c0f;
  80. }
  81. .hljs-emphasis {
  82. /* prettylights-syntax-markup-italic */
  83. color: #24292e;
  84. font-style: italic;
  85. }
  86. .hljs-strong {
  87. /* prettylights-syntax-markup-bold */
  88. color: #24292e;
  89. font-weight: bold;
  90. }
  91. .hljs-addition {
  92. /* prettylights-syntax-markup-inserted */
  93. color: #22863a;
  94. background-color: #f0fff4;
  95. }
  96. .hljs-deletion {
  97. /* prettylights-syntax-markup-deleted */
  98. color: #b31d28;
  99. background-color: #ffeef0;
  100. }
  101. .hljs-char.escape_,
  102. .hljs-link,
  103. .hljs-params,
  104. .hljs-property,
  105. .hljs-punctuation,
  106. .hljs-tag {
  107. /* purposely ignored */
  108. }