Skip to content

Switch to Django-defined colors for dark mode support #59

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

Merged
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
4 changes: 3 additions & 1 deletion AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ django-postgres-metrics was originally created in 2017 by Markus Holtermann.

Here is an inevitably incomplete list of MUCH-APPRECIATED CONTRIBUTORS --
people who have submitted patches, reported bugs, added translations, helped
answer newbie questions, and generally made Django that much better:
answer newbie questions, and generally made django-postgres-metrics that much
better:

Markus Holtermann <https://markusholtermann.eu>
Dusty Phillips <dusty@buchuki.com>
Thibaud Colas <https://github.com/thibaudcolas>
6 changes: 6 additions & 0 deletions docs/source/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ Changelog
Under Development
=================

* Added dark-mode support. (`PR #59
<https://github.com/django-postgres-metrics/django-postgres-metrics/pull/59>`_)

* Fixed several accessibility issues. (`PR #58
<https://github.com/django-postgres-metrics/django-postgres-metrics/pull/58>`_)

0.10.1 (2021-04-06)
===================

Expand Down
1 change: 1 addition & 0 deletions post_screenshot_comment.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ def write_comment(pr_id: str, body: str, token: str) -> None:
comment_id = find_screenshot_comment_id(pr_id)
images = get_image_urls(sys.argv[2])
body = format_body(images)
print(body)
token = os.environ["GITHUB_TOKEN"]
if comment_id:
update_comment(comment_id, body, token)
Expand Down
8 changes: 4 additions & 4 deletions postgres_metrics/static/postgres_metrics/css/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -26,20 +26,20 @@

tr.pgm-critical,
td.pgm-critical {
background-color: #ffefef;
background-color: var(--message-error-bg);
}

tr.pgm-warning,
td.pgm-warning {
background-color: #ffffcc;
background-color: var(--message-warning-bg);
}

tr.pgm-ok,
td.pgm-ok {
background-color: #ddffdd;
background-color: var(--message-success-bg);
}

tr.pgm-info,
td.pgm-info {
background-color: #9adeff;
background-color: var(--breadcrumbs-bg);
}
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy