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/py2/pygments/styles | |
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/py2/pygments/styles')
-rw-r--r-- | contrib/python/Pygments/py2/pygments/styles/__init__.py | 2 | ||||
-rw-r--r-- | contrib/python/Pygments/py2/pygments/styles/inkpot.py | 134 | ||||
-rw-r--r-- | contrib/python/Pygments/py2/pygments/styles/monokai.py | 6 |
3 files changed, 71 insertions, 71 deletions
diff --git a/contrib/python/Pygments/py2/pygments/styles/__init__.py b/contrib/python/Pygments/py2/pygments/styles/__init__.py index 199eb534fd..c0614718a2 100644 --- a/contrib/python/Pygments/py2/pygments/styles/__init__.py +++ b/contrib/python/Pygments/py2/pygments/styles/__init__.py @@ -50,7 +50,7 @@ STYLE_MAP = { 'stata': 'stata_light::StataLightStyle', 'stata-light': 'stata_light::StataLightStyle', 'stata-dark': 'stata_dark::StataDarkStyle', - 'inkpot': 'inkpot::InkPotStyle', + 'inkpot': 'inkpot::InkPotStyle', } diff --git a/contrib/python/Pygments/py2/pygments/styles/inkpot.py b/contrib/python/Pygments/py2/pygments/styles/inkpot.py index c2f98de4e3..0b7ea74ed9 100644 --- a/contrib/python/Pygments/py2/pygments/styles/inkpot.py +++ b/contrib/python/Pygments/py2/pygments/styles/inkpot.py @@ -1,67 +1,67 @@ -# -*- coding: utf-8 -*- -""" - pygments.styles.inkpot - ~~~~~~~~~~~~~~~~~~~~~~ - - A highlighting style for Pygments, inspired by the Inkpot theme for VIM. - - :copyright: Copyright 2006-2019 by the Pygments team, see AUTHORS. - :license: BSD, see LICENSE for details. -""" - -from pygments.style import Style -from pygments.token import Text, Other, Keyword, Name, Comment, String, \ - Error, Number, Operator, Generic, Whitespace, Punctuation - - -class InkPotStyle(Style): - background_color = "#1e1e27" - default_style = "" - styles = { - Text: "#cfbfad", - Other: "#cfbfad", - Whitespace: "#434357", - Comment: "#cd8b00", - Comment.Preproc: "#409090", - Comment.PreprocFile: "bg:#404040 #ffcd8b", - Comment.Special: "#808bed", - - Keyword: "#808bed", - Keyword.Pseudo: "nobold", - Keyword.Type: "#ff8bff", - - Operator: "#666666", - - Punctuation: "#cfbfad", - - Name: "#cfbfad", - Name.Attribute: "#cfbfad", - Name.Builtin.Pseudo: '#ffff00', - Name.Builtin: "#808bed", - Name.Class: "#ff8bff", - Name.Constant: "#409090", - Name.Decorator: "#409090", - Name.Exception: "#ff0000", - Name.Function: "#c080d0", - Name.Label: "#808bed", - Name.Namespace: "#ff0000", - Name.Variable: "#cfbfad", - - String: "bg:#404040 #ffcd8b", - String.Doc: "#808bed", - - Number: "#f0ad6d", - - Generic.Heading: "bold #000080", - Generic.Subheading: "bold #800080", - Generic.Deleted: "#A00000", - Generic.Inserted: "#00A000", - Generic.Error: "#FF0000", - Generic.Emph: "italic", - Generic.Strong: "bold", - Generic.Prompt: "bold #000080", - Generic.Output: "#888", - Generic.Traceback: "#04D", - - Error: "bg:#6e2e2e #ffffff" - } +# -*- coding: utf-8 -*- +""" + pygments.styles.inkpot + ~~~~~~~~~~~~~~~~~~~~~~ + + A highlighting style for Pygments, inspired by the Inkpot theme for VIM. + + :copyright: Copyright 2006-2019 by the Pygments team, see AUTHORS. + :license: BSD, see LICENSE for details. +""" + +from pygments.style import Style +from pygments.token import Text, Other, Keyword, Name, Comment, String, \ + Error, Number, Operator, Generic, Whitespace, Punctuation + + +class InkPotStyle(Style): + background_color = "#1e1e27" + default_style = "" + styles = { + Text: "#cfbfad", + Other: "#cfbfad", + Whitespace: "#434357", + Comment: "#cd8b00", + Comment.Preproc: "#409090", + Comment.PreprocFile: "bg:#404040 #ffcd8b", + Comment.Special: "#808bed", + + Keyword: "#808bed", + Keyword.Pseudo: "nobold", + Keyword.Type: "#ff8bff", + + Operator: "#666666", + + Punctuation: "#cfbfad", + + Name: "#cfbfad", + Name.Attribute: "#cfbfad", + Name.Builtin.Pseudo: '#ffff00', + Name.Builtin: "#808bed", + Name.Class: "#ff8bff", + Name.Constant: "#409090", + Name.Decorator: "#409090", + Name.Exception: "#ff0000", + Name.Function: "#c080d0", + Name.Label: "#808bed", + Name.Namespace: "#ff0000", + Name.Variable: "#cfbfad", + + String: "bg:#404040 #ffcd8b", + String.Doc: "#808bed", + + Number: "#f0ad6d", + + Generic.Heading: "bold #000080", + Generic.Subheading: "bold #800080", + Generic.Deleted: "#A00000", + Generic.Inserted: "#00A000", + Generic.Error: "#FF0000", + Generic.Emph: "italic", + Generic.Strong: "bold", + Generic.Prompt: "bold #000080", + Generic.Output: "#888", + Generic.Traceback: "#04D", + + Error: "bg:#6e2e2e #ffffff" + } diff --git a/contrib/python/Pygments/py2/pygments/styles/monokai.py b/contrib/python/Pygments/py2/pygments/styles/monokai.py index b17124ee48..c9db9f2218 100644 --- a/contrib/python/Pygments/py2/pygments/styles/monokai.py +++ b/contrib/python/Pygments/py2/pygments/styles/monokai.py @@ -92,15 +92,15 @@ class MonokaiStyle(Style): String.Single: "", # class: 's1' String.Symbol: "", # class: 'ss' - + Generic: "", # class: 'g' Generic.Deleted: "#f92672", # class: 'gd', Generic.Emph: "italic", # class: 'ge' Generic.Error: "", # class: 'gr' Generic.Heading: "", # class: 'gh' Generic.Inserted: "#a6e22e", # class: 'gi' - Generic.Output: "#66d9ef", # class: 'go' - Generic.Prompt: "bold #f92672", # class: 'gp' + Generic.Output: "#66d9ef", # class: 'go' + Generic.Prompt: "bold #f92672", # class: 'gp' Generic.Strong: "bold", # class: 'gs' Generic.Subheading: "#75715e", # class: 'gu' Generic.Traceback: "", # class: 'gt' |