Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add background color attributes #2

Merged
merged 1 commit into from
Nov 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/rosepine.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ class Color:
class RosePineStyle(Style):
"""Soho vibes for Pygments. Based on the colors of Rose Pine main theme."""

background_color: str = Color.pine_base

styles: Dict[Any, str] = {
Comment: Color.pine_subtle,
Error: Color.pine_love,
Expand Down
2 changes: 2 additions & 0 deletions src/rosepinedawn.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ class Color:
class RosePineDawnStyle(Style):
"""Soho vibes for Pygments. Based on the colors of Rose Pine Dawn theme."""

background_color: str = Color.dawn_base

styles: Dict[Any, str] = {
Comment: Color.dawn_subtle,
Error: Color.dawn_love,
Expand Down
2 changes: 2 additions & 0 deletions src/rosepinemoon.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ class Color:
class RosePineMoonStyle(Style):
"""Soho vibes for Pygments. Based on the colors of Rose Pine Moon theme."""

background_color: str = Color.moon_base

styles: Dict[Any, str] = {
Comment: Color.moon_subtle,
Error: Color.moon_love,
Expand Down
Loading