From 6dbe2949f0710cb800292aefb5ebabed9eff0bdb Mon Sep 17 00:00:00 2001 From: Tobias Buschor Date: Tue, 29 Mar 2022 16:34:59 +0200 Subject: [PATCH] Use system-colors if supported The corresponding spec change: https://github.com/whatwg/html/commit/22154a4c1d426dddf187fb12c05fbcb8816c94a5 --- dialog-polyfill.css | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dialog-polyfill.css b/dialog-polyfill.css index 6b38bf0..2c9063d 100644 --- a/dialog-polyfill.css +++ b/dialog-polyfill.css @@ -11,7 +11,9 @@ dialog { border: solid; padding: 1em; background: white; + background-color: Canvas; color: black; + color: CanvasText; display: block; } @@ -34,4 +36,4 @@ dialog.fixed { position: fixed; top: 50%; transform: translate(0, -50%); -} \ No newline at end of file +}