← All ports
in your project, anywhere on the Python path (a Sphinx docs/_ext folder, say)
in your project, anywhere on the Python path (a Sphinx docs/_ext folder, say)
in your project, anywhere on the Python path (a Sphinx docs/_ext folder, say)
in your project, anywhere on the Python path (a Sphinx docs/_ext folder, say)
in your project, anywhere on the Python path (a Sphinx docs/_ext folder, say)
in your project, anywhere on the Python path (a Sphinx docs/_ext folder, say)
in your project, anywhere on the Python path (a Sphinx docs/_ext folder, say)
in your project, anywhere on the Python path (a Sphinx docs/_ext folder, say)
in your project, anywhere on the Python path (a Sphinx docs/_ext folder, say)
Palettes & formats
Pygments
A Pygments Style class per flavor, for Sphinx, MkDocs, Jupyter or your own HTML and terminal output. package/ installs them by name (subway-seat, -tunnel, -enamel), which is how Aider picks up its code theme.
Showing WalnutTunnelEnamelMoquetteDeep LevelPortlandGuimardCatacombesCarrelage. Switch flavors with the bullets up top.
Pygments Report a problem with this portReport a problem with this portReport a problem with this portReport a problem with this portReport a problem with this portReport a problem with this portReport a problem with this portReport a problem with this portReport a problem with this port
Turn it on
In any Python code, with the file on your PYTHONPATH
from pygments.formatters import HtmlFormatter
from subway_seat import style
print(HtmlFormatter(style=style).get_style_defs(".highlight"))In any Python code, with the file on your PYTHONPATH
from pygments.formatters import HtmlFormatter
from subway_seat_tunnel import style
print(HtmlFormatter(style=style).get_style_defs(".highlight"))In any Python code, with the file on your PYTHONPATH
from pygments.formatters import HtmlFormatter
from subway_seat_enamel import style
print(HtmlFormatter(style=style).get_style_defs(".highlight"))In any Python code, with the file on your PYTHONPATH
from pygments.formatters import HtmlFormatter
from london_moquette import style
print(HtmlFormatter(style=style).get_style_defs(".highlight"))In any Python code, with the file on your PYTHONPATH
from pygments.formatters import HtmlFormatter
from london_deep_level import style
print(HtmlFormatter(style=style).get_style_defs(".highlight"))In any Python code, with the file on your PYTHONPATH
from pygments.formatters import HtmlFormatter
from london_portland import style
print(HtmlFormatter(style=style).get_style_defs(".highlight"))In any Python code, with the file on your PYTHONPATH
from pygments.formatters import HtmlFormatter
from paris_guimard import style
print(HtmlFormatter(style=style).get_style_defs(".highlight"))In any Python code, with the file on your PYTHONPATH
from pygments.formatters import HtmlFormatter
from paris_catacombes import style
print(HtmlFormatter(style=style).get_style_defs(".highlight"))In any Python code, with the file on your PYTHONPATH
from pygments.formatters import HtmlFormatter
from paris_carrelage import style
print(HtmlFormatter(style=style).get_style_defs(".highlight"))The files
Download all (.zip)Download all (.zip)Download all (.zip)Download all (.zip)Download all (.zip)Download all (.zip)Download all (.zip)Download all (.zip)Download all (.zip)subway_seat.pysave as docs/_ext/subway_seat.pyin your project, anywhere on the Python path (a Sphinx docs/_ext folder, say)
# Subway Seat — generated from palette.py by build.py. Edit the palette, not this file.
"""Subway Seat — a Pygments style. Walnut paneling and orange bucket seats. The original."""
from pygments.style import Style
from pygments.token import Token
__all__ = ["SubwaySeatStyle", "style"]
class SubwaySeatStyle(Style):
name = "subway-seat"
background_color = "#362619"
highlight_color = "#43301F"
line_number_color = "#7B6047"
line_number_background_color = "#362619"
line_number_special_color = "#F3BF45"
line_number_special_background_color = "#43301F"
styles = {
Token: "#EDDCBC",
Token.Text: "#EDDCBC",
Token.Error: "#E05C45",
Token.Comment: "italic #967B5C",
Token.Comment.Hashbang: "italic #967B5C",
Token.Comment.Preproc: "italic #F4A87E",
Token.Keyword: "#EC7F31",
Token.Keyword.Constant: "#FF8373",
Token.Keyword.Type: "italic #86AD95",
Token.Operator: "#AE9575",
Token.Operator.Word: "#EC7F31",
Token.Punctuation: "#AE9575",
Token.Name: "#EDDCBC",
Token.Name.Attribute: "italic #F3BF45",
Token.Name.Builtin: "italic #F3BF45",
Token.Name.Builtin.Pseudo: "italic #FF8373",
Token.Name.Class: "#86AD95",
Token.Name.Constant: "#FF8373",
Token.Name.Decorator: "italic #F4A87E",
Token.Name.Entity: "#F4A87E",
Token.Name.Exception: "#86AD95",
Token.Name.Function: "#F3BF45",
Token.Name.Function.Magic: "italic #F3BF45",
Token.Name.Label: "italic #F4A87E",
Token.Name.Namespace: "#C4AE8C",
Token.Name.Property: "#D9C6A3",
Token.Name.Tag: "#EC7F31",
Token.Name.Variable: "#EDDCBC",
Token.Name.Variable.Magic: "italic #FF8373",
Token.Literal.Date: "#FF8373",
Token.Literal.String: "#ADB956",
Token.Literal.String.Affix: "#EC7F31",
Token.Literal.String.Escape: "#F4A87E",
Token.Literal.String.Interpol: "#F4A87E",
Token.Literal.String.Regex: "#F4A87E",
Token.Literal.String.Symbol: "#FF8373",
Token.Literal.Number: "#FF8373",
Token.Generic.Heading: "bold #F3BF45",
Token.Generic.Subheading: "bold #F3BF45",
Token.Generic.Emph: "italic #EDDCBC",
Token.Generic.Strong: "bold #F8ECD4",
Token.Generic.Deleted: "bg:#52281C #FF8373",
Token.Generic.Inserted: "bg:#3F3A1E #ADB956",
Token.Generic.Error: "#E05C45",
Token.Generic.Output: "#C4AE8C",
Token.Generic.Prompt: "#EC7F31",
Token.Generic.Traceback: "#E05C45",
}
style = SubwaySeatStylepackage/subway_seat_pygments/subway_seat.py# Subway Seat — generated from palette.py by build.py. Edit the palette, not this file.
"""Subway Seat — a Pygments style. Walnut paneling and orange bucket seats. The original."""
from pygments.style import Style
from pygments.token import Token
__all__ = ["SubwaySeatStyle", "style"]
class SubwaySeatStyle(Style):
name = "subway-seat"
background_color = "#362619"
highlight_color = "#43301F"
line_number_color = "#7B6047"
line_number_background_color = "#362619"
line_number_special_color = "#F3BF45"
line_number_special_background_color = "#43301F"
styles = {
Token: "#EDDCBC",
Token.Text: "#EDDCBC",
Token.Error: "#E05C45",
Token.Comment: "italic #967B5C",
Token.Comment.Hashbang: "italic #967B5C",
Token.Comment.Preproc: "italic #F4A87E",
Token.Keyword: "#EC7F31",
Token.Keyword.Constant: "#FF8373",
Token.Keyword.Type: "italic #86AD95",
Token.Operator: "#AE9575",
Token.Operator.Word: "#EC7F31",
Token.Punctuation: "#AE9575",
Token.Name: "#EDDCBC",
Token.Name.Attribute: "italic #F3BF45",
Token.Name.Builtin: "italic #F3BF45",
Token.Name.Builtin.Pseudo: "italic #FF8373",
Token.Name.Class: "#86AD95",
Token.Name.Constant: "#FF8373",
Token.Name.Decorator: "italic #F4A87E",
Token.Name.Entity: "#F4A87E",
Token.Name.Exception: "#86AD95",
Token.Name.Function: "#F3BF45",
Token.Name.Function.Magic: "italic #F3BF45",
Token.Name.Label: "italic #F4A87E",
Token.Name.Namespace: "#C4AE8C",
Token.Name.Property: "#D9C6A3",
Token.Name.Tag: "#EC7F31",
Token.Name.Variable: "#EDDCBC",
Token.Name.Variable.Magic: "italic #FF8373",
Token.Literal.Date: "#FF8373",
Token.Literal.String: "#ADB956",
Token.Literal.String.Affix: "#EC7F31",
Token.Literal.String.Escape: "#F4A87E",
Token.Literal.String.Interpol: "#F4A87E",
Token.Literal.String.Regex: "#F4A87E",
Token.Literal.String.Symbol: "#FF8373",
Token.Literal.Number: "#FF8373",
Token.Generic.Heading: "bold #F3BF45",
Token.Generic.Subheading: "bold #F3BF45",
Token.Generic.Emph: "italic #EDDCBC",
Token.Generic.Strong: "bold #F8ECD4",
Token.Generic.Deleted: "bg:#52281C #FF8373",
Token.Generic.Inserted: "bg:#3F3A1E #ADB956",
Token.Generic.Error: "#E05C45",
Token.Generic.Output: "#C4AE8C",
Token.Generic.Prompt: "#EC7F31",
Token.Generic.Traceback: "#E05C45",
}
style = SubwaySeatStylesubway_seat_tunnel.pysave as docs/_ext/subway_seat_tunnel.pyin your project, anywhere on the Python path (a Sphinx docs/_ext folder, say)
# Subway Seat — generated from palette.py by build.py. Edit the palette, not this file.
"""Subway Seat Tunnel — a Pygments style. The late local after midnight: espresso-deep, same warm lights."""
from pygments.style import Style
from pygments.token import Token
__all__ = ["SubwaySeatTunnelStyle", "style"]
class SubwaySeatTunnelStyle(Style):
name = "subway-seat-tunnel"
background_color = "#24180E"
highlight_color = "#302115"
line_number_color = "#745B45"
line_number_background_color = "#24180E"
line_number_special_color = "#F3BF45"
line_number_special_background_color = "#302115"
styles = {
Token: "#E9D8B6",
Token.Text: "#E9D8B6",
Token.Error: "#E05C45",
Token.Comment: "italic #917759",
Token.Comment.Hashbang: "italic #917759",
Token.Comment.Preproc: "italic #F4A87E",
Token.Keyword: "#EC7F31",
Token.Keyword.Constant: "#FF8373",
Token.Keyword.Type: "italic #86AD95",
Token.Operator: "#AA9171",
Token.Operator.Word: "#EC7F31",
Token.Punctuation: "#AA9171",
Token.Name: "#E9D8B6",
Token.Name.Attribute: "italic #F3BF45",
Token.Name.Builtin: "italic #F3BF45",
Token.Name.Builtin.Pseudo: "italic #FF8373",
Token.Name.Class: "#86AD95",
Token.Name.Constant: "#FF8373",
Token.Name.Decorator: "italic #F4A87E",
Token.Name.Entity: "#F4A87E",
Token.Name.Exception: "#86AD95",
Token.Name.Function: "#F3BF45",
Token.Name.Function.Magic: "italic #F3BF45",
Token.Name.Label: "italic #F4A87E",
Token.Name.Namespace: "#C0AA88",
Token.Name.Property: "#D6C3A0",
Token.Name.Tag: "#EC7F31",
Token.Name.Variable: "#E9D8B6",
Token.Name.Variable.Magic: "italic #FF8373",
Token.Literal.Date: "#FF8373",
Token.Literal.String: "#ADB956",
Token.Literal.String.Affix: "#EC7F31",
Token.Literal.String.Escape: "#F4A87E",
Token.Literal.String.Interpol: "#F4A87E",
Token.Literal.String.Regex: "#F4A87E",
Token.Literal.String.Symbol: "#FF8373",
Token.Literal.Number: "#FF8373",
Token.Generic.Heading: "bold #F3BF45",
Token.Generic.Subheading: "bold #F3BF45",
Token.Generic.Emph: "italic #E9D8B6",
Token.Generic.Strong: "bold #F6EAD1",
Token.Generic.Deleted: "bg:#492217 #FF8373",
Token.Generic.Inserted: "bg:#363318 #ADB956",
Token.Generic.Error: "#E05C45",
Token.Generic.Output: "#C0AA88",
Token.Generic.Prompt: "#EC7F31",
Token.Generic.Traceback: "#E05C45",
}
style = SubwaySeatTunnelStylepackage/subway_seat_pygments/subway_seat_tunnel.py# Subway Seat — generated from palette.py by build.py. Edit the palette, not this file.
"""Subway Seat Tunnel — a Pygments style. The late local after midnight: espresso-deep, same warm lights."""
from pygments.style import Style
from pygments.token import Token
__all__ = ["SubwaySeatTunnelStyle", "style"]
class SubwaySeatTunnelStyle(Style):
name = "subway-seat-tunnel"
background_color = "#24180E"
highlight_color = "#302115"
line_number_color = "#745B45"
line_number_background_color = "#24180E"
line_number_special_color = "#F3BF45"
line_number_special_background_color = "#302115"
styles = {
Token: "#E9D8B6",
Token.Text: "#E9D8B6",
Token.Error: "#E05C45",
Token.Comment: "italic #917759",
Token.Comment.Hashbang: "italic #917759",
Token.Comment.Preproc: "italic #F4A87E",
Token.Keyword: "#EC7F31",
Token.Keyword.Constant: "#FF8373",
Token.Keyword.Type: "italic #86AD95",
Token.Operator: "#AA9171",
Token.Operator.Word: "#EC7F31",
Token.Punctuation: "#AA9171",
Token.Name: "#E9D8B6",
Token.Name.Attribute: "italic #F3BF45",
Token.Name.Builtin: "italic #F3BF45",
Token.Name.Builtin.Pseudo: "italic #FF8373",
Token.Name.Class: "#86AD95",
Token.Name.Constant: "#FF8373",
Token.Name.Decorator: "italic #F4A87E",
Token.Name.Entity: "#F4A87E",
Token.Name.Exception: "#86AD95",
Token.Name.Function: "#F3BF45",
Token.Name.Function.Magic: "italic #F3BF45",
Token.Name.Label: "italic #F4A87E",
Token.Name.Namespace: "#C0AA88",
Token.Name.Property: "#D6C3A0",
Token.Name.Tag: "#EC7F31",
Token.Name.Variable: "#E9D8B6",
Token.Name.Variable.Magic: "italic #FF8373",
Token.Literal.Date: "#FF8373",
Token.Literal.String: "#ADB956",
Token.Literal.String.Affix: "#EC7F31",
Token.Literal.String.Escape: "#F4A87E",
Token.Literal.String.Interpol: "#F4A87E",
Token.Literal.String.Regex: "#F4A87E",
Token.Literal.String.Symbol: "#FF8373",
Token.Literal.Number: "#FF8373",
Token.Generic.Heading: "bold #F3BF45",
Token.Generic.Subheading: "bold #F3BF45",
Token.Generic.Emph: "italic #E9D8B6",
Token.Generic.Strong: "bold #F6EAD1",
Token.Generic.Deleted: "bg:#492217 #FF8373",
Token.Generic.Inserted: "bg:#363318 #ADB956",
Token.Generic.Error: "#E05C45",
Token.Generic.Output: "#C0AA88",
Token.Generic.Prompt: "#EC7F31",
Token.Generic.Traceback: "#E05C45",
}
style = SubwaySeatTunnelStylesubway_seat_enamel.pysave as docs/_ext/subway_seat_enamel.pyin your project, anywhere on the Python path (a Sphinx docs/_ext folder, say)
# Subway Seat — generated from palette.py by build.py. Edit the palette, not this file.
"""Subway Seat Enamel — a Pygments style. Cream enamel panels in the morning sun. The light one."""
from pygments.style import Style
from pygments.token import Token
__all__ = ["SubwaySeatEnamelStyle", "style"]
class SubwaySeatEnamelStyle(Style):
name = "subway-seat-enamel"
background_color = "#F8EFDF"
highlight_color = "#EEE4D0"
line_number_color = "#A58D6D"
line_number_background_color = "#F8EFDF"
line_number_special_color = "#A04800"
line_number_special_background_color = "#EEE4D0"
styles = {
Token: "#3E2C1E",
Token.Text: "#3E2C1E",
Token.Error: "#992418",
Token.Comment: "italic #8C7254",
Token.Comment.Hashbang: "italic #8C7254",
Token.Comment.Preproc: "italic #843811",
Token.Keyword: "#A04800",
Token.Keyword.Constant: "#BF4233",
Token.Keyword.Type: "italic #3E7157",
Token.Operator: "#735C44",
Token.Operator.Word: "#A04800",
Token.Punctuation: "#735C44",
Token.Name: "#3E2C1E",
Token.Name.Attribute: "italic #976608",
Token.Name.Builtin: "italic #976608",
Token.Name.Builtin.Pseudo: "italic #BF4233",
Token.Name.Class: "#3E7157",
Token.Name.Constant: "#BF4233",
Token.Name.Decorator: "italic #843811",
Token.Name.Entity: "#843811",
Token.Name.Exception: "#3E7157",
Token.Name.Function: "#976608",
Token.Name.Function.Magic: "italic #976608",
Token.Name.Label: "italic #843811",
Token.Name.Namespace: "#654F3B",
Token.Name.Property: "#54402F",
Token.Name.Tag: "#A04800",
Token.Name.Variable: "#3E2C1E",
Token.Name.Variable.Magic: "italic #BF4233",
Token.Literal.Date: "#BF4233",
Token.Literal.String: "#66740F",
Token.Literal.String.Affix: "#A04800",
Token.Literal.String.Escape: "#843811",
Token.Literal.String.Interpol: "#843811",
Token.Literal.String.Regex: "#843811",
Token.Literal.String.Symbol: "#BF4233",
Token.Literal.Number: "#BF4233",
Token.Generic.Heading: "bold #976608",
Token.Generic.Subheading: "bold #976608",
Token.Generic.Emph: "italic #3E2C1E",
Token.Generic.Strong: "bold #2A1D13",
Token.Generic.Deleted: "bg:#EBD3D1 #BF4233",
Token.Generic.Inserted: "bg:#D7DBC1 #66740F",
Token.Generic.Error: "#992418",
Token.Generic.Output: "#654F3B",
Token.Generic.Prompt: "#A04800",
Token.Generic.Traceback: "#992418",
}
style = SubwaySeatEnamelStylepackage/subway_seat_pygments/subway_seat_enamel.py# Subway Seat — generated from palette.py by build.py. Edit the palette, not this file.
"""Subway Seat Enamel — a Pygments style. Cream enamel panels in the morning sun. The light one."""
from pygments.style import Style
from pygments.token import Token
__all__ = ["SubwaySeatEnamelStyle", "style"]
class SubwaySeatEnamelStyle(Style):
name = "subway-seat-enamel"
background_color = "#F8EFDF"
highlight_color = "#EEE4D0"
line_number_color = "#A58D6D"
line_number_background_color = "#F8EFDF"
line_number_special_color = "#A04800"
line_number_special_background_color = "#EEE4D0"
styles = {
Token: "#3E2C1E",
Token.Text: "#3E2C1E",
Token.Error: "#992418",
Token.Comment: "italic #8C7254",
Token.Comment.Hashbang: "italic #8C7254",
Token.Comment.Preproc: "italic #843811",
Token.Keyword: "#A04800",
Token.Keyword.Constant: "#BF4233",
Token.Keyword.Type: "italic #3E7157",
Token.Operator: "#735C44",
Token.Operator.Word: "#A04800",
Token.Punctuation: "#735C44",
Token.Name: "#3E2C1E",
Token.Name.Attribute: "italic #976608",
Token.Name.Builtin: "italic #976608",
Token.Name.Builtin.Pseudo: "italic #BF4233",
Token.Name.Class: "#3E7157",
Token.Name.Constant: "#BF4233",
Token.Name.Decorator: "italic #843811",
Token.Name.Entity: "#843811",
Token.Name.Exception: "#3E7157",
Token.Name.Function: "#976608",
Token.Name.Function.Magic: "italic #976608",
Token.Name.Label: "italic #843811",
Token.Name.Namespace: "#654F3B",
Token.Name.Property: "#54402F",
Token.Name.Tag: "#A04800",
Token.Name.Variable: "#3E2C1E",
Token.Name.Variable.Magic: "italic #BF4233",
Token.Literal.Date: "#BF4233",
Token.Literal.String: "#66740F",
Token.Literal.String.Affix: "#A04800",
Token.Literal.String.Escape: "#843811",
Token.Literal.String.Interpol: "#843811",
Token.Literal.String.Regex: "#843811",
Token.Literal.String.Symbol: "#BF4233",
Token.Literal.Number: "#BF4233",
Token.Generic.Heading: "bold #976608",
Token.Generic.Subheading: "bold #976608",
Token.Generic.Emph: "italic #3E2C1E",
Token.Generic.Strong: "bold #2A1D13",
Token.Generic.Deleted: "bg:#EBD3D1 #BF4233",
Token.Generic.Inserted: "bg:#D7DBC1 #66740F",
Token.Generic.Error: "#992418",
Token.Generic.Output: "#654F3B",
Token.Generic.Prompt: "#A04800",
Token.Generic.Traceback: "#992418",
}
style = SubwaySeatEnamelStylelondon_moquette.pysave as docs/_ext/london_moquette.pyin your project, anywhere on the Python path (a Sphinx docs/_ext folder, say)
# Subway Seat — generated from palette.py by build.py. Edit the palette, not this file.
"""London Moquette — a Pygments style. The seat you're sitting on. Corporate Blue, turned right down."""
from pygments.style import Style
from pygments.token import Token
__all__ = ["LondonMoquetteStyle", "style"]
class LondonMoquetteStyle(Style):
name = "london-moquette"
background_color = "#1E2941"
highlight_color = "#263451"
line_number_color = "#576685"
line_number_background_color = "#1E2941"
line_number_special_color = "#F2C03F"
line_number_special_background_color = "#263451"
styles = {
Token: "#D8DEEA",
Token.Text: "#D8DEEA",
Token.Error: "#DB6052",
Token.Comment: "italic #73819C",
Token.Comment.Hashbang: "italic #73819C",
Token.Comment.Preproc: "italic #AE9EDC",
Token.Keyword: "#DE8946",
Token.Keyword.Constant: "#FE8474",
Token.Keyword.Type: "italic #54B4B5",
Token.Operator: "#8F9AB0",
Token.Operator.Word: "#DE8946",
Token.Punctuation: "#8F9AB0",
Token.Name: "#D8DEEA",
Token.Name.Attribute: "italic #F2C03F",
Token.Name.Builtin: "italic #F2C03F",
Token.Name.Builtin.Pseudo: "italic #FE8474",
Token.Name.Class: "#54B4B5",
Token.Name.Constant: "#FE8474",
Token.Name.Decorator: "italic #AE9EDC",
Token.Name.Entity: "#AE9EDC",
Token.Name.Exception: "#54B4B5",
Token.Name.Function: "#F2C03F",
Token.Name.Function.Magic: "italic #F2C03F",
Token.Name.Label: "italic #AE9EDC",
Token.Name.Namespace: "#A9B2C4",
Token.Name.Property: "#C1C9D8",
Token.Name.Tag: "#DE8946",
Token.Name.Variable: "#D8DEEA",
Token.Name.Variable.Magic: "italic #FE8474",
Token.Literal.Date: "#FE8474",
Token.Literal.String: "#77C581",
Token.Literal.String.Affix: "#DE8946",
Token.Literal.String.Escape: "#AE9EDC",
Token.Literal.String.Interpol: "#AE9EDC",
Token.Literal.String.Regex: "#AE9EDC",
Token.Literal.String.Symbol: "#FE8474",
Token.Literal.Number: "#FE8474",
Token.Generic.Heading: "bold #F2C03F",
Token.Generic.Subheading: "bold #F2C03F",
Token.Generic.Emph: "italic #D8DEEA",
Token.Generic.Strong: "bold #E9EDF5",
Token.Generic.Deleted: "bg:#462B31 #FE8474",
Token.Generic.Inserted: "bg:#283E3A #77C581",
Token.Generic.Error: "#DB6052",
Token.Generic.Output: "#A9B2C4",
Token.Generic.Prompt: "#DE8946",
Token.Generic.Traceback: "#DB6052",
}
style = LondonMoquetteStylepackage/subway_seat_pygments/london_moquette.py# Subway Seat — generated from palette.py by build.py. Edit the palette, not this file.
"""London Moquette — a Pygments style. The seat you're sitting on. Corporate Blue, turned right down."""
from pygments.style import Style
from pygments.token import Token
__all__ = ["LondonMoquetteStyle", "style"]
class LondonMoquetteStyle(Style):
name = "london-moquette"
background_color = "#1E2941"
highlight_color = "#263451"
line_number_color = "#576685"
line_number_background_color = "#1E2941"
line_number_special_color = "#F2C03F"
line_number_special_background_color = "#263451"
styles = {
Token: "#D8DEEA",
Token.Text: "#D8DEEA",
Token.Error: "#DB6052",
Token.Comment: "italic #73819C",
Token.Comment.Hashbang: "italic #73819C",
Token.Comment.Preproc: "italic #AE9EDC",
Token.Keyword: "#DE8946",
Token.Keyword.Constant: "#FE8474",
Token.Keyword.Type: "italic #54B4B5",
Token.Operator: "#8F9AB0",
Token.Operator.Word: "#DE8946",
Token.Punctuation: "#8F9AB0",
Token.Name: "#D8DEEA",
Token.Name.Attribute: "italic #F2C03F",
Token.Name.Builtin: "italic #F2C03F",
Token.Name.Builtin.Pseudo: "italic #FE8474",
Token.Name.Class: "#54B4B5",
Token.Name.Constant: "#FE8474",
Token.Name.Decorator: "italic #AE9EDC",
Token.Name.Entity: "#AE9EDC",
Token.Name.Exception: "#54B4B5",
Token.Name.Function: "#F2C03F",
Token.Name.Function.Magic: "italic #F2C03F",
Token.Name.Label: "italic #AE9EDC",
Token.Name.Namespace: "#A9B2C4",
Token.Name.Property: "#C1C9D8",
Token.Name.Tag: "#DE8946",
Token.Name.Variable: "#D8DEEA",
Token.Name.Variable.Magic: "italic #FE8474",
Token.Literal.Date: "#FE8474",
Token.Literal.String: "#77C581",
Token.Literal.String.Affix: "#DE8946",
Token.Literal.String.Escape: "#AE9EDC",
Token.Literal.String.Interpol: "#AE9EDC",
Token.Literal.String.Regex: "#AE9EDC",
Token.Literal.String.Symbol: "#FE8474",
Token.Literal.Number: "#FE8474",
Token.Generic.Heading: "bold #F2C03F",
Token.Generic.Subheading: "bold #F2C03F",
Token.Generic.Emph: "italic #D8DEEA",
Token.Generic.Strong: "bold #E9EDF5",
Token.Generic.Deleted: "bg:#462B31 #FE8474",
Token.Generic.Inserted: "bg:#283E3A #77C581",
Token.Generic.Error: "#DB6052",
Token.Generic.Output: "#A9B2C4",
Token.Generic.Prompt: "#DE8946",
Token.Generic.Traceback: "#DB6052",
}
style = LondonMoquetteStylelondon_deep_level.pysave as docs/_ext/london_deep_level.pyin your project, anywhere on the Python path (a Sphinx docs/_ext folder, say)
# Subway Seat — generated from palette.py by build.py. Edit the palette, not this file.
"""London Deep Level — a Pygments style. Below the cut-and-cover lines. The ground drops; the signals don't."""
from pygments.style import Style
from pygments.token import Token
__all__ = ["LondonDeepLevelStyle", "style"]
class LondonDeepLevelStyle(Style):
name = "london-deep-level"
background_color = "#121A2D"
highlight_color = "#1A243A"
line_number_color = "#53617D"
line_number_background_color = "#121A2D"
line_number_special_color = "#F2C03F"
line_number_special_background_color = "#1A243A"
styles = {
Token: "#D4DAE7",
Token.Text: "#D4DAE7",
Token.Error: "#DB6052",
Token.Comment: "italic #6F7C97",
Token.Comment.Hashbang: "italic #6F7C97",
Token.Comment.Preproc: "italic #AE9EDC",
Token.Keyword: "#DE8946",
Token.Keyword.Constant: "#FE8474",
Token.Keyword.Type: "italic #54B4B5",
Token.Operator: "#8B96AC",
Token.Operator.Word: "#DE8946",
Token.Punctuation: "#8B96AC",
Token.Name: "#D4DAE7",
Token.Name.Attribute: "italic #F2C03F",
Token.Name.Builtin: "italic #F2C03F",
Token.Name.Builtin.Pseudo: "italic #FE8474",
Token.Name.Class: "#54B4B5",
Token.Name.Constant: "#FE8474",
Token.Name.Decorator: "italic #AE9EDC",
Token.Name.Entity: "#AE9EDC",
Token.Name.Exception: "#54B4B5",
Token.Name.Function: "#F2C03F",
Token.Name.Function.Magic: "italic #F2C03F",
Token.Name.Label: "italic #AE9EDC",
Token.Name.Namespace: "#A5AEC0",
Token.Name.Property: "#BEC6D5",
Token.Name.Tag: "#DE8946",
Token.Name.Variable: "#D4DAE7",
Token.Name.Variable.Magic: "italic #FE8474",
Token.Literal.Date: "#FE8474",
Token.Literal.String: "#77C581",
Token.Literal.String.Affix: "#DE8946",
Token.Literal.String.Escape: "#AE9EDC",
Token.Literal.String.Interpol: "#AE9EDC",
Token.Literal.String.Regex: "#AE9EDC",
Token.Literal.String.Symbol: "#FE8474",
Token.Literal.Number: "#FE8474",
Token.Generic.Heading: "bold #F2C03F",
Token.Generic.Subheading: "bold #F2C03F",
Token.Generic.Emph: "italic #D4DAE7",
Token.Generic.Strong: "bold #E7EBF3",
Token.Generic.Deleted: "bg:#402327 #FE8474",
Token.Generic.Inserted: "bg:#22362F #77C581",
Token.Generic.Error: "#DB6052",
Token.Generic.Output: "#A5AEC0",
Token.Generic.Prompt: "#DE8946",
Token.Generic.Traceback: "#DB6052",
}
style = LondonDeepLevelStylepackage/subway_seat_pygments/london_deep_level.py# Subway Seat — generated from palette.py by build.py. Edit the palette, not this file.
"""London Deep Level — a Pygments style. Below the cut-and-cover lines. The ground drops; the signals don't."""
from pygments.style import Style
from pygments.token import Token
__all__ = ["LondonDeepLevelStyle", "style"]
class LondonDeepLevelStyle(Style):
name = "london-deep-level"
background_color = "#121A2D"
highlight_color = "#1A243A"
line_number_color = "#53617D"
line_number_background_color = "#121A2D"
line_number_special_color = "#F2C03F"
line_number_special_background_color = "#1A243A"
styles = {
Token: "#D4DAE7",
Token.Text: "#D4DAE7",
Token.Error: "#DB6052",
Token.Comment: "italic #6F7C97",
Token.Comment.Hashbang: "italic #6F7C97",
Token.Comment.Preproc: "italic #AE9EDC",
Token.Keyword: "#DE8946",
Token.Keyword.Constant: "#FE8474",
Token.Keyword.Type: "italic #54B4B5",
Token.Operator: "#8B96AC",
Token.Operator.Word: "#DE8946",
Token.Punctuation: "#8B96AC",
Token.Name: "#D4DAE7",
Token.Name.Attribute: "italic #F2C03F",
Token.Name.Builtin: "italic #F2C03F",
Token.Name.Builtin.Pseudo: "italic #FE8474",
Token.Name.Class: "#54B4B5",
Token.Name.Constant: "#FE8474",
Token.Name.Decorator: "italic #AE9EDC",
Token.Name.Entity: "#AE9EDC",
Token.Name.Exception: "#54B4B5",
Token.Name.Function: "#F2C03F",
Token.Name.Function.Magic: "italic #F2C03F",
Token.Name.Label: "italic #AE9EDC",
Token.Name.Namespace: "#A5AEC0",
Token.Name.Property: "#BEC6D5",
Token.Name.Tag: "#DE8946",
Token.Name.Variable: "#D4DAE7",
Token.Name.Variable.Magic: "italic #FE8474",
Token.Literal.Date: "#FE8474",
Token.Literal.String: "#77C581",
Token.Literal.String.Affix: "#DE8946",
Token.Literal.String.Escape: "#AE9EDC",
Token.Literal.String.Interpol: "#AE9EDC",
Token.Literal.String.Regex: "#AE9EDC",
Token.Literal.String.Symbol: "#FE8474",
Token.Literal.Number: "#FE8474",
Token.Generic.Heading: "bold #F2C03F",
Token.Generic.Subheading: "bold #F2C03F",
Token.Generic.Emph: "italic #D4DAE7",
Token.Generic.Strong: "bold #E7EBF3",
Token.Generic.Deleted: "bg:#402327 #FE8474",
Token.Generic.Inserted: "bg:#22362F #77C581",
Token.Generic.Error: "#DB6052",
Token.Generic.Output: "#A5AEC0",
Token.Generic.Prompt: "#DE8946",
Token.Generic.Traceback: "#DB6052",
}
style = LondonDeepLevelStylelondon_portland.pysave as docs/_ext/london_portland.pyin your project, anywhere on the Python path (a Sphinx docs/_ext folder, say)
# Subway Seat — generated from palette.py by build.py. Edit the palette, not this file.
"""London Portland — a Pygments style. Holden's Portland stone. Links are the exact Corporate Blue."""
from pygments.style import Style
from pygments.token import Token
__all__ = ["LondonPortlandStyle", "style"]
class LondonPortlandStyle(Style):
name = "london-portland"
background_color = "#E8F0FF"
highlight_color = "#DCE5F7"
line_number_color = "#8192B4"
line_number_background_color = "#E8F0FF"
line_number_special_color = "#A54300"
line_number_special_background_color = "#DCE5F7"
styles = {
Token: "#293040",
Token.Text: "#293040",
Token.Error: "#9B211A",
Token.Comment: "italic #697794",
Token.Comment.Hashbang: "italic #697794",
Token.Comment.Preproc: "italic #755FA9",
Token.Keyword: "#A54300",
Token.Keyword.Constant: "#CC2E25",
Token.Keyword.Type: "italic #007376",
Token.Operator: "#556179",
Token.Operator.Word: "#A54300",
Token.Punctuation: "#556179",
Token.Name: "#293040",
Token.Name.Attribute: "italic #8D6C08",
Token.Name.Builtin: "italic #8D6C08",
Token.Name.Builtin.Pseudo: "italic #CC2E25",
Token.Name.Class: "#007376",
Token.Name.Constant: "#CC2E25",
Token.Name.Decorator: "italic #755FA9",
Token.Name.Entity: "#755FA9",
Token.Name.Exception: "#007376",
Token.Name.Function: "#8D6C08",
Token.Name.Function.Magic: "italic #8D6C08",
Token.Name.Label: "italic #755FA9",
Token.Name.Namespace: "#4A5469",
Token.Name.Property: "#3C4557",
Token.Name.Tag: "#A54300",
Token.Name.Variable: "#293040",
Token.Name.Variable.Magic: "italic #CC2E25",
Token.Literal.Date: "#CC2E25",
Token.Literal.String: "#0D8131",
Token.Literal.String.Affix: "#A54300",
Token.Literal.String.Escape: "#755FA9",
Token.Literal.String.Interpol: "#755FA9",
Token.Literal.String.Regex: "#755FA9",
Token.Literal.String.Symbol: "#CC2E25",
Token.Literal.Number: "#CC2E25",
Token.Generic.Heading: "bold #8D6C08",
Token.Generic.Subheading: "bold #8D6C08",
Token.Generic.Emph: "italic #293040",
Token.Generic.Strong: "bold #1B202B",
Token.Generic.Deleted: "bg:#EBD3D1 #CC2E25",
Token.Generic.Inserted: "bg:#C0DEC9 #0D8131",
Token.Generic.Error: "#9B211A",
Token.Generic.Output: "#4A5469",
Token.Generic.Prompt: "#A54300",
Token.Generic.Traceback: "#9B211A",
}
style = LondonPortlandStylepackage/subway_seat_pygments/london_portland.py# Subway Seat — generated from palette.py by build.py. Edit the palette, not this file.
"""London Portland — a Pygments style. Holden's Portland stone. Links are the exact Corporate Blue."""
from pygments.style import Style
from pygments.token import Token
__all__ = ["LondonPortlandStyle", "style"]
class LondonPortlandStyle(Style):
name = "london-portland"
background_color = "#E8F0FF"
highlight_color = "#DCE5F7"
line_number_color = "#8192B4"
line_number_background_color = "#E8F0FF"
line_number_special_color = "#A54300"
line_number_special_background_color = "#DCE5F7"
styles = {
Token: "#293040",
Token.Text: "#293040",
Token.Error: "#9B211A",
Token.Comment: "italic #697794",
Token.Comment.Hashbang: "italic #697794",
Token.Comment.Preproc: "italic #755FA9",
Token.Keyword: "#A54300",
Token.Keyword.Constant: "#CC2E25",
Token.Keyword.Type: "italic #007376",
Token.Operator: "#556179",
Token.Operator.Word: "#A54300",
Token.Punctuation: "#556179",
Token.Name: "#293040",
Token.Name.Attribute: "italic #8D6C08",
Token.Name.Builtin: "italic #8D6C08",
Token.Name.Builtin.Pseudo: "italic #CC2E25",
Token.Name.Class: "#007376",
Token.Name.Constant: "#CC2E25",
Token.Name.Decorator: "italic #755FA9",
Token.Name.Entity: "#755FA9",
Token.Name.Exception: "#007376",
Token.Name.Function: "#8D6C08",
Token.Name.Function.Magic: "italic #8D6C08",
Token.Name.Label: "italic #755FA9",
Token.Name.Namespace: "#4A5469",
Token.Name.Property: "#3C4557",
Token.Name.Tag: "#A54300",
Token.Name.Variable: "#293040",
Token.Name.Variable.Magic: "italic #CC2E25",
Token.Literal.Date: "#CC2E25",
Token.Literal.String: "#0D8131",
Token.Literal.String.Affix: "#A54300",
Token.Literal.String.Escape: "#755FA9",
Token.Literal.String.Interpol: "#755FA9",
Token.Literal.String.Regex: "#755FA9",
Token.Literal.String.Symbol: "#CC2E25",
Token.Literal.Number: "#CC2E25",
Token.Generic.Heading: "bold #8D6C08",
Token.Generic.Subheading: "bold #8D6C08",
Token.Generic.Emph: "italic #293040",
Token.Generic.Strong: "bold #1B202B",
Token.Generic.Deleted: "bg:#EBD3D1 #CC2E25",
Token.Generic.Inserted: "bg:#C0DEC9 #0D8131",
Token.Generic.Error: "#9B211A",
Token.Generic.Output: "#4A5469",
Token.Generic.Prompt: "#A54300",
Token.Generic.Traceback: "#9B211A",
}
style = LondonPortlandStyleparis_guimard.pysave as docs/_ext/paris_guimard.pyin your project, anywhere on the Python path (a Sphinx docs/_ext folder, say)
# Subway Seat — generated from palette.py by build.py. Edit the palette, not this file.
"""Paris Guimard — a Pygments style. Cast iron off a Metro entrance, which is nearly black. Brass leads."""
from pygments.style import Style
from pygments.token import Token
__all__ = ["ParisGuimardStyle", "style"]
class ParisGuimardStyle(Style):
name = "paris-guimard"
background_color = "#1E2E26"
highlight_color = "#263930"
line_number_color = "#586B61"
line_number_background_color = "#1E2E26"
line_number_special_color = "#F1BF4B"
line_number_special_background_color = "#263930"
styles = {
Token: "#D9E1DB",
Token.Text: "#D9E1DB",
Token.Error: "#C7665B",
Token.Comment: "italic #74857C",
Token.Comment.Hashbang: "italic #74857C",
Token.Comment.Preproc: "italic #FAB49C",
Token.Keyword: "#CA9245",
Token.Keyword.Constant: "#E7877B",
Token.Keyword.Type: "italic #549B9F",
Token.Operator: "#909E96",
Token.Operator.Word: "#CA9245",
Token.Punctuation: "#909E96",
Token.Name: "#D9E1DB",
Token.Name.Attribute: "italic #F1BF4B",
Token.Name.Builtin: "italic #F1BF4B",
Token.Name.Builtin.Pseudo: "italic #E7877B",
Token.Name.Class: "#549B9F",
Token.Name.Constant: "#E7877B",
Token.Name.Decorator: "italic #FAB49C",
Token.Name.Entity: "#FAB49C",
Token.Name.Exception: "#549B9F",
Token.Name.Function: "#F1BF4B",
Token.Name.Function.Magic: "italic #F1BF4B",
Token.Name.Label: "italic #FAB49C",
Token.Name.Namespace: "#A9B5AE",
Token.Name.Property: "#C2CBC5",
Token.Name.Tag: "#CA9245",
Token.Name.Variable: "#D9E1DB",
Token.Name.Variable.Magic: "italic #E7877B",
Token.Literal.Date: "#E7877B",
Token.Literal.String: "#70CAA9",
Token.Literal.String.Affix: "#CA9245",
Token.Literal.String.Escape: "#FAB49C",
Token.Literal.String.Interpol: "#FAB49C",
Token.Literal.String.Regex: "#FAB49C",
Token.Literal.String.Symbol: "#E7877B",
Token.Literal.Number: "#E7877B",
Token.Generic.Heading: "bold #F1BF4B",
Token.Generic.Subheading: "bold #F1BF4B",
Token.Generic.Emph: "italic #D9E1DB",
Token.Generic.Strong: "bold #E9EEEC",
Token.Generic.Deleted: "bg:#422E29 #E7877B",
Token.Generic.Inserted: "bg:#274137 #70CAA9",
Token.Generic.Error: "#C7665B",
Token.Generic.Output: "#A9B5AE",
Token.Generic.Prompt: "#CA9245",
Token.Generic.Traceback: "#C7665B",
}
style = ParisGuimardStylepackage/subway_seat_pygments/paris_guimard.py# Subway Seat — generated from palette.py by build.py. Edit the palette, not this file.
"""Paris Guimard — a Pygments style. Cast iron off a Metro entrance, which is nearly black. Brass leads."""
from pygments.style import Style
from pygments.token import Token
__all__ = ["ParisGuimardStyle", "style"]
class ParisGuimardStyle(Style):
name = "paris-guimard"
background_color = "#1E2E26"
highlight_color = "#263930"
line_number_color = "#586B61"
line_number_background_color = "#1E2E26"
line_number_special_color = "#F1BF4B"
line_number_special_background_color = "#263930"
styles = {
Token: "#D9E1DB",
Token.Text: "#D9E1DB",
Token.Error: "#C7665B",
Token.Comment: "italic #74857C",
Token.Comment.Hashbang: "italic #74857C",
Token.Comment.Preproc: "italic #FAB49C",
Token.Keyword: "#CA9245",
Token.Keyword.Constant: "#E7877B",
Token.Keyword.Type: "italic #549B9F",
Token.Operator: "#909E96",
Token.Operator.Word: "#CA9245",
Token.Punctuation: "#909E96",
Token.Name: "#D9E1DB",
Token.Name.Attribute: "italic #F1BF4B",
Token.Name.Builtin: "italic #F1BF4B",
Token.Name.Builtin.Pseudo: "italic #E7877B",
Token.Name.Class: "#549B9F",
Token.Name.Constant: "#E7877B",
Token.Name.Decorator: "italic #FAB49C",
Token.Name.Entity: "#FAB49C",
Token.Name.Exception: "#549B9F",
Token.Name.Function: "#F1BF4B",
Token.Name.Function.Magic: "italic #F1BF4B",
Token.Name.Label: "italic #FAB49C",
Token.Name.Namespace: "#A9B5AE",
Token.Name.Property: "#C2CBC5",
Token.Name.Tag: "#CA9245",
Token.Name.Variable: "#D9E1DB",
Token.Name.Variable.Magic: "italic #E7877B",
Token.Literal.Date: "#E7877B",
Token.Literal.String: "#70CAA9",
Token.Literal.String.Affix: "#CA9245",
Token.Literal.String.Escape: "#FAB49C",
Token.Literal.String.Interpol: "#FAB49C",
Token.Literal.String.Regex: "#FAB49C",
Token.Literal.String.Symbol: "#E7877B",
Token.Literal.Number: "#E7877B",
Token.Generic.Heading: "bold #F1BF4B",
Token.Generic.Subheading: "bold #F1BF4B",
Token.Generic.Emph: "italic #D9E1DB",
Token.Generic.Strong: "bold #E9EEEC",
Token.Generic.Deleted: "bg:#422E29 #E7877B",
Token.Generic.Inserted: "bg:#274137 #70CAA9",
Token.Generic.Error: "#C7665B",
Token.Generic.Output: "#A9B5AE",
Token.Generic.Prompt: "#CA9245",
Token.Generic.Traceback: "#C7665B",
}
style = ParisGuimardStyleparis_catacombes.pysave as docs/_ext/paris_catacombes.pyin your project, anywhere on the Python path (a Sphinx docs/_ext folder, say)
# Subway Seat — generated from palette.py by build.py. Edit the palette, not this file.
"""Paris Catacombes — a Pygments style. Under the quarries: the same green with the lights turned down."""
from pygments.style import Style
from pygments.token import Token
__all__ = ["ParisCatacombesStyle", "style"]
class ParisCatacombesStyle(Style):
name = "paris-catacombes"
background_color = "#121E19"
highlight_color = "#1A2921"
line_number_color = "#54655C"
line_number_background_color = "#121E19"
line_number_special_color = "#F1BF4B"
line_number_special_background_color = "#1A2921"
styles = {
Token: "#D4DDD7",
Token.Text: "#D4DDD7",
Token.Error: "#C7665B",
Token.Comment: "italic #708178",
Token.Comment.Hashbang: "italic #708178",
Token.Comment.Preproc: "italic #FAB49C",
Token.Keyword: "#CA9245",
Token.Keyword.Constant: "#E7877B",
Token.Keyword.Type: "italic #549B9F",
Token.Operator: "#8C9A92",
Token.Operator.Word: "#CA9245",
Token.Punctuation: "#8C9A92",
Token.Name: "#D4DDD7",
Token.Name.Attribute: "italic #F1BF4B",
Token.Name.Builtin: "italic #F1BF4B",
Token.Name.Builtin.Pseudo: "italic #E7877B",
Token.Name.Class: "#549B9F",
Token.Name.Constant: "#E7877B",
Token.Name.Decorator: "italic #FAB49C",
Token.Name.Entity: "#FAB49C",
Token.Name.Exception: "#549B9F",
Token.Name.Function: "#F1BF4B",
Token.Name.Function.Magic: "italic #F1BF4B",
Token.Name.Label: "italic #FAB49C",
Token.Name.Namespace: "#A5B1AA",
Token.Name.Property: "#BFC8C2",
Token.Name.Tag: "#CA9245",
Token.Name.Variable: "#D4DDD7",
Token.Name.Variable.Magic: "italic #E7877B",
Token.Literal.Date: "#E7877B",
Token.Literal.String: "#70CAA9",
Token.Literal.String.Affix: "#CA9245",
Token.Literal.String.Escape: "#FAB49C",
Token.Literal.String.Interpol: "#FAB49C",
Token.Literal.String.Regex: "#FAB49C",
Token.Literal.String.Symbol: "#E7877B",
Token.Literal.Number: "#E7877B",
Token.Generic.Heading: "bold #F1BF4B",
Token.Generic.Subheading: "bold #F1BF4B",
Token.Generic.Emph: "italic #D4DDD7",
Token.Generic.Strong: "bold #E7ECEA",
Token.Generic.Deleted: "bg:#3B2621 #E7877B",
Token.Generic.Inserted: "bg:#20392F #70CAA9",
Token.Generic.Error: "#C7665B",
Token.Generic.Output: "#A5B1AA",
Token.Generic.Prompt: "#CA9245",
Token.Generic.Traceback: "#C7665B",
}
style = ParisCatacombesStylepackage/subway_seat_pygments/paris_catacombes.py# Subway Seat — generated from palette.py by build.py. Edit the palette, not this file.
"""Paris Catacombes — a Pygments style. Under the quarries: the same green with the lights turned down."""
from pygments.style import Style
from pygments.token import Token
__all__ = ["ParisCatacombesStyle", "style"]
class ParisCatacombesStyle(Style):
name = "paris-catacombes"
background_color = "#121E19"
highlight_color = "#1A2921"
line_number_color = "#54655C"
line_number_background_color = "#121E19"
line_number_special_color = "#F1BF4B"
line_number_special_background_color = "#1A2921"
styles = {
Token: "#D4DDD7",
Token.Text: "#D4DDD7",
Token.Error: "#C7665B",
Token.Comment: "italic #708178",
Token.Comment.Hashbang: "italic #708178",
Token.Comment.Preproc: "italic #FAB49C",
Token.Keyword: "#CA9245",
Token.Keyword.Constant: "#E7877B",
Token.Keyword.Type: "italic #549B9F",
Token.Operator: "#8C9A92",
Token.Operator.Word: "#CA9245",
Token.Punctuation: "#8C9A92",
Token.Name: "#D4DDD7",
Token.Name.Attribute: "italic #F1BF4B",
Token.Name.Builtin: "italic #F1BF4B",
Token.Name.Builtin.Pseudo: "italic #E7877B",
Token.Name.Class: "#549B9F",
Token.Name.Constant: "#E7877B",
Token.Name.Decorator: "italic #FAB49C",
Token.Name.Entity: "#FAB49C",
Token.Name.Exception: "#549B9F",
Token.Name.Function: "#F1BF4B",
Token.Name.Function.Magic: "italic #F1BF4B",
Token.Name.Label: "italic #FAB49C",
Token.Name.Namespace: "#A5B1AA",
Token.Name.Property: "#BFC8C2",
Token.Name.Tag: "#CA9245",
Token.Name.Variable: "#D4DDD7",
Token.Name.Variable.Magic: "italic #E7877B",
Token.Literal.Date: "#E7877B",
Token.Literal.String: "#70CAA9",
Token.Literal.String.Affix: "#CA9245",
Token.Literal.String.Escape: "#FAB49C",
Token.Literal.String.Interpol: "#FAB49C",
Token.Literal.String.Regex: "#FAB49C",
Token.Literal.String.Symbol: "#E7877B",
Token.Literal.Number: "#E7877B",
Token.Generic.Heading: "bold #F1BF4B",
Token.Generic.Subheading: "bold #F1BF4B",
Token.Generic.Emph: "italic #D4DDD7",
Token.Generic.Strong: "bold #E7ECEA",
Token.Generic.Deleted: "bg:#3B2621 #E7877B",
Token.Generic.Inserted: "bg:#20392F #70CAA9",
Token.Generic.Error: "#C7665B",
Token.Generic.Output: "#A5B1AA",
Token.Generic.Prompt: "#CA9245",
Token.Generic.Traceback: "#C7665B",
}
style = ParisCatacombesStyleparis_carrelage.pysave as docs/_ext/paris_carrelage.pyin your project, anywhere on the Python path (a Sphinx docs/_ext folder, say)
# Subway Seat — generated from palette.py by build.py. Edit the palette, not this file.
"""Paris Carrelage — a Pygments style. Bevelled white tile under a vaulted platform. The light one."""
from pygments.style import Style
from pygments.token import Token
__all__ = ["ParisCarrelageStyle", "style"]
class ParisCarrelageStyle(Style):
name = "paris-carrelage"
background_color = "#EEF2F1"
highlight_color = "#E1E6E5"
line_number_color = "#859792"
line_number_background_color = "#EEF2F1"
line_number_special_color = "#764C00"
line_number_special_background_color = "#E1E6E5"
styles = {
Token: "#27342F",
Token.Text: "#27342F",
Token.Error: "#88251E",
Token.Comment: "italic #6C7C76",
Token.Comment.Hashbang: "italic #6C7C76",
Token.Comment.Preproc: "italic #B36B51",
Token.Keyword: "#764C00",
Token.Keyword.Constant: "#AC3B32",
Token.Keyword.Type: "italic #006267",
Token.Operator: "#56645F",
Token.Operator.Word: "#764C00",
Token.Punctuation: "#56645F",
Token.Name: "#27342F",
Token.Name.Attribute: "italic #916D07",
Token.Name.Builtin: "italic #916D07",
Token.Name.Builtin.Pseudo: "italic #AC3B32",
Token.Name.Class: "#006267",
Token.Name.Constant: "#AC3B32",
Token.Name.Decorator: "italic #B36B51",
Token.Name.Entity: "#B36B51",
Token.Name.Exception: "#006267",
Token.Name.Function: "#916D07",
Token.Name.Function.Magic: "italic #916D07",
Token.Name.Label: "italic #B36B51",
Token.Name.Namespace: "#4A5752",
Token.Name.Property: "#3B4742",
Token.Name.Tag: "#764C00",
Token.Name.Variable: "#27342F",
Token.Name.Variable.Magic: "italic #AC3B32",
Token.Literal.Date: "#AC3B32",
Token.Literal.String: "#218366",
Token.Literal.String.Affix: "#764C00",
Token.Literal.String.Escape: "#B36B51",
Token.Literal.String.Interpol: "#B36B51",
Token.Literal.String.Regex: "#B36B51",
Token.Literal.String.Symbol: "#AC3B32",
Token.Literal.Number: "#AC3B32",
Token.Generic.Heading: "bold #916D07",
Token.Generic.Subheading: "bold #916D07",
Token.Generic.Emph: "italic #27342F",
Token.Generic.Strong: "bold #19221E",
Token.Generic.Deleted: "bg:#E7D3D2 #AC3B32",
Token.Generic.Inserted: "bg:#C5DFD7 #218366",
Token.Generic.Error: "#88251E",
Token.Generic.Output: "#4A5752",
Token.Generic.Prompt: "#764C00",
Token.Generic.Traceback: "#88251E",
}
style = ParisCarrelageStylepackage/subway_seat_pygments/paris_carrelage.py# Subway Seat — generated from palette.py by build.py. Edit the palette, not this file.
"""Paris Carrelage — a Pygments style. Bevelled white tile under a vaulted platform. The light one."""
from pygments.style import Style
from pygments.token import Token
__all__ = ["ParisCarrelageStyle", "style"]
class ParisCarrelageStyle(Style):
name = "paris-carrelage"
background_color = "#EEF2F1"
highlight_color = "#E1E6E5"
line_number_color = "#859792"
line_number_background_color = "#EEF2F1"
line_number_special_color = "#764C00"
line_number_special_background_color = "#E1E6E5"
styles = {
Token: "#27342F",
Token.Text: "#27342F",
Token.Error: "#88251E",
Token.Comment: "italic #6C7C76",
Token.Comment.Hashbang: "italic #6C7C76",
Token.Comment.Preproc: "italic #B36B51",
Token.Keyword: "#764C00",
Token.Keyword.Constant: "#AC3B32",
Token.Keyword.Type: "italic #006267",
Token.Operator: "#56645F",
Token.Operator.Word: "#764C00",
Token.Punctuation: "#56645F",
Token.Name: "#27342F",
Token.Name.Attribute: "italic #916D07",
Token.Name.Builtin: "italic #916D07",
Token.Name.Builtin.Pseudo: "italic #AC3B32",
Token.Name.Class: "#006267",
Token.Name.Constant: "#AC3B32",
Token.Name.Decorator: "italic #B36B51",
Token.Name.Entity: "#B36B51",
Token.Name.Exception: "#006267",
Token.Name.Function: "#916D07",
Token.Name.Function.Magic: "italic #916D07",
Token.Name.Label: "italic #B36B51",
Token.Name.Namespace: "#4A5752",
Token.Name.Property: "#3B4742",
Token.Name.Tag: "#764C00",
Token.Name.Variable: "#27342F",
Token.Name.Variable.Magic: "italic #AC3B32",
Token.Literal.Date: "#AC3B32",
Token.Literal.String: "#218366",
Token.Literal.String.Affix: "#764C00",
Token.Literal.String.Escape: "#B36B51",
Token.Literal.String.Interpol: "#B36B51",
Token.Literal.String.Regex: "#B36B51",
Token.Literal.String.Symbol: "#AC3B32",
Token.Literal.Number: "#AC3B32",
Token.Generic.Heading: "bold #916D07",
Token.Generic.Subheading: "bold #916D07",
Token.Generic.Emph: "italic #27342F",
Token.Generic.Strong: "bold #19221E",
Token.Generic.Deleted: "bg:#E7D3D2 #AC3B32",
Token.Generic.Inserted: "bg:#C5DFD7 #218366",
Token.Generic.Error: "#88251E",
Token.Generic.Output: "#4A5752",
Token.Generic.Prompt: "#764C00",
Token.Generic.Traceback: "#88251E",
}
style = ParisCarrelageStyleThese are shared by all three flavors.
package/pyproject.tomlthe package installs from the repository: pip install 'git+https://github.com/oddurs/subway-seat#subdirectory=dist/pygments/package'# Subway Seat — generated from palette.py by build.py. Edit the palette, not this file.
[project]
name = "subway-seat-pygments"
version = "0.3.0"
description = "Subway Seat styles for Pygments, so Aider, Sphinx, MkDocs and IPython can use them by name."
readme = "README.md"
license = "MIT"
requires-python = ">=3.9"
dependencies = ["pygments>=2.10"]
[project.urls]
Homepage = "https://github.com/oddurs/subway-seat"
[project.entry-points."pygments.styles"]
subway-seat = "subway_seat_pygments.subway_seat:SubwaySeatStyle"
subway-seat-tunnel = "subway_seat_pygments.subway_seat_tunnel:SubwaySeatTunnelStyle"
subway-seat-enamel = "subway_seat_pygments.subway_seat_enamel:SubwaySeatEnamelStyle"
london-moquette = "subway_seat_pygments.london_moquette:LondonMoquetteStyle"
london-deep-level = "subway_seat_pygments.london_deep_level:LondonDeepLevelStyle"
london-portland = "subway_seat_pygments.london_portland:LondonPortlandStyle"
paris-guimard = "subway_seat_pygments.paris_guimard:ParisGuimardStyle"
paris-catacombes = "subway_seat_pygments.paris_catacombes:ParisCatacombesStyle"
paris-carrelage = "subway_seat_pygments.paris_carrelage:ParisCarrelageStyle"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["subway_seat_pygments"]package/README.md# subway-seat-pygments
The Subway Seat Pygments styles, registered as `subway-seat`, `subway-seat-tunnel`, `subway-seat-enamel`, `london-moquette`, `london-deep-level`, `london-portland`, `paris-guimard`, `paris-catacombes`, `paris-carrelage`.package/subway_seat_pygments/__init__.py# Subway Seat — generated from palette.py by build.py. Edit the palette, not this file.
from .subway_seat import SubwaySeatStyle
from .subway_seat_tunnel import SubwaySeatTunnelStyle
from .subway_seat_enamel import SubwaySeatEnamelStyle
from .london_moquette import LondonMoquetteStyle
from .london_deep_level import LondonDeepLevelStyle
from .london_portland import LondonPortlandStyle
from .paris_guimard import ParisGuimardStyle
from .paris_catacombes import ParisCatacombesStyle
from .paris_carrelage import ParisCarrelageStyle