_prism.scss 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. .token.comment,
  2. .token.prolog,
  3. .token.doctype,
  4. .token.cdata,
  5. .token.punctuation {
  6. color: $textColorLight;
  7. }
  8. .namespace {
  9. opacity: .7;
  10. }
  11. .token.property,
  12. .token.tag,
  13. .token.boolean,
  14. .token.number,
  15. .token.constant,
  16. .token.symbol,
  17. .token.deleted {
  18. @if $style == 'dark' {
  19. color: #eb8160;
  20. } @else {
  21. color: #905;
  22. }
  23. }
  24. .token.selector,
  25. .token.attr-name,
  26. .token.string,
  27. .token.char,
  28. .token.builtin,
  29. .token.inserted {
  30. @if $style == 'dark' {
  31. color: #ddcf88;
  32. } @else {
  33. color: #5e8e01;
  34. }
  35. }
  36. .token.operator,
  37. .token.entity,
  38. .token.url,
  39. .language-css .token.string,
  40. .style .token.string {
  41. @if $style == 'dark' {
  42. color: #b1c676;
  43. } @else {
  44. color: #a67f59;
  45. }
  46. }
  47. .token.atrule,
  48. .token.attr-value,
  49. .token.keyword {
  50. @if $style == 'dark' {
  51. color: #91b3ed;
  52. } @else {
  53. color: #0070a3;
  54. }
  55. }
  56. .token.function {
  57. @if $style == 'dark' {
  58. color: #c79e6b;
  59. } @else {
  60. color: #dd4a68;
  61. }
  62. }
  63. .token.regex,
  64. .token.important,
  65. .token.variable {
  66. @if $style == 'dark' {
  67. color: #e9c062;
  68. } @else {
  69. color: #e90;
  70. }
  71. }
  72. .token.important {
  73. font-weight: bold;
  74. }