Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes14kdownloads
rrt.py55 linesDownload Raw Back to styles
1"""2    pygments.styles.rrt3    ~~~~~~~~~~~~~~~~~~~4 5    pygments "rrt" theme, based on Zap and Emacs defaults.6 7    :copyright: Copyright 2006-present by the Pygments team, see AUTHORS.8    :license: BSD, see LICENSE for details.9"""10 11from pygments.style import Style12from pygments.token import (13    Comment,14    Generic,15    Keyword,16    Name,17    Number,18    Operator,19    String,20    Token,21)22 23__all__ = ['RrtStyle']24 25 26class RrtStyle(Style):27    """28    Minimalistic "rrt" theme, based on Zap and Emacs defaults.29    """30 31    name = 'rrt'32 33    background_color = '#000000'34    highlight_color = '#0000ff'35 36    styles = {37        Token:              '#dddddd',38        Comment:            '#00ff00',39        Generic.Emph:       '#ffffff',40        Generic.Heading:    '#ffff00',41        Generic.Subheading: '#ffff00',42        Generic.Strong:     '#ffffff',43        Name.Entity:        '#eedd82',44        Name.Function:      '#ffff00',45        Name.Variable:      '#eedd82',46        Name.Tag:           '#7fffd4',47        Name.Constant:      '#7fffd4',48        Keyword:            '#ff0000',49        Operator.Word:      '#ff0000',50        Comment.Preproc:    '#e5e5e5',51        String:             '#87ceeb',52        Keyword.Type:       '#ee82ee',53        Number:             '#ff00ff',54    }55 
codekingpro/portable-devtools · Team Ai