diff --git a/.changeset/breezy-cows-do.md b/.changeset/breezy-cows-do.md new file mode 100644 index 0000000..532c63e --- /dev/null +++ b/.changeset/breezy-cows-do.md @@ -0,0 +1,5 @@ +--- +"water.css": patch +--- + +Replace deprecated ::-webkit-details-marker diff --git a/src/parts/_misc.css b/src/parts/_misc.css index 25e09b8..94f5d70 100644 --- a/src/parts/_misc.css +++ b/src/parts/_misc.css @@ -118,7 +118,8 @@ details > :not(summary) { margin-top: 0; } -summary::-webkit-details-marker { +summary::marker, +summary::-webkit-details-marker /* isn't autoprefixed, kept for backwards compatibility */ { color: var(--text-main); } diff --git a/src/parts/_print.css b/src/parts/_print.css index b088192..0717135 100644 --- a/src/parts/_print.css +++ b/src/parts/_print.css @@ -34,11 +34,8 @@ color: #000; } - summary::marker { - color: #000; - } - - summary::-webkit-details-marker { + summary::marker, + summary::-webkit-details-marker /* isn't autoprefixed, kept for backwards compatibility */ { color: #000; }