Add files using upload-large-folder tool
Browse files- lib/python3.12/site-packages/pygments/styles/__init__.py +61 -0
- lib/python3.12/site-packages/pygments/styles/__pycache__/autumn.cpython-312.pyc +0 -0
- lib/python3.12/site-packages/pygments/styles/__pycache__/dracula.cpython-312.pyc +0 -0
- lib/python3.12/site-packages/pygments/styles/__pycache__/fruity.cpython-312.pyc +0 -0
- lib/python3.12/site-packages/pygments/styles/__pycache__/inkpot.cpython-312.pyc +0 -0
- lib/python3.12/site-packages/pygments/styles/__pycache__/paraiso_light.cpython-312.pyc +0 -0
- lib/python3.12/site-packages/pygments/styles/__pycache__/pastie.cpython-312.pyc +0 -0
- lib/python3.12/site-packages/pygments/styles/__pycache__/perldoc.cpython-312.pyc +0 -0
- lib/python3.12/site-packages/pygments/styles/__pycache__/trac.cpython-312.pyc +0 -0
- lib/python3.12/site-packages/pygments/styles/__pycache__/vim.cpython-312.pyc +0 -0
- lib/python3.12/site-packages/pygments/styles/_mapping.py +54 -0
- lib/python3.12/site-packages/pygments/styles/abap.py +32 -0
- lib/python3.12/site-packages/pygments/styles/algol.py +65 -0
- lib/python3.12/site-packages/pygments/styles/algol_nu.py +65 -0
- lib/python3.12/site-packages/pygments/styles/arduino.py +100 -0
- lib/python3.12/site-packages/pygments/styles/autumn.py +67 -0
- lib/python3.12/site-packages/pygments/styles/borland.py +53 -0
- lib/python3.12/site-packages/pygments/styles/bw.py +52 -0
- lib/python3.12/site-packages/pygments/styles/coffee.py +80 -0
- lib/python3.12/site-packages/pygments/styles/default.py +76 -0
- lib/python3.12/site-packages/pygments/styles/emacs.py +75 -0
- lib/python3.12/site-packages/pygments/styles/friendly_grayscale.py +80 -0
- lib/python3.12/site-packages/pygments/styles/fruity.py +47 -0
- lib/python3.12/site-packages/pygments/styles/gh_dark.py +113 -0
- lib/python3.12/site-packages/pygments/styles/gruvbox.py +118 -0
- lib/python3.12/site-packages/pygments/styles/lightbulb.py +110 -0
- lib/python3.12/site-packages/pygments/styles/lovelace.py +100 -0
- lib/python3.12/site-packages/pygments/styles/manni.py +79 -0
- lib/python3.12/site-packages/pygments/styles/material.py +124 -0
- lib/python3.12/site-packages/pygments/styles/monokai.py +112 -0
- lib/python3.12/site-packages/pygments/styles/native.py +70 -0
- lib/python3.12/site-packages/pygments/styles/nord.py +156 -0
- lib/python3.12/site-packages/pygments/styles/onedark.py +63 -0
- lib/python3.12/site-packages/pygments/styles/paraiso_dark.py +124 -0
- lib/python3.12/site-packages/pygments/styles/paraiso_light.py +124 -0
- lib/python3.12/site-packages/pygments/styles/pastie.py +78 -0
- lib/python3.12/site-packages/pygments/styles/perldoc.py +73 -0
- lib/python3.12/site-packages/pygments/styles/rainbow_dash.py +95 -0
- lib/python3.12/site-packages/pygments/styles/rrt.py +40 -0
- lib/python3.12/site-packages/pygments/styles/sas.py +46 -0
- lib/python3.12/site-packages/pygments/styles/solarized.py +144 -0
- lib/python3.12/site-packages/pygments/styles/staroffice.py +31 -0
- lib/python3.12/site-packages/pygments/styles/stata_dark.py +42 -0
- lib/python3.12/site-packages/pygments/styles/stata_light.py +42 -0
- lib/python3.12/site-packages/pygments/styles/tango.py +143 -0
- lib/python3.12/site-packages/pygments/styles/trac.py +66 -0
- lib/python3.12/site-packages/pygments/styles/vim.py +67 -0
- lib/python3.12/site-packages/pygments/styles/vs.py +41 -0
- lib/python3.12/site-packages/pygments/styles/xcode.py +53 -0
- lib/python3.12/site-packages/pygments/styles/zenburn.py +83 -0
lib/python3.12/site-packages/pygments/styles/__init__.py
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
pygments.styles
|
| 3 |
+
~~~~~~~~~~~~~~~
|
| 4 |
+
|
| 5 |
+
Contains built-in styles.
|
| 6 |
+
|
| 7 |
+
:copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS.
|
| 8 |
+
:license: BSD, see LICENSE for details.
|
| 9 |
+
"""
|
| 10 |
+
|
| 11 |
+
from pygments.plugin import find_plugin_styles
|
| 12 |
+
from pygments.util import ClassNotFound
|
| 13 |
+
from pygments.styles._mapping import STYLES
|
| 14 |
+
|
| 15 |
+
#: A dictionary of built-in styles, mapping style names to
|
| 16 |
+
#: ``'submodule::classname'`` strings.
|
| 17 |
+
#: This list is deprecated. Use `pygments.styles.STYLES` instead
|
| 18 |
+
STYLE_MAP = {v[1]: v[0].split('.')[-1] + '::' + k for k, v in STYLES.items()}
|
| 19 |
+
|
| 20 |
+
#: Internal reverse mapping to make `get_style_by_name` more efficient
|
| 21 |
+
_STYLE_NAME_TO_MODULE_MAP = {v[1]: (v[0], k) for k, v in STYLES.items()}
|
| 22 |
+
|
| 23 |
+
|
| 24 |
+
def get_style_by_name(name):
|
| 25 |
+
"""
|
| 26 |
+
Return a style class by its short name. The names of the builtin styles
|
| 27 |
+
are listed in :data:`pygments.styles.STYLE_MAP`.
|
| 28 |
+
|
| 29 |
+
Will raise :exc:`pygments.util.ClassNotFound` if no style of that name is
|
| 30 |
+
found.
|
| 31 |
+
"""
|
| 32 |
+
if name in _STYLE_NAME_TO_MODULE_MAP:
|
| 33 |
+
mod, cls = _STYLE_NAME_TO_MODULE_MAP[name]
|
| 34 |
+
builtin = "yes"
|
| 35 |
+
else:
|
| 36 |
+
for found_name, style in find_plugin_styles():
|
| 37 |
+
if name == found_name:
|
| 38 |
+
return style
|
| 39 |
+
# perhaps it got dropped into our styles package
|
| 40 |
+
builtin = ""
|
| 41 |
+
mod = 'pygments.styles.' + name
|
| 42 |
+
cls = name.title() + "Style"
|
| 43 |
+
|
| 44 |
+
try:
|
| 45 |
+
mod = __import__(mod, None, None, [cls])
|
| 46 |
+
except ImportError:
|
| 47 |
+
raise ClassNotFound(f"Could not find style module {mod!r}" +
|
| 48 |
+
(builtin and ", though it should be builtin")
|
| 49 |
+
+ ".")
|
| 50 |
+
try:
|
| 51 |
+
return getattr(mod, cls)
|
| 52 |
+
except AttributeError:
|
| 53 |
+
raise ClassNotFound(f"Could not find style class {cls!r} in style module.")
|
| 54 |
+
|
| 55 |
+
|
| 56 |
+
def get_all_styles():
|
| 57 |
+
"""Return a generator for all styles by name, both builtin and plugin."""
|
| 58 |
+
for v in STYLES.values():
|
| 59 |
+
yield v[1]
|
| 60 |
+
for name, _ in find_plugin_styles():
|
| 61 |
+
yield name
|
lib/python3.12/site-packages/pygments/styles/__pycache__/autumn.cpython-312.pyc
ADDED
|
Binary file (2.86 kB). View file
|
|
|
lib/python3.12/site-packages/pygments/styles/__pycache__/dracula.cpython-312.pyc
ADDED
|
Binary file (3.03 kB). View file
|
|
|
lib/python3.12/site-packages/pygments/styles/__pycache__/fruity.cpython-312.pyc
ADDED
|
Binary file (1.93 kB). View file
|
|
|
lib/python3.12/site-packages/pygments/styles/__pycache__/inkpot.cpython-312.pyc
ADDED
|
Binary file (2.99 kB). View file
|
|
|
lib/python3.12/site-packages/pygments/styles/__pycache__/paraiso_light.cpython-312.pyc
ADDED
|
Binary file (5.13 kB). View file
|
|
|
lib/python3.12/site-packages/pygments/styles/__pycache__/pastie.cpython-312.pyc
ADDED
|
Binary file (3.46 kB). View file
|
|
|
lib/python3.12/site-packages/pygments/styles/__pycache__/perldoc.cpython-312.pyc
ADDED
|
Binary file (3.05 kB). View file
|
|
|
lib/python3.12/site-packages/pygments/styles/__pycache__/trac.cpython-312.pyc
ADDED
|
Binary file (2.6 kB). View file
|
|
|
lib/python3.12/site-packages/pygments/styles/__pycache__/vim.cpython-312.pyc
ADDED
|
Binary file (2.48 kB). View file
|
|
|
lib/python3.12/site-packages/pygments/styles/_mapping.py
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Automatically generated by scripts/gen_mapfiles.py.
|
| 2 |
+
# DO NOT EDIT BY HAND; run `tox -e mapfiles` instead.
|
| 3 |
+
|
| 4 |
+
STYLES = {
|
| 5 |
+
'AbapStyle': ('pygments.styles.abap', 'abap', ()),
|
| 6 |
+
'AlgolStyle': ('pygments.styles.algol', 'algol', ()),
|
| 7 |
+
'Algol_NuStyle': ('pygments.styles.algol_nu', 'algol_nu', ()),
|
| 8 |
+
'ArduinoStyle': ('pygments.styles.arduino', 'arduino', ()),
|
| 9 |
+
'AutumnStyle': ('pygments.styles.autumn', 'autumn', ()),
|
| 10 |
+
'BlackWhiteStyle': ('pygments.styles.bw', 'bw', ()),
|
| 11 |
+
'BorlandStyle': ('pygments.styles.borland', 'borland', ()),
|
| 12 |
+
'CoffeeStyle': ('pygments.styles.coffee', 'coffee', ()),
|
| 13 |
+
'ColorfulStyle': ('pygments.styles.colorful', 'colorful', ()),
|
| 14 |
+
'DefaultStyle': ('pygments.styles.default', 'default', ()),
|
| 15 |
+
'DraculaStyle': ('pygments.styles.dracula', 'dracula', ()),
|
| 16 |
+
'EmacsStyle': ('pygments.styles.emacs', 'emacs', ()),
|
| 17 |
+
'FriendlyGrayscaleStyle': ('pygments.styles.friendly_grayscale', 'friendly_grayscale', ()),
|
| 18 |
+
'FriendlyStyle': ('pygments.styles.friendly', 'friendly', ()),
|
| 19 |
+
'FruityStyle': ('pygments.styles.fruity', 'fruity', ()),
|
| 20 |
+
'GhDarkStyle': ('pygments.styles.gh_dark', 'github-dark', ()),
|
| 21 |
+
'GruvboxDarkStyle': ('pygments.styles.gruvbox', 'gruvbox-dark', ()),
|
| 22 |
+
'GruvboxLightStyle': ('pygments.styles.gruvbox', 'gruvbox-light', ()),
|
| 23 |
+
'IgorStyle': ('pygments.styles.igor', 'igor', ()),
|
| 24 |
+
'InkPotStyle': ('pygments.styles.inkpot', 'inkpot', ()),
|
| 25 |
+
'LightbulbStyle': ('pygments.styles.lightbulb', 'lightbulb', ()),
|
| 26 |
+
'LilyPondStyle': ('pygments.styles.lilypond', 'lilypond', ()),
|
| 27 |
+
'LovelaceStyle': ('pygments.styles.lovelace', 'lovelace', ()),
|
| 28 |
+
'ManniStyle': ('pygments.styles.manni', 'manni', ()),
|
| 29 |
+
'MaterialStyle': ('pygments.styles.material', 'material', ()),
|
| 30 |
+
'MonokaiStyle': ('pygments.styles.monokai', 'monokai', ()),
|
| 31 |
+
'MurphyStyle': ('pygments.styles.murphy', 'murphy', ()),
|
| 32 |
+
'NativeStyle': ('pygments.styles.native', 'native', ()),
|
| 33 |
+
'NordDarkerStyle': ('pygments.styles.nord', 'nord-darker', ()),
|
| 34 |
+
'NordStyle': ('pygments.styles.nord', 'nord', ()),
|
| 35 |
+
'OneDarkStyle': ('pygments.styles.onedark', 'one-dark', ()),
|
| 36 |
+
'ParaisoDarkStyle': ('pygments.styles.paraiso_dark', 'paraiso-dark', ()),
|
| 37 |
+
'ParaisoLightStyle': ('pygments.styles.paraiso_light', 'paraiso-light', ()),
|
| 38 |
+
'PastieStyle': ('pygments.styles.pastie', 'pastie', ()),
|
| 39 |
+
'PerldocStyle': ('pygments.styles.perldoc', 'perldoc', ()),
|
| 40 |
+
'RainbowDashStyle': ('pygments.styles.rainbow_dash', 'rainbow_dash', ()),
|
| 41 |
+
'RrtStyle': ('pygments.styles.rrt', 'rrt', ()),
|
| 42 |
+
'SasStyle': ('pygments.styles.sas', 'sas', ()),
|
| 43 |
+
'SolarizedDarkStyle': ('pygments.styles.solarized', 'solarized-dark', ()),
|
| 44 |
+
'SolarizedLightStyle': ('pygments.styles.solarized', 'solarized-light', ()),
|
| 45 |
+
'StarofficeStyle': ('pygments.styles.staroffice', 'staroffice', ()),
|
| 46 |
+
'StataDarkStyle': ('pygments.styles.stata_dark', 'stata-dark', ()),
|
| 47 |
+
'StataLightStyle': ('pygments.styles.stata_light', 'stata-light', ()),
|
| 48 |
+
'TangoStyle': ('pygments.styles.tango', 'tango', ()),
|
| 49 |
+
'TracStyle': ('pygments.styles.trac', 'trac', ()),
|
| 50 |
+
'VimStyle': ('pygments.styles.vim', 'vim', ()),
|
| 51 |
+
'VisualStudioStyle': ('pygments.styles.vs', 'vs', ()),
|
| 52 |
+
'XcodeStyle': ('pygments.styles.xcode', 'xcode', ()),
|
| 53 |
+
'ZenburnStyle': ('pygments.styles.zenburn', 'zenburn', ()),
|
| 54 |
+
}
|
lib/python3.12/site-packages/pygments/styles/abap.py
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
pygments.styles.abap
|
| 3 |
+
~~~~~~~~~~~~~~~~~~~~
|
| 4 |
+
|
| 5 |
+
ABAP workbench like style.
|
| 6 |
+
|
| 7 |
+
:copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS.
|
| 8 |
+
:license: BSD, see LICENSE for details.
|
| 9 |
+
"""
|
| 10 |
+
|
| 11 |
+
from pygments.style import Style
|
| 12 |
+
from pygments.token import Keyword, Name, Comment, String, Error, \
|
| 13 |
+
Number, Operator
|
| 14 |
+
|
| 15 |
+
|
| 16 |
+
__all__ = ['AbapStyle']
|
| 17 |
+
|
| 18 |
+
|
| 19 |
+
class AbapStyle(Style):
|
| 20 |
+
name = 'abap'
|
| 21 |
+
|
| 22 |
+
styles = {
|
| 23 |
+
Comment: 'italic #888',
|
| 24 |
+
Comment.Special: '#888',
|
| 25 |
+
Keyword: '#00f',
|
| 26 |
+
Operator.Word: '#00f',
|
| 27 |
+
Name: '#000',
|
| 28 |
+
Number: '#3af',
|
| 29 |
+
String: '#5a2',
|
| 30 |
+
|
| 31 |
+
Error: '#F00',
|
| 32 |
+
}
|
lib/python3.12/site-packages/pygments/styles/algol.py
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
pygments.styles.algol
|
| 3 |
+
~~~~~~~~~~~~~~~~~~~~~
|
| 4 |
+
|
| 5 |
+
Algol publication style.
|
| 6 |
+
|
| 7 |
+
This style renders source code for publication of algorithms in
|
| 8 |
+
scientific papers and academic texts, where its format is frequently used.
|
| 9 |
+
|
| 10 |
+
It is based on the style of the revised Algol-60 language report[1].
|
| 11 |
+
|
| 12 |
+
o No colours, only black, white and shades of grey are used.
|
| 13 |
+
o Keywords are rendered in lowercase underline boldface.
|
| 14 |
+
o Builtins are rendered in lowercase boldface italic.
|
| 15 |
+
o Docstrings and pragmas are rendered in dark grey boldface.
|
| 16 |
+
o Library identifiers are rendered in dark grey boldface italic.
|
| 17 |
+
o Comments are rendered in grey italic.
|
| 18 |
+
|
| 19 |
+
To render keywords without underlining, refer to the `Algol_Nu` style.
|
| 20 |
+
|
| 21 |
+
For lowercase conversion of keywords and builtins in languages where
|
| 22 |
+
these are not or might not be lowercase, a supporting lexer is required.
|
| 23 |
+
The Algol and Modula-2 lexers automatically convert to lowercase whenever
|
| 24 |
+
this style is selected.
|
| 25 |
+
|
| 26 |
+
[1] `Revised Report on the Algorithmic Language Algol-60 <http://www.masswerk.at/algol60/report.htm>`
|
| 27 |
+
|
| 28 |
+
:copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS.
|
| 29 |
+
:license: BSD, see LICENSE for details.
|
| 30 |
+
"""
|
| 31 |
+
|
| 32 |
+
from pygments.style import Style
|
| 33 |
+
from pygments.token import Keyword, Name, Comment, String, Error, Operator
|
| 34 |
+
|
| 35 |
+
|
| 36 |
+
__all__ = ['AlgolStyle']
|
| 37 |
+
|
| 38 |
+
|
| 39 |
+
class AlgolStyle(Style):
|
| 40 |
+
name = 'algol'
|
| 41 |
+
|
| 42 |
+
background_color = "#ffffff"
|
| 43 |
+
|
| 44 |
+
styles = {
|
| 45 |
+
Comment: "italic #888",
|
| 46 |
+
Comment.Preproc: "bold noitalic #888",
|
| 47 |
+
Comment.Special: "bold noitalic #888",
|
| 48 |
+
|
| 49 |
+
Keyword: "underline bold",
|
| 50 |
+
Keyword.Declaration: "italic",
|
| 51 |
+
|
| 52 |
+
Name.Builtin: "bold italic",
|
| 53 |
+
Name.Builtin.Pseudo: "bold italic",
|
| 54 |
+
Name.Namespace: "bold italic #666",
|
| 55 |
+
Name.Class: "bold italic #666",
|
| 56 |
+
Name.Function: "bold italic #666",
|
| 57 |
+
Name.Variable: "bold italic #666",
|
| 58 |
+
Name.Constant: "bold italic #666",
|
| 59 |
+
|
| 60 |
+
Operator.Word: "bold",
|
| 61 |
+
|
| 62 |
+
String: "italic #666",
|
| 63 |
+
|
| 64 |
+
Error: "border:#FF0000"
|
| 65 |
+
}
|
lib/python3.12/site-packages/pygments/styles/algol_nu.py
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
pygments.styles.algol_nu
|
| 3 |
+
~~~~~~~~~~~~~~~~~~~~~~~~
|
| 4 |
+
|
| 5 |
+
Algol publication style without underlining of keywords.
|
| 6 |
+
|
| 7 |
+
This style renders source code for publication of algorithms in
|
| 8 |
+
scientific papers and academic texts, where its format is frequently used.
|
| 9 |
+
|
| 10 |
+
It is based on the style of the revised Algol-60 language report[1].
|
| 11 |
+
|
| 12 |
+
o No colours, only black, white and shades of grey are used.
|
| 13 |
+
o Keywords are rendered in lowercase boldface.
|
| 14 |
+
o Builtins are rendered in lowercase boldface italic.
|
| 15 |
+
o Docstrings and pragmas are rendered in dark grey boldface.
|
| 16 |
+
o Library identifiers are rendered in dark grey boldface italic.
|
| 17 |
+
o Comments are rendered in grey italic.
|
| 18 |
+
|
| 19 |
+
To render keywords with underlining, refer to the `Algol` style.
|
| 20 |
+
|
| 21 |
+
For lowercase conversion of keywords and builtins in languages where
|
| 22 |
+
these are not or might not be lowercase, a supporting lexer is required.
|
| 23 |
+
The Algol and Modula-2 lexers automatically convert to lowercase whenever
|
| 24 |
+
this style is selected.
|
| 25 |
+
|
| 26 |
+
[1] `Revised Report on the Algorithmic Language Algol-60 <http://www.masswerk.at/algol60/report.htm>`
|
| 27 |
+
|
| 28 |
+
:copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS.
|
| 29 |
+
:license: BSD, see LICENSE for details.
|
| 30 |
+
"""
|
| 31 |
+
|
| 32 |
+
from pygments.style import Style
|
| 33 |
+
from pygments.token import Keyword, Name, Comment, String, Error, Operator
|
| 34 |
+
|
| 35 |
+
|
| 36 |
+
__all__ = ['Algol_NuStyle']
|
| 37 |
+
|
| 38 |
+
|
| 39 |
+
class Algol_NuStyle(Style):
|
| 40 |
+
name = 'algol_nu'
|
| 41 |
+
|
| 42 |
+
background_color = "#ffffff"
|
| 43 |
+
|
| 44 |
+
styles = {
|
| 45 |
+
Comment: "italic #888",
|
| 46 |
+
Comment.Preproc: "bold noitalic #888",
|
| 47 |
+
Comment.Special: "bold noitalic #888",
|
| 48 |
+
|
| 49 |
+
Keyword: "bold",
|
| 50 |
+
Keyword.Declaration: "italic",
|
| 51 |
+
|
| 52 |
+
Name.Builtin: "bold italic",
|
| 53 |
+
Name.Builtin.Pseudo: "bold italic",
|
| 54 |
+
Name.Namespace: "bold italic #666",
|
| 55 |
+
Name.Class: "bold italic #666",
|
| 56 |
+
Name.Function: "bold italic #666",
|
| 57 |
+
Name.Variable: "bold italic #666",
|
| 58 |
+
Name.Constant: "bold italic #666",
|
| 59 |
+
|
| 60 |
+
Operator.Word: "bold",
|
| 61 |
+
|
| 62 |
+
String: "italic #666",
|
| 63 |
+
|
| 64 |
+
Error: "border:#FF0000"
|
| 65 |
+
}
|
lib/python3.12/site-packages/pygments/styles/arduino.py
ADDED
|
@@ -0,0 +1,100 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
pygments.styles.arduino
|
| 3 |
+
~~~~~~~~~~~~~~~~~~~~~~~
|
| 4 |
+
|
| 5 |
+
Arduino® Syntax highlighting style.
|
| 6 |
+
|
| 7 |
+
:copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS.
|
| 8 |
+
:license: BSD, see LICENSE for details.
|
| 9 |
+
"""
|
| 10 |
+
|
| 11 |
+
from pygments.style import Style
|
| 12 |
+
from pygments.token import Keyword, Name, Comment, String, Error, \
|
| 13 |
+
Number, Operator, Generic, Whitespace
|
| 14 |
+
|
| 15 |
+
|
| 16 |
+
__all__ = ['ArduinoStyle']
|
| 17 |
+
|
| 18 |
+
|
| 19 |
+
class ArduinoStyle(Style):
|
| 20 |
+
"""
|
| 21 |
+
The Arduino® language style. This style is designed to highlight the
|
| 22 |
+
Arduino source code, so expect the best results with it.
|
| 23 |
+
"""
|
| 24 |
+
name = 'arduino'
|
| 25 |
+
|
| 26 |
+
background_color = "#ffffff"
|
| 27 |
+
|
| 28 |
+
styles = {
|
| 29 |
+
Whitespace: "", # class: 'w'
|
| 30 |
+
Error: "#a61717", # class: 'err'
|
| 31 |
+
|
| 32 |
+
Comment: "#95a5a6", # class: 'c'
|
| 33 |
+
Comment.Multiline: "", # class: 'cm'
|
| 34 |
+
Comment.Preproc: "#728E00", # class: 'cp'
|
| 35 |
+
Comment.Single: "", # class: 'c1'
|
| 36 |
+
Comment.Special: "", # class: 'cs'
|
| 37 |
+
|
| 38 |
+
Keyword: "#728E00", # class: 'k'
|
| 39 |
+
Keyword.Constant: "#00979D", # class: 'kc'
|
| 40 |
+
Keyword.Declaration: "", # class: 'kd'
|
| 41 |
+
Keyword.Namespace: "", # class: 'kn'
|
| 42 |
+
Keyword.Pseudo: "#00979D", # class: 'kp'
|
| 43 |
+
Keyword.Reserved: "#00979D", # class: 'kr'
|
| 44 |
+
Keyword.Type: "#00979D", # class: 'kt'
|
| 45 |
+
|
| 46 |
+
Operator: "#728E00", # class: 'o'
|
| 47 |
+
Operator.Word: "", # class: 'ow'
|
| 48 |
+
|
| 49 |
+
Name: "#434f54", # class: 'n'
|
| 50 |
+
Name.Attribute: "", # class: 'na'
|
| 51 |
+
Name.Builtin: "#728E00", # class: 'nb'
|
| 52 |
+
Name.Builtin.Pseudo: "", # class: 'bp'
|
| 53 |
+
Name.Class: "", # class: 'nc'
|
| 54 |
+
Name.Constant: "", # class: 'no'
|
| 55 |
+
Name.Decorator: "", # class: 'nd'
|
| 56 |
+
Name.Entity: "", # class: 'ni'
|
| 57 |
+
Name.Exception: "", # class: 'ne'
|
| 58 |
+
Name.Function: "#D35400", # class: 'nf'
|
| 59 |
+
Name.Property: "", # class: 'py'
|
| 60 |
+
Name.Label: "", # class: 'nl'
|
| 61 |
+
Name.Namespace: "", # class: 'nn'
|
| 62 |
+
Name.Other: "#728E00", # class: 'nx'
|
| 63 |
+
Name.Tag: "", # class: 'nt'
|
| 64 |
+
Name.Variable: "", # class: 'nv'
|
| 65 |
+
Name.Variable.Class: "", # class: 'vc'
|
| 66 |
+
Name.Variable.Global: "", # class: 'vg'
|
| 67 |
+
Name.Variable.Instance: "", # class: 'vi'
|
| 68 |
+
|
| 69 |
+
Number: "#8A7B52", # class: 'm'
|
| 70 |
+
Number.Float: "", # class: 'mf'
|
| 71 |
+
Number.Hex: "", # class: 'mh'
|
| 72 |
+
Number.Integer: "", # class: 'mi'
|
| 73 |
+
Number.Integer.Long: "", # class: 'il'
|
| 74 |
+
Number.Oct: "", # class: 'mo'
|
| 75 |
+
|
| 76 |
+
String: "#7F8C8D", # class: 's'
|
| 77 |
+
String.Backtick: "", # class: 'sb'
|
| 78 |
+
String.Char: "", # class: 'sc'
|
| 79 |
+
String.Doc: "", # class: 'sd'
|
| 80 |
+
String.Double: "", # class: 's2'
|
| 81 |
+
String.Escape: "", # class: 'se'
|
| 82 |
+
String.Heredoc: "", # class: 'sh'
|
| 83 |
+
String.Interpol: "", # class: 'si'
|
| 84 |
+
String.Other: "", # class: 'sx'
|
| 85 |
+
String.Regex: "", # class: 'sr'
|
| 86 |
+
String.Single: "", # class: 's1'
|
| 87 |
+
String.Symbol: "", # class: 'ss'
|
| 88 |
+
|
| 89 |
+
Generic: "", # class: 'g'
|
| 90 |
+
Generic.Deleted: "", # class: 'gd',
|
| 91 |
+
Generic.Emph: "", # class: 'ge'
|
| 92 |
+
Generic.Error: "", # class: 'gr'
|
| 93 |
+
Generic.Heading: "", # class: 'gh'
|
| 94 |
+
Generic.Inserted: "", # class: 'gi'
|
| 95 |
+
Generic.Output: "", # class: 'go'
|
| 96 |
+
Generic.Prompt: "", # class: 'gp'
|
| 97 |
+
Generic.Strong: "", # class: 'gs'
|
| 98 |
+
Generic.Subheading: "", # class: 'gu'
|
| 99 |
+
Generic.Traceback: "", # class: 'gt'
|
| 100 |
+
}
|
lib/python3.12/site-packages/pygments/styles/autumn.py
ADDED
|
@@ -0,0 +1,67 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
pygments.styles.autumn
|
| 3 |
+
~~~~~~~~~~~~~~~~~~~~~~
|
| 4 |
+
|
| 5 |
+
A colorful style, inspired by the terminal highlighting style.
|
| 6 |
+
|
| 7 |
+
:copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS.
|
| 8 |
+
:license: BSD, see LICENSE for details.
|
| 9 |
+
"""
|
| 10 |
+
|
| 11 |
+
from pygments.style import Style
|
| 12 |
+
from pygments.token import Keyword, Name, Comment, String, Error, \
|
| 13 |
+
Number, Operator, Generic, Whitespace
|
| 14 |
+
|
| 15 |
+
|
| 16 |
+
__all__ = ['AutumnStyle']
|
| 17 |
+
|
| 18 |
+
|
| 19 |
+
class AutumnStyle(Style):
|
| 20 |
+
"""
|
| 21 |
+
A colorful style, inspired by the terminal highlighting style.
|
| 22 |
+
"""
|
| 23 |
+
name = 'autumn'
|
| 24 |
+
|
| 25 |
+
styles = {
|
| 26 |
+
Whitespace: '#bbbbbb',
|
| 27 |
+
|
| 28 |
+
Comment: 'italic #aaaaaa',
|
| 29 |
+
Comment.Preproc: 'noitalic #4c8317',
|
| 30 |
+
Comment.Special: 'italic #0000aa',
|
| 31 |
+
|
| 32 |
+
Keyword: '#0000aa',
|
| 33 |
+
Keyword.Type: '#00aaaa',
|
| 34 |
+
|
| 35 |
+
Operator.Word: '#0000aa',
|
| 36 |
+
|
| 37 |
+
Name.Builtin: '#00aaaa',
|
| 38 |
+
Name.Function: '#00aa00',
|
| 39 |
+
Name.Class: 'underline #00aa00',
|
| 40 |
+
Name.Namespace: 'underline #00aaaa',
|
| 41 |
+
Name.Variable: '#aa0000',
|
| 42 |
+
Name.Constant: '#aa0000',
|
| 43 |
+
Name.Entity: 'bold #800',
|
| 44 |
+
Name.Attribute: '#1e90ff',
|
| 45 |
+
Name.Tag: 'bold #1e90ff',
|
| 46 |
+
Name.Decorator: '#888888',
|
| 47 |
+
|
| 48 |
+
String: '#aa5500',
|
| 49 |
+
String.Symbol: '#0000aa',
|
| 50 |
+
String.Regex: '#009999',
|
| 51 |
+
|
| 52 |
+
Number: '#009999',
|
| 53 |
+
|
| 54 |
+
Generic.Heading: 'bold #000080',
|
| 55 |
+
Generic.Subheading: 'bold #800080',
|
| 56 |
+
Generic.Deleted: '#aa0000',
|
| 57 |
+
Generic.Inserted: '#00aa00',
|
| 58 |
+
Generic.Error: '#aa0000',
|
| 59 |
+
Generic.Emph: 'italic',
|
| 60 |
+
Generic.Strong: 'bold',
|
| 61 |
+
Generic.EmphStrong: 'bold italic',
|
| 62 |
+
Generic.Prompt: '#555555',
|
| 63 |
+
Generic.Output: '#888888',
|
| 64 |
+
Generic.Traceback: '#aa0000',
|
| 65 |
+
|
| 66 |
+
Error: '#F00 bg:#FAA'
|
| 67 |
+
}
|
lib/python3.12/site-packages/pygments/styles/borland.py
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
pygments.styles.borland
|
| 3 |
+
~~~~~~~~~~~~~~~~~~~~~~~
|
| 4 |
+
|
| 5 |
+
Style similar to the style used in the Borland IDEs.
|
| 6 |
+
|
| 7 |
+
:copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS.
|
| 8 |
+
:license: BSD, see LICENSE for details.
|
| 9 |
+
"""
|
| 10 |
+
|
| 11 |
+
from pygments.style import Style
|
| 12 |
+
from pygments.token import Keyword, Name, Comment, String, Error, \
|
| 13 |
+
Number, Operator, Generic, Whitespace
|
| 14 |
+
|
| 15 |
+
|
| 16 |
+
__all__ = ['BorlandStyle']
|
| 17 |
+
|
| 18 |
+
|
| 19 |
+
class BorlandStyle(Style):
|
| 20 |
+
"""
|
| 21 |
+
Style similar to the style used in the borland IDEs.
|
| 22 |
+
"""
|
| 23 |
+
name = 'borland'
|
| 24 |
+
|
| 25 |
+
styles = {
|
| 26 |
+
Whitespace: '#bbbbbb',
|
| 27 |
+
|
| 28 |
+
Comment: 'italic #008800',
|
| 29 |
+
Comment.Preproc: 'noitalic #008080',
|
| 30 |
+
Comment.Special: 'noitalic bold',
|
| 31 |
+
|
| 32 |
+
String: '#0000FF',
|
| 33 |
+
String.Char: '#800080',
|
| 34 |
+
Number: '#0000FF',
|
| 35 |
+
Keyword: 'bold #000080',
|
| 36 |
+
Operator.Word: 'bold',
|
| 37 |
+
Name.Tag: 'bold #000080',
|
| 38 |
+
Name.Attribute: '#FF0000',
|
| 39 |
+
|
| 40 |
+
Generic.Heading: '#999999',
|
| 41 |
+
Generic.Subheading: '#aaaaaa',
|
| 42 |
+
Generic.Deleted: 'bg:#ffdddd #000000',
|
| 43 |
+
Generic.Inserted: 'bg:#ddffdd #000000',
|
| 44 |
+
Generic.Error: '#aa0000',
|
| 45 |
+
Generic.Emph: 'italic',
|
| 46 |
+
Generic.Strong: 'bold',
|
| 47 |
+
Generic.EmphStrong: 'bold italic',
|
| 48 |
+
Generic.Prompt: '#555555',
|
| 49 |
+
Generic.Output: '#888888',
|
| 50 |
+
Generic.Traceback: '#aa0000',
|
| 51 |
+
|
| 52 |
+
Error: 'bg:#e3d2d2 #a61717'
|
| 53 |
+
}
|
lib/python3.12/site-packages/pygments/styles/bw.py
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
pygments.styles.bw
|
| 3 |
+
~~~~~~~~~~~~~~~~~~
|
| 4 |
+
|
| 5 |
+
Simple black/white only style.
|
| 6 |
+
|
| 7 |
+
:copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS.
|
| 8 |
+
:license: BSD, see LICENSE for details.
|
| 9 |
+
"""
|
| 10 |
+
|
| 11 |
+
from pygments.style import Style
|
| 12 |
+
from pygments.token import Keyword, Name, Comment, String, Error, \
|
| 13 |
+
Operator, Generic
|
| 14 |
+
|
| 15 |
+
|
| 16 |
+
__all__ = ['BlackWhiteStyle']
|
| 17 |
+
|
| 18 |
+
|
| 19 |
+
class BlackWhiteStyle(Style):
|
| 20 |
+
name = 'bw'
|
| 21 |
+
|
| 22 |
+
background_color = "#ffffff"
|
| 23 |
+
|
| 24 |
+
styles = {
|
| 25 |
+
Comment: "italic",
|
| 26 |
+
Comment.Preproc: "noitalic",
|
| 27 |
+
|
| 28 |
+
Keyword: "bold",
|
| 29 |
+
Keyword.Pseudo: "nobold",
|
| 30 |
+
Keyword.Type: "nobold",
|
| 31 |
+
|
| 32 |
+
Operator.Word: "bold",
|
| 33 |
+
|
| 34 |
+
Name.Class: "bold",
|
| 35 |
+
Name.Namespace: "bold",
|
| 36 |
+
Name.Exception: "bold",
|
| 37 |
+
Name.Entity: "bold",
|
| 38 |
+
Name.Tag: "bold",
|
| 39 |
+
|
| 40 |
+
String: "italic",
|
| 41 |
+
String.Interpol: "bold",
|
| 42 |
+
String.Escape: "bold",
|
| 43 |
+
|
| 44 |
+
Generic.Heading: "bold",
|
| 45 |
+
Generic.Subheading: "bold",
|
| 46 |
+
Generic.Emph: "italic",
|
| 47 |
+
Generic.Strong: "bold",
|
| 48 |
+
Generic.EmphStrong: "bold italic",
|
| 49 |
+
Generic.Prompt: "bold",
|
| 50 |
+
|
| 51 |
+
Error: "border:#FF0000"
|
| 52 |
+
}
|
lib/python3.12/site-packages/pygments/styles/coffee.py
ADDED
|
@@ -0,0 +1,80 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
pygments.styles.coffee
|
| 3 |
+
~~~~~~~~~~~~~~~~~~~~~~
|
| 4 |
+
|
| 5 |
+
A warm and cozy theme based off gruvbox
|
| 6 |
+
|
| 7 |
+
:copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS.
|
| 8 |
+
:license: BSD, see LICENSE for details.
|
| 9 |
+
"""
|
| 10 |
+
|
| 11 |
+
from pygments.style import Style
|
| 12 |
+
from pygments.token import (Comment, Error, Generic, Keyword, Literal, Name,
|
| 13 |
+
Number, Operator, Punctuation, String, Token)
|
| 14 |
+
|
| 15 |
+
__all__ = ["CoffeeStyle"]
|
| 16 |
+
|
| 17 |
+
|
| 18 |
+
class CoffeeStyle(Style):
|
| 19 |
+
"""
|
| 20 |
+
A warm and cozy theme based off gruvbox
|
| 21 |
+
"""
|
| 22 |
+
|
| 23 |
+
name = "coffee"
|
| 24 |
+
|
| 25 |
+
background_color = "#262220"
|
| 26 |
+
highlight_color = "#ddd0c0"
|
| 27 |
+
|
| 28 |
+
line_number_color = "#4e4e4e"
|
| 29 |
+
line_number_special_color = "#8f9494"
|
| 30 |
+
|
| 31 |
+
styles = {
|
| 32 |
+
Comment: "#70757A",
|
| 33 |
+
Comment.Hashbang: "#8f9f9f",
|
| 34 |
+
Comment.Preproc: "#fdd0c0",
|
| 35 |
+
Comment.PreprocFile: "#c9b98f",
|
| 36 |
+
Comment.Special: "#af5f5f",
|
| 37 |
+
Error: "#af5f5f",
|
| 38 |
+
Generic.Deleted: "#bb6868",
|
| 39 |
+
Generic.Emph: "italic",
|
| 40 |
+
Generic.Error: "#af5f5f",
|
| 41 |
+
Generic.Inserted: "#849155",
|
| 42 |
+
Generic.Output: "#ddd0c0",
|
| 43 |
+
Generic.Strong: "bold",
|
| 44 |
+
Generic.Traceback: "#af5f5f",
|
| 45 |
+
Keyword: "#919191",
|
| 46 |
+
Keyword.Constant: "#875f5f",
|
| 47 |
+
Keyword.Declaration: "#875f5f",
|
| 48 |
+
Keyword.Namespace: "#875f5f",
|
| 49 |
+
Keyword.Reserved: "#b46276",
|
| 50 |
+
Keyword.Type: "#af875f",
|
| 51 |
+
Literal: "#af875f",
|
| 52 |
+
Name: "#ddd0c0",
|
| 53 |
+
Name.Attribute: "#ddd0c0",
|
| 54 |
+
Name.Builtin: "#ddd0c0",
|
| 55 |
+
Name.Builtin.Pseudo: "#87afaf",
|
| 56 |
+
Name.Class: "#875f5f",
|
| 57 |
+
Name.Constant: "#af8787",
|
| 58 |
+
Name.Decorator: "#fdd0c0",
|
| 59 |
+
Name.Entity: "#ddd0c0",
|
| 60 |
+
Name.Exception: "#877575",
|
| 61 |
+
Name.Function: "#fdd0c0",
|
| 62 |
+
Name.Function.Magic: "#fdd0c0",
|
| 63 |
+
Name.Other: "#ddd0c0",
|
| 64 |
+
Name.Property: "#dfaf87",
|
| 65 |
+
Name.Tag: "#87afaf",
|
| 66 |
+
Name.Variable: "#ddd0c0",
|
| 67 |
+
Number: "#87afaf",
|
| 68 |
+
Operator: "#878787",
|
| 69 |
+
Operator.Word: "#878787",
|
| 70 |
+
Punctuation: "#ddd0c0",
|
| 71 |
+
String: "#c9b98f",
|
| 72 |
+
String.Affix: "#dfaf87",
|
| 73 |
+
String.Doc: "#878787",
|
| 74 |
+
String.Escape: "#af5f5f",
|
| 75 |
+
String.Interpol: "#af5f5f",
|
| 76 |
+
String.Other: "#fdd0c0",
|
| 77 |
+
String.Regex: "#af5f5f",
|
| 78 |
+
String.Symbol: "#af5f5f",
|
| 79 |
+
Token: "#ddd0c0",
|
| 80 |
+
}
|
lib/python3.12/site-packages/pygments/styles/default.py
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
pygments.styles.default
|
| 3 |
+
~~~~~~~~~~~~~~~~~~~~~~~
|
| 4 |
+
|
| 5 |
+
The default highlighting style.
|
| 6 |
+
|
| 7 |
+
:copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS.
|
| 8 |
+
:license: BSD, see LICENSE for details.
|
| 9 |
+
"""
|
| 10 |
+
|
| 11 |
+
from pygments.style import Style
|
| 12 |
+
from pygments.token import Keyword, Name, Comment, String, Error, \
|
| 13 |
+
Number, Operator, Generic, Whitespace
|
| 14 |
+
|
| 15 |
+
|
| 16 |
+
__all__ = ['DefaultStyle']
|
| 17 |
+
|
| 18 |
+
|
| 19 |
+
class DefaultStyle(Style):
|
| 20 |
+
"""
|
| 21 |
+
The default style (inspired by Emacs 22).
|
| 22 |
+
"""
|
| 23 |
+
name = 'default'
|
| 24 |
+
|
| 25 |
+
background_color = "#f8f8f8"
|
| 26 |
+
|
| 27 |
+
styles = {
|
| 28 |
+
Whitespace: "#bbbbbb",
|
| 29 |
+
Comment: "italic #3D7B7B",
|
| 30 |
+
Comment.Preproc: "noitalic #9C6500",
|
| 31 |
+
|
| 32 |
+
#Keyword: "bold #AA22FF",
|
| 33 |
+
Keyword: "bold #008000",
|
| 34 |
+
Keyword.Pseudo: "nobold",
|
| 35 |
+
Keyword.Type: "nobold #B00040",
|
| 36 |
+
|
| 37 |
+
Operator: "#666666",
|
| 38 |
+
Operator.Word: "bold #AA22FF",
|
| 39 |
+
|
| 40 |
+
Name.Builtin: "#008000",
|
| 41 |
+
Name.Function: "#0000FF",
|
| 42 |
+
Name.Class: "bold #0000FF",
|
| 43 |
+
Name.Namespace: "bold #0000FF",
|
| 44 |
+
Name.Exception: "bold #CB3F38",
|
| 45 |
+
Name.Variable: "#19177C",
|
| 46 |
+
Name.Constant: "#880000",
|
| 47 |
+
Name.Label: "#767600",
|
| 48 |
+
Name.Entity: "bold #717171",
|
| 49 |
+
Name.Attribute: "#687822",
|
| 50 |
+
Name.Tag: "bold #008000",
|
| 51 |
+
Name.Decorator: "#AA22FF",
|
| 52 |
+
|
| 53 |
+
String: "#BA2121",
|
| 54 |
+
String.Doc: "italic",
|
| 55 |
+
String.Interpol: "bold #A45A77",
|
| 56 |
+
String.Escape: "bold #AA5D1F",
|
| 57 |
+
String.Regex: "#A45A77",
|
| 58 |
+
#String.Symbol: "#B8860B",
|
| 59 |
+
String.Symbol: "#19177C",
|
| 60 |
+
String.Other: "#008000",
|
| 61 |
+
Number: "#666666",
|
| 62 |
+
|
| 63 |
+
Generic.Heading: "bold #000080",
|
| 64 |
+
Generic.Subheading: "bold #800080",
|
| 65 |
+
Generic.Deleted: "#A00000",
|
| 66 |
+
Generic.Inserted: "#008400",
|
| 67 |
+
Generic.Error: "#E40000",
|
| 68 |
+
Generic.Emph: "italic",
|
| 69 |
+
Generic.Strong: "bold",
|
| 70 |
+
Generic.EmphStrong: "bold italic",
|
| 71 |
+
Generic.Prompt: "bold #000080",
|
| 72 |
+
Generic.Output: "#717171",
|
| 73 |
+
Generic.Traceback: "#04D",
|
| 74 |
+
|
| 75 |
+
Error: "border:#FF0000"
|
| 76 |
+
}
|
lib/python3.12/site-packages/pygments/styles/emacs.py
ADDED
|
@@ -0,0 +1,75 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
pygments.styles.emacs
|
| 3 |
+
~~~~~~~~~~~~~~~~~~~~~
|
| 4 |
+
|
| 5 |
+
A highlighting style for Pygments, inspired by Emacs.
|
| 6 |
+
|
| 7 |
+
:copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS.
|
| 8 |
+
:license: BSD, see LICENSE for details.
|
| 9 |
+
"""
|
| 10 |
+
|
| 11 |
+
from pygments.style import Style
|
| 12 |
+
from pygments.token import Keyword, Name, Comment, String, Error, \
|
| 13 |
+
Number, Operator, Generic, Whitespace
|
| 14 |
+
|
| 15 |
+
|
| 16 |
+
__all__ = ['EmacsStyle']
|
| 17 |
+
|
| 18 |
+
|
| 19 |
+
class EmacsStyle(Style):
|
| 20 |
+
"""
|
| 21 |
+
The default style (inspired by Emacs 22).
|
| 22 |
+
"""
|
| 23 |
+
name = 'emacs'
|
| 24 |
+
|
| 25 |
+
background_color = "#f8f8f8"
|
| 26 |
+
|
| 27 |
+
styles = {
|
| 28 |
+
Whitespace: "#bbbbbb",
|
| 29 |
+
Comment: "italic #008800",
|
| 30 |
+
Comment.Preproc: "noitalic",
|
| 31 |
+
Comment.Special: "noitalic bold",
|
| 32 |
+
|
| 33 |
+
Keyword: "bold #AA22FF",
|
| 34 |
+
Keyword.Pseudo: "nobold",
|
| 35 |
+
Keyword.Type: "bold #00BB00",
|
| 36 |
+
|
| 37 |
+
Operator: "#666666",
|
| 38 |
+
Operator.Word: "bold #AA22FF",
|
| 39 |
+
|
| 40 |
+
Name.Builtin: "#AA22FF",
|
| 41 |
+
Name.Function: "#00A000",
|
| 42 |
+
Name.Class: "#0000FF",
|
| 43 |
+
Name.Namespace: "bold #0000FF",
|
| 44 |
+
Name.Exception: "bold #D2413A",
|
| 45 |
+
Name.Variable: "#B8860B",
|
| 46 |
+
Name.Constant: "#880000",
|
| 47 |
+
Name.Label: "#A0A000",
|
| 48 |
+
Name.Entity: "bold #999999",
|
| 49 |
+
Name.Attribute: "#BB4444",
|
| 50 |
+
Name.Tag: "bold #008000",
|
| 51 |
+
Name.Decorator: "#AA22FF",
|
| 52 |
+
|
| 53 |
+
String: "#BB4444",
|
| 54 |
+
String.Doc: "italic",
|
| 55 |
+
String.Interpol: "bold #BB6688",
|
| 56 |
+
String.Escape: "bold #BB6622",
|
| 57 |
+
String.Regex: "#BB6688",
|
| 58 |
+
String.Symbol: "#B8860B",
|
| 59 |
+
String.Other: "#008000",
|
| 60 |
+
Number: "#666666",
|
| 61 |
+
|
| 62 |
+
Generic.Heading: "bold #000080",
|
| 63 |
+
Generic.Subheading: "bold #800080",
|
| 64 |
+
Generic.Deleted: "#A00000",
|
| 65 |
+
Generic.Inserted: "#00A000",
|
| 66 |
+
Generic.Error: "#FF0000",
|
| 67 |
+
Generic.Emph: "italic",
|
| 68 |
+
Generic.Strong: "bold",
|
| 69 |
+
Generic.EmphStrong: "bold italic",
|
| 70 |
+
Generic.Prompt: "bold #000080",
|
| 71 |
+
Generic.Output: "#888",
|
| 72 |
+
Generic.Traceback: "#04D",
|
| 73 |
+
|
| 74 |
+
Error: "border:#FF0000"
|
| 75 |
+
}
|
lib/python3.12/site-packages/pygments/styles/friendly_grayscale.py
ADDED
|
@@ -0,0 +1,80 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
pygments.styles.friendly_grayscale
|
| 3 |
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
| 4 |
+
|
| 5 |
+
A style based on friendly style.
|
| 6 |
+
The color values of the friendly style have been converted to grayscale
|
| 7 |
+
using the luminosity value calculated by
|
| 8 |
+
http://www.workwithcolor.com/color-converter-01.htm
|
| 9 |
+
|
| 10 |
+
:copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS.
|
| 11 |
+
:license: BSD, see LICENSE for details.
|
| 12 |
+
"""
|
| 13 |
+
|
| 14 |
+
from pygments.style import Style
|
| 15 |
+
from pygments.token import Keyword, Name, Comment, String, Error, \
|
| 16 |
+
Number, Operator, Generic, Whitespace
|
| 17 |
+
|
| 18 |
+
|
| 19 |
+
__all__ = ['FriendlyGrayscaleStyle']
|
| 20 |
+
|
| 21 |
+
|
| 22 |
+
class FriendlyGrayscaleStyle(Style):
|
| 23 |
+
"""
|
| 24 |
+
A modern grayscale style based on the friendly style.
|
| 25 |
+
|
| 26 |
+
.. versionadded:: 2.11
|
| 27 |
+
"""
|
| 28 |
+
name = 'friendly_grayscale'
|
| 29 |
+
|
| 30 |
+
background_color = "#f0f0f0"
|
| 31 |
+
|
| 32 |
+
styles = {
|
| 33 |
+
Whitespace: "#bbbbbb",
|
| 34 |
+
Comment: "italic #959595",
|
| 35 |
+
Comment.Preproc: "noitalic #575757",
|
| 36 |
+
Comment.Special: "noitalic bg:#F4F4F4",
|
| 37 |
+
|
| 38 |
+
Keyword: "bold #575757",
|
| 39 |
+
Keyword.Pseudo: "nobold",
|
| 40 |
+
Keyword.Type: "nobold #4F4F4F",
|
| 41 |
+
|
| 42 |
+
Operator: "#666666",
|
| 43 |
+
Operator.Word: "bold #575757",
|
| 44 |
+
|
| 45 |
+
Name.Builtin: "#575757",
|
| 46 |
+
Name.Function: "#3F3F3F",
|
| 47 |
+
Name.Class: "bold #7E7E7E",
|
| 48 |
+
Name.Namespace: "bold #7E7E7E",
|
| 49 |
+
Name.Exception: "#575757",
|
| 50 |
+
Name.Variable: "#9A9A9A",
|
| 51 |
+
Name.Constant: "#A5A5A5",
|
| 52 |
+
Name.Label: "bold #363636",
|
| 53 |
+
Name.Entity: "bold #848484",
|
| 54 |
+
Name.Attribute: "#707070",
|
| 55 |
+
Name.Tag: "bold #3B3B3B",
|
| 56 |
+
Name.Decorator: "bold #555555",
|
| 57 |
+
|
| 58 |
+
String: "#717171",
|
| 59 |
+
String.Doc: "italic",
|
| 60 |
+
String.Interpol: "italic #9F9F9F",
|
| 61 |
+
String.Escape: "bold #717171",
|
| 62 |
+
String.Regex: "#575757",
|
| 63 |
+
String.Symbol: "#676767",
|
| 64 |
+
String.Other: "#7E7E7E",
|
| 65 |
+
Number: "#888888",
|
| 66 |
+
|
| 67 |
+
Generic.Heading: "bold #373737",
|
| 68 |
+
Generic.Subheading: "bold #5A5A5A",
|
| 69 |
+
Generic.Deleted: "#545454",
|
| 70 |
+
Generic.Inserted: "#7D7D7D",
|
| 71 |
+
Generic.Error: "#898989",
|
| 72 |
+
Generic.Emph: "italic",
|
| 73 |
+
Generic.Strong: "bold",
|
| 74 |
+
Generic.EmphStrong: "bold italic",
|
| 75 |
+
Generic.Prompt: "bold #7E7E7E",
|
| 76 |
+
Generic.Output: "#888888",
|
| 77 |
+
Generic.Traceback: "#6D6D6D",
|
| 78 |
+
|
| 79 |
+
Error: "border:#898989"
|
| 80 |
+
}
|
lib/python3.12/site-packages/pygments/styles/fruity.py
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
pygments.styles.fruity
|
| 3 |
+
~~~~~~~~~~~~~~~~~~~~~~
|
| 4 |
+
|
| 5 |
+
pygments version of my "fruity" vim theme.
|
| 6 |
+
|
| 7 |
+
:copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS.
|
| 8 |
+
:license: BSD, see LICENSE for details.
|
| 9 |
+
"""
|
| 10 |
+
|
| 11 |
+
from pygments.style import Style
|
| 12 |
+
from pygments.token import Token, Comment, Name, Keyword, \
|
| 13 |
+
Generic, Number, String, Whitespace
|
| 14 |
+
|
| 15 |
+
|
| 16 |
+
__all__ = ['FruityStyle']
|
| 17 |
+
|
| 18 |
+
|
| 19 |
+
class FruityStyle(Style):
|
| 20 |
+
"""
|
| 21 |
+
Pygments version of the "native" vim theme.
|
| 22 |
+
"""
|
| 23 |
+
|
| 24 |
+
name = 'fruity'
|
| 25 |
+
|
| 26 |
+
background_color = '#111111'
|
| 27 |
+
highlight_color = '#333333'
|
| 28 |
+
|
| 29 |
+
styles = {
|
| 30 |
+
Whitespace: '#888888',
|
| 31 |
+
Token: '#ffffff',
|
| 32 |
+
Generic.Output: '#444444 bg:#222222',
|
| 33 |
+
Keyword: '#fb660a bold',
|
| 34 |
+
Keyword.Pseudo: 'nobold',
|
| 35 |
+
Number: '#0086f7 bold',
|
| 36 |
+
Name.Tag: '#fb660a bold',
|
| 37 |
+
Name.Variable: '#fb660a',
|
| 38 |
+
Comment: '#008800 bg:#0f140f italic',
|
| 39 |
+
Name.Attribute: '#ff0086 bold',
|
| 40 |
+
String: '#0086d2',
|
| 41 |
+
Name.Function: '#ff0086 bold',
|
| 42 |
+
Generic.Heading: '#ffffff bold',
|
| 43 |
+
Keyword.Type: '#cdcaa9 bold',
|
| 44 |
+
Generic.Subheading: '#ffffff bold',
|
| 45 |
+
Name.Constant: '#0086d2',
|
| 46 |
+
Comment.Preproc: '#ff0007 bold'
|
| 47 |
+
}
|
lib/python3.12/site-packages/pygments/styles/gh_dark.py
ADDED
|
@@ -0,0 +1,113 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
pygments.styles.gh_dark
|
| 3 |
+
~~~~~~~~~~~~~~~~~~~~~~~
|
| 4 |
+
|
| 5 |
+
Github's Dark-Colorscheme based theme for Pygments
|
| 6 |
+
Colors extracted from https://github.com/primer/primitives
|
| 7 |
+
|
| 8 |
+
:copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS.
|
| 9 |
+
:license: BSD, see LICENSE for details.
|
| 10 |
+
"""
|
| 11 |
+
|
| 12 |
+
from pygments.style import Style
|
| 13 |
+
from pygments.token import Keyword, Name, Comment, Error, Number, Operator, \
|
| 14 |
+
Generic, Text, Literal, String, Token
|
| 15 |
+
|
| 16 |
+
|
| 17 |
+
__all__ = ['GhDarkStyle']
|
| 18 |
+
|
| 19 |
+
|
| 20 |
+
# vars are defined to match the defs in
|
| 21 |
+
# - [GitHub's VS Code theme](https://github.com/primer/github-vscode-theme) and
|
| 22 |
+
# - [Primer styles](https://github.com/primer/primitives)
|
| 23 |
+
RED_2 = "#ffa198"
|
| 24 |
+
RED_3 = "#ff7b72"
|
| 25 |
+
RED_9 = "#490202"
|
| 26 |
+
ORANGE_2 = "#ffa657"
|
| 27 |
+
ORANGE_3 = "#f0883e"
|
| 28 |
+
GREEN_1 = "#7ee787"
|
| 29 |
+
GREEN_2 = "#56d364"
|
| 30 |
+
GREEN_7 = "#0f5323"
|
| 31 |
+
BLUE_1 = "#a5d6ff"
|
| 32 |
+
BLUE_2 = "#79c0ff"
|
| 33 |
+
PURPLE_2 = "#d2a8ff"
|
| 34 |
+
GRAY_3 = "#8b949e"
|
| 35 |
+
GRAY_4 = "#6e7681"
|
| 36 |
+
FG_SUBTLE = "#6e7681"
|
| 37 |
+
FG_DEFAULT = "#e6edf3"
|
| 38 |
+
BG_DEFAULT = "#0d1117"
|
| 39 |
+
DANGER_FG = "#f85149"
|
| 40 |
+
|
| 41 |
+
|
| 42 |
+
class GhDarkStyle(Style):
|
| 43 |
+
"""
|
| 44 |
+
Github's Dark-Colorscheme based theme for Pygments
|
| 45 |
+
"""
|
| 46 |
+
|
| 47 |
+
name = 'github-dark'
|
| 48 |
+
|
| 49 |
+
background_color = BG_DEFAULT
|
| 50 |
+
|
| 51 |
+
# has transparency in VS Code theme as `colors.codemirror.activelineBg`
|
| 52 |
+
highlight_color = GRAY_4
|
| 53 |
+
|
| 54 |
+
line_number_special_color = FG_DEFAULT
|
| 55 |
+
line_number_special_background_color = FG_SUBTLE
|
| 56 |
+
|
| 57 |
+
line_number_color = GRAY_4
|
| 58 |
+
line_number_background_color = BG_DEFAULT
|
| 59 |
+
|
| 60 |
+
styles = {
|
| 61 |
+
Token: FG_DEFAULT,
|
| 62 |
+
|
| 63 |
+
Error: DANGER_FG,
|
| 64 |
+
|
| 65 |
+
Keyword: RED_3,
|
| 66 |
+
Keyword.Constant: BLUE_2,
|
| 67 |
+
Keyword.Pseudo: BLUE_2,
|
| 68 |
+
|
| 69 |
+
Name: FG_DEFAULT,
|
| 70 |
+
Name.Class: "bold "+ORANGE_3,
|
| 71 |
+
Name.Constant: "bold "+BLUE_2,
|
| 72 |
+
Name.Decorator: 'bold '+PURPLE_2,
|
| 73 |
+
Name.Entity: ORANGE_2,
|
| 74 |
+
Name.Exception: "bold "+ORANGE_3,
|
| 75 |
+
Name.Function: 'bold '+PURPLE_2,
|
| 76 |
+
Name.Label: "bold "+BLUE_2,
|
| 77 |
+
Name.Namespace: RED_3,
|
| 78 |
+
Name.Property: BLUE_2,
|
| 79 |
+
Name.Tag: GREEN_1,
|
| 80 |
+
Name.Variable: BLUE_2,
|
| 81 |
+
|
| 82 |
+
Literal: BLUE_1,
|
| 83 |
+
Literal.Date: BLUE_2,
|
| 84 |
+
String: BLUE_1,
|
| 85 |
+
String.Affix: BLUE_2,
|
| 86 |
+
String.Delimiter: BLUE_2,
|
| 87 |
+
String.Escape: BLUE_2,
|
| 88 |
+
String.Heredoc: BLUE_2,
|
| 89 |
+
String.Regex: BLUE_2,
|
| 90 |
+
Number: BLUE_1,
|
| 91 |
+
|
| 92 |
+
Comment: 'italic '+GRAY_3,
|
| 93 |
+
Comment.Preproc: "bold " + GRAY_3,
|
| 94 |
+
Comment.Special: "bold italic " + GRAY_3,
|
| 95 |
+
|
| 96 |
+
Operator: 'bold ' + RED_3,
|
| 97 |
+
|
| 98 |
+
Generic: FG_DEFAULT,
|
| 99 |
+
Generic.Deleted: f"bg:{RED_9} {RED_2}",
|
| 100 |
+
Generic.Emph: "italic",
|
| 101 |
+
Generic.Error: RED_2,
|
| 102 |
+
Generic.Heading: "bold "+BLUE_2,
|
| 103 |
+
Generic.Inserted: f'bg:{GREEN_7} {GREEN_2}',
|
| 104 |
+
Generic.Output: GRAY_3,
|
| 105 |
+
Generic.Prompt: GRAY_3,
|
| 106 |
+
Generic.Strong: "bold",
|
| 107 |
+
Generic.EmphStrong: "bold italic",
|
| 108 |
+
Generic.Subheading: BLUE_2,
|
| 109 |
+
Generic.Traceback: RED_3,
|
| 110 |
+
Generic.Underline: "underline",
|
| 111 |
+
|
| 112 |
+
Text.Whitespace: FG_SUBTLE,
|
| 113 |
+
}
|
lib/python3.12/site-packages/pygments/styles/gruvbox.py
ADDED
|
@@ -0,0 +1,118 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
pygments.styles.gruvbox
|
| 3 |
+
~~~~~~~~~~~~~~~~~~~~~~~
|
| 4 |
+
|
| 5 |
+
pygments version of the "gruvbox" vim theme.
|
| 6 |
+
https://github.com/morhetz/gruvbox
|
| 7 |
+
|
| 8 |
+
:copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS.
|
| 9 |
+
:license: BSD, see LICENSE for details.
|
| 10 |
+
"""
|
| 11 |
+
|
| 12 |
+
from pygments.style import Style
|
| 13 |
+
from pygments.token import Token, Keyword, Name, Comment, String, Error, \
|
| 14 |
+
Number, Operator, Generic
|
| 15 |
+
|
| 16 |
+
|
| 17 |
+
__all__ = ['GruvboxDarkStyle', 'GruvboxLightStyle']
|
| 18 |
+
|
| 19 |
+
|
| 20 |
+
class GruvboxDarkStyle(Style):
|
| 21 |
+
"""
|
| 22 |
+
Pygments version of the "gruvbox" dark vim theme.
|
| 23 |
+
"""
|
| 24 |
+
|
| 25 |
+
name = 'gruvbox-dark'
|
| 26 |
+
|
| 27 |
+
background_color = '#282828'
|
| 28 |
+
highlight_color = '#ebdbb2'
|
| 29 |
+
|
| 30 |
+
styles = {
|
| 31 |
+
Token: '#dddddd',
|
| 32 |
+
|
| 33 |
+
Comment: 'italic #928374',
|
| 34 |
+
Comment.PreProc: '#8ec07c',
|
| 35 |
+
Comment.Special: 'bold italic #ebdbb2',
|
| 36 |
+
|
| 37 |
+
Keyword: '#fb4934',
|
| 38 |
+
Operator.Word: '#fb4934',
|
| 39 |
+
|
| 40 |
+
String: '#b8bb26',
|
| 41 |
+
String.Escape: '#fe8019',
|
| 42 |
+
|
| 43 |
+
Number: '#d3869b',
|
| 44 |
+
|
| 45 |
+
Name.Builtin: '#fe8019',
|
| 46 |
+
Name.Variable: '#83a598',
|
| 47 |
+
Name.Constant: '#d3869b',
|
| 48 |
+
Name.Class: '#8ec07c',
|
| 49 |
+
Name.Function: '#8ec07c',
|
| 50 |
+
Name.Namespace: '#8ec07c',
|
| 51 |
+
Name.Exception: '#fb4934',
|
| 52 |
+
Name.Tag: '#8ec07c',
|
| 53 |
+
Name.Attribute: '#fabd2f',
|
| 54 |
+
Name.Decorator: '#fb4934',
|
| 55 |
+
|
| 56 |
+
Generic.Heading: 'bold #ebdbb2',
|
| 57 |
+
Generic.Subheading: 'underline #ebdbb2',
|
| 58 |
+
Generic.Deleted: 'bg:#fb4934 #282828',
|
| 59 |
+
Generic.Inserted: 'bg:#b8bb26 #282828',
|
| 60 |
+
Generic.Error: '#fb4934',
|
| 61 |
+
Generic.Emph: 'italic',
|
| 62 |
+
Generic.Strong: 'bold',
|
| 63 |
+
Generic.EmphStrong: 'bold italic',
|
| 64 |
+
Generic.Prompt: '#a89984',
|
| 65 |
+
Generic.Output: '#f2e5bc',
|
| 66 |
+
Generic.Traceback: '#fb4934',
|
| 67 |
+
|
| 68 |
+
Error: 'bg:#fb4934 #282828'
|
| 69 |
+
}
|
| 70 |
+
|
| 71 |
+
|
| 72 |
+
class GruvboxLightStyle(Style):
|
| 73 |
+
"""
|
| 74 |
+
Pygments version of the "gruvbox" Light vim theme.
|
| 75 |
+
"""
|
| 76 |
+
|
| 77 |
+
name = 'gruvbox-light'
|
| 78 |
+
|
| 79 |
+
background_color = '#fbf1c7'
|
| 80 |
+
highlight_color = '#3c3836'
|
| 81 |
+
|
| 82 |
+
styles = {
|
| 83 |
+
Comment: 'italic #928374',
|
| 84 |
+
Comment.PreProc: '#427b58',
|
| 85 |
+
Comment.Special: 'bold italic #3c3836',
|
| 86 |
+
|
| 87 |
+
Keyword: '#9d0006',
|
| 88 |
+
Operator.Word: '#9d0006',
|
| 89 |
+
|
| 90 |
+
String: '#79740e',
|
| 91 |
+
String.Escape: '#af3a03',
|
| 92 |
+
|
| 93 |
+
Number: '#8f3f71',
|
| 94 |
+
|
| 95 |
+
Name.Builtin: '#af3a03',
|
| 96 |
+
Name.Variable: '#076678',
|
| 97 |
+
Name.Constant: '#8f3f71',
|
| 98 |
+
Name.Class: '#427b58',
|
| 99 |
+
Name.Function: '#427b58',
|
| 100 |
+
Name.Namespace: '#427b58',
|
| 101 |
+
Name.Exception: '#9d0006',
|
| 102 |
+
Name.Tag: '#427b58',
|
| 103 |
+
Name.Attribute: '#b57614',
|
| 104 |
+
Name.Decorator: '#9d0006',
|
| 105 |
+
|
| 106 |
+
Generic.Heading: 'bold #3c3836',
|
| 107 |
+
Generic.Subheading: 'underline #3c3836',
|
| 108 |
+
Generic.Deleted: 'bg:#9d0006 #fbf1c7',
|
| 109 |
+
Generic.Inserted: 'bg:#79740e #fbf1c7',
|
| 110 |
+
Generic.Error: '#9d0006',
|
| 111 |
+
Generic.Emph: 'italic',
|
| 112 |
+
Generic.Strong: 'bold',
|
| 113 |
+
Generic.Prompt: '#7c6f64',
|
| 114 |
+
Generic.Output: '#32302f',
|
| 115 |
+
Generic.Traceback: '#9d0006',
|
| 116 |
+
|
| 117 |
+
Error: 'bg:#9d0006 #fbf1c7'
|
| 118 |
+
}
|
lib/python3.12/site-packages/pygments/styles/lightbulb.py
ADDED
|
@@ -0,0 +1,110 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
pygments.styles.lightbulb
|
| 3 |
+
~~~~~~~~~~~~~~~~~~~~~~~~~
|
| 4 |
+
|
| 5 |
+
A minimal dark theme based on the Lightbulb theme for VSCode.
|
| 6 |
+
|
| 7 |
+
:copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS.
|
| 8 |
+
:license: BSD, see LICENSE for details.
|
| 9 |
+
"""
|
| 10 |
+
|
| 11 |
+
from pygments.style import Style
|
| 12 |
+
from pygments.token import (
|
| 13 |
+
Comment,
|
| 14 |
+
Error,
|
| 15 |
+
Generic,
|
| 16 |
+
Keyword,
|
| 17 |
+
Literal,
|
| 18 |
+
Name,
|
| 19 |
+
Number,
|
| 20 |
+
Operator,
|
| 21 |
+
Punctuation,
|
| 22 |
+
String,
|
| 23 |
+
Token,
|
| 24 |
+
)
|
| 25 |
+
|
| 26 |
+
|
| 27 |
+
__all__ = ['LightbulbStyle']
|
| 28 |
+
|
| 29 |
+
|
| 30 |
+
COLORS = {
|
| 31 |
+
"bg": "#1d2331",
|
| 32 |
+
"blue_1": "#73D0FF",
|
| 33 |
+
"gray_1": "#7e8aa1",
|
| 34 |
+
"gray_2": "#3c4354",
|
| 35 |
+
"gray_3": "#6e7681",
|
| 36 |
+
"red_1": "#f88f7f",
|
| 37 |
+
"red_2": "#3d1e20",
|
| 38 |
+
"orange_1": "#FFAD66",
|
| 39 |
+
"orange_2": "#F29E74",
|
| 40 |
+
"yellow_1": "#FFD173",
|
| 41 |
+
"white": "#d4d2c8",
|
| 42 |
+
"magenta_1": "#DFBFFF",
|
| 43 |
+
"green_1": "#D5FF80",
|
| 44 |
+
"green_2": "#19362c",
|
| 45 |
+
"cyan_1": "#95E6CB",
|
| 46 |
+
}
|
| 47 |
+
|
| 48 |
+
|
| 49 |
+
class LightbulbStyle(Style):
|
| 50 |
+
"""
|
| 51 |
+
A minimal dark theme based on the Lightbulb theme for VSCode.
|
| 52 |
+
"""
|
| 53 |
+
|
| 54 |
+
name = 'lightbulb'
|
| 55 |
+
|
| 56 |
+
background_color = COLORS['bg']
|
| 57 |
+
highlight_color = COLORS['gray_3']
|
| 58 |
+
|
| 59 |
+
line_number_color = COLORS['gray_2']
|
| 60 |
+
line_number_special_color = COLORS['gray_2']
|
| 61 |
+
|
| 62 |
+
styles = {
|
| 63 |
+
Comment: COLORS["gray_1"],
|
| 64 |
+
Comment.Hashbang: "italic " + COLORS['red_1'],
|
| 65 |
+
Comment.Preproc: "bold " + COLORS['orange_1'],
|
| 66 |
+
Comment.Special: "italic " + COLORS['gray_1'],
|
| 67 |
+
Error: COLORS['red_1'],
|
| 68 |
+
Generic.Deleted: f"bg:{COLORS['red_2']} #f88f7f",
|
| 69 |
+
Generic.Emph: "italic",
|
| 70 |
+
Generic.Error: "#f88f7f",
|
| 71 |
+
Generic.Inserted: f"bg:{COLORS['green_2']} #6ad4af",
|
| 72 |
+
Generic.Output: COLORS['gray_1'],
|
| 73 |
+
Generic.Strong: "bold",
|
| 74 |
+
Generic.Traceback: COLORS['red_1'],
|
| 75 |
+
Keyword: COLORS['orange_1'],
|
| 76 |
+
Keyword.Constant: COLORS['orange_1'],
|
| 77 |
+
Keyword.Declaration: COLORS['orange_1'],
|
| 78 |
+
Keyword.Namespace: COLORS['orange_1'],
|
| 79 |
+
Keyword.Reserved: COLORS['orange_1'],
|
| 80 |
+
Keyword.Type: COLORS['blue_1'],
|
| 81 |
+
Literal: COLORS['green_1'],
|
| 82 |
+
Name: COLORS['white'],
|
| 83 |
+
Name.Attribute: COLORS['yellow_1'],
|
| 84 |
+
Name.Builtin: COLORS['yellow_1'],
|
| 85 |
+
Name.Builtin.Pseudo: "#5CCFE6",
|
| 86 |
+
Name.Class: COLORS['blue_1'],
|
| 87 |
+
Name.Constant: COLORS['yellow_1'],
|
| 88 |
+
Name.Decorator: "bold italic " + COLORS['gray_1'],
|
| 89 |
+
Name.Entity: COLORS['cyan_1'],
|
| 90 |
+
Name.Exception: COLORS['blue_1'],
|
| 91 |
+
Name.Function: COLORS['yellow_1'],
|
| 92 |
+
Name.Function.Magic: COLORS['yellow_1'],
|
| 93 |
+
Name.Other: COLORS['white'],
|
| 94 |
+
Name.Property: COLORS['yellow_1'],
|
| 95 |
+
Name.Tag: "#5CCFE6",
|
| 96 |
+
Name.Variable: COLORS['white'],
|
| 97 |
+
Number: COLORS['magenta_1'],
|
| 98 |
+
Operator: COLORS['orange_1'],
|
| 99 |
+
Operator.Word: COLORS['orange_1'],
|
| 100 |
+
Punctuation: COLORS['white'],
|
| 101 |
+
String: COLORS['green_1'],
|
| 102 |
+
String.Affix: COLORS['orange_2'],
|
| 103 |
+
String.Doc: COLORS['gray_1'],
|
| 104 |
+
String.Escape: COLORS['cyan_1'],
|
| 105 |
+
String.Interpol: COLORS['cyan_1'],
|
| 106 |
+
String.Other: COLORS['cyan_1'],
|
| 107 |
+
String.Regex: COLORS['cyan_1'],
|
| 108 |
+
String.Symbol: COLORS['magenta_1'],
|
| 109 |
+
Token: COLORS['white'],
|
| 110 |
+
}
|
lib/python3.12/site-packages/pygments/styles/lovelace.py
ADDED
|
@@ -0,0 +1,100 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
pygments.styles.lovelace
|
| 3 |
+
~~~~~~~~~~~~~~~~~~~~~~~~
|
| 4 |
+
|
| 5 |
+
Lovelace by Miikka Salminen
|
| 6 |
+
|
| 7 |
+
Pygments style by Miikka Salminen (https://github.com/miikkas)
|
| 8 |
+
A desaturated, somewhat subdued style created for the Lovelace interactive
|
| 9 |
+
learning environment.
|
| 10 |
+
|
| 11 |
+
:copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS.
|
| 12 |
+
:license: BSD, see LICENSE for details.
|
| 13 |
+
"""
|
| 14 |
+
|
| 15 |
+
from pygments.style import Style
|
| 16 |
+
from pygments.token import Keyword, Name, Comment, String, Error, \
|
| 17 |
+
Number, Operator, Punctuation, Generic, Whitespace
|
| 18 |
+
|
| 19 |
+
|
| 20 |
+
__all__ = ['LovelaceStyle']
|
| 21 |
+
|
| 22 |
+
|
| 23 |
+
class LovelaceStyle(Style):
|
| 24 |
+
"""
|
| 25 |
+
The style used in Lovelace interactive learning environment. Tries to avoid
|
| 26 |
+
the "angry fruit salad" effect with desaturated and dim colours.
|
| 27 |
+
"""
|
| 28 |
+
name = 'lovelace'
|
| 29 |
+
|
| 30 |
+
_KW_BLUE = '#2838b0'
|
| 31 |
+
_NAME_GREEN = '#388038'
|
| 32 |
+
_DOC_ORANGE = '#b85820'
|
| 33 |
+
_OW_PURPLE = '#a848a8'
|
| 34 |
+
_FUN_BROWN = '#785840'
|
| 35 |
+
_STR_RED = '#b83838'
|
| 36 |
+
_CLS_CYAN = '#287088'
|
| 37 |
+
_ESCAPE_LIME = '#709030'
|
| 38 |
+
_LABEL_CYAN = '#289870'
|
| 39 |
+
_EXCEPT_YELLOW = '#908828'
|
| 40 |
+
|
| 41 |
+
styles = {
|
| 42 |
+
Whitespace: '#a89028',
|
| 43 |
+
Comment: 'italic #888888',
|
| 44 |
+
Comment.Hashbang: _CLS_CYAN,
|
| 45 |
+
Comment.Multiline: '#888888',
|
| 46 |
+
Comment.Preproc: 'noitalic '+_LABEL_CYAN,
|
| 47 |
+
|
| 48 |
+
Keyword: _KW_BLUE,
|
| 49 |
+
Keyword.Constant: 'italic #444444',
|
| 50 |
+
Keyword.Declaration: 'italic',
|
| 51 |
+
Keyword.Type: 'italic',
|
| 52 |
+
|
| 53 |
+
Operator: '#666666',
|
| 54 |
+
Operator.Word: _OW_PURPLE,
|
| 55 |
+
|
| 56 |
+
Punctuation: '#888888',
|
| 57 |
+
|
| 58 |
+
Name.Attribute: _NAME_GREEN,
|
| 59 |
+
Name.Builtin: _NAME_GREEN,
|
| 60 |
+
Name.Builtin.Pseudo: 'italic',
|
| 61 |
+
Name.Class: _CLS_CYAN,
|
| 62 |
+
Name.Constant: _DOC_ORANGE,
|
| 63 |
+
Name.Decorator: _CLS_CYAN,
|
| 64 |
+
Name.Entity: _ESCAPE_LIME,
|
| 65 |
+
Name.Exception: _EXCEPT_YELLOW,
|
| 66 |
+
Name.Function: _FUN_BROWN,
|
| 67 |
+
Name.Function.Magic: _DOC_ORANGE,
|
| 68 |
+
Name.Label: _LABEL_CYAN,
|
| 69 |
+
Name.Namespace: _LABEL_CYAN,
|
| 70 |
+
Name.Tag: _KW_BLUE,
|
| 71 |
+
Name.Variable: '#b04040',
|
| 72 |
+
Name.Variable.Global:_EXCEPT_YELLOW,
|
| 73 |
+
Name.Variable.Magic: _DOC_ORANGE,
|
| 74 |
+
|
| 75 |
+
String: _STR_RED,
|
| 76 |
+
String.Affix: '#444444',
|
| 77 |
+
String.Char: _OW_PURPLE,
|
| 78 |
+
String.Delimiter: _DOC_ORANGE,
|
| 79 |
+
String.Doc: 'italic '+_DOC_ORANGE,
|
| 80 |
+
String.Escape: _ESCAPE_LIME,
|
| 81 |
+
String.Interpol: 'underline',
|
| 82 |
+
String.Other: _OW_PURPLE,
|
| 83 |
+
String.Regex: _OW_PURPLE,
|
| 84 |
+
|
| 85 |
+
Number: '#444444',
|
| 86 |
+
|
| 87 |
+
Generic.Deleted: '#c02828',
|
| 88 |
+
Generic.Emph: 'italic',
|
| 89 |
+
Generic.Error: '#c02828',
|
| 90 |
+
Generic.Heading: '#666666',
|
| 91 |
+
Generic.Subheading: '#444444',
|
| 92 |
+
Generic.Inserted: _NAME_GREEN,
|
| 93 |
+
Generic.Output: '#666666',
|
| 94 |
+
Generic.Prompt: '#444444',
|
| 95 |
+
Generic.Strong: 'bold',
|
| 96 |
+
Generic.EmphStrong: 'bold italic',
|
| 97 |
+
Generic.Traceback: _KW_BLUE,
|
| 98 |
+
|
| 99 |
+
Error: 'bg:'+_OW_PURPLE,
|
| 100 |
+
}
|
lib/python3.12/site-packages/pygments/styles/manni.py
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
pygments.styles.manni
|
| 3 |
+
~~~~~~~~~~~~~~~~~~~~~
|
| 4 |
+
|
| 5 |
+
A colorful style, inspired by the terminal highlighting style.
|
| 6 |
+
|
| 7 |
+
This is a port of the style used in the `php port`_ of pygments
|
| 8 |
+
by Manni. The style is called 'default' there.
|
| 9 |
+
|
| 10 |
+
:copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS.
|
| 11 |
+
:license: BSD, see LICENSE for details.
|
| 12 |
+
"""
|
| 13 |
+
|
| 14 |
+
from pygments.style import Style
|
| 15 |
+
from pygments.token import Keyword, Name, Comment, String, Error, \
|
| 16 |
+
Number, Operator, Generic, Whitespace
|
| 17 |
+
|
| 18 |
+
|
| 19 |
+
__all__ = ['ManniStyle']
|
| 20 |
+
|
| 21 |
+
|
| 22 |
+
class ManniStyle(Style):
|
| 23 |
+
"""
|
| 24 |
+
A colorful style, inspired by the terminal highlighting style.
|
| 25 |
+
"""
|
| 26 |
+
name = 'manni'
|
| 27 |
+
|
| 28 |
+
background_color = '#f0f3f3'
|
| 29 |
+
|
| 30 |
+
styles = {
|
| 31 |
+
Whitespace: '#bbbbbb',
|
| 32 |
+
Comment: 'italic #0099FF',
|
| 33 |
+
Comment.Preproc: 'noitalic #009999',
|
| 34 |
+
Comment.Special: 'bold',
|
| 35 |
+
|
| 36 |
+
Keyword: 'bold #006699',
|
| 37 |
+
Keyword.Pseudo: 'nobold',
|
| 38 |
+
Keyword.Type: '#007788',
|
| 39 |
+
|
| 40 |
+
Operator: '#555555',
|
| 41 |
+
Operator.Word: 'bold #000000',
|
| 42 |
+
|
| 43 |
+
Name.Builtin: '#336666',
|
| 44 |
+
Name.Function: '#CC00FF',
|
| 45 |
+
Name.Class: 'bold #00AA88',
|
| 46 |
+
Name.Namespace: 'bold #00CCFF',
|
| 47 |
+
Name.Exception: 'bold #CC0000',
|
| 48 |
+
Name.Variable: '#003333',
|
| 49 |
+
Name.Constant: '#336600',
|
| 50 |
+
Name.Label: '#9999FF',
|
| 51 |
+
Name.Entity: 'bold #999999',
|
| 52 |
+
Name.Attribute: '#330099',
|
| 53 |
+
Name.Tag: 'bold #330099',
|
| 54 |
+
Name.Decorator: '#9999FF',
|
| 55 |
+
|
| 56 |
+
String: '#CC3300',
|
| 57 |
+
String.Doc: 'italic',
|
| 58 |
+
String.Interpol: '#AA0000',
|
| 59 |
+
String.Escape: 'bold #CC3300',
|
| 60 |
+
String.Regex: '#33AAAA',
|
| 61 |
+
String.Symbol: '#FFCC33',
|
| 62 |
+
String.Other: '#CC3300',
|
| 63 |
+
|
| 64 |
+
Number: '#FF6600',
|
| 65 |
+
|
| 66 |
+
Generic.Heading: 'bold #003300',
|
| 67 |
+
Generic.Subheading: 'bold #003300',
|
| 68 |
+
Generic.Deleted: 'border:#CC0000 bg:#FFCCCC',
|
| 69 |
+
Generic.Inserted: 'border:#00CC00 bg:#CCFFCC',
|
| 70 |
+
Generic.Error: '#FF0000',
|
| 71 |
+
Generic.Emph: 'italic',
|
| 72 |
+
Generic.Strong: 'bold',
|
| 73 |
+
Generic.EmphStrong: 'bold italic',
|
| 74 |
+
Generic.Prompt: 'bold #000099',
|
| 75 |
+
Generic.Output: '#AAAAAA',
|
| 76 |
+
Generic.Traceback: '#99CC66',
|
| 77 |
+
|
| 78 |
+
Error: 'bg:#FFAAAA #AA0000'
|
| 79 |
+
}
|
lib/python3.12/site-packages/pygments/styles/material.py
ADDED
|
@@ -0,0 +1,124 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
pygments.styles.material
|
| 3 |
+
~~~~~~~~~~~~~~~~~~~~~~~~
|
| 4 |
+
|
| 5 |
+
Mimic the Material theme color scheme.
|
| 6 |
+
|
| 7 |
+
https://github.com/material-theme/vsc-material-theme
|
| 8 |
+
|
| 9 |
+
:copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS.
|
| 10 |
+
:license: BSD, see LICENSE for details.
|
| 11 |
+
"""
|
| 12 |
+
|
| 13 |
+
from pygments.style import Style
|
| 14 |
+
from pygments.token import Keyword, Name, Comment, String, Escape, \
|
| 15 |
+
Error, Text, Number, Operator, Generic, Punctuation, Literal
|
| 16 |
+
|
| 17 |
+
|
| 18 |
+
__all__ = ['MaterialStyle']
|
| 19 |
+
|
| 20 |
+
|
| 21 |
+
class MaterialStyle(Style):
|
| 22 |
+
"""
|
| 23 |
+
This style mimics the Material Theme color scheme.
|
| 24 |
+
"""
|
| 25 |
+
name = 'material'
|
| 26 |
+
|
| 27 |
+
dark_teal = '#263238'
|
| 28 |
+
white = '#FFFFFF'
|
| 29 |
+
black = '#000000'
|
| 30 |
+
red = '#FF5370'
|
| 31 |
+
orange = '#F78C6C'
|
| 32 |
+
yellow = '#FFCB6B'
|
| 33 |
+
green = '#C3E88D'
|
| 34 |
+
cyan = '#89DDFF'
|
| 35 |
+
blue = '#82AAFF'
|
| 36 |
+
paleblue = '#B2CCD6'
|
| 37 |
+
purple = '#C792EA'
|
| 38 |
+
brown = '#C17E70'
|
| 39 |
+
pink = '#F07178'
|
| 40 |
+
violet = '#BB80B3'
|
| 41 |
+
foreground = '#EEFFFF'
|
| 42 |
+
faded = '#546E7A'
|
| 43 |
+
|
| 44 |
+
background_color = dark_teal
|
| 45 |
+
highlight_color = '#2C3B41'
|
| 46 |
+
line_number_color = '#37474F'
|
| 47 |
+
line_number_background_color = dark_teal
|
| 48 |
+
line_number_special_color = '#607A86'
|
| 49 |
+
line_number_special_background_color = dark_teal
|
| 50 |
+
|
| 51 |
+
styles = {
|
| 52 |
+
Text: foreground,
|
| 53 |
+
Escape: cyan,
|
| 54 |
+
Error: red,
|
| 55 |
+
|
| 56 |
+
Keyword: violet,
|
| 57 |
+
Keyword.Constant: cyan,
|
| 58 |
+
Keyword.Declaration: violet,
|
| 59 |
+
Keyword.Namespace: 'italic ' + cyan,
|
| 60 |
+
Keyword.Pseudo: cyan,
|
| 61 |
+
Keyword.Type: violet,
|
| 62 |
+
|
| 63 |
+
Name: foreground,
|
| 64 |
+
Name.Attribute: violet,
|
| 65 |
+
Name.Builtin: blue,
|
| 66 |
+
Name.Builtin.Pseudo: cyan,
|
| 67 |
+
Name.Class: yellow,
|
| 68 |
+
Name.Constant: foreground,
|
| 69 |
+
Name.Decorator: blue,
|
| 70 |
+
Name.Entity: cyan,
|
| 71 |
+
Name.Exception: yellow,
|
| 72 |
+
Name.Function: blue,
|
| 73 |
+
Name.Function.Magic: blue,
|
| 74 |
+
Name.Label: blue,
|
| 75 |
+
Name.Property: yellow,
|
| 76 |
+
Name.Namespace: yellow,
|
| 77 |
+
Name.Other: foreground,
|
| 78 |
+
Name.Tag: red,
|
| 79 |
+
Name.Variable: cyan,
|
| 80 |
+
Name.Variable.Class: cyan,
|
| 81 |
+
Name.Variable.Global: cyan,
|
| 82 |
+
Name.Variable.Instance: cyan,
|
| 83 |
+
Name.Variable.Magic: blue,
|
| 84 |
+
|
| 85 |
+
Literal: green,
|
| 86 |
+
Literal.Date: green,
|
| 87 |
+
|
| 88 |
+
String: green,
|
| 89 |
+
String.Affix: violet,
|
| 90 |
+
String.Backtick: green,
|
| 91 |
+
String.Char: green,
|
| 92 |
+
String.Delimiter: foreground,
|
| 93 |
+
String.Doc: 'italic ' + faded,
|
| 94 |
+
String.Double: green,
|
| 95 |
+
String.Escape: foreground,
|
| 96 |
+
String.Heredoc: green,
|
| 97 |
+
String.Interpol: cyan,
|
| 98 |
+
String.Other: green,
|
| 99 |
+
String.Regex: cyan,
|
| 100 |
+
String.Single: green,
|
| 101 |
+
String.Symbol: cyan,
|
| 102 |
+
|
| 103 |
+
Number: orange,
|
| 104 |
+
|
| 105 |
+
Operator: cyan,
|
| 106 |
+
Operator.Word: 'italic ' + cyan,
|
| 107 |
+
|
| 108 |
+
Punctuation: cyan,
|
| 109 |
+
|
| 110 |
+
Comment: 'italic ' + faded,
|
| 111 |
+
|
| 112 |
+
Generic: foreground,
|
| 113 |
+
Generic.Deleted: red,
|
| 114 |
+
Generic.Emph: cyan,
|
| 115 |
+
Generic.Error: red,
|
| 116 |
+
Generic.Heading: green,
|
| 117 |
+
Generic.Inserted: green,
|
| 118 |
+
Generic.Output: faded,
|
| 119 |
+
Generic.Prompt: yellow,
|
| 120 |
+
Generic.Strong: red,
|
| 121 |
+
Generic.EmphStrong: yellow,
|
| 122 |
+
Generic.Subheading: cyan,
|
| 123 |
+
Generic.Traceback: red,
|
| 124 |
+
}
|
lib/python3.12/site-packages/pygments/styles/monokai.py
ADDED
|
@@ -0,0 +1,112 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
pygments.styles.monokai
|
| 3 |
+
~~~~~~~~~~~~~~~~~~~~~~~
|
| 4 |
+
|
| 5 |
+
Mimic the Monokai color scheme. Based on tango.py.
|
| 6 |
+
|
| 7 |
+
http://www.monokai.nl/blog/2006/07/15/textmate-color-theme/
|
| 8 |
+
|
| 9 |
+
:copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS.
|
| 10 |
+
:license: BSD, see LICENSE for details.
|
| 11 |
+
"""
|
| 12 |
+
|
| 13 |
+
from pygments.style import Style
|
| 14 |
+
from pygments.token import Keyword, Name, Comment, String, Error, Token, \
|
| 15 |
+
Number, Operator, Generic, Whitespace, Punctuation, Other, Literal
|
| 16 |
+
|
| 17 |
+
|
| 18 |
+
__all__ = ['MonokaiStyle']
|
| 19 |
+
|
| 20 |
+
|
| 21 |
+
class MonokaiStyle(Style):
|
| 22 |
+
"""
|
| 23 |
+
This style mimics the Monokai color scheme.
|
| 24 |
+
"""
|
| 25 |
+
name = 'monokai'
|
| 26 |
+
|
| 27 |
+
background_color = "#272822"
|
| 28 |
+
highlight_color = "#49483e"
|
| 29 |
+
|
| 30 |
+
styles = {
|
| 31 |
+
# No corresponding class for the following:
|
| 32 |
+
Token: "#f8f8f2", # class: ''
|
| 33 |
+
Whitespace: "", # class: 'w'
|
| 34 |
+
Error: "#ed007e bg:#1e0010", # class: 'err'
|
| 35 |
+
Other: "", # class 'x'
|
| 36 |
+
|
| 37 |
+
Comment: "#959077", # class: 'c'
|
| 38 |
+
Comment.Multiline: "", # class: 'cm'
|
| 39 |
+
Comment.Preproc: "", # class: 'cp'
|
| 40 |
+
Comment.Single: "", # class: 'c1'
|
| 41 |
+
Comment.Special: "", # class: 'cs'
|
| 42 |
+
|
| 43 |
+
Keyword: "#66d9ef", # class: 'k'
|
| 44 |
+
Keyword.Constant: "", # class: 'kc'
|
| 45 |
+
Keyword.Declaration: "", # class: 'kd'
|
| 46 |
+
Keyword.Namespace: "#ff4689", # class: 'kn'
|
| 47 |
+
Keyword.Pseudo: "", # class: 'kp'
|
| 48 |
+
Keyword.Reserved: "", # class: 'kr'
|
| 49 |
+
Keyword.Type: "", # class: 'kt'
|
| 50 |
+
|
| 51 |
+
Operator: "#ff4689", # class: 'o'
|
| 52 |
+
Operator.Word: "", # class: 'ow' - like keywords
|
| 53 |
+
|
| 54 |
+
Punctuation: "#f8f8f2", # class: 'p'
|
| 55 |
+
|
| 56 |
+
Name: "#f8f8f2", # class: 'n'
|
| 57 |
+
Name.Attribute: "#a6e22e", # class: 'na' - to be revised
|
| 58 |
+
Name.Builtin: "", # class: 'nb'
|
| 59 |
+
Name.Builtin.Pseudo: "", # class: 'bp'
|
| 60 |
+
Name.Class: "#a6e22e", # class: 'nc' - to be revised
|
| 61 |
+
Name.Constant: "#66d9ef", # class: 'no' - to be revised
|
| 62 |
+
Name.Decorator: "#a6e22e", # class: 'nd' - to be revised
|
| 63 |
+
Name.Entity: "", # class: 'ni'
|
| 64 |
+
Name.Exception: "#a6e22e", # class: 'ne'
|
| 65 |
+
Name.Function: "#a6e22e", # class: 'nf'
|
| 66 |
+
Name.Property: "", # class: 'py'
|
| 67 |
+
Name.Label: "", # class: 'nl'
|
| 68 |
+
Name.Namespace: "", # class: 'nn' - to be revised
|
| 69 |
+
Name.Other: "#a6e22e", # class: 'nx'
|
| 70 |
+
Name.Tag: "#ff4689", # class: 'nt' - like a keyword
|
| 71 |
+
Name.Variable: "", # class: 'nv' - to be revised
|
| 72 |
+
Name.Variable.Class: "", # class: 'vc' - to be revised
|
| 73 |
+
Name.Variable.Global: "", # class: 'vg' - to be revised
|
| 74 |
+
Name.Variable.Instance: "", # class: 'vi' - to be revised
|
| 75 |
+
|
| 76 |
+
Number: "#ae81ff", # class: 'm'
|
| 77 |
+
Number.Float: "", # class: 'mf'
|
| 78 |
+
Number.Hex: "", # class: 'mh'
|
| 79 |
+
Number.Integer: "", # class: 'mi'
|
| 80 |
+
Number.Integer.Long: "", # class: 'il'
|
| 81 |
+
Number.Oct: "", # class: 'mo'
|
| 82 |
+
|
| 83 |
+
Literal: "#ae81ff", # class: 'l'
|
| 84 |
+
Literal.Date: "#e6db74", # class: 'ld'
|
| 85 |
+
|
| 86 |
+
String: "#e6db74", # class: 's'
|
| 87 |
+
String.Backtick: "", # class: 'sb'
|
| 88 |
+
String.Char: "", # class: 'sc'
|
| 89 |
+
String.Doc: "", # class: 'sd' - like a comment
|
| 90 |
+
String.Double: "", # class: 's2'
|
| 91 |
+
String.Escape: "#ae81ff", # class: 'se'
|
| 92 |
+
String.Heredoc: "", # class: 'sh'
|
| 93 |
+
String.Interpol: "", # class: 'si'
|
| 94 |
+
String.Other: "", # class: 'sx'
|
| 95 |
+
String.Regex: "", # class: 'sr'
|
| 96 |
+
String.Single: "", # class: 's1'
|
| 97 |
+
String.Symbol: "", # class: 'ss'
|
| 98 |
+
|
| 99 |
+
|
| 100 |
+
Generic: "", # class: 'g'
|
| 101 |
+
Generic.Deleted: "#ff4689", # class: 'gd',
|
| 102 |
+
Generic.Emph: "italic", # class: 'ge'
|
| 103 |
+
Generic.Error: "", # class: 'gr'
|
| 104 |
+
Generic.Heading: "", # class: 'gh'
|
| 105 |
+
Generic.Inserted: "#a6e22e", # class: 'gi'
|
| 106 |
+
Generic.Output: "#66d9ef", # class: 'go'
|
| 107 |
+
Generic.Prompt: "bold #ff4689", # class: 'gp'
|
| 108 |
+
Generic.Strong: "bold", # class: 'gs'
|
| 109 |
+
Generic.EmphStrong: "bold italic", # class: 'ges'
|
| 110 |
+
Generic.Subheading: "#959077", # class: 'gu'
|
| 111 |
+
Generic.Traceback: "", # class: 'gt'
|
| 112 |
+
}
|
lib/python3.12/site-packages/pygments/styles/native.py
ADDED
|
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
pygments.styles.native
|
| 3 |
+
~~~~~~~~~~~~~~~~~~~~~~
|
| 4 |
+
|
| 5 |
+
pygments version of my "native" vim theme.
|
| 6 |
+
|
| 7 |
+
:copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS.
|
| 8 |
+
:license: BSD, see LICENSE for details.
|
| 9 |
+
"""
|
| 10 |
+
|
| 11 |
+
from pygments.style import Style
|
| 12 |
+
from pygments.token import Keyword, Name, Comment, String, Error, \
|
| 13 |
+
Number, Operator, Generic, Token, Whitespace
|
| 14 |
+
|
| 15 |
+
|
| 16 |
+
__all__ = ['NativeStyle']
|
| 17 |
+
|
| 18 |
+
|
| 19 |
+
class NativeStyle(Style):
|
| 20 |
+
"""
|
| 21 |
+
Pygments version of the "native" vim theme.
|
| 22 |
+
"""
|
| 23 |
+
name = 'native'
|
| 24 |
+
|
| 25 |
+
background_color = '#202020'
|
| 26 |
+
highlight_color = '#404040'
|
| 27 |
+
line_number_color = '#aaaaaa'
|
| 28 |
+
|
| 29 |
+
styles = {
|
| 30 |
+
Token: '#d0d0d0',
|
| 31 |
+
Whitespace: '#666666',
|
| 32 |
+
|
| 33 |
+
Comment: 'italic #ababab',
|
| 34 |
+
Comment.Preproc: 'noitalic bold #ff3a3a',
|
| 35 |
+
Comment.Special: 'noitalic bold #e50808 bg:#520000',
|
| 36 |
+
|
| 37 |
+
Keyword: 'bold #6ebf26',
|
| 38 |
+
Keyword.Pseudo: 'nobold',
|
| 39 |
+
Operator.Word: 'bold #6ebf26',
|
| 40 |
+
|
| 41 |
+
String: '#ed9d13',
|
| 42 |
+
String.Other: '#ffa500',
|
| 43 |
+
|
| 44 |
+
Number: '#51b2fd',
|
| 45 |
+
|
| 46 |
+
Name.Builtin: '#2fbccd',
|
| 47 |
+
Name.Variable: '#40ffff',
|
| 48 |
+
Name.Constant: '#40ffff',
|
| 49 |
+
Name.Class: 'underline #71adff',
|
| 50 |
+
Name.Function: '#71adff',
|
| 51 |
+
Name.Namespace: 'underline #71adff',
|
| 52 |
+
Name.Exception: '#bbbbbb',
|
| 53 |
+
Name.Tag: 'bold #6ebf26',
|
| 54 |
+
Name.Attribute: '#bbbbbb',
|
| 55 |
+
Name.Decorator: '#ffa500',
|
| 56 |
+
|
| 57 |
+
Generic.Heading: 'bold #ffffff',
|
| 58 |
+
Generic.Subheading: 'underline #ffffff',
|
| 59 |
+
Generic.Deleted: '#ff3a3a',
|
| 60 |
+
Generic.Inserted: '#589819',
|
| 61 |
+
Generic.Error: '#ff3a3a',
|
| 62 |
+
Generic.Emph: 'italic',
|
| 63 |
+
Generic.Strong: 'bold',
|
| 64 |
+
Generic.EmphStrong: 'bold italic',
|
| 65 |
+
Generic.Prompt: '#aaaaaa',
|
| 66 |
+
Generic.Output: '#cccccc',
|
| 67 |
+
Generic.Traceback: '#ff3a3a',
|
| 68 |
+
|
| 69 |
+
Error: 'bg:#e3d2d2 #a61717'
|
| 70 |
+
}
|
lib/python3.12/site-packages/pygments/styles/nord.py
ADDED
|
@@ -0,0 +1,156 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
pygments.styles.nord
|
| 3 |
+
~~~~~~~~~~~~~~~~~~~~
|
| 4 |
+
|
| 5 |
+
pygments version of the "nord" theme by Arctic Ice Studio
|
| 6 |
+
https://www.nordtheme.com/
|
| 7 |
+
|
| 8 |
+
:copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS.
|
| 9 |
+
:license: BSD, see LICENSE for details.
|
| 10 |
+
"""
|
| 11 |
+
|
| 12 |
+
from pygments.style import Style
|
| 13 |
+
from pygments.token import Keyword, Name, Comment, String, Error, Number, \
|
| 14 |
+
Operator, Generic, Whitespace, Punctuation, Text, Token
|
| 15 |
+
|
| 16 |
+
|
| 17 |
+
__all__ = ['NordStyle', 'NordDarkerStyle']
|
| 18 |
+
|
| 19 |
+
|
| 20 |
+
class NordStyle(Style):
|
| 21 |
+
"""
|
| 22 |
+
Pygments version of the "nord" theme by Arctic Ice Studio.
|
| 23 |
+
"""
|
| 24 |
+
name = 'nord'
|
| 25 |
+
|
| 26 |
+
line_number_color = "#D8DEE9"
|
| 27 |
+
line_number_background_color = "#242933"
|
| 28 |
+
line_number_special_color = "#242933"
|
| 29 |
+
line_number_special_background_color = "#D8DEE9"
|
| 30 |
+
|
| 31 |
+
background_color = "#2E3440"
|
| 32 |
+
highlight_color = "#3B4252"
|
| 33 |
+
|
| 34 |
+
styles = {
|
| 35 |
+
Token: "#d8dee9",
|
| 36 |
+
|
| 37 |
+
Whitespace: '#d8dee9',
|
| 38 |
+
Punctuation: '#eceff4',
|
| 39 |
+
|
| 40 |
+
Comment: 'italic #616e87',
|
| 41 |
+
Comment.Preproc: '#5e81ac',
|
| 42 |
+
|
| 43 |
+
Keyword: 'bold #81a1c1',
|
| 44 |
+
Keyword.Pseudo: 'nobold #81a1c1',
|
| 45 |
+
Keyword.Type: 'nobold #81a1c1',
|
| 46 |
+
|
| 47 |
+
Operator: 'bold #81a1c1',
|
| 48 |
+
Operator.Word: 'bold #81a1c1',
|
| 49 |
+
|
| 50 |
+
Name: '#d8dee9',
|
| 51 |
+
Name.Builtin: '#81a1c1',
|
| 52 |
+
Name.Function: '#88c0d0',
|
| 53 |
+
Name.Class: '#8fbcbb',
|
| 54 |
+
Name.Namespace: '#8fbcbb',
|
| 55 |
+
Name.Exception: '#bf616a',
|
| 56 |
+
Name.Variable: '#d8dee9',
|
| 57 |
+
Name.Constant: '#8fbcbb',
|
| 58 |
+
Name.Entity: '#d08770',
|
| 59 |
+
Name.Attribute: '#8fbcbb',
|
| 60 |
+
Name.Tag: '#81a1c1',
|
| 61 |
+
Name.Decorator: '#d08770',
|
| 62 |
+
|
| 63 |
+
String: '#a3be8c',
|
| 64 |
+
String.Doc: '#616e87',
|
| 65 |
+
String.Interpol: '#a3be8c',
|
| 66 |
+
String.Escape: '#ebcb8b',
|
| 67 |
+
String.Regex: '#ebcb8b',
|
| 68 |
+
String.Symbol: '#a3be8c',
|
| 69 |
+
String.Other: '#a3be8c',
|
| 70 |
+
|
| 71 |
+
Number: '#b48ead',
|
| 72 |
+
|
| 73 |
+
Generic.Heading: 'bold #88c0d0',
|
| 74 |
+
Generic.Subheading: 'bold #88c0d0',
|
| 75 |
+
Generic.Deleted: '#bf616a',
|
| 76 |
+
Generic.Inserted: '#a3be8c',
|
| 77 |
+
Generic.Error: '#bf616a',
|
| 78 |
+
Generic.Emph: 'italic',
|
| 79 |
+
Generic.Strong: 'bold',
|
| 80 |
+
Generic.EmphStrong: 'bold italic',
|
| 81 |
+
Generic.Prompt: 'bold #616e88',
|
| 82 |
+
Generic.Output: '#d8dee9',
|
| 83 |
+
Generic.Traceback: '#bf616a',
|
| 84 |
+
|
| 85 |
+
Error: '#bf616a',
|
| 86 |
+
Text: '#d8dee9',
|
| 87 |
+
}
|
| 88 |
+
|
| 89 |
+
|
| 90 |
+
class NordDarkerStyle(Style):
|
| 91 |
+
"""
|
| 92 |
+
Pygments version of a darker "nord" theme by Arctic Ice Studio
|
| 93 |
+
"""
|
| 94 |
+
name = 'nord-darker'
|
| 95 |
+
|
| 96 |
+
line_number_color = "#D8DEE9"
|
| 97 |
+
line_number_background_color = "#242933"
|
| 98 |
+
line_number_special_color = "#242933"
|
| 99 |
+
line_number_special_background_color = "#D8DEE9"
|
| 100 |
+
|
| 101 |
+
background_color = "#242933"
|
| 102 |
+
highlight_color = "#3B4252"
|
| 103 |
+
|
| 104 |
+
styles = {
|
| 105 |
+
Token: "#d8dee9",
|
| 106 |
+
|
| 107 |
+
Whitespace: '#d8dee9',
|
| 108 |
+
Punctuation: '#eceff4',
|
| 109 |
+
|
| 110 |
+
Comment: 'italic #616e87',
|
| 111 |
+
Comment.Preproc: '#5e81ac',
|
| 112 |
+
|
| 113 |
+
Keyword: 'bold #81a1c1',
|
| 114 |
+
Keyword.Pseudo: 'nobold #81a1c1',
|
| 115 |
+
Keyword.Type: 'nobold #81a1c1',
|
| 116 |
+
|
| 117 |
+
Operator: 'bold #81a1c1',
|
| 118 |
+
Operator.Word: 'bold #81a1c1',
|
| 119 |
+
|
| 120 |
+
Name: '#d8dee9',
|
| 121 |
+
Name.Builtin: '#81a1c1',
|
| 122 |
+
Name.Function: '#88c0d0',
|
| 123 |
+
Name.Class: '#8fbcbb',
|
| 124 |
+
Name.Namespace: '#8fbcbb',
|
| 125 |
+
Name.Exception: '#bf616a',
|
| 126 |
+
Name.Variable: '#d8dee9',
|
| 127 |
+
Name.Constant: '#8fbcbb',
|
| 128 |
+
Name.Entity: '#d08770',
|
| 129 |
+
Name.Attribute: '#8fbcbb',
|
| 130 |
+
Name.Tag: '#81a1c1',
|
| 131 |
+
Name.Decorator: '#d08770',
|
| 132 |
+
|
| 133 |
+
String: '#a3be8c',
|
| 134 |
+
String.Doc: '#616e87',
|
| 135 |
+
String.Interpol: '#a3be8c',
|
| 136 |
+
String.Escape: '#ebcb8b',
|
| 137 |
+
String.Regex: '#ebcb8b',
|
| 138 |
+
String.Symbol: '#a3be8c',
|
| 139 |
+
String.Other: '#a3be8c',
|
| 140 |
+
|
| 141 |
+
Number: '#b48ead',
|
| 142 |
+
|
| 143 |
+
Generic.Heading: 'bold #88c0d0',
|
| 144 |
+
Generic.Subheading: 'bold #88c0d0',
|
| 145 |
+
Generic.Deleted: '#bf616a',
|
| 146 |
+
Generic.Inserted: '#a3be8c',
|
| 147 |
+
Generic.Error: '#bf616a',
|
| 148 |
+
Generic.Emph: 'italic',
|
| 149 |
+
Generic.Strong: 'bold',
|
| 150 |
+
Generic.Prompt: 'bold #616e88',
|
| 151 |
+
Generic.Output: '#d8dee9',
|
| 152 |
+
Generic.Traceback: '#bf616a',
|
| 153 |
+
|
| 154 |
+
Error: '#bf616a',
|
| 155 |
+
Text: '#d8dee9',
|
| 156 |
+
}
|
lib/python3.12/site-packages/pygments/styles/onedark.py
ADDED
|
@@ -0,0 +1,63 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
pygments.styles.onedark
|
| 3 |
+
~~~~~~~~~~~~~~~~~~~~~~~
|
| 4 |
+
|
| 5 |
+
One Dark Theme for Pygments by Tobias Zoghaib (https://github.com/TobiZog)
|
| 6 |
+
|
| 7 |
+
Inspired by one-dark-ui for the code editor Atom
|
| 8 |
+
(https://atom.io/themes/one-dark-ui).
|
| 9 |
+
|
| 10 |
+
:copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS.
|
| 11 |
+
:license: BSD, see LICENSE for details.
|
| 12 |
+
"""
|
| 13 |
+
|
| 14 |
+
from pygments.style import Style
|
| 15 |
+
from pygments.token import Comment, Keyword, Name, Number, Operator, \
|
| 16 |
+
Punctuation, String, Token
|
| 17 |
+
|
| 18 |
+
|
| 19 |
+
__all__ = ['OneDarkStyle']
|
| 20 |
+
|
| 21 |
+
|
| 22 |
+
class OneDarkStyle(Style):
|
| 23 |
+
"""
|
| 24 |
+
Theme inspired by One Dark Pro for Atom.
|
| 25 |
+
|
| 26 |
+
.. versionadded:: 2.11
|
| 27 |
+
"""
|
| 28 |
+
name = 'one-dark'
|
| 29 |
+
|
| 30 |
+
background_color = '#282C34'
|
| 31 |
+
|
| 32 |
+
styles = {
|
| 33 |
+
Token: '#ABB2BF',
|
| 34 |
+
|
| 35 |
+
Punctuation: '#ABB2BF',
|
| 36 |
+
Punctuation.Marker: '#ABB2BF',
|
| 37 |
+
|
| 38 |
+
Keyword: '#C678DD',
|
| 39 |
+
Keyword.Constant: '#E5C07B',
|
| 40 |
+
Keyword.Declaration: '#C678DD',
|
| 41 |
+
Keyword.Namespace: '#C678DD',
|
| 42 |
+
Keyword.Reserved: '#C678DD',
|
| 43 |
+
Keyword.Type: '#E5C07B',
|
| 44 |
+
|
| 45 |
+
Name: '#E06C75',
|
| 46 |
+
Name.Attribute: '#E06C75',
|
| 47 |
+
Name.Builtin: '#E5C07B',
|
| 48 |
+
Name.Class: '#E5C07B',
|
| 49 |
+
Name.Function: 'bold #61AFEF',
|
| 50 |
+
Name.Function.Magic: 'bold #56B6C2',
|
| 51 |
+
Name.Other: '#E06C75',
|
| 52 |
+
Name.Tag: '#E06C75',
|
| 53 |
+
Name.Decorator: '#61AFEF',
|
| 54 |
+
Name.Variable.Class: '',
|
| 55 |
+
|
| 56 |
+
String: '#98C379',
|
| 57 |
+
|
| 58 |
+
Number: '#D19A66',
|
| 59 |
+
|
| 60 |
+
Operator: '#56B6C2',
|
| 61 |
+
|
| 62 |
+
Comment: '#7F848E'
|
| 63 |
+
}
|
lib/python3.12/site-packages/pygments/styles/paraiso_dark.py
ADDED
|
@@ -0,0 +1,124 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
pygments.styles.paraiso_dark
|
| 3 |
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
| 4 |
+
|
| 5 |
+
Paraíso (Dark) by Jan T. Sott
|
| 6 |
+
|
| 7 |
+
Pygments template by Jan T. Sott (https://github.com/idleberg)
|
| 8 |
+
Created with Base16 Builder by Chris Kempson
|
| 9 |
+
(https://github.com/chriskempson/base16-builder).
|
| 10 |
+
|
| 11 |
+
:copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS.
|
| 12 |
+
:license: BSD, see LICENSE for details.
|
| 13 |
+
"""
|
| 14 |
+
|
| 15 |
+
from pygments.style import Style
|
| 16 |
+
from pygments.token import Keyword, Name, Comment, String, Error, Text, \
|
| 17 |
+
Number, Operator, Generic, Whitespace, Punctuation, Other, Literal
|
| 18 |
+
|
| 19 |
+
|
| 20 |
+
__all__ = ['ParaisoDarkStyle']
|
| 21 |
+
|
| 22 |
+
|
| 23 |
+
BACKGROUND = "#2f1e2e"
|
| 24 |
+
CURRENT_LINE = "#41323f"
|
| 25 |
+
SELECTION = "#4f424c"
|
| 26 |
+
FOREGROUND = "#e7e9db"
|
| 27 |
+
COMMENT = "#776e71"
|
| 28 |
+
RED = "#ef6155"
|
| 29 |
+
ORANGE = "#f99b15"
|
| 30 |
+
YELLOW = "#fec418"
|
| 31 |
+
GREEN = "#48b685"
|
| 32 |
+
AQUA = "#5bc4bf"
|
| 33 |
+
BLUE = "#06b6ef"
|
| 34 |
+
PURPLE = "#815ba4"
|
| 35 |
+
|
| 36 |
+
|
| 37 |
+
class ParaisoDarkStyle(Style):
|
| 38 |
+
name = 'paraiso-dark'
|
| 39 |
+
|
| 40 |
+
background_color = BACKGROUND
|
| 41 |
+
highlight_color = SELECTION
|
| 42 |
+
|
| 43 |
+
styles = {
|
| 44 |
+
# No corresponding class for the following:
|
| 45 |
+
Text: FOREGROUND, # class: ''
|
| 46 |
+
Whitespace: "", # class: 'w'
|
| 47 |
+
Error: RED, # class: 'err'
|
| 48 |
+
Other: "", # class 'x'
|
| 49 |
+
|
| 50 |
+
Comment: COMMENT, # class: 'c'
|
| 51 |
+
Comment.Multiline: "", # class: 'cm'
|
| 52 |
+
Comment.Preproc: "", # class: 'cp'
|
| 53 |
+
Comment.Single: "", # class: 'c1'
|
| 54 |
+
Comment.Special: "", # class: 'cs'
|
| 55 |
+
|
| 56 |
+
Keyword: PURPLE, # class: 'k'
|
| 57 |
+
Keyword.Constant: "", # class: 'kc'
|
| 58 |
+
Keyword.Declaration: "", # class: 'kd'
|
| 59 |
+
Keyword.Namespace: AQUA, # class: 'kn'
|
| 60 |
+
Keyword.Pseudo: "", # class: 'kp'
|
| 61 |
+
Keyword.Reserved: "", # class: 'kr'
|
| 62 |
+
Keyword.Type: YELLOW, # class: 'kt'
|
| 63 |
+
|
| 64 |
+
Operator: AQUA, # class: 'o'
|
| 65 |
+
Operator.Word: "", # class: 'ow' - like keywords
|
| 66 |
+
|
| 67 |
+
Punctuation: FOREGROUND, # class: 'p'
|
| 68 |
+
|
| 69 |
+
Name: FOREGROUND, # class: 'n'
|
| 70 |
+
Name.Attribute: BLUE, # class: 'na' - to be revised
|
| 71 |
+
Name.Builtin: "", # class: 'nb'
|
| 72 |
+
Name.Builtin.Pseudo: "", # class: 'bp'
|
| 73 |
+
Name.Class: YELLOW, # class: 'nc' - to be revised
|
| 74 |
+
Name.Constant: RED, # class: 'no' - to be revised
|
| 75 |
+
Name.Decorator: AQUA, # class: 'nd' - to be revised
|
| 76 |
+
Name.Entity: "", # class: 'ni'
|
| 77 |
+
Name.Exception: RED, # class: 'ne'
|
| 78 |
+
Name.Function: BLUE, # class: 'nf'
|
| 79 |
+
Name.Property: "", # class: 'py'
|
| 80 |
+
Name.Label: "", # class: 'nl'
|
| 81 |
+
Name.Namespace: YELLOW, # class: 'nn' - to be revised
|
| 82 |
+
Name.Other: BLUE, # class: 'nx'
|
| 83 |
+
Name.Tag: AQUA, # class: 'nt' - like a keyword
|
| 84 |
+
Name.Variable: RED, # class: 'nv' - to be revised
|
| 85 |
+
Name.Variable.Class: "", # class: 'vc' - to be revised
|
| 86 |
+
Name.Variable.Global: "", # class: 'vg' - to be revised
|
| 87 |
+
Name.Variable.Instance: "", # class: 'vi' - to be revised
|
| 88 |
+
|
| 89 |
+
Number: ORANGE, # class: 'm'
|
| 90 |
+
Number.Float: "", # class: 'mf'
|
| 91 |
+
Number.Hex: "", # class: 'mh'
|
| 92 |
+
Number.Integer: "", # class: 'mi'
|
| 93 |
+
Number.Integer.Long: "", # class: 'il'
|
| 94 |
+
Number.Oct: "", # class: 'mo'
|
| 95 |
+
|
| 96 |
+
Literal: ORANGE, # class: 'l'
|
| 97 |
+
Literal.Date: GREEN, # class: 'ld'
|
| 98 |
+
|
| 99 |
+
String: GREEN, # class: 's'
|
| 100 |
+
String.Backtick: "", # class: 'sb'
|
| 101 |
+
String.Char: FOREGROUND, # class: 'sc'
|
| 102 |
+
String.Doc: COMMENT, # class: 'sd' - like a comment
|
| 103 |
+
String.Double: "", # class: 's2'
|
| 104 |
+
String.Escape: ORANGE, # class: 'se'
|
| 105 |
+
String.Heredoc: "", # class: 'sh'
|
| 106 |
+
String.Interpol: ORANGE, # class: 'si'
|
| 107 |
+
String.Other: "", # class: 'sx'
|
| 108 |
+
String.Regex: "", # class: 'sr'
|
| 109 |
+
String.Single: "", # class: 's1'
|
| 110 |
+
String.Symbol: "", # class: 'ss'
|
| 111 |
+
|
| 112 |
+
Generic: "", # class: 'g'
|
| 113 |
+
Generic.Deleted: RED, # class: 'gd',
|
| 114 |
+
Generic.Emph: "italic", # class: 'ge'
|
| 115 |
+
Generic.Error: "", # class: 'gr'
|
| 116 |
+
Generic.Heading: "bold " + FOREGROUND, # class: 'gh'
|
| 117 |
+
Generic.Inserted: GREEN, # class: 'gi'
|
| 118 |
+
Generic.Output: "", # class: 'go'
|
| 119 |
+
Generic.Prompt: "bold " + COMMENT, # class: 'gp'
|
| 120 |
+
Generic.Strong: "bold", # class: 'gs'
|
| 121 |
+
Generic.EmphStrong: "bold italic", # class: 'ges'
|
| 122 |
+
Generic.Subheading: "bold " + AQUA, # class: 'gu'
|
| 123 |
+
Generic.Traceback: "", # class: 'gt'
|
| 124 |
+
}
|
lib/python3.12/site-packages/pygments/styles/paraiso_light.py
ADDED
|
@@ -0,0 +1,124 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
pygments.styles.paraiso_light
|
| 3 |
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
| 4 |
+
|
| 5 |
+
Paraíso (Light) by Jan T. Sott
|
| 6 |
+
|
| 7 |
+
Pygments template by Jan T. Sott (https://github.com/idleberg)
|
| 8 |
+
Created with Base16 Builder by Chris Kempson
|
| 9 |
+
(https://github.com/chriskempson/base16-builder).
|
| 10 |
+
|
| 11 |
+
:copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS.
|
| 12 |
+
:license: BSD, see LICENSE for details.
|
| 13 |
+
"""
|
| 14 |
+
|
| 15 |
+
from pygments.style import Style
|
| 16 |
+
from pygments.token import Keyword, Name, Comment, String, Error, Text, \
|
| 17 |
+
Number, Operator, Generic, Whitespace, Punctuation, Other, Literal
|
| 18 |
+
|
| 19 |
+
|
| 20 |
+
__all__ = ['ParaisoLightStyle']
|
| 21 |
+
|
| 22 |
+
|
| 23 |
+
BACKGROUND = "#e7e9db"
|
| 24 |
+
CURRENT_LINE = "#b9b6b0"
|
| 25 |
+
SELECTION = "#a39e9b"
|
| 26 |
+
FOREGROUND = "#2f1e2e"
|
| 27 |
+
COMMENT = "#8d8687"
|
| 28 |
+
RED = "#ef6155"
|
| 29 |
+
ORANGE = "#f99b15"
|
| 30 |
+
YELLOW = "#fec418"
|
| 31 |
+
GREEN = "#48b685"
|
| 32 |
+
AQUA = "#5bc4bf"
|
| 33 |
+
BLUE = "#06b6ef"
|
| 34 |
+
PURPLE = "#815ba4"
|
| 35 |
+
|
| 36 |
+
|
| 37 |
+
class ParaisoLightStyle(Style):
|
| 38 |
+
name = 'paraiso-light'
|
| 39 |
+
|
| 40 |
+
background_color = BACKGROUND
|
| 41 |
+
highlight_color = SELECTION
|
| 42 |
+
|
| 43 |
+
styles = {
|
| 44 |
+
# No corresponding class for the following:
|
| 45 |
+
Text: FOREGROUND, # class: ''
|
| 46 |
+
Whitespace: "", # class: 'w'
|
| 47 |
+
Error: RED, # class: 'err'
|
| 48 |
+
Other: "", # class 'x'
|
| 49 |
+
|
| 50 |
+
Comment: COMMENT, # class: 'c'
|
| 51 |
+
Comment.Multiline: "", # class: 'cm'
|
| 52 |
+
Comment.Preproc: "", # class: 'cp'
|
| 53 |
+
Comment.Single: "", # class: 'c1'
|
| 54 |
+
Comment.Special: "", # class: 'cs'
|
| 55 |
+
|
| 56 |
+
Keyword: PURPLE, # class: 'k'
|
| 57 |
+
Keyword.Constant: "", # class: 'kc'
|
| 58 |
+
Keyword.Declaration: "", # class: 'kd'
|
| 59 |
+
Keyword.Namespace: AQUA, # class: 'kn'
|
| 60 |
+
Keyword.Pseudo: "", # class: 'kp'
|
| 61 |
+
Keyword.Reserved: "", # class: 'kr'
|
| 62 |
+
Keyword.Type: YELLOW, # class: 'kt'
|
| 63 |
+
|
| 64 |
+
Operator: AQUA, # class: 'o'
|
| 65 |
+
Operator.Word: "", # class: 'ow' - like keywords
|
| 66 |
+
|
| 67 |
+
Punctuation: FOREGROUND, # class: 'p'
|
| 68 |
+
|
| 69 |
+
Name: FOREGROUND, # class: 'n'
|
| 70 |
+
Name.Attribute: BLUE, # class: 'na' - to be revised
|
| 71 |
+
Name.Builtin: "", # class: 'nb'
|
| 72 |
+
Name.Builtin.Pseudo: "", # class: 'bp'
|
| 73 |
+
Name.Class: YELLOW, # class: 'nc' - to be revised
|
| 74 |
+
Name.Constant: RED, # class: 'no' - to be revised
|
| 75 |
+
Name.Decorator: AQUA, # class: 'nd' - to be revised
|
| 76 |
+
Name.Entity: "", # class: 'ni'
|
| 77 |
+
Name.Exception: RED, # class: 'ne'
|
| 78 |
+
Name.Function: BLUE, # class: 'nf'
|
| 79 |
+
Name.Property: "", # class: 'py'
|
| 80 |
+
Name.Label: "", # class: 'nl'
|
| 81 |
+
Name.Namespace: YELLOW, # class: 'nn' - to be revised
|
| 82 |
+
Name.Other: BLUE, # class: 'nx'
|
| 83 |
+
Name.Tag: AQUA, # class: 'nt' - like a keyword
|
| 84 |
+
Name.Variable: RED, # class: 'nv' - to be revised
|
| 85 |
+
Name.Variable.Class: "", # class: 'vc' - to be revised
|
| 86 |
+
Name.Variable.Global: "", # class: 'vg' - to be revised
|
| 87 |
+
Name.Variable.Instance: "", # class: 'vi' - to be revised
|
| 88 |
+
|
| 89 |
+
Number: ORANGE, # class: 'm'
|
| 90 |
+
Number.Float: "", # class: 'mf'
|
| 91 |
+
Number.Hex: "", # class: 'mh'
|
| 92 |
+
Number.Integer: "", # class: 'mi'
|
| 93 |
+
Number.Integer.Long: "", # class: 'il'
|
| 94 |
+
Number.Oct: "", # class: 'mo'
|
| 95 |
+
|
| 96 |
+
Literal: ORANGE, # class: 'l'
|
| 97 |
+
Literal.Date: GREEN, # class: 'ld'
|
| 98 |
+
|
| 99 |
+
String: GREEN, # class: 's'
|
| 100 |
+
String.Backtick: "", # class: 'sb'
|
| 101 |
+
String.Char: FOREGROUND, # class: 'sc'
|
| 102 |
+
String.Doc: COMMENT, # class: 'sd' - like a comment
|
| 103 |
+
String.Double: "", # class: 's2'
|
| 104 |
+
String.Escape: ORANGE, # class: 'se'
|
| 105 |
+
String.Heredoc: "", # class: 'sh'
|
| 106 |
+
String.Interpol: ORANGE, # class: 'si'
|
| 107 |
+
String.Other: "", # class: 'sx'
|
| 108 |
+
String.Regex: "", # class: 'sr'
|
| 109 |
+
String.Single: "", # class: 's1'
|
| 110 |
+
String.Symbol: "", # class: 'ss'
|
| 111 |
+
|
| 112 |
+
Generic: "", # class: 'g'
|
| 113 |
+
Generic.Deleted: RED, # class: 'gd',
|
| 114 |
+
Generic.Emph: "italic", # class: 'ge'
|
| 115 |
+
Generic.Error: "", # class: 'gr'
|
| 116 |
+
Generic.Heading: "bold " + FOREGROUND, # class: 'gh'
|
| 117 |
+
Generic.Inserted: GREEN, # class: 'gi'
|
| 118 |
+
Generic.Output: "", # class: 'go'
|
| 119 |
+
Generic.Prompt: "bold " + COMMENT, # class: 'gp'
|
| 120 |
+
Generic.Strong: "bold", # class: 'gs'
|
| 121 |
+
Generic.EmphStrong: "bold italic", # class: 'ges'
|
| 122 |
+
Generic.Subheading: "bold " + AQUA, # class: 'gu'
|
| 123 |
+
Generic.Traceback: "", # class: 'gt'
|
| 124 |
+
}
|
lib/python3.12/site-packages/pygments/styles/pastie.py
ADDED
|
@@ -0,0 +1,78 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
pygments.styles.pastie
|
| 3 |
+
~~~~~~~~~~~~~~~~~~~~~~
|
| 4 |
+
|
| 5 |
+
Style similar to the `pastie`_ default style.
|
| 6 |
+
|
| 7 |
+
.. _pastie: http://pastie.caboo.se/
|
| 8 |
+
|
| 9 |
+
:copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS.
|
| 10 |
+
:license: BSD, see LICENSE for details.
|
| 11 |
+
"""
|
| 12 |
+
|
| 13 |
+
from pygments.style import Style
|
| 14 |
+
from pygments.token import Keyword, Name, Comment, String, Error, \
|
| 15 |
+
Number, Operator, Generic, Whitespace
|
| 16 |
+
|
| 17 |
+
|
| 18 |
+
__all__ = ['PastieStyle']
|
| 19 |
+
|
| 20 |
+
|
| 21 |
+
class PastieStyle(Style):
|
| 22 |
+
"""
|
| 23 |
+
Style similar to the pastie default style.
|
| 24 |
+
"""
|
| 25 |
+
|
| 26 |
+
name = 'pastie'
|
| 27 |
+
|
| 28 |
+
styles = {
|
| 29 |
+
Whitespace: '#bbbbbb',
|
| 30 |
+
Comment: '#888888',
|
| 31 |
+
Comment.Preproc: 'bold #cc0000',
|
| 32 |
+
Comment.Special: 'bg:#fff0f0 bold #cc0000',
|
| 33 |
+
|
| 34 |
+
String: 'bg:#fff0f0 #dd2200',
|
| 35 |
+
String.Regex: 'bg:#fff0ff #008800',
|
| 36 |
+
String.Other: 'bg:#f0fff0 #22bb22',
|
| 37 |
+
String.Symbol: '#aa6600',
|
| 38 |
+
String.Interpol: '#3333bb',
|
| 39 |
+
String.Escape: '#0044dd',
|
| 40 |
+
|
| 41 |
+
Operator.Word: '#008800',
|
| 42 |
+
|
| 43 |
+
Keyword: 'bold #008800',
|
| 44 |
+
Keyword.Pseudo: 'nobold',
|
| 45 |
+
Keyword.Type: '#888888',
|
| 46 |
+
|
| 47 |
+
Name.Class: 'bold #bb0066',
|
| 48 |
+
Name.Exception: 'bold #bb0066',
|
| 49 |
+
Name.Function: 'bold #0066bb',
|
| 50 |
+
Name.Property: 'bold #336699',
|
| 51 |
+
Name.Namespace: 'bold #bb0066',
|
| 52 |
+
Name.Builtin: '#003388',
|
| 53 |
+
Name.Variable: '#336699',
|
| 54 |
+
Name.Variable.Class: '#336699',
|
| 55 |
+
Name.Variable.Instance: '#3333bb',
|
| 56 |
+
Name.Variable.Global: '#dd7700',
|
| 57 |
+
Name.Constant: 'bold #003366',
|
| 58 |
+
Name.Tag: 'bold #bb0066',
|
| 59 |
+
Name.Attribute: '#336699',
|
| 60 |
+
Name.Decorator: '#555555',
|
| 61 |
+
Name.Label: 'italic #336699',
|
| 62 |
+
|
| 63 |
+
Number: 'bold #0000DD',
|
| 64 |
+
|
| 65 |
+
Generic.Heading: '#333',
|
| 66 |
+
Generic.Subheading: '#666',
|
| 67 |
+
Generic.Deleted: 'bg:#ffdddd #000000',
|
| 68 |
+
Generic.Inserted: 'bg:#ddffdd #000000',
|
| 69 |
+
Generic.Error: '#aa0000',
|
| 70 |
+
Generic.Emph: 'italic',
|
| 71 |
+
Generic.Strong: 'bold',
|
| 72 |
+
Generic.EmphStrong: 'bold italic',
|
| 73 |
+
Generic.Prompt: '#555555',
|
| 74 |
+
Generic.Output: '#888888',
|
| 75 |
+
Generic.Traceback: '#aa0000',
|
| 76 |
+
|
| 77 |
+
Error: 'bg:#e3d2d2 #a61717'
|
| 78 |
+
}
|
lib/python3.12/site-packages/pygments/styles/perldoc.py
ADDED
|
@@ -0,0 +1,73 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
pygments.styles.perldoc
|
| 3 |
+
~~~~~~~~~~~~~~~~~~~~~~~
|
| 4 |
+
|
| 5 |
+
Style similar to the style used in the `perldoc`_ code blocks.
|
| 6 |
+
|
| 7 |
+
.. _perldoc: http://perldoc.perl.org/
|
| 8 |
+
|
| 9 |
+
:copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS.
|
| 10 |
+
:license: BSD, see LICENSE for details.
|
| 11 |
+
"""
|
| 12 |
+
|
| 13 |
+
from pygments.style import Style
|
| 14 |
+
from pygments.token import Keyword, Name, Comment, String, Error, \
|
| 15 |
+
Number, Operator, Generic, Whitespace
|
| 16 |
+
|
| 17 |
+
|
| 18 |
+
__all__ = ['PerldocStyle']
|
| 19 |
+
|
| 20 |
+
|
| 21 |
+
class PerldocStyle(Style):
|
| 22 |
+
"""
|
| 23 |
+
Style similar to the style used in the perldoc code blocks.
|
| 24 |
+
"""
|
| 25 |
+
|
| 26 |
+
name = 'perldoc'
|
| 27 |
+
|
| 28 |
+
background_color = '#eeeedd'
|
| 29 |
+
|
| 30 |
+
styles = {
|
| 31 |
+
Whitespace: '#bbbbbb',
|
| 32 |
+
Comment: '#228B22',
|
| 33 |
+
Comment.Preproc: '#1e889b',
|
| 34 |
+
Comment.Special: '#8B008B bold',
|
| 35 |
+
|
| 36 |
+
String: '#CD5555',
|
| 37 |
+
String.Heredoc: '#1c7e71 italic',
|
| 38 |
+
String.Regex: '#B452CD',
|
| 39 |
+
String.Other: '#cb6c20',
|
| 40 |
+
String.Regex: '#1c7e71',
|
| 41 |
+
|
| 42 |
+
Number: '#B452CD',
|
| 43 |
+
|
| 44 |
+
Operator.Word: '#8B008B',
|
| 45 |
+
|
| 46 |
+
Keyword: '#8B008B bold',
|
| 47 |
+
Keyword.Type: '#00688B',
|
| 48 |
+
|
| 49 |
+
Name.Class: '#008b45 bold',
|
| 50 |
+
Name.Exception: '#008b45 bold',
|
| 51 |
+
Name.Function: '#008b45',
|
| 52 |
+
Name.Namespace: '#008b45 underline',
|
| 53 |
+
Name.Variable: '#00688B',
|
| 54 |
+
Name.Constant: '#00688B',
|
| 55 |
+
Name.Decorator: '#707a7c',
|
| 56 |
+
Name.Tag: '#8B008B bold',
|
| 57 |
+
Name.Attribute: '#658b00',
|
| 58 |
+
Name.Builtin: '#658b00',
|
| 59 |
+
|
| 60 |
+
Generic.Heading: 'bold #000080',
|
| 61 |
+
Generic.Subheading: 'bold #800080',
|
| 62 |
+
Generic.Deleted: '#aa0000',
|
| 63 |
+
Generic.Inserted: '#00aa00',
|
| 64 |
+
Generic.Error: '#aa0000',
|
| 65 |
+
Generic.Emph: 'italic',
|
| 66 |
+
Generic.Strong: 'bold',
|
| 67 |
+
Generic.EmphStrong: 'bold italic',
|
| 68 |
+
Generic.Prompt: '#555555',
|
| 69 |
+
Generic.Output: '#888888',
|
| 70 |
+
Generic.Traceback: '#aa0000',
|
| 71 |
+
|
| 72 |
+
Error: 'bg:#e3d2d2 #a61717'
|
| 73 |
+
}
|
lib/python3.12/site-packages/pygments/styles/rainbow_dash.py
ADDED
|
@@ -0,0 +1,95 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
pygments.styles.rainbow_dash
|
| 3 |
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
| 4 |
+
|
| 5 |
+
A bright and colorful syntax highlighting `theme`.
|
| 6 |
+
|
| 7 |
+
.. _theme: http://sanssecours.github.io/Rainbow-Dash.tmbundle
|
| 8 |
+
|
| 9 |
+
:copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS.
|
| 10 |
+
:license: BSD, see LICENSE for details.
|
| 11 |
+
"""
|
| 12 |
+
|
| 13 |
+
from pygments.style import Style
|
| 14 |
+
from pygments.token import Comment, Error, Generic, Name, Number, Operator, \
|
| 15 |
+
String, Text, Whitespace, Keyword
|
| 16 |
+
|
| 17 |
+
|
| 18 |
+
__all__ = ['RainbowDashStyle']
|
| 19 |
+
|
| 20 |
+
|
| 21 |
+
BLUE_LIGHT = '#0080ff'
|
| 22 |
+
BLUE = '#2c5dcd'
|
| 23 |
+
GREEN = '#00cc66'
|
| 24 |
+
GREEN_LIGHT = '#ccffcc'
|
| 25 |
+
GREEN_NEON = '#00cc00'
|
| 26 |
+
GREY = '#aaaaaa'
|
| 27 |
+
GREY_LIGHT = '#cbcbcb'
|
| 28 |
+
GREY_DARK = '#4d4d4d'
|
| 29 |
+
PURPLE = '#5918bb'
|
| 30 |
+
RED = '#cc0000'
|
| 31 |
+
RED_DARK = '#c5060b'
|
| 32 |
+
RED_LIGHT = '#ffcccc'
|
| 33 |
+
RED_BRIGHT = '#ff0000'
|
| 34 |
+
WHITE = '#ffffff'
|
| 35 |
+
TURQUOISE = '#318495'
|
| 36 |
+
ORANGE = '#ff8000'
|
| 37 |
+
|
| 38 |
+
|
| 39 |
+
class RainbowDashStyle(Style):
|
| 40 |
+
"""
|
| 41 |
+
A bright and colorful syntax highlighting theme.
|
| 42 |
+
"""
|
| 43 |
+
|
| 44 |
+
name = 'rainbow_dash'
|
| 45 |
+
|
| 46 |
+
background_color = WHITE
|
| 47 |
+
|
| 48 |
+
styles = {
|
| 49 |
+
Comment: f'italic {BLUE_LIGHT}',
|
| 50 |
+
Comment.Preproc: 'noitalic',
|
| 51 |
+
Comment.Special: 'bold',
|
| 52 |
+
|
| 53 |
+
Error: f'bg:{RED} {WHITE}',
|
| 54 |
+
|
| 55 |
+
Generic.Deleted: f'border:{RED_DARK} bg:{RED_LIGHT}',
|
| 56 |
+
Generic.Emph: 'italic',
|
| 57 |
+
Generic.Error: RED_BRIGHT,
|
| 58 |
+
Generic.Heading: f'bold {BLUE}',
|
| 59 |
+
Generic.Inserted: f'border:{GREEN_NEON} bg:{GREEN_LIGHT}',
|
| 60 |
+
Generic.Output: GREY,
|
| 61 |
+
Generic.Prompt: f'bold {BLUE}',
|
| 62 |
+
Generic.Strong: 'bold',
|
| 63 |
+
Generic.EmphStrong: 'bold italic',
|
| 64 |
+
Generic.Subheading: f'bold {BLUE}',
|
| 65 |
+
Generic.Traceback: RED_DARK,
|
| 66 |
+
|
| 67 |
+
Keyword: f'bold {BLUE}',
|
| 68 |
+
Keyword.Pseudo: 'nobold',
|
| 69 |
+
Keyword.Type: PURPLE,
|
| 70 |
+
|
| 71 |
+
Name.Attribute: f'italic {BLUE}',
|
| 72 |
+
Name.Builtin: f'bold {PURPLE}',
|
| 73 |
+
Name.Class: 'underline',
|
| 74 |
+
Name.Constant: TURQUOISE,
|
| 75 |
+
Name.Decorator: f'bold {ORANGE}',
|
| 76 |
+
Name.Entity: f'bold {PURPLE}',
|
| 77 |
+
Name.Exception: f'bold {PURPLE}',
|
| 78 |
+
Name.Function: f'bold {ORANGE}',
|
| 79 |
+
Name.Tag: f'bold {BLUE}',
|
| 80 |
+
|
| 81 |
+
Number: f'bold {PURPLE}',
|
| 82 |
+
|
| 83 |
+
Operator: BLUE,
|
| 84 |
+
Operator.Word: 'bold',
|
| 85 |
+
|
| 86 |
+
String: GREEN,
|
| 87 |
+
String.Doc: 'italic',
|
| 88 |
+
String.Escape: f'bold {RED_DARK}',
|
| 89 |
+
String.Other: TURQUOISE,
|
| 90 |
+
String.Symbol: f'bold {RED_DARK}',
|
| 91 |
+
|
| 92 |
+
Text: GREY_DARK,
|
| 93 |
+
|
| 94 |
+
Whitespace: GREY_LIGHT
|
| 95 |
+
}
|
lib/python3.12/site-packages/pygments/styles/rrt.py
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
pygments.styles.rrt
|
| 3 |
+
~~~~~~~~~~~~~~~~~~~
|
| 4 |
+
|
| 5 |
+
pygments "rrt" theme, based on Zap and Emacs defaults.
|
| 6 |
+
|
| 7 |
+
:copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS.
|
| 8 |
+
:license: BSD, see LICENSE for details.
|
| 9 |
+
"""
|
| 10 |
+
|
| 11 |
+
from pygments.style import Style
|
| 12 |
+
from pygments.token import Token, Comment, Name, Keyword, String, Number, Operator
|
| 13 |
+
|
| 14 |
+
|
| 15 |
+
__all__ = ['RrtStyle']
|
| 16 |
+
|
| 17 |
+
|
| 18 |
+
class RrtStyle(Style):
|
| 19 |
+
"""
|
| 20 |
+
Minimalistic "rrt" theme, based on Zap and Emacs defaults.
|
| 21 |
+
"""
|
| 22 |
+
|
| 23 |
+
name = 'rrt'
|
| 24 |
+
|
| 25 |
+
background_color = '#000000'
|
| 26 |
+
highlight_color = '#0000ff'
|
| 27 |
+
|
| 28 |
+
styles = {
|
| 29 |
+
Token: '#dddddd',
|
| 30 |
+
Comment: '#00ff00',
|
| 31 |
+
Name.Function: '#ffff00',
|
| 32 |
+
Name.Variable: '#eedd82',
|
| 33 |
+
Name.Constant: '#7fffd4',
|
| 34 |
+
Keyword: '#ff0000',
|
| 35 |
+
Operator.Word: '#ff0000',
|
| 36 |
+
Comment.Preproc: '#e5e5e5',
|
| 37 |
+
String: '#87ceeb',
|
| 38 |
+
Keyword.Type: '#ee82ee',
|
| 39 |
+
Number: '#ff00ff',
|
| 40 |
+
}
|
lib/python3.12/site-packages/pygments/styles/sas.py
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
pygments.styles.sas
|
| 3 |
+
~~~~~~~~~~~~~~~~~~~
|
| 4 |
+
|
| 5 |
+
Style inspired by SAS' enhanced program editor. Note This is not
|
| 6 |
+
meant to be a complete style. It's merely meant to mimic SAS'
|
| 7 |
+
program editor syntax highlighting.
|
| 8 |
+
|
| 9 |
+
:copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS.
|
| 10 |
+
:license: BSD, see LICENSE for details.
|
| 11 |
+
"""
|
| 12 |
+
|
| 13 |
+
from pygments.style import Style
|
| 14 |
+
from pygments.token import Keyword, Name, Comment, String, Error, \
|
| 15 |
+
Number, Other, Whitespace, Generic
|
| 16 |
+
|
| 17 |
+
|
| 18 |
+
__all__ = ['SasStyle']
|
| 19 |
+
|
| 20 |
+
|
| 21 |
+
class SasStyle(Style):
|
| 22 |
+
"""
|
| 23 |
+
Style inspired by SAS' enhanced program editor. Note This is not
|
| 24 |
+
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 |
+
}
|
lib/python3.12/site-packages/pygments/styles/solarized.py
ADDED
|
@@ -0,0 +1,144 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
pygments.styles.solarized
|
| 3 |
+
~~~~~~~~~~~~~~~~~~~~~~~~~
|
| 4 |
+
|
| 5 |
+
Solarized by Camil Staps
|
| 6 |
+
|
| 7 |
+
A Pygments style for the Solarized themes (licensed under MIT).
|
| 8 |
+
See: https://github.com/altercation/solarized
|
| 9 |
+
|
| 10 |
+
:copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS.
|
| 11 |
+
:license: BSD, see LICENSE for details.
|
| 12 |
+
"""
|
| 13 |
+
|
| 14 |
+
from pygments.style import Style
|
| 15 |
+
from pygments.token import Comment, Error, Generic, Keyword, Name, Number, \
|
| 16 |
+
Operator, String, Token
|
| 17 |
+
|
| 18 |
+
|
| 19 |
+
__all__ = ['SolarizedLightStyle', 'SolarizedDarkStyle']
|
| 20 |
+
|
| 21 |
+
|
| 22 |
+
def make_style(colors):
|
| 23 |
+
return {
|
| 24 |
+
Token: colors['base0'],
|
| 25 |
+
|
| 26 |
+
Comment: 'italic ' + colors['base01'],
|
| 27 |
+
Comment.Hashbang: colors['base01'],
|
| 28 |
+
Comment.Multiline: colors['base01'],
|
| 29 |
+
Comment.Preproc: 'noitalic ' + colors['magenta'],
|
| 30 |
+
Comment.PreprocFile: 'noitalic ' + colors['base01'],
|
| 31 |
+
|
| 32 |
+
Keyword: colors['green'],
|
| 33 |
+
Keyword.Constant: colors['cyan'],
|
| 34 |
+
Keyword.Declaration: colors['cyan'],
|
| 35 |
+
Keyword.Namespace: colors['orange'],
|
| 36 |
+
Keyword.Type: colors['yellow'],
|
| 37 |
+
|
| 38 |
+
Operator: colors['base01'],
|
| 39 |
+
Operator.Word: colors['green'],
|
| 40 |
+
|
| 41 |
+
Name.Builtin: colors['blue'],
|
| 42 |
+
Name.Builtin.Pseudo: colors['blue'],
|
| 43 |
+
Name.Class: colors['blue'],
|
| 44 |
+
Name.Constant: colors['blue'],
|
| 45 |
+
Name.Decorator: colors['blue'],
|
| 46 |
+
Name.Entity: colors['blue'],
|
| 47 |
+
Name.Exception: colors['blue'],
|
| 48 |
+
Name.Function: colors['blue'],
|
| 49 |
+
Name.Function.Magic: colors['blue'],
|
| 50 |
+
Name.Label: colors['blue'],
|
| 51 |
+
Name.Namespace: colors['blue'],
|
| 52 |
+
Name.Tag: colors['blue'],
|
| 53 |
+
Name.Variable: colors['blue'],
|
| 54 |
+
Name.Variable.Global:colors['blue'],
|
| 55 |
+
Name.Variable.Magic: colors['blue'],
|
| 56 |
+
|
| 57 |
+
String: colors['cyan'],
|
| 58 |
+
String.Doc: colors['base01'],
|
| 59 |
+
String.Regex: colors['orange'],
|
| 60 |
+
|
| 61 |
+
Number: colors['cyan'],
|
| 62 |
+
|
| 63 |
+
Generic: colors['base0'],
|
| 64 |
+
Generic.Deleted: colors['red'],
|
| 65 |
+
Generic.Emph: 'italic',
|
| 66 |
+
Generic.Error: colors['red'],
|
| 67 |
+
Generic.Heading: 'bold',
|
| 68 |
+
Generic.Subheading: 'underline',
|
| 69 |
+
Generic.Inserted: colors['green'],
|
| 70 |
+
Generic.Output: colors['base0'],
|
| 71 |
+
Generic.Prompt: 'bold ' + colors['blue'],
|
| 72 |
+
Generic.Strong: 'bold',
|
| 73 |
+
Generic.EmphStrong: 'bold italic',
|
| 74 |
+
Generic.Traceback: colors['blue'],
|
| 75 |
+
|
| 76 |
+
Error: 'bg:' + colors['red'],
|
| 77 |
+
}
|
| 78 |
+
|
| 79 |
+
|
| 80 |
+
DARK_COLORS = {
|
| 81 |
+
'base03': '#002b36',
|
| 82 |
+
'base02': '#073642',
|
| 83 |
+
'base01': '#586e75',
|
| 84 |
+
'base00': '#657b83',
|
| 85 |
+
'base0': '#839496',
|
| 86 |
+
'base1': '#93a1a1',
|
| 87 |
+
'base2': '#eee8d5',
|
| 88 |
+
'base3': '#fdf6e3',
|
| 89 |
+
'yellow': '#b58900',
|
| 90 |
+
'orange': '#cb4b16',
|
| 91 |
+
'red': '#dc322f',
|
| 92 |
+
'magenta': '#d33682',
|
| 93 |
+
'violet': '#6c71c4',
|
| 94 |
+
'blue': '#268bd2',
|
| 95 |
+
'cyan': '#2aa198',
|
| 96 |
+
'green': '#859900',
|
| 97 |
+
}
|
| 98 |
+
|
| 99 |
+
LIGHT_COLORS = {
|
| 100 |
+
'base3': '#002b36',
|
| 101 |
+
'base2': '#073642',
|
| 102 |
+
'base1': '#586e75',
|
| 103 |
+
'base0': '#657b83',
|
| 104 |
+
'base00': '#839496',
|
| 105 |
+
'base01': '#93a1a1',
|
| 106 |
+
'base02': '#eee8d5',
|
| 107 |
+
'base03': '#fdf6e3',
|
| 108 |
+
'yellow': '#b58900',
|
| 109 |
+
'orange': '#cb4b16',
|
| 110 |
+
'red': '#dc322f',
|
| 111 |
+
'magenta': '#d33682',
|
| 112 |
+
'violet': '#6c71c4',
|
| 113 |
+
'blue': '#268bd2',
|
| 114 |
+
'cyan': '#2aa198',
|
| 115 |
+
'green': '#859900',
|
| 116 |
+
}
|
| 117 |
+
|
| 118 |
+
|
| 119 |
+
class SolarizedDarkStyle(Style):
|
| 120 |
+
"""
|
| 121 |
+
The solarized style, dark.
|
| 122 |
+
"""
|
| 123 |
+
|
| 124 |
+
name = 'solarized-dark'
|
| 125 |
+
|
| 126 |
+
styles = make_style(DARK_COLORS)
|
| 127 |
+
background_color = DARK_COLORS['base03']
|
| 128 |
+
highlight_color = DARK_COLORS['base02']
|
| 129 |
+
line_number_color = DARK_COLORS['base01']
|
| 130 |
+
line_number_background_color = DARK_COLORS['base02']
|
| 131 |
+
|
| 132 |
+
|
| 133 |
+
class SolarizedLightStyle(SolarizedDarkStyle):
|
| 134 |
+
"""
|
| 135 |
+
The solarized style, light.
|
| 136 |
+
"""
|
| 137 |
+
|
| 138 |
+
name = 'solarized-light'
|
| 139 |
+
|
| 140 |
+
styles = make_style(LIGHT_COLORS)
|
| 141 |
+
background_color = LIGHT_COLORS['base03']
|
| 142 |
+
highlight_color = LIGHT_COLORS['base02']
|
| 143 |
+
line_number_color = LIGHT_COLORS['base01']
|
| 144 |
+
line_number_background_color = LIGHT_COLORS['base02']
|
lib/python3.12/site-packages/pygments/styles/staroffice.py
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
pygments.styles.staroffice
|
| 3 |
+
~~~~~~~~~~~~~~~~~~~~~~~~~~
|
| 4 |
+
|
| 5 |
+
Style similar to StarOffice style, also in OpenOffice and LibreOffice.
|
| 6 |
+
|
| 7 |
+
:copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS.
|
| 8 |
+
:license: BSD, see LICENSE for details.
|
| 9 |
+
"""
|
| 10 |
+
|
| 11 |
+
from pygments.style import Style
|
| 12 |
+
from pygments.token import Comment, Error, Literal, Name, Token
|
| 13 |
+
|
| 14 |
+
|
| 15 |
+
__all__ = ['StarofficeStyle']
|
| 16 |
+
|
| 17 |
+
|
| 18 |
+
class StarofficeStyle(Style):
|
| 19 |
+
"""
|
| 20 |
+
Style similar to StarOffice style, also in OpenOffice and LibreOffice.
|
| 21 |
+
"""
|
| 22 |
+
name = 'staroffice'
|
| 23 |
+
|
| 24 |
+
|
| 25 |
+
styles = {
|
| 26 |
+
Token: '#000080', # Blue
|
| 27 |
+
Comment: '#696969', # DimGray
|
| 28 |
+
Error: '#800000', # Maroon
|
| 29 |
+
Literal: '#EE0000', # Red
|
| 30 |
+
Name: '#008000', # Green
|
| 31 |
+
}
|
lib/python3.12/site-packages/pygments/styles/stata_dark.py
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
pygments.styles.stata_dark
|
| 3 |
+
~~~~~~~~~~~~~~~~~~~~~~~~~~
|
| 4 |
+
|
| 5 |
+
Dark style inspired by Stata's do-file editor. Note this is not
|
| 6 |
+
meant to be a complete style, just for Stata's file formats.
|
| 7 |
+
|
| 8 |
+
|
| 9 |
+
:copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS.
|
| 10 |
+
:license: BSD, see LICENSE for details.
|
| 11 |
+
"""
|
| 12 |
+
|
| 13 |
+
from pygments.style import Style
|
| 14 |
+
from pygments.token import Token, Keyword, Name, Comment, String, Error, \
|
| 15 |
+
Number, Operator, Whitespace, Generic
|
| 16 |
+
|
| 17 |
+
|
| 18 |
+
__all__ = ['StataDarkStyle']
|
| 19 |
+
|
| 20 |
+
|
| 21 |
+
class StataDarkStyle(Style):
|
| 22 |
+
name = 'stata-dark'
|
| 23 |
+
|
| 24 |
+
background_color = "#232629"
|
| 25 |
+
highlight_color = "#49483e"
|
| 26 |
+
|
| 27 |
+
styles = {
|
| 28 |
+
Token: '#cccccc',
|
| 29 |
+
Whitespace: '#bbbbbb',
|
| 30 |
+
Error: 'bg:#e3d2d2 #a61717',
|
| 31 |
+
String: '#51cc99',
|
| 32 |
+
Number: '#4FB8CC',
|
| 33 |
+
Operator: '',
|
| 34 |
+
Name.Function: '#6a6aff',
|
| 35 |
+
Name.Other: '#e2828e',
|
| 36 |
+
Keyword: 'bold #7686bb',
|
| 37 |
+
Keyword.Constant: '',
|
| 38 |
+
Comment: 'italic #777777',
|
| 39 |
+
Name.Variable: 'bold #7AB4DB',
|
| 40 |
+
Name.Variable.Global: 'bold #BE646C',
|
| 41 |
+
Generic.Prompt: '#ffffff',
|
| 42 |
+
}
|
lib/python3.12/site-packages/pygments/styles/stata_light.py
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
pygments.styles.stata_light
|
| 3 |
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
| 4 |
+
|
| 5 |
+
Light Style inspired by Stata's do-file editor. Note this is not
|
| 6 |
+
meant to be a complete style, just for Stata's file formats.
|
| 7 |
+
|
| 8 |
+
:copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS.
|
| 9 |
+
:license: BSD, see LICENSE for details.
|
| 10 |
+
"""
|
| 11 |
+
|
| 12 |
+
from pygments.style import Style
|
| 13 |
+
from pygments.token import Keyword, Name, Comment, String, Error, \
|
| 14 |
+
Number, Operator, Whitespace, Text
|
| 15 |
+
|
| 16 |
+
|
| 17 |
+
__all__ = ['StataLightStyle']
|
| 18 |
+
|
| 19 |
+
|
| 20 |
+
class StataLightStyle(Style):
|
| 21 |
+
"""
|
| 22 |
+
Light mode style inspired by Stata's do-file editor. This is not
|
| 23 |
+
meant to be a complete style, just for use with Stata.
|
| 24 |
+
"""
|
| 25 |
+
|
| 26 |
+
name = 'stata-light'
|
| 27 |
+
|
| 28 |
+
styles = {
|
| 29 |
+
Text: '#111111',
|
| 30 |
+
Whitespace: '#bbbbbb',
|
| 31 |
+
Error: 'bg:#e3d2d2 #a61717',
|
| 32 |
+
String: '#7a2424',
|
| 33 |
+
Number: '#2c2cff',
|
| 34 |
+
Operator: '',
|
| 35 |
+
Name.Function: '#2c2cff',
|
| 36 |
+
Name.Other: '#be646c',
|
| 37 |
+
Keyword: 'bold #353580',
|
| 38 |
+
Keyword.Constant: '',
|
| 39 |
+
Comment: 'italic #008800',
|
| 40 |
+
Name.Variable: 'bold #35baba',
|
| 41 |
+
Name.Variable.Global: 'bold #b5565e',
|
| 42 |
+
}
|
lib/python3.12/site-packages/pygments/styles/tango.py
ADDED
|
@@ -0,0 +1,143 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
pygments.styles.tango
|
| 3 |
+
~~~~~~~~~~~~~~~~~~~~~
|
| 4 |
+
|
| 5 |
+
The Crunchy default Style inspired from the color palette from
|
| 6 |
+
the Tango Icon Theme Guidelines.
|
| 7 |
+
|
| 8 |
+
http://tango.freedesktop.org/Tango_Icon_Theme_Guidelines
|
| 9 |
+
|
| 10 |
+
Butter: #fce94f #edd400 #c4a000
|
| 11 |
+
Orange: #fcaf3e #f57900 #ce5c00
|
| 12 |
+
Chocolate: #e9b96e #c17d11 #8f5902
|
| 13 |
+
Chameleon: #8ae234 #73d216 #4e9a06
|
| 14 |
+
Sky Blue: #729fcf #3465a4 #204a87
|
| 15 |
+
Plum: #ad7fa8 #75507b #5c35cc
|
| 16 |
+
Scarlet Red:#ef2929 #cc0000 #a40000
|
| 17 |
+
Aluminium: #eeeeec #d3d7cf #babdb6
|
| 18 |
+
#888a85 #555753 #2e3436
|
| 19 |
+
|
| 20 |
+
Not all of the above colors are used; other colors added:
|
| 21 |
+
very light grey: #f8f8f8 (for background)
|
| 22 |
+
|
| 23 |
+
This style can be used as a template as it includes all the known
|
| 24 |
+
Token types, unlike most (if not all) of the styles included in the
|
| 25 |
+
Pygments distribution.
|
| 26 |
+
|
| 27 |
+
However, since Crunchy is intended to be used by beginners, we have strived
|
| 28 |
+
to create a style that gloss over subtle distinctions between different
|
| 29 |
+
categories.
|
| 30 |
+
|
| 31 |
+
Taking Python for example, comments (Comment.*) and docstrings (String.Doc)
|
| 32 |
+
have been chosen to have the same style. Similarly, keywords (Keyword.*),
|
| 33 |
+
and Operator.Word (and, or, in) have been assigned the same style.
|
| 34 |
+
|
| 35 |
+
:copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS.
|
| 36 |
+
:license: BSD, see LICENSE for details.
|
| 37 |
+
"""
|
| 38 |
+
|
| 39 |
+
from pygments.style import Style
|
| 40 |
+
from pygments.token import Keyword, Name, Comment, String, Error, \
|
| 41 |
+
Number, Operator, Generic, Whitespace, Punctuation, Other, Literal
|
| 42 |
+
|
| 43 |
+
|
| 44 |
+
__all__ = ['TangoStyle']
|
| 45 |
+
|
| 46 |
+
|
| 47 |
+
class TangoStyle(Style):
|
| 48 |
+
"""
|
| 49 |
+
The Crunchy default Style inspired from the color palette from
|
| 50 |
+
the Tango Icon Theme Guidelines.
|
| 51 |
+
"""
|
| 52 |
+
|
| 53 |
+
name = 'tango'
|
| 54 |
+
|
| 55 |
+
background_color = "#f8f8f8"
|
| 56 |
+
|
| 57 |
+
styles = {
|
| 58 |
+
# No corresponding class for the following:
|
| 59 |
+
#Text: "", # class: ''
|
| 60 |
+
Whitespace: "#f8f8f8", # class: 'w'
|
| 61 |
+
Error: "#a40000 border:#ef2929", # class: 'err'
|
| 62 |
+
Other: "#000000", # class 'x'
|
| 63 |
+
|
| 64 |
+
Comment: "italic #8f5902", # class: 'c'
|
| 65 |
+
Comment.Multiline: "italic #8f5902", # class: 'cm'
|
| 66 |
+
Comment.Preproc: "italic #8f5902", # class: 'cp'
|
| 67 |
+
Comment.Single: "italic #8f5902", # class: 'c1'
|
| 68 |
+
Comment.Special: "italic #8f5902", # class: 'cs'
|
| 69 |
+
|
| 70 |
+
Keyword: "bold #204a87", # class: 'k'
|
| 71 |
+
Keyword.Constant: "bold #204a87", # class: 'kc'
|
| 72 |
+
Keyword.Declaration: "bold #204a87", # class: 'kd'
|
| 73 |
+
Keyword.Namespace: "bold #204a87", # class: 'kn'
|
| 74 |
+
Keyword.Pseudo: "bold #204a87", # class: 'kp'
|
| 75 |
+
Keyword.Reserved: "bold #204a87", # class: 'kr'
|
| 76 |
+
Keyword.Type: "bold #204a87", # class: 'kt'
|
| 77 |
+
|
| 78 |
+
Operator: "bold #ce5c00", # class: 'o'
|
| 79 |
+
Operator.Word: "bold #204a87", # class: 'ow' - like keywords
|
| 80 |
+
|
| 81 |
+
Punctuation: "bold #000000", # class: 'p'
|
| 82 |
+
|
| 83 |
+
# because special names such as Name.Class, Name.Function, etc.
|
| 84 |
+
# are not recognized as such later in the parsing, we choose them
|
| 85 |
+
# to look the same as ordinary variables.
|
| 86 |
+
Name: "#000000", # class: 'n'
|
| 87 |
+
Name.Attribute: "#c4a000", # class: 'na' - to be revised
|
| 88 |
+
Name.Builtin: "#204a87", # class: 'nb'
|
| 89 |
+
Name.Builtin.Pseudo: "#3465a4", # class: 'bp'
|
| 90 |
+
Name.Class: "#000000", # class: 'nc' - to be revised
|
| 91 |
+
Name.Constant: "#000000", # class: 'no' - to be revised
|
| 92 |
+
Name.Decorator: "bold #5c35cc", # class: 'nd' - to be revised
|
| 93 |
+
Name.Entity: "#ce5c00", # class: 'ni'
|
| 94 |
+
Name.Exception: "bold #cc0000", # class: 'ne'
|
| 95 |
+
Name.Function: "#000000", # class: 'nf'
|
| 96 |
+
Name.Property: "#000000", # class: 'py'
|
| 97 |
+
Name.Label: "#f57900", # class: 'nl'
|
| 98 |
+
Name.Namespace: "#000000", # class: 'nn' - to be revised
|
| 99 |
+
Name.Other: "#000000", # class: 'nx'
|
| 100 |
+
Name.Tag: "bold #204a87", # class: 'nt' - like a keyword
|
| 101 |
+
Name.Variable: "#000000", # class: 'nv' - to be revised
|
| 102 |
+
Name.Variable.Class: "#000000", # class: 'vc' - to be revised
|
| 103 |
+
Name.Variable.Global: "#000000", # class: 'vg' - to be revised
|
| 104 |
+
Name.Variable.Instance: "#000000", # class: 'vi' - to be revised
|
| 105 |
+
|
| 106 |
+
# since the tango light blue does not show up well in text, we choose
|
| 107 |
+
# a pure blue instead.
|
| 108 |
+
Number: "bold #0000cf", # class: 'm'
|
| 109 |
+
Number.Float: "bold #0000cf", # class: 'mf'
|
| 110 |
+
Number.Hex: "bold #0000cf", # class: 'mh'
|
| 111 |
+
Number.Integer: "bold #0000cf", # class: 'mi'
|
| 112 |
+
Number.Integer.Long: "bold #0000cf", # class: 'il'
|
| 113 |
+
Number.Oct: "bold #0000cf", # class: 'mo'
|
| 114 |
+
|
| 115 |
+
Literal: "#000000", # class: 'l'
|
| 116 |
+
Literal.Date: "#000000", # class: 'ld'
|
| 117 |
+
|
| 118 |
+
String: "#4e9a06", # class: 's'
|
| 119 |
+
String.Backtick: "#4e9a06", # class: 'sb'
|
| 120 |
+
String.Char: "#4e9a06", # class: 'sc'
|
| 121 |
+
String.Doc: "italic #8f5902", # class: 'sd' - like a comment
|
| 122 |
+
String.Double: "#4e9a06", # class: 's2'
|
| 123 |
+
String.Escape: "#4e9a06", # class: 'se'
|
| 124 |
+
String.Heredoc: "#4e9a06", # class: 'sh'
|
| 125 |
+
String.Interpol: "#4e9a06", # class: 'si'
|
| 126 |
+
String.Other: "#4e9a06", # class: 'sx'
|
| 127 |
+
String.Regex: "#4e9a06", # class: 'sr'
|
| 128 |
+
String.Single: "#4e9a06", # class: 's1'
|
| 129 |
+
String.Symbol: "#4e9a06", # class: 'ss'
|
| 130 |
+
|
| 131 |
+
Generic: "#000000", # class: 'g'
|
| 132 |
+
Generic.Deleted: "#a40000", # class: 'gd'
|
| 133 |
+
Generic.Emph: "italic #000000", # class: 'ge'
|
| 134 |
+
Generic.Error: "#ef2929", # class: 'gr'
|
| 135 |
+
Generic.Heading: "bold #000080", # class: 'gh'
|
| 136 |
+
Generic.Inserted: "#00A000", # class: 'gi'
|
| 137 |
+
Generic.Output: "italic #000000", # class: 'go'
|
| 138 |
+
Generic.Prompt: "#8f5902", # class: 'gp'
|
| 139 |
+
Generic.Strong: "bold #000000", # class: 'gs'
|
| 140 |
+
Generic.EmphStrong: "bold italic #000000", # class: 'ges'
|
| 141 |
+
Generic.Subheading: "bold #800080", # class: 'gu'
|
| 142 |
+
Generic.Traceback: "bold #a40000", # class: 'gt'
|
| 143 |
+
}
|
lib/python3.12/site-packages/pygments/styles/trac.py
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
pygments.styles.trac
|
| 3 |
+
~~~~~~~~~~~~~~~~~~~~
|
| 4 |
+
|
| 5 |
+
Port of the default trac highlighter design.
|
| 6 |
+
|
| 7 |
+
:copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS.
|
| 8 |
+
:license: BSD, see LICENSE for details.
|
| 9 |
+
"""
|
| 10 |
+
|
| 11 |
+
from pygments.style import Style
|
| 12 |
+
from pygments.token import Keyword, Name, Comment, String, Error, \
|
| 13 |
+
Number, Operator, Generic, Whitespace
|
| 14 |
+
|
| 15 |
+
|
| 16 |
+
__all__ = ['TracStyle']
|
| 17 |
+
|
| 18 |
+
|
| 19 |
+
class TracStyle(Style):
|
| 20 |
+
"""
|
| 21 |
+
Port of the default trac highlighter design.
|
| 22 |
+
"""
|
| 23 |
+
|
| 24 |
+
name = 'trac'
|
| 25 |
+
|
| 26 |
+
styles = {
|
| 27 |
+
Whitespace: '#bbbbbb',
|
| 28 |
+
Comment: 'italic #999988',
|
| 29 |
+
Comment.Preproc: 'bold noitalic #999999',
|
| 30 |
+
Comment.Special: 'bold #999999',
|
| 31 |
+
|
| 32 |
+
Operator: 'bold',
|
| 33 |
+
|
| 34 |
+
String: '#bb8844',
|
| 35 |
+
String.Regex: '#808000',
|
| 36 |
+
|
| 37 |
+
Number: '#009999',
|
| 38 |
+
|
| 39 |
+
Keyword: 'bold',
|
| 40 |
+
Keyword.Type: '#445588',
|
| 41 |
+
|
| 42 |
+
Name.Builtin: '#999999',
|
| 43 |
+
Name.Function: 'bold #990000',
|
| 44 |
+
Name.Class: 'bold #445588',
|
| 45 |
+
Name.Exception: 'bold #990000',
|
| 46 |
+
Name.Namespace: '#555555',
|
| 47 |
+
Name.Variable: '#008080',
|
| 48 |
+
Name.Constant: '#008080',
|
| 49 |
+
Name.Tag: '#000080',
|
| 50 |
+
Name.Attribute: '#008080',
|
| 51 |
+
Name.Entity: '#800080',
|
| 52 |
+
|
| 53 |
+
Generic.Heading: '#999999',
|
| 54 |
+
Generic.Subheading: '#aaaaaa',
|
| 55 |
+
Generic.Deleted: 'bg:#ffdddd #000000',
|
| 56 |
+
Generic.Inserted: 'bg:#ddffdd #000000',
|
| 57 |
+
Generic.Error: '#aa0000',
|
| 58 |
+
Generic.Emph: 'italic',
|
| 59 |
+
Generic.Strong: 'bold',
|
| 60 |
+
Generic.EmphStrong: 'bold italic',
|
| 61 |
+
Generic.Prompt: '#555555',
|
| 62 |
+
Generic.Output: '#888888',
|
| 63 |
+
Generic.Traceback: '#aa0000',
|
| 64 |
+
|
| 65 |
+
Error: 'bg:#e3d2d2 #a61717'
|
| 66 |
+
}
|
lib/python3.12/site-packages/pygments/styles/vim.py
ADDED
|
@@ -0,0 +1,67 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
pygments.styles.vim
|
| 3 |
+
~~~~~~~~~~~~~~~~~~~
|
| 4 |
+
|
| 5 |
+
A highlighting style for Pygments, inspired by vim.
|
| 6 |
+
|
| 7 |
+
:copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS.
|
| 8 |
+
:license: BSD, see LICENSE for details.
|
| 9 |
+
"""
|
| 10 |
+
|
| 11 |
+
from pygments.style import Style
|
| 12 |
+
from pygments.token import Keyword, Name, Comment, String, Error, \
|
| 13 |
+
Number, Operator, Generic, Whitespace, Token
|
| 14 |
+
|
| 15 |
+
|
| 16 |
+
__all__ = ['VimStyle']
|
| 17 |
+
|
| 18 |
+
|
| 19 |
+
class VimStyle(Style):
|
| 20 |
+
"""
|
| 21 |
+
Styles somewhat like vim 7.0
|
| 22 |
+
"""
|
| 23 |
+
|
| 24 |
+
name = 'vim'
|
| 25 |
+
|
| 26 |
+
background_color = "#000000"
|
| 27 |
+
highlight_color = "#222222"
|
| 28 |
+
|
| 29 |
+
styles = {
|
| 30 |
+
Token: "#cccccc",
|
| 31 |
+
Whitespace: "",
|
| 32 |
+
Comment: "#000080",
|
| 33 |
+
Comment.Preproc: "",
|
| 34 |
+
Comment.Special: "bold #cd0000",
|
| 35 |
+
|
| 36 |
+
Keyword: "#cdcd00",
|
| 37 |
+
Keyword.Declaration: "#00cd00",
|
| 38 |
+
Keyword.Namespace: "#cd00cd",
|
| 39 |
+
Keyword.Pseudo: "",
|
| 40 |
+
Keyword.Type: "#00cd00",
|
| 41 |
+
|
| 42 |
+
Operator: "#3399cc",
|
| 43 |
+
Operator.Word: "#cdcd00",
|
| 44 |
+
|
| 45 |
+
Name: "",
|
| 46 |
+
Name.Class: "#00cdcd",
|
| 47 |
+
Name.Builtin: "#cd00cd",
|
| 48 |
+
Name.Exception: "bold #666699",
|
| 49 |
+
Name.Variable: "#00cdcd",
|
| 50 |
+
|
| 51 |
+
String: "#cd0000",
|
| 52 |
+
Number: "#cd00cd",
|
| 53 |
+
|
| 54 |
+
Generic.Heading: "bold #000080",
|
| 55 |
+
Generic.Subheading: "bold #800080",
|
| 56 |
+
Generic.Deleted: "#cd0000",
|
| 57 |
+
Generic.Inserted: "#00cd00",
|
| 58 |
+
Generic.Error: "#FF0000",
|
| 59 |
+
Generic.Emph: "italic",
|
| 60 |
+
Generic.Strong: "bold",
|
| 61 |
+
Generic.EmphStrong: "bold italic",
|
| 62 |
+
Generic.Prompt: "bold #000080",
|
| 63 |
+
Generic.Output: "#888",
|
| 64 |
+
Generic.Traceback: "#04D",
|
| 65 |
+
|
| 66 |
+
Error: "border:#FF0000"
|
| 67 |
+
}
|
lib/python3.12/site-packages/pygments/styles/vs.py
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
pygments.styles.vs
|
| 3 |
+
~~~~~~~~~~~~~~~~~~
|
| 4 |
+
|
| 5 |
+
Simple style with MS Visual Studio colors.
|
| 6 |
+
|
| 7 |
+
:copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS.
|
| 8 |
+
:license: BSD, see LICENSE for details.
|
| 9 |
+
"""
|
| 10 |
+
|
| 11 |
+
from pygments.style import Style
|
| 12 |
+
from pygments.token import Keyword, Name, Comment, String, Error, \
|
| 13 |
+
Operator, Generic
|
| 14 |
+
|
| 15 |
+
|
| 16 |
+
__all__ = ['VisualStudioStyle']
|
| 17 |
+
|
| 18 |
+
|
| 19 |
+
class VisualStudioStyle(Style):
|
| 20 |
+
name = 'vs'
|
| 21 |
+
|
| 22 |
+
background_color = "#ffffff"
|
| 23 |
+
|
| 24 |
+
styles = {
|
| 25 |
+
Comment: "#008000",
|
| 26 |
+
Comment.Preproc: "#0000ff",
|
| 27 |
+
Keyword: "#0000ff",
|
| 28 |
+
Operator.Word: "#0000ff",
|
| 29 |
+
Keyword.Type: "#2b91af",
|
| 30 |
+
Name.Class: "#2b91af",
|
| 31 |
+
String: "#a31515",
|
| 32 |
+
|
| 33 |
+
Generic.Heading: "bold",
|
| 34 |
+
Generic.Subheading: "bold",
|
| 35 |
+
Generic.Emph: "italic",
|
| 36 |
+
Generic.Strong: "bold",
|
| 37 |
+
Generic.EmphStrong: "bold italic",
|
| 38 |
+
Generic.Prompt: "bold",
|
| 39 |
+
|
| 40 |
+
Error: "border:#FF0000"
|
| 41 |
+
}
|
lib/python3.12/site-packages/pygments/styles/xcode.py
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
pygments.styles.xcode
|
| 3 |
+
~~~~~~~~~~~~~~~~~~~~~
|
| 4 |
+
|
| 5 |
+
Style similar to the `Xcode` default theme.
|
| 6 |
+
|
| 7 |
+
:copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS.
|
| 8 |
+
:license: BSD, see LICENSE for details.
|
| 9 |
+
"""
|
| 10 |
+
|
| 11 |
+
from pygments.style import Style
|
| 12 |
+
from pygments.token import Keyword, Name, Comment, String, Error, \
|
| 13 |
+
Number, Operator, Literal
|
| 14 |
+
|
| 15 |
+
|
| 16 |
+
__all__ = ['XcodeStyle']
|
| 17 |
+
|
| 18 |
+
|
| 19 |
+
class XcodeStyle(Style):
|
| 20 |
+
"""
|
| 21 |
+
Style similar to the Xcode default colouring theme.
|
| 22 |
+
"""
|
| 23 |
+
|
| 24 |
+
name = 'xcode'
|
| 25 |
+
|
| 26 |
+
styles = {
|
| 27 |
+
Comment: '#177500',
|
| 28 |
+
Comment.Preproc: '#633820',
|
| 29 |
+
|
| 30 |
+
String: '#C41A16',
|
| 31 |
+
String.Char: '#2300CE',
|
| 32 |
+
|
| 33 |
+
Operator: '#000000',
|
| 34 |
+
|
| 35 |
+
Keyword: '#A90D91',
|
| 36 |
+
|
| 37 |
+
Name: '#000000',
|
| 38 |
+
Name.Attribute: '#836C28',
|
| 39 |
+
Name.Class: '#3F6E75',
|
| 40 |
+
Name.Function: '#000000',
|
| 41 |
+
Name.Builtin: '#A90D91',
|
| 42 |
+
# In Obj-C code this token is used to colour Cocoa types
|
| 43 |
+
Name.Builtin.Pseudo: '#5B269A',
|
| 44 |
+
Name.Variable: '#000000',
|
| 45 |
+
Name.Tag: '#000000',
|
| 46 |
+
Name.Decorator: '#000000',
|
| 47 |
+
# Workaround for a BUG here: lexer treats multiline method signatres as labels
|
| 48 |
+
Name.Label: '#000000',
|
| 49 |
+
|
| 50 |
+
Literal: '#1C01CE',
|
| 51 |
+
Number: '#1C01CE',
|
| 52 |
+
Error: '#000000',
|
| 53 |
+
}
|
lib/python3.12/site-packages/pygments/styles/zenburn.py
ADDED
|
@@ -0,0 +1,83 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
pygments.styles.zenburn
|
| 3 |
+
~~~~~~~~~~~~~~~~~~~~~~~
|
| 4 |
+
|
| 5 |
+
Low contrast color scheme Zenburn.
|
| 6 |
+
|
| 7 |
+
See: https://kippura.org/zenburnpage/
|
| 8 |
+
https://github.com/jnurmine/Zenburn
|
| 9 |
+
|
| 10 |
+
:copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS.
|
| 11 |
+
:license: BSD, see LICENSE for details.
|
| 12 |
+
"""
|
| 13 |
+
|
| 14 |
+
from pygments.style import Style
|
| 15 |
+
from pygments.token import Token, Name, Operator, Keyword, Generic, Comment, \
|
| 16 |
+
Number, String, Literal, Punctuation, Error
|
| 17 |
+
|
| 18 |
+
|
| 19 |
+
__all__ = ['ZenburnStyle']
|
| 20 |
+
|
| 21 |
+
|
| 22 |
+
class ZenburnStyle(Style):
|
| 23 |
+
"""
|
| 24 |
+
Low contrast Zenburn style.
|
| 25 |
+
"""
|
| 26 |
+
|
| 27 |
+
name = 'zenburn'
|
| 28 |
+
|
| 29 |
+
background_color = '#3f3f3f'
|
| 30 |
+
highlight_color = '#484848'
|
| 31 |
+
line_number_color = '#5d6262'
|
| 32 |
+
line_number_background_color = '#353535'
|
| 33 |
+
line_number_special_color = '#7a8080'
|
| 34 |
+
line_number_special_background_color = '#353535'
|
| 35 |
+
|
| 36 |
+
styles = {
|
| 37 |
+
Token: '#dcdccc',
|
| 38 |
+
Error: '#e37170 bold',
|
| 39 |
+
|
| 40 |
+
Keyword: '#efdcbc',
|
| 41 |
+
Keyword.Type: '#dfdfbf bold',
|
| 42 |
+
Keyword.Constant: '#dca3a3',
|
| 43 |
+
Keyword.Declaration: '#f0dfaf',
|
| 44 |
+
Keyword.Namespace: '#f0dfaf',
|
| 45 |
+
|
| 46 |
+
Name: '#dcdccc',
|
| 47 |
+
Name.Tag: '#e89393 bold',
|
| 48 |
+
Name.Entity: '#cfbfaf',
|
| 49 |
+
Name.Constant: '#dca3a3',
|
| 50 |
+
Name.Class: '#efef8f',
|
| 51 |
+
Name.Function: '#efef8f',
|
| 52 |
+
Name.Builtin: '#efef8f',
|
| 53 |
+
Name.Builtin.Pseudo: '#dcdccc',
|
| 54 |
+
Name.Attribute: '#efef8f',
|
| 55 |
+
Name.Exception: '#c3bf9f bold',
|
| 56 |
+
|
| 57 |
+
Literal: '#9fafaf',
|
| 58 |
+
|
| 59 |
+
String: '#cc9393',
|
| 60 |
+
String.Doc: '#7f9f7f',
|
| 61 |
+
String.Interpol: '#dca3a3 bold',
|
| 62 |
+
|
| 63 |
+
Number: '#8cd0d3',
|
| 64 |
+
Number.Float: '#c0bed1',
|
| 65 |
+
|
| 66 |
+
Operator: '#f0efd0',
|
| 67 |
+
|
| 68 |
+
Punctuation: '#f0efd0',
|
| 69 |
+
|
| 70 |
+
Comment: '#7f9f7f italic',
|
| 71 |
+
Comment.Preproc: '#dfaf8f bold',
|
| 72 |
+
Comment.PreprocFile: '#cc9393',
|
| 73 |
+
Comment.Special: '#dfdfdf bold',
|
| 74 |
+
|
| 75 |
+
Generic: '#ecbcbc bold',
|
| 76 |
+
Generic.Emph: '#ffffff bold',
|
| 77 |
+
Generic.Output: '#5b605e bold',
|
| 78 |
+
Generic.Heading: '#efefef bold',
|
| 79 |
+
Generic.Deleted: '#c3bf9f bg:#313c36',
|
| 80 |
+
Generic.Inserted: '#709080 bg:#313c36 bold',
|
| 81 |
+
Generic.Traceback: '#80d4aa bg:#2f2f2f bold',
|
| 82 |
+
Generic.Subheading: '#efefef bold',
|
| 83 |
+
}
|