Cours/venv/lib/python3.12/site-packages/pygments/styles/igor.py

33 lines
737 B
Python

"""
pygments.styles.igor
~~~~~~~~~~~~~~~~~~~~
Igor Pro default style.
:copyright: Copyright 2006-2024 by the Pygments team, see AUTHORS.
:license: BSD, see LICENSE for details.
"""
from pygments.style import Style
from pygments.token import Keyword, Name, Comment, String
__all__ = ['IgorStyle']
class IgorStyle(Style):
"""
Pygments version of the official colors for Igor Pro procedures.
"""
name = 'igor'
styles = {
Comment: 'italic #FF0000',
Keyword: '#0000FF',
Name.Function: '#C34E00',
Name.Decorator: '#CC00A3',
Name.Class: '#007575',
String: '#009C00'
}