Skip to content

Commit

Permalink
fix(UI): Incorrect text color on version document in dark mode (#14147)
Browse files Browse the repository at this point in the history
  • Loading branch information
shariquerik committed Sep 9, 2021
1 parent 39f4d5b commit 84562d5
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 21 deletions.
21 changes: 0 additions & 21 deletions frappe/core/doctype/version/version.css

This file was deleted.

1 change: 1 addition & 0 deletions frappe/public/scss/desk/index.scss
Expand Up @@ -47,3 +47,4 @@
@import "link_preview";
@import "../common/quill";
@import "plyr";
@import "version";
33 changes: 33 additions & 0 deletions frappe/public/scss/desk/version.scss
@@ -0,0 +1,33 @@
.version-info {
overflow: auto;

pre {
border: 0px;
margin: 0px;
background-color: inherit;
}

.table {
background-color: inherit;
}

.success {
background-color: var(--green-100) !important;
}

.danger {
background-color: var(--red-100) !important;
}
}

[data-theme="dark"] {
.version-info {
.danger, .success {
color: var(--gray-900);

td {
color: var(--gray-900);
}
}
}
}

0 comments on commit 84562d5

Please sign in to comment.