codekingpro/portable-devtools
114k
1"""2 pygments.styles.sas3 ~~~~~~~~~~~~~~~~~~~4 5 Style inspired by SAS' enhanced program editor. Note This is not6 meant to be a complete style. It's merely meant to mimic SAS'7 program editor syntax highlighting.8 9 :copyright: Copyright 2006-2024 by the Pygments team, see AUTHORS.10 :license: BSD, see LICENSE for details.11"""12 13from pygments.style import Style14from pygments.token import Keyword, Name, Comment, String, Error, \15 Number, Other, Whitespace, Generic16 17 18__all__ = ['SasStyle']19 20 21class SasStyle(Style):22 """23 Style inspired by SAS' enhanced program editor. Note This is not24 meant to be a complete style. It's merely meant to mimic SAS'25 program editor syntax highlighting.26 """27 28 name = 'sas'29 30 styles = {31 Whitespace: '#bbbbbb',32 Comment: 'italic #008800',33 String: '#800080',34 Number: 'bold #2c8553',35 Other: 'bg:#ffffe0',36 Keyword: '#2c2cff',37 Keyword.Reserved: 'bold #353580',38 Keyword.Constant: 'bold',39 Name.Builtin: '#2c2cff',40 Name.Function: 'bold italic',41 Name.Variable: 'bold #2c2cff',42 Generic: '#2c2cff',43 Generic.Emph: '#008800',44 Generic.Error: '#d30202',45 Error: 'bg:#e3d2d2 #a61717'46 }47 