summaryrefslogtreecommitdiff
path: root/pygments/styles
diff options
context:
space:
mode:
authorPaweł Fertyk <pfertyk@users.noreply.github.com>2020-07-04 18:10:03 +0200
committerGitHub <noreply@github.com>2020-07-04 18:10:03 +0200
commit728fd19ebcb69ddb2c7af159939e1a19ae53a892 (patch)
treeed0c18f61887b61a9c4f41cf021a202dc92c3ad1 /pygments/styles
parentb5577a68a9c286f4bce157d63e8c83ed8d70e704 (diff)
downloadpygments-git-728fd19ebcb69ddb2c7af159939e1a19ae53a892.tar.gz
Fix Solarized line number colors (#1477)
* Add font and background colors to Style * Move all styles to get_style_defs, add tests * Remove hardcoded styles, add special lineno style * Add styles for special line numbers in tables * Update noclasses documentation * Refactor linenos elements and styles, add tests * Update AUTHORS * Fix multiple CSS prefixes, add tests
Diffstat (limited to 'pygments/styles')
-rw-r--r--pygments/styles/solarized.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/pygments/styles/solarized.py b/pygments/styles/solarized.py
index 7d4b113d..ac94a984 100644
--- a/pygments/styles/solarized.py
+++ b/pygments/styles/solarized.py
@@ -118,6 +118,8 @@ class SolarizedDarkStyle(Style):
styles = make_style(DARK_COLORS)
background_color = DARK_COLORS['base03']
highlight_color = DARK_COLORS['base02']
+ line_number_color = DARK_COLORS['base01']
+ line_number_background_color = DARK_COLORS['base02']
class SolarizedLightStyle(SolarizedDarkStyle):
@@ -128,3 +130,5 @@ class SolarizedLightStyle(SolarizedDarkStyle):
styles = make_style(LIGHT_COLORS)
background_color = LIGHT_COLORS['base03']
highlight_color = LIGHT_COLORS['base02']
+ line_number_color = LIGHT_COLORS['base01']
+ line_number_background_color = LIGHT_COLORS['base02']