
    Ij
                        U d Z ddlZddlmZmZ ej        dk    rddlmZ nddlmZ ddl	m
Z
  G d d	e          Zej         ee
j        d
          ej         ee
j                  ej         ee
j                  ej         ee
j                  ej         ee
j                  ej         ee
j                  ej         ee
j                  iZeeef         ed<   dS )a  Defines custom Rich styles and their corresponding names for cmd2.

This module provides a centralized and discoverable way to manage Rich styles
used within the cmd2 framework. It defines a StrEnum for style names and a
dictionary that maps these names to their default style objects.

**Notes**

Cmd2 uses Rich for its terminal output, and while this module defines a set of
cmd2-specific styles, it's important to understand that these aren't the only
styles that can appear. Components like Rich tracebacks and the rich-argparse
library, which cmd2 uses for its help output, also apply their own built-in
styles. Additionally, app developers may use other Rich objects that have
their own default styles.

For a complete theming experience, you can create a custom theme that includes
styles from Rich and rich-argparse. The `cmd2.rich_utils.set_theme()` function
automatically updates rich-argparse's styles with any custom styles provided in
your theme dictionary, so you don't have to modify them directly.

You can find Rich's default styles in the `rich.default_styles` module.
For rich-argparse, the style names are defined in the
`rich_argparse.RichHelpFormatter.styles` dictionary.

    N)Style	StyleType)      )StrEnum   )Colorc                   .    e Zd ZdZdZdZdZdZdZdZ	dZ
d	S )
	Cmd2Stylea<  An enumeration of the names of custom Rich styles used in cmd2.

    Using this enum allows for autocompletion and prevents typos when
    referencing cmd2-specific styles.

    This StrEnum is tightly coupled with `DEFAULT_CMD2_STYLES`. Any name
    added here must have a corresponding style definition there.
    zcmd2.examplez
cmd2.errorzcmd2.help.headerzcmd2.help.leaderzcmd2.successzcmd2.table_borderzcmd2.warningN)__name__
__module____qualname____doc__COMMAND_LINEERRORHELP_HEADERHELP_LEADERSUCCESSTABLE_BORDERWARNING     c/home/jenkins/jenkins/workspace/simtester-sanitize/venv/lib/python3.11/site-packages/cmd2/styles.pyr   r   *   s=          "LE$K$KG&LGGGr   r   T)colorbold)r   DEFAULT_CMD2_STYLES)r   sys
rich.styler   r   version_infoenumr   backports.strenumcolorsr	   r   r   CYANr   
BRIGHT_REDr   BRIGHT_GREENr   r   GREENr   r   BRIGHT_YELLOWr   dictstr__annotations__r   r   r   <module>r+      s    4 


       
 w))))))             * EE
>>>OUU!122255u'9:::55uz222uu5;///EE(:;;;uu5#6777- T#y.)     r   