Skip to content

Commit

Permalink
Merge pull request #1331 from matthewhegarty/revert-dark-mode
Browse files Browse the repository at this point in the history
Revert 'dark mode' css: causes issues in django2.2 (#1330)
  • Loading branch information
matthewhegarty committed Sep 30, 2021
2 parents e83da27 + 84481ca commit 1ef3252
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 35 deletions.
5 changes: 5 additions & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
Changelog
=========

2.6.1 (2021-09-30)
------------------

- Revert 'dark mode' css: causes issues in django2.2 (#1330)

2.6.0 (2021-09-15)
------------------

Expand Down
2 changes: 1 addition & 1 deletion import_export/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '2.6.0'
__version__ = '2.6.1'
34 changes: 0 additions & 34 deletions import_export/static/import_export/import.css
Original file line number Diff line number Diff line change
Expand Up @@ -79,37 +79,3 @@ table.import-preview tr.update {
font-weight: bold;
font-size: 0.85em;
}

@media (prefers-color-scheme: dark) {
table.import-preview tr.skip {
background-color: #2d2d2d;
}

table.import-preview tr.new {
background-color: #42274d;
}

table.import-preview tr.delete {
background-color: #064140;
}

table.import-preview tr.update {
background-color: #020230;
}

.validation-error-container {
background-color: #003e3e;
}

/*
these declarations are necessary to forcibly override the
formatting applied by the diff-match-patch python library
*/
table.import-preview td ins {
background-color: #190019 !important;
}

table.import-preview td del {
background-color: #001919 !important;
}
}

0 comments on commit 1ef3252

Please sign in to comment.