From 8deabc75a92522d66351c553c79355dbb915364a Mon Sep 17 00:00:00 2001 From: Hao-qi Wu Date: Tue, 26 Mar 2024 18:23:22 -0400 Subject: [PATCH] Mirror styles changes to progress ring renamed ring-whole to ring-flatlight and have ring highlight and flatlight be the inverse of each other fix spelling error with decimalPlaces use getComputedStyle for get the radius of the ring defined in CSS use :is() CSS to simplify CSS code Change stroke thickness math to better match previous look --- lib/reporters/html.js | 19 +++++++++++++------ mocha.css | 26 ++++++++++++-------------- 2 files changed, 25 insertions(+), 20 deletions(-) diff --git a/lib/reporters/html.js b/lib/reporters/html.js index 1181af5330..ae4a4546f8 100644 --- a/lib/reporters/html.js +++ b/lib/reporters/html.js @@ -37,7 +37,7 @@ exports = module.exports = HTML; var statsTemplate = '