Skip to content

Commit

Permalink
use system-colors
Browse files Browse the repository at this point in the history
  • Loading branch information
nuxodin authored Mar 29, 2022
1 parent 35e52f9 commit 1be48dd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion dialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,9 @@ if (!window.HTMLDialogElement) {
'border-image:initial;'+
'padding:1em;'+
'background:white;'+
'background:Canvas;'+
'color:black;'+
'color:CanvasText;'+
'}'+
'dialog:not([open]){'+
'display:none;'+
Expand All @@ -124,4 +126,4 @@ if (!window.HTMLDialogElement) {
'}';
document.head.insertAdjacentHTML('afterbegin','<style>'+css+'</style>');

}
}

0 comments on commit 1be48dd

Please sign in to comment.