Skip to content

DeepTeam is a framework to red team LLMs and AI agents.

fix css crashing chrome browsers

A-Vamshi744da213afd5
diff --git a/docs/src/sections/home/AdversaryCards/AdversaryCards.module.scss b/docs/src/sections/home/AdversaryCards/AdversaryCards.module.scss
index cb2645c8..59c70d4a 100644
--- a/docs/src/sections/home/AdversaryCards/AdversaryCards.module.scss
+++ b/docs/src/sections/home/AdversaryCards/AdversaryCards.module.scss
@@ -132,7 +132,11 @@
// deepteam's red against an otherwise monochrome page.
// Fallback for Safari < 16.2 (no color-mix support).
fill: #c2410c;
- fill: color-mix(in oklab, #dc2626 70%, currentColor);
+ // NB: must NOT use `currentColor` inside this color-mix. Interpolating
+ // an SVG `fill` toward `color-mix(..., currentColor)` deterministically
+ // crashes the Blink renderer (SIGABRT) as of Chrome 149. `currentColor`
+ // here resolves to the glyph color, so reference the token directly.
+ fill: color-mix(in oklab, #dc2626 70%, var(--color-fd-foreground));
transform: scale(1);
}
90%,
@@ -155,6 +159,6 @@
.glyphAttackFlag {
fill: #c2410c;
- fill: color-mix(in oklab, #dc2626 70%, currentColor);
+ fill: color-mix(in oklab, #dc2626 70%, var(--color-fd-foreground));
}
}