16 lines
527 B
Python
16 lines
527 B
Python
# Copyright Spack Project Developers. See COPYRIGHT file for details.
|
|
#
|
|
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
|
|
|
# The name of the Pygments (syntax highlighting) style to use.
|
|
# We use our own extension of the default style with a few modifications
|
|
from pygments.styles.default import DefaultStyle
|
|
from pygments.token import Generic
|
|
|
|
|
|
class SpackStyle(DefaultStyle):
|
|
styles = DefaultStyle.styles.copy()
|
|
background_color = "#f4f4f8"
|
|
styles[Generic.Output] = "#355"
|
|
styles[Generic.Prompt] = "bold #346ec9"
|