Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Feature/tomorrow night eighties style#3142

Open
Trung6405 wants to merge 8 commits into
pygments:masterfrom
Trung6405:feature/tomorrow-night-eighties-style
Open

Feature/tomorrow night eighties style#3142
Trung6405 wants to merge 8 commits into
pygments:masterfrom
Trung6405:feature/tomorrow-night-eighties-style

Conversation

@Trung6405

Copy link
Copy Markdown

Summary

Adds the Tomorrow Night Eighties colour scheme as a built-in Pygments style.

Previously, the style was only available as a third-party package (tomorrow-pygments). This meant tools like HTTPie required an extra dependency to use it.

Changes

  • Added pygments/styles/tomorrow_night_eighties.py, ported from tomorrow-pygments by MozMorris, based on the original theme by Chris Kempson
  • Updated pygments/styles/_mapping.py to register the style as tomorrow-night-eighties (regenerated via tox -e mapfiles)
  • Updated tests/contrast/min_contrasts.json with the style's minimum contrast ratio of 4.6 (regenerated via scripts/update_contrasts.py)

Testing

  • tox -e mapfiles passes
  • pytest tests/contrast/test_contrasts.py passes

Result

The Tomorrow Night Eighties theme is now available as a built-in style, no extra dependencies needed.

Fixes #960

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Tomorrow Night Eighties style

1 participant