summaryrefslogtreecommitdiff
path: root/venv/lib/python3.11/site-packages/pygments/styles/native.py
diff options
context:
space:
mode:
authorcyfraeviolae <cyfraeviolae>2024-04-03 03:10:44 -0400
committercyfraeviolae <cyfraeviolae>2024-04-03 03:10:44 -0400
commit6d7ba58f880be618ade07f8ea080fe8c4bf8a896 (patch)
treeb1c931051ffcebd2bd9d61d98d6233ffa289bbce /venv/lib/python3.11/site-packages/pygments/styles/native.py
parent4f884c9abc32990b4061a1bb6997b4b37e58ea0b (diff)
venv
Diffstat (limited to 'venv/lib/python3.11/site-packages/pygments/styles/native.py')
-rw-r--r--venv/lib/python3.11/site-packages/pygments/styles/native.py70
1 files changed, 70 insertions, 0 deletions
diff --git a/venv/lib/python3.11/site-packages/pygments/styles/native.py b/venv/lib/python3.11/site-packages/pygments/styles/native.py
new file mode 100644
index 0000000..11f83db
--- /dev/null
+++ b/venv/lib/python3.11/site-packages/pygments/styles/native.py
@@ -0,0 +1,70 @@
+"""
+ 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
+
+
+__all__ = ['NativeStyle']
+
+
+class NativeStyle(Style):
+ """
+ Pygments version of the "native" vim theme.
+ """
+ name = 'native'
+
+ 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'
+ }