"Fossies" - the Fresh Open Source Software Archive

Member "highlight-3.57-x64/extras/AsciiDoc/sass/_hl-theme_alan.scss" (12 May 2020, 1382 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 // "_hl-theme_alan.scss"                v1.0.0 | 2019/03/25 | by Tristano Ajmone
    2 // -----------------------------------------------------------------------------
    3 // Syntax highlighting theme for Alan IF code.
    4 
    5 $HL-Lang: "alan";
    6 
    7 // -----------------------------------------------------------------------------
    8 // Color Scheme: Base16 Brewer (light)
    9 // -----------------------------------------------------------------------------
   10 // by Timothée Poisot (http://github.com/tpoisot)
   11 
   12 @import 'base16-brewer';
   13 
   14 $HL-LangNameHover:  $base0F;
   15 
   16 $HL-Canvas:         $base07;
   17 $HL-Default:        $base02;
   18 
   19 $HL-Border-color:   $base06;
   20 $HL-LineNum:        $base06;
   21 
   22 $HL-Number:         $base09;
   23 $HL-Escape:         $base09;
   24 $HL-Interpolation:  $base0F;
   25 $HL-String:         $base0B;
   26 $HL-LineComment:    $base03;
   27 $HL-Operator:       $HL-Default;
   28 $HL-Keywords1:      $base08;
   29 $HL-Keywords2:      $base0A;
   30 $HL-Keywords3:      $base0D;
   31 
   32 @import 'hl-adoc-template';
   33 
   34 // Highlight Marker
   35 // ----------------
   36 // Let's add to the <mark> tag a smeared fluorescent marker effect.
   37 // Based on a tutorial by Chris Ferdinandi:
   38 // https://gomakethings.com/highlighting-effect-with-css/
   39 
   40 $fluo: #ccff00;
   41 $fluo-faded: #f5ff87;
   42 
   43 .listingblock pre[class=highlight][lang=alan] mark {
   44     background-color: #{$fluo};
   45     background-image: linear-gradient(to right, #{$fluo} 0%, #{$fluo-faded} 100%);
   46 }
   47 
   48 // EOF //