diff options
author | nkozlovskiy <nmk@ydb.tech> | 2023-09-29 12:24:06 +0300 |
---|---|---|
committer | nkozlovskiy <nmk@ydb.tech> | 2023-09-29 12:41:34 +0300 |
commit | e0e3e1717e3d33762ce61950504f9637a6e669ed (patch) | |
tree | bca3ff6939b10ed60c3d5c12439963a1146b9711 /contrib/python/Pygments/py3/pygments/styles/native.py | |
parent | 38f2c5852db84c7b4d83adfcb009eb61541d1ccd (diff) | |
download | ydb-e0e3e1717e3d33762ce61950504f9637a6e669ed.tar.gz |
add ydb deps
Diffstat (limited to 'contrib/python/Pygments/py3/pygments/styles/native.py')
-rw-r--r-- | contrib/python/Pygments/py3/pygments/styles/native.py | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/contrib/python/Pygments/py3/pygments/styles/native.py b/contrib/python/Pygments/py3/pygments/styles/native.py new file mode 100644 index 0000000000..1cc78fe2b2 --- /dev/null +++ b/contrib/python/Pygments/py3/pygments/styles/native.py @@ -0,0 +1,66 @@ +""" + pygments.styles.native + ~~~~~~~~~~~~~~~~~~~~~~ + + pygments version of my "native" vim theme. + + :copyright: Copyright 2006-2023 by the Pygments team, see AUTHORS. + :license: BSD, see LICENSE for details. +""" + +from pygments.style import Style +from pygments.token import Keyword, Name, Comment, String, Error, \ + Number, Operator, Generic, Token, Whitespace + + +class NativeStyle(Style): + """ + Pygments version of the "native" vim theme. + """ + + background_color = '#202020' + highlight_color = '#404040' + line_number_color = '#aaaaaa' + + styles = { + Token: '#d0d0d0', + Whitespace: '#666666', + + Comment: 'italic #ababab', + Comment.Preproc: 'noitalic bold #ff3a3a', + Comment.Special: 'noitalic bold #e50808 bg:#520000', + + Keyword: 'bold #6ebf26', + Keyword.Pseudo: 'nobold', + Operator.Word: 'bold #6ebf26', + + String: '#ed9d13', + String.Other: '#ffa500', + + Number: '#51b2fd', + + Name.Builtin: '#2fbccd', + Name.Variable: '#40ffff', + Name.Constant: '#40ffff', + Name.Class: 'underline #71adff', + Name.Function: '#71adff', + Name.Namespace: 'underline #71adff', + Name.Exception: '#bbbbbb', + Name.Tag: 'bold #6ebf26', + Name.Attribute: '#bbbbbb', + Name.Decorator: '#ffa500', + + Generic.Heading: 'bold #ffffff', + Generic.Subheading: 'underline #ffffff', + Generic.Deleted: '#d22323', + Generic.Inserted: '#589819', + Generic.Error: '#d22323', + Generic.Emph: 'italic', + Generic.Strong: 'bold', + Generic.EmphStrong: 'bold italic', + Generic.Prompt: '#aaaaaa', + Generic.Output: '#cccccc', + Generic.Traceback: '#d22323', + + Error: 'bg:#e3d2d2 #a61717' + } |