"Fossies" - the Fresh Open Source Software Archive

Member "highlight-3.57-x64/extras/langs-examples/_sass/_exapunks.scss" (12 May 2020, 2172 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 // *                          EXAPUNKS Syntax Theme                            *
    5 // *                                                                           *
    6 // *****************************************************************************
    7 // We'll just tweak a few colors of the default theme.
    8 
    9 $EXA-Instructions:          $Eighties-08; // Red
   10 $EXA-Comments:              $Eighties-03; // Dark Grey
   11 $EXA-Macros:                $Eighties-04; // Grey
   12 $EXA-Labels:                $Eighties-0B; // Green
   13 $EXA-Numbers:               $Eighties-0A; // Yellow
   14 
   15 $EXA-Registers:             $Eighties-0D; // Blue
   16 $EXA-HardwareRegisters:     $Eighties-0E; // Purple
   17 $EXA-Operators:             $Eighties-05; // Light Grey
   18 
   19 // -----------------------------------------------------------------------------
   20 /* Highlight Theme for EXAPUNKS */
   21 // -----------------------------------------------------------------------------
   22 
   23 .listingblock pre[class=highlight][lang=exapunks] {
   24     &>code {
   25         font-size: 14px;
   26     }
   27     .hl {
   28         &.num {
   29             // Numbers
   30             color: $EXA-Numbers;
   31         }
   32         &.slc {
   33             // Single-line comments
   34             color: $EXA-Comments;
   35             font-style: italic;
   36         }
   37         &.opt {
   38             // Operators
   39             color: $EXA-Operators;
   40         }
   41         // ---------------------
   42         //    Keywords Groups
   43         // ---------------------
   44         &.kwa, &.kwb, &.kwc, &.kwd, &.kwe {
   45             font-weight: bold;
   46         }   
   47         &.kwa {
   48             // EXA Instructions
   49             color: $EXA-Instructions;
   50         }
   51         &.kwb {
   52             // EXA Registers
   53             color: $EXA-Registers;
   54         }
   55         &.kwc {
   56             // Hardware Registers
   57             color: $EXA-HardwareRegisters;
   58         }
   59         &.kwd {
   60             // Labels
   61             color: $EXA-Labels;
   62         }
   63         &.kwe{
   64             // Macros
   65             color: $EXA-Macros;
   66         }
   67     }
   68 }
   69 
   70 // EOF //