codekingpro/portable-devtools
114k
1"""2 pygments.styles.paraiso_light3 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~4 5 Paraíso (Light) by Jan T. Sott6 7 Pygments template by Jan T. Sott (https://github.com/idleberg)8 Created with Base16 Builder by Chris Kempson9 (https://github.com/chriskempson/base16-builder).10 11 :copyright: Copyright 2006-2024 by the Pygments team, see AUTHORS.12 :license: BSD, see LICENSE for details.13"""14 15from pygments.style import Style16from pygments.token import Keyword, Name, Comment, String, Error, Text, \17 Number, Operator, Generic, Whitespace, Punctuation, Other, Literal18 19 20__all__ = ['ParaisoLightStyle']21 22 23BACKGROUND = "#e7e9db"24CURRENT_LINE = "#b9b6b0"25SELECTION = "#a39e9b"26FOREGROUND = "#2f1e2e"27COMMENT = "#8d8687"28RED = "#ef6155"29ORANGE = "#f99b15"30YELLOW = "#fec418"31GREEN = "#48b685"32AQUA = "#5bc4bf"33BLUE = "#06b6ef"34PURPLE = "#815ba4"35 36 37class ParaisoLightStyle(Style):38 name = 'paraiso-light'39 40 background_color = BACKGROUND41 highlight_color = SELECTION42 43 styles = {44 # No corresponding class for the following:45 Text: FOREGROUND, # class: ''46 Whitespace: "", # class: 'w'47 Error: RED, # class: 'err'48 Other: "", # class 'x'49 50 Comment: COMMENT, # class: 'c'51 Comment.Multiline: "", # class: 'cm'52 Comment.Preproc: "", # class: 'cp'53 Comment.Single: "", # class: 'c1'54 Comment.Special: "", # class: 'cs'55 56 Keyword: PURPLE, # class: 'k'57 Keyword.Constant: "", # class: 'kc'58 Keyword.Declaration: "", # class: 'kd'59 Keyword.Namespace: AQUA, # class: 'kn'60 Keyword.Pseudo: "", # class: 'kp'61 Keyword.Reserved: "", # class: 'kr'62 Keyword.Type: YELLOW, # class: 'kt'63 64 Operator: AQUA, # class: 'o'65 Operator.Word: "", # class: 'ow' - like keywords66 67 Punctuation: FOREGROUND, # class: 'p'68 69 Name: FOREGROUND, # class: 'n'70 Name.Attribute: BLUE, # class: 'na' - to be revised71 Name.Builtin: "", # class: 'nb'72 Name.Builtin.Pseudo: "", # class: 'bp'73 Name.Class: YELLOW, # class: 'nc' - to be revised74 Name.Constant: RED, # class: 'no' - to be revised75 Name.Decorator: AQUA, # class: 'nd' - to be revised76 Name.Entity: "", # class: 'ni'77 Name.Exception: RED, # class: 'ne'78 Name.Function: BLUE, # class: 'nf'79 Name.Property: "", # class: 'py'80 Name.Label: "", # class: 'nl'81 Name.Namespace: YELLOW, # class: 'nn' - to be revised82 Name.Other: BLUE, # class: 'nx'83 Name.Tag: AQUA, # class: 'nt' - like a keyword84 Name.Variable: RED, # class: 'nv' - to be revised85 Name.Variable.Class: "", # class: 'vc' - to be revised86 Name.Variable.Global: "", # class: 'vg' - to be revised87 Name.Variable.Instance: "", # class: 'vi' - to be revised88 89 Number: ORANGE, # class: 'm'90 Number.Float: "", # class: 'mf'91 Number.Hex: "", # class: 'mh'92 Number.Integer: "", # class: 'mi'93 Number.Integer.Long: "", # class: 'il'94 Number.Oct: "", # class: 'mo'95 96 Literal: ORANGE, # class: 'l'97 Literal.Date: GREEN, # class: 'ld'98 99 String: GREEN, # class: 's'100 String.Backtick: "", # class: 'sb'101 String.Char: FOREGROUND, # class: 'sc'102 String.Doc: COMMENT, # class: 'sd' - like a comment103 String.Double: "", # class: 's2'104 String.Escape: ORANGE, # class: 'se'105 String.Heredoc: "", # class: 'sh'106 String.Interpol: ORANGE, # class: 'si'107 String.Other: "", # class: 'sx'108 String.Regex: "", # class: 'sr'109 String.Single: "", # class: 's1'110 String.Symbol: "", # class: 'ss'111 112 Generic: "", # class: 'g'113 Generic.Deleted: RED, # class: 'gd',114 Generic.Emph: "italic", # class: 'ge'115 Generic.Error: "", # class: 'gr'116 Generic.Heading: "bold " + FOREGROUND, # class: 'gh'117 Generic.Inserted: GREEN, # class: 'gi'118 Generic.Output: "", # class: 'go'119 Generic.Prompt: "bold " + COMMENT, # class: 'gp'120 Generic.Strong: "bold", # class: 'gs'121 Generic.EmphStrong: "bold italic", # class: 'ges'122 Generic.Subheading: "bold " + AQUA, # class: 'gu'123 Generic.Traceback: "", # class: 'gt'124 }125 