"Fossies" - the Fresh Open Source Software Archive

Member "highlight-3.57-x64/extras/langs-examples/_sass/_purebasic.scss" (12 May 2020, 2327 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.0.0 (2018-10-05) by Tristano Ajmone
    2 // *****************************************************************************
    3 // *                                                                           *
    4 // *                          PureBasic Syntax Theme                           *
    5 // *                                                                           *
    6 // *****************************************************************************
    7 
    8 // -----------------------------------------------------------------------------
    9 // PureBasic's native IDE Color scheme
   10 // -----------------------------------------------------------------------------
   11 $Blue-Stone:     #006666; // PureBASIC Keywords
   12 $Half-and-Half:  #FFFFDF; // (Pale yellow) IDE Background
   13 $Black:          #000000; // Normal Text + Numbers + Operators
   14 $Azure-Radiance: #0080FF; // Strings
   15 $Tradewind:      #00AAAA; // (Green) Comments
   16 $Gray:           #808080; // Line numbers
   17 $Cannon-Pink:    #924B72; // Constants + Inline ASM + ASM Keywords
   18 $Gray:           #808080; // Line numbers
   19 
   20 
   21 // -----------------------------------------------------------------------------
   22 /* Highlight Theme for PureBasic */
   23 // -----------------------------------------------------------------------------
   24 
   25 .listingblock pre[class=highlight][lang=purebasic] {
   26     background: $Half-and-Half;
   27     &>code {
   28         color: $Black;
   29         font-family: $Consolas; // PB IDE's ntavie font
   30     }
   31     border: 1px solid $Gray;
   32 
   33     .hl {
   34         color: $Black;
   35         font-weight: normal;
   36         font-style: normal;
   37 
   38         &.num,      // Numbers
   39         &.opt {     // Operators
   40             color: $Black;
   41         }
   42         &.str,      // String +  + 
   43         &.esc,      // Escape Sequences in Strings
   44         &.kwd {     // Escaped-String Prefix ("~")
   45              color: $Azure-Radiance;
   46         }
   47         &.slc {     // Comments (Single Line) 
   48             color: $Tradewind;
   49         }
   50         &.lin {     // Line Numbers
   51             color: $Gray;
   52         }
   53         &.kwa {     // PureBASIC Keywords
   54             color:  $Blue-Stone;
   55             font-weight: bold;
   56         }
   57         &.kwb {     // Constants + Inline ASM + ASM Keywords
   58             
   59             color: $Cannon-Pink;
   60         }
   61         &.kwc {     // Procedure calls
   62             color:  $Blue-Stone;
   63         }
   64     }
   65 }