diff options
author | shadchin <shadchin@yandex-team.ru> | 2022-02-10 16:44:39 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:44:39 +0300 |
commit | e9656aae26e0358d5378e5b63dcac5c8dbe0e4d0 (patch) | |
tree | 64175d5cadab313b3e7039ebaa06c5bc3295e274 /contrib/python/Pygments/py3/pygments/styles/zenburn.py | |
parent | 2598ef1d0aee359b4b6d5fdd1758916d5907d04f (diff) | |
download | ydb-e9656aae26e0358d5378e5b63dcac5c8dbe0e4d0.tar.gz |
Restoring authorship annotation for <shadchin@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'contrib/python/Pygments/py3/pygments/styles/zenburn.py')
-rw-r--r-- | contrib/python/Pygments/py3/pygments/styles/zenburn.py | 160 |
1 files changed, 80 insertions, 80 deletions
diff --git a/contrib/python/Pygments/py3/pygments/styles/zenburn.py b/contrib/python/Pygments/py3/pygments/styles/zenburn.py index d856ff9c6e..8797df7f25 100644 --- a/contrib/python/Pygments/py3/pygments/styles/zenburn.py +++ b/contrib/python/Pygments/py3/pygments/styles/zenburn.py @@ -1,80 +1,80 @@ -""" - pygments.styles.zenburn - ~~~~~~~~~~~~~~~~~~~~~~~ - - Low contrast color scheme Zenburn. - - See: https://kippura.org/zenburnpage/ - https://github.com/jnurmine/Zenburn - - :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS. - :license: BSD, see LICENSE for details. -""" - -from pygments.style import Style -from pygments.token import ( - Token, Name, Operator, Keyword, Generic, Comment, Number, String, Literal, - Punctuation, Error, -) - - -class ZenburnStyle(Style): - """ - Low contrast Zenburn style. - """ - - default_style = "" - background_color = '#3f3f3f' - highlight_color = '#484848' - line_number_color = '#5d6262' - line_number_background_color = '#353535' - line_number_special_color = '#7a8080' - line_number_special_background_color = '#353535' - styles = { - Token: '#dcdccc', - Error: '#e37170 bold', - - Keyword: '#efdcbc', - Keyword.Type: '#dfdfbf bold', - Keyword.Constant: '#dca3a3', - Keyword.Declaration: '#f0dfaf', - Keyword.Namespace: '#f0dfaf', - - Name: '#dcdccc', - Name.Tag: '#e89393 bold', - Name.Entity: '#cfbfaf', - Name.Constant: '#dca3a3', - Name.Class: '#efef8f', - Name.Function: '#efef8f', - Name.Builtin: '#efef8f', - Name.Builtin.Pseudo: '#dcdccc', - Name.Attribute: '#efef8f', - Name.Exception: '#c3bf9f bold', - - Literal: '#9fafaf', - - String: '#cc9393', - String.Doc: '#7f9f7f', - String.Interpol: '#dca3a3 bold', - - Number: '#8cd0d3', - Number.Float: '#c0bed1', - - Operator: '#f0efd0', - - Punctuation: '#f0efd0', - - Comment: '#7f9f7f italic', - Comment.Preproc: '#dfaf8f bold', - Comment.PreprocFile: '#cc9393', - Comment.Special: '#dfdfdf bold', - - Generic: '#ecbcbc bold', - Generic.Emph: '#ffffff bold', - Generic.Output: '#5b605e bold', - Generic.Heading: '#efefef bold', - Generic.Deleted: '#c3bf9f bg:#313c36', - Generic.Inserted: '#709080 bg:#313c36 bold', - Generic.Traceback: '#80d4aa bg:#2f2f2f bold', - Generic.Subheading: '#efefef bold', - } +""" + pygments.styles.zenburn + ~~~~~~~~~~~~~~~~~~~~~~~ + + Low contrast color scheme Zenburn. + + See: https://kippura.org/zenburnpage/ + https://github.com/jnurmine/Zenburn + + :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS. + :license: BSD, see LICENSE for details. +""" + +from pygments.style import Style +from pygments.token import ( + Token, Name, Operator, Keyword, Generic, Comment, Number, String, Literal, + Punctuation, Error, +) + + +class ZenburnStyle(Style): + """ + Low contrast Zenburn style. + """ + + default_style = "" + background_color = '#3f3f3f' + highlight_color = '#484848' + line_number_color = '#5d6262' + line_number_background_color = '#353535' + line_number_special_color = '#7a8080' + line_number_special_background_color = '#353535' + styles = { + Token: '#dcdccc', + Error: '#e37170 bold', + + Keyword: '#efdcbc', + Keyword.Type: '#dfdfbf bold', + Keyword.Constant: '#dca3a3', + Keyword.Declaration: '#f0dfaf', + Keyword.Namespace: '#f0dfaf', + + Name: '#dcdccc', + Name.Tag: '#e89393 bold', + Name.Entity: '#cfbfaf', + Name.Constant: '#dca3a3', + Name.Class: '#efef8f', + Name.Function: '#efef8f', + Name.Builtin: '#efef8f', + Name.Builtin.Pseudo: '#dcdccc', + Name.Attribute: '#efef8f', + Name.Exception: '#c3bf9f bold', + + Literal: '#9fafaf', + + String: '#cc9393', + String.Doc: '#7f9f7f', + String.Interpol: '#dca3a3 bold', + + Number: '#8cd0d3', + Number.Float: '#c0bed1', + + Operator: '#f0efd0', + + Punctuation: '#f0efd0', + + Comment: '#7f9f7f italic', + Comment.Preproc: '#dfaf8f bold', + Comment.PreprocFile: '#cc9393', + Comment.Special: '#dfdfdf bold', + + Generic: '#ecbcbc bold', + Generic.Emph: '#ffffff bold', + Generic.Output: '#5b605e bold', + Generic.Heading: '#efefef bold', + Generic.Deleted: '#c3bf9f bg:#313c36', + Generic.Inserted: '#709080 bg:#313c36 bold', + Generic.Traceback: '#80d4aa bg:#2f2f2f bold', + Generic.Subheading: '#efefef bold', + } |