mattrguerra/cortexmainPrivate on GitHub, published here in full

highlight.css

Language CSS935 B51 lines

src/styles/highlight.css

  1. /* Code colors, tuned for both themes over the glass. */
  2. :root[data-theme='light'] {
  3. --hl-keyword: #8a2be2;
  4. --hl-string: #0b7d4f;
  5. --hl-number: #b35c00;
  6. --hl-comment: #6f6a86;
  7. --hl-title: #1f5fbf;
  8. --hl-attr: #9c3d74;
  9. }
  10. :root[data-theme='dark'] {
  11. --hl-keyword: #c9a4ff;
  12. --hl-string: #8fe3b6;
  13. --hl-number: #ffc27a;
  14. --hl-comment: #9d97b6;
  15. --hl-title: #8cc4ff;
  16. --hl-attr: #ff9ccf;
  17. }
  18. .hljs-keyword,
  19. .hljs-selector-tag,
  20. .hljs-built_in,
  21. .hljs-literal {
  22. color: var(--hl-keyword);
  23. }
  24. .hljs-string,
  25. .hljs-regexp,
  26. .hljs-addition {
  27. color: var(--hl-string);
  28. }
  29. .hljs-number,
  30. .hljs-symbol,
  31. .hljs-variable,
  32. .hljs-template-variable {
  33. color: var(--hl-number);
  34. }
  35. .hljs-comment,
  36. .hljs-quote,
  37. .hljs-meta {
  38. color: var(--hl-comment);
  39. font-style: italic;
  40. }
  41. .hljs-title,
  42. .hljs-section,
  43. .hljs-function .hljs-title {
  44. color: var(--hl-title);
  45. }
  46. .hljs-attr,
  47. .hljs-attribute,
  48. .hljs-name,
  49. .hljs-deletion {
  50. color: var(--hl-attr);
  51. }