summaryrefslogtreecommitdiff
path: root/pygments
diff options
context:
space:
mode:
authorMatthäus G. Chajdas <dev@anteru.net>2021-12-28 16:03:43 +0100
committerMatthäus G. Chajdas <dev@anteru.net>2021-12-28 16:03:43 +0100
commit6c8b1677358012e0250aac0321201dfbe51f29c8 (patch)
tree62a2e8c59ca1f05e3f3223831b4d2f4b660d458f /pygments
parentf7f5f94ed62bb3fc095878ab865da3e1b7e386fc (diff)
downloadpygments-git-6c8b1677358012e0250aac0321201dfbe51f29c8.tar.gz
Update CHANGES, contrast for friendly grayscale.
Diffstat (limited to 'pygments')
-rw-r--r--pygments/styles/friendly_grayscale.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/pygments/styles/friendly_grayscale.py b/pygments/styles/friendly_grayscale.py
index d13bc396..eb350264 100644
--- a/pygments/styles/friendly_grayscale.py
+++ b/pygments/styles/friendly_grayscale.py
@@ -1,4 +1,3 @@
-# -*- coding: utf-8 -*-
"""
pygments.styles.friendly_grayscale
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -8,7 +7,7 @@
using the luminosity value calculated by
http://www.workwithcolor.com/color-converter-01.htm
- :copyright: Copyright 2006-2019 by the Pygments team, see AUTHORS.
+ :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS.
:license: BSD, see LICENSE for details.
"""
@@ -20,6 +19,8 @@ from pygments.token import Keyword, Name, Comment, String, Error, \
class FriendlyGrayscaleStyle(Style):
"""
A modern grayscale style based on the friendly style.
+
+ .. versionadded:: 2.11
"""
background_color = "#f0f0f0"