"Fossies" - the Fresh Open Source Software Archive

Member "highlight-3.57-x64/extras/langs-examples/_sass/_default-theme.scss" (12 May 2020, 4242 Bytes) of package /windows/www/highlight-3.57-x64.zip:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) SASS/SCSS source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 //  v1.2.0 (2019/04/13) by Tristano Ajmone
    2 // *****************************************************************************
    3 // *                                                                           *
    4 // *                         Highlight Default Theme                           *
    5 // *                                                                           *
    6 // *****************************************************************************
    7 // This theme will be used for all languages that don't have a custom theme.
    8 
    9 // -----------------------------------------------------------------------------
   10 // Color Scheme: Base16 Eighties
   11 // -----------------------------------------------------------------------------
   12 $HL-CanvasBG:           $Eighties-00; // Mine Shaft ( black )
   13 $HL-Default:            $Eighties-05; // Timberwolf ( gray )
   14 
   15 $HL-Border:             $Eighties-04; // Lemon Grass ( mid grayish )
   16 
   17 $HL-LineNum:            $Eighties-03; // Flint ( dark gray )
   18 
   19 $HL-Number:             $Eighties-09; // Atomic Tangerine ( orange )
   20 $HL-Escape:             $Eighties-09; // Atomic Tangerine ( orange )
   21 $HL-Interpolation:      $Eighties-0F; // Raw Sienna ( brownish )
   22 $HL-String:             $Eighties-0B; // Moss Green
   23 $HL-PreProcessor:       $Eighties-0E; // Lilac ( purple )
   24 $HL-StringPreProc:      $Eighties-0C; // Downy ( cyan )
   25 $HL-BlockComment:       $Eighties-04; // Lemon Grass ( mid grayish )
   26 $HL-LineComment:    $HL-BlockComment; // Lemon Grass ( mid grayish )
   27 $HL-Operator:            $HL-Default; // Timberwolf ( gray )
   28 $HL-Keywords1:          $Eighties-08; // Froly ( red )
   29 $HL-Keywords2:          $Eighties-0A; // Golden Tainoi ( yellow )
   30 $HL-Keywords3:          $Eighties-0D; // Danube ( blue )
   31 $HL-Keywords4:          $Eighties-0E; // Lilac ( purple )
   32 $HL-Keywords5:          $Eighties-0C; // Downy ( cyan )
   33 $HL-Keywords6:          $Eighties-0F; // Raw Sienna ( brownish )
   34 
   35 // -----------------------------------------------------------------------------
   36 /* Highlight Default Theme */
   37 // -----------------------------------------------------------------------------
   38 .listingblock code[data-lang]::before{
   39     // Color of language name (shown when hovering)
   40     color: $Eighties-04;
   41 }
   42 .listingblock pre[class="highlight"][lang] {
   43     background: $HL-CanvasBG;
   44     &>code {
   45         color: $HL-Default;
   46         font-family: $Consolas;
   47     }
   48     // Border and padding
   49     border-radius: 4px;
   50     border: 1px solid $HL-Border;
   51     .hl {
   52         color: $HL-Default;
   53 
   54         &.num {
   55             // Numbers
   56             color: $HL-Number;
   57         }
   58         &.esc {
   59             // Escape sequences 
   60             color: $HL-Escape;
   61         }
   62         &.ipl {
   63             // Interpolation sequences 
   64             color: $HL-Interpolation;
   65         }
   66         &.str {
   67             // Strings
   68             color: $HL-String;
   69         }
   70         &.ppc {
   71             // Preprocessor directives
   72             color: $HL-PreProcessor;
   73         }
   74         &.pps {
   75             // Strings within preprocessor directives
   76             color: $HL-StringPreProc;
   77         }
   78         &.com {
   79             // Block comments
   80             color: $HL-BlockComment;
   81             font-style: italic;
   82         }
   83         &.slc {
   84             // Single-line comments
   85             color: $HL-LineComment;
   86             font-style: italic;
   87         }
   88         &.lin {
   89             // Line numbers 
   90             color: $HL-LineNum;
   91         }
   92         &.opt {
   93             // Operators
   94             color: $HL-Operator;
   95         }
   96         // ---------------------
   97         //    Keywords Groups
   98         // ---------------------
   99         &.kwa, &.kwb, &.kwc, &.kwd, &.kwe, &.kwf {
  100             font-weight: bold;
  101         }   
  102         &.kwa {
  103             // Keywords group 1
  104             color: $HL-Keywords1;
  105         }
  106         &.kwb {
  107             // Keywords group 2
  108             color: $HL-Keywords2;
  109         }
  110         &.kwc {
  111             // Keywords group 3
  112             color: $HL-Keywords3;
  113         }
  114         &.kwd {
  115             // Keywords group 4
  116             color: $HL-Keywords4;
  117         }
  118         &.kwde{
  119             // Keywords group 5
  120             color: $HL-Keywords5;
  121         }
  122         &.kwf {
  123             // Keywords group 6
  124             color: $HL-Keywords6;
  125         }
  126     }
  127 
  128 }