daily pastebin goal
50%
SHARE
TWEET

Untitled

a guest Jan 24th, 2019 55 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @import (reference) "syntax-variables";
  2.  
  3. // Markdown color improvements by fievelk
  4. @yellow: #cbcb41;
  5. @orange: #e37933;
  6. @yellow-highlight: #a2852f;
  7. @red: #cc3e44;
  8. @green: #8dc149;
  9. @blue: #519aba;
  10. @purple: #a074c4;
  11.  
  12. @markup-heading: @orange;
  13. @markup-h1: @markup-heading;
  14. @markup-h2: lighten(@markup-heading, 5);
  15. @markup-h3: lighten(@markup-heading, 10);
  16. @markup-h4: lighten(@markup-heading, 15);
  17. @markup-h5: lighten(@markup-heading, 20);
  18. @markup-h6: lighten(@markup-heading, 25);
  19.  
  20. // These lines can be commented when using Seti Syntax Theme
  21. @quotes: lighten(@blue, 20);
  22. @code-background: black;
  23. @string-quoted-single: @quotes;
  24. @string-quoted-double: lighten(@blue, 20);
  25. @meta-control-flow: @green;
  26. // [END] These lines can be commented when using Seti Syntax Theme
  27.  
  28. atom-text-editor {
  29.   // Styles shared between language-markdown and gfm packages
  30.   .syntax--markup.syntax--md, .syntax--source.syntax--gfm {
  31.      .syntax--heading-1 {
  32.        color: @markup-h1;
  33.      }
  34.      .syntax--heading-2 {
  35.        color: @markup-h2;
  36.      }
  37.      .syntax--heading-3 {
  38.        color: @markup-h3;
  39.      }
  40.      .syntax--heading-4 {
  41.        color: @markup-h4;
  42.      }
  43.      .syntax--heading-5 {
  44.        color: @markup-h5;
  45.      }
  46.      .syntax--heading-6 {
  47.        color: @markup-h6;
  48.      }
  49.    }
  50.  
  51.   // code block style
  52.   .syntax--code.syntax--md {
  53.     &.syntax--fenced {
  54.       color: @blue;
  55.       border: 1px solid mix(@code-background, @string-quoted-double, 90%);
  56.       background-color: mix(@code-background, @string-quoted-double, 90%);
  57.       border-radius: 2px;
  58.     }
  59.   }
  60.  
  61.   // punctuation style
  62.   .syntax--punctuation.syntax--md {
  63.     color: @red;
  64.   }
  65.  
  66.   .syntax--markup.syntax--md {
  67.     &.syntax--bold {
  68.       color: @yellow;
  69.       font-weight: bold;
  70.     }
  71.  
  72.     &.syntax--quote {
  73.       font-style: italic;
  74.     }
  75.  
  76.     &.syntax--italic {
  77.       color: @yellow;
  78.       font-style: italic;
  79.     }
  80.  
  81.     &.syntax--list {
  82.       .syntax--punctuation {
  83.         color: @yellow-highlight;
  84.       }
  85.     }
  86.  
  87.     // Inline code
  88.     &.syntax--raw {
  89.       //color: @blue;
  90.       border: 1px solid mix(@code-background, @string-quoted-double, 90%);
  91.       background-color: mix(@code-background, @string-quoted-double, 90%);
  92.       border-radius: 2px;
  93.     }
  94.  
  95.     &.syntax--link {
  96.       .syntax--destination .syntax--uri {
  97.         color: @green;
  98.       }
  99.       .syntax--string {
  100.         color: @purple;
  101.       }
  102.     }
  103.   }
  104.  
  105.   .syntax--source.syntax--gfm {
  106.     .syntax--link {
  107.       color: @green;
  108.       .syntax--entity {
  109.         color: @purple;
  110.       }
  111.     }
  112.  
  113.     .syntax--italic {
  114.       color: @yellow;
  115.     }
  116.     .syntax--bold {
  117.       color: @yellow;
  118.       font-weight: bold;
  119.     }
  120.     .syntax--variable.syntax--list {
  121.       color: @yellow-highlight;
  122.     }
  123.  
  124.     .syntax--hr {
  125.       color: @meta-control-flow;
  126.     }
  127.  
  128.     .syntax--comment.syntax--quote {
  129.       color: @string-quoted-single;
  130.     }
  131.  
  132.     .syntax--raw {
  133.       color: @red;
  134.       border: 1px solid mix(@code-background, @string-quoted-double, 90%);
  135.       background-color: mix(@code-background, @string-quoted-double, 90%);
  136.       border-radius: 3px;
  137.     }
  138.   }
  139. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top