Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 20 additions & 15 deletions api.bs
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
<pre class=metadata>
Title: Privacy-Preserving Attribution: Level 1
Shortname: ppa
Shortname: privacy-preserving-attribution
Repository: w3c/ppa
URL: https://w3c.github.io/ppa/
Status: ED
ED: https://w3c.github.io/ppa
TR: https://www.w3.org/TR/privacy-preserving-attribution
Editor: Andrew Paseltiner, w3cid 131329, Google https://www.google.com/, apaseltiner@chromium.org
Editor: Andy Leiserson, w3cid 147715, Mozilla https://mozilla.org/, aleiserson@mozilla.com
Editor: Benjamin Savage, w3cid 114877, Meta https://www.meta.com/, btsavage@meta.com
Expand All @@ -16,21 +19,23 @@ Org: W3C
Status: ED
Level: None
</pre>

<style>
/* dark mode haxx for diagrams */
svg.diagram {
[stroke="black"], [stroke^="#000"] {
stroke: var(--text);
}
[stroke="white"], [stroke^="#fff"] {
stroke: var(--bg);
}
[fill="black"], [fill^="#000"], :not([fill]) {
fill: var(--text);
}
[fill="white"], [fill^="#fff"] {
fill: var(--bg);
}
/* dark mode haxx for diagrams - unnested version */

svg.diagram [stroke="black"], svg.diagram [stroke^="#000"] {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You could have used :is() here.

stroke: var(--text);
}
svg.diagram [stroke="white"], svg.diagram [stroke^="#fff"] {
stroke: var(--bg);
}

svg.diagram [fill="black"], svg.diagram [fill^="#000"], svg.diagram :not([fill]) {
fill: var(--text);
}

svg.diagram [fill="white"], svg.diagram [fill^="#fff"] {
fill: var(--bg);
}
</style>

Expand Down
Loading