_highlight-dark.scss 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. @charset "utf-8";
  2. // Solarized skin
  3. // ==============
  4. // Created by Sander Voerman <mailto:sander@savoerman.nl> using the Solarized
  5. // color scheme by Ethan Schoonover <https://ethanschoonover.com/solarized>.
  6. // This style sheet implements two options for the minima.skin setting:
  7. // "solarized" for light mode and "solarized-dark" for dark mode.
  8. $sol-is-dark: true !default;
  9. // Color scheme
  10. // ------------
  11. // The inline comments show the canonical L*a*b values for each color.
  12. $sol-base03: #002b36; // 15 -12 -12
  13. $sol-base02: #073642; // 20 -12 -12
  14. $sol-base01: #586e75; // 45 -07 -07
  15. $sol-base00: #657b83; // 50 -07 -07
  16. $sol-base0: #839496; // 60 -06 -03
  17. $sol-base1: #93a1a1; // 65 -05 -02
  18. $sol-base2: #eee8d5; // 92 -00 10
  19. $sol-base3: #fdf6e3; // 97 00 10
  20. $sol-yellow: #b58900; // 60 10 65
  21. $sol-orange: #cb4b16; // 50 50 55
  22. $sol-red: #dc322f; // 50 65 45
  23. $sol-magenta: #d33682; // 50 65 -05
  24. $sol-violet: #6c71c4; // 50 15 -45
  25. $sol-blue: #268bd2; // 55 -10 -45
  26. $sol-cyan: #2aa198; // 60 -35 -05
  27. $sol-green: #859900; // 60 -20 65
  28. $sol-mono3: $sol-base3;
  29. $sol-mono2: $sol-base2;
  30. $sol-mono1: $sol-base1;
  31. $sol-mono00: $sol-base00;
  32. $sol-mono01: $sol-base01;
  33. @if $sol-is-dark {
  34. $sol-mono3: $sol-base03;
  35. $sol-mono2: $sol-base02;
  36. $sol-mono1: $sol-base01;
  37. $sol-mono00: $sol-base0;
  38. $sol-mono01: $sol-base1;
  39. }
  40. // Minima color variables
  41. // ----------------------
  42. $brand-color: $sol-mono1 !default;
  43. $brand-color-light: mix($sol-mono1, $sol-mono3) !default;
  44. $brand-color-dark: $sol-mono00 !default;
  45. $text-color: $sol-mono01 !default;
  46. $background-color: $sol-mono3 !default;
  47. $code-background-color: $sol-mono2 !default;
  48. $link-base-color: $sol-blue !default;
  49. $link-visited-color: mix($sol-blue, $sol-mono00) !default;
  50. $table-text-color: $sol-mono00 !default;
  51. $table-zebra-color: mix($sol-mono2, $sol-mono3) !default;
  52. $table-header-bg-color: $sol-mono2 !default;
  53. $table-header-border: $sol-mono1 !default;
  54. $table-border-color: $sol-mono1 !default;
  55. // Syntax highlighting styles
  56. // --------------------------
  57. .highlight {
  58. .c { color: $sol-mono1; font-style: italic } // Comment
  59. .err { color: $sol-red } // Error
  60. .k { color: $sol-mono01; font-weight: bold } // Keyword
  61. .o { color: $sol-mono01; font-weight: bold } // Operator
  62. .cm { color: $sol-mono1; font-style: italic } // Comment.Multiline
  63. .cp { color: $sol-mono1; font-weight: bold } // Comment.Preproc
  64. .c1 { color: $sol-mono1; font-style: italic } // Comment.Single
  65. .cs { color: $sol-mono1; font-weight: bold; font-style: italic } // Comment.Special
  66. .gd { color: $sol-red } // Generic.Deleted
  67. .gd .x { color: $sol-red } // Generic.Deleted.Specific
  68. .ge { color: $sol-mono00; font-style: italic } // Generic.Emph
  69. .gr { color: $sol-red } // Generic.Error
  70. .gh { color: $sol-mono1 } // Generic.Heading
  71. .gi { color: $sol-green } // Generic.Inserted
  72. .gi .x { color: $sol-green } // Generic.Inserted.Specific
  73. .go { color: $sol-mono00 } // Generic.Output
  74. .gp { color: $sol-mono00 } // Generic.Prompt
  75. .gs { color: $sol-mono01; font-weight: bold } // Generic.Strong
  76. .gu { color: $sol-mono1 } // Generic.Subheading
  77. .gt { color: $sol-red } // Generic.Traceback
  78. .kc { color: $sol-mono01; font-weight: bold } // Keyword.Constant
  79. .kd { color: $sol-mono01; font-weight: bold } // Keyword.Declaration
  80. .kp { color: $sol-mono01; font-weight: bold } // Keyword.Pseudo
  81. .kr { color: $sol-mono01; font-weight: bold } // Keyword.Reserved
  82. .kt { color: $sol-violet; font-weight: bold } // Keyword.Type
  83. .m { color: $sol-cyan } // Literal.Number
  84. .s { color: $sol-magenta } // Literal.String
  85. .na { color: $sol-cyan } // Name.Attribute
  86. .nb { color: $sol-blue } // Name.Builtin
  87. .nc { color: $sol-violet; font-weight: bold } // Name.Class
  88. .no { color: $sol-cyan } // Name.Constant
  89. .ni { color: $sol-violet } // Name.Entity
  90. .ne { color: $sol-violet; font-weight: bold } // Name.Exception
  91. .nf { color: $sol-blue; font-weight: bold } // Name.Function
  92. .nn { color: $sol-mono00 } // Name.Namespace
  93. .nt { color: $sol-blue } // Name.Tag
  94. .nv { color: $sol-cyan } // Name.Variable
  95. .ow { color: $sol-mono01; font-weight: bold } // Operator.Word
  96. .w { color: $sol-mono1 } // Text.Whitespace
  97. .mf { color: $sol-cyan } // Literal.Number.Float
  98. .mh { color: $sol-cyan } // Literal.Number.Hex
  99. .mi { color: $sol-cyan } // Literal.Number.Integer
  100. .mo { color: $sol-cyan } // Literal.Number.Oct
  101. .sb { color: $sol-magenta } // Literal.String.Backtick
  102. .sc { color: $sol-magenta } // Literal.String.Char
  103. .sd { color: $sol-magenta } // Literal.String.Doc
  104. .s2 { color: $sol-magenta } // Literal.String.Double
  105. .se { color: $sol-magenta } // Literal.String.Escape
  106. .sh { color: $sol-magenta } // Literal.String.Heredoc
  107. .si { color: $sol-magenta } // Literal.String.Interpol
  108. .sx { color: $sol-magenta } // Literal.String.Other
  109. .sr { color: $sol-green } // Literal.String.Regex
  110. .s1 { color: $sol-magenta } // Literal.String.Single
  111. .ss { color: $sol-magenta } // Literal.String.Symbol
  112. .bp { color: $sol-mono1 } // Name.Builtin.Pseudo
  113. .vc { color: $sol-cyan } // Name.Variable.Class
  114. .vg { color: $sol-cyan } // Name.Variable.Global
  115. .vi { color: $sol-cyan } // Name.Variable.Instance
  116. .il { color: $sol-cyan } // Literal.Number.Integer.Long
  117. }