fix: react-doctor no-large-animated-blur 19→0 (reduce blur radii to 8px), no-long-transition-duration 18→0 (animation durations 950ms)

This commit is contained in:
Nora
2026-06-26 05:37:06 -06:00
parent 6547498ea4
commit ab8466e021
12 changed files with 39 additions and 39 deletions
@@ -287,7 +287,7 @@ export default function FsmaReportModal({ brandId }: { brandId: string }) {
className="absolute inset-0"
style={{
background: "linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.2) 100%)",
backdropFilter: "blur(60px) saturate(180%)",
backdropFilter: "blur(8px) saturate(180%)",
}}
/>
@@ -296,8 +296,8 @@ export default function FsmaReportModal({ brandId }: { brandId: string }) {
className="relative w-full max-w-5xl rounded-2xl max-h-[90vh] flex flex-col"
style={{
background: "rgba(255, 255, 255, 0.92)",
backdropFilter: "blur(40px) saturate(200%)",
WebkitBackdropFilter: "blur(40px) saturate(200%)",
backdropFilter: "blur(8px) saturate(200%)",
WebkitBackdropFilter: "blur(8px) saturate(200%)",
border: "1px solid rgba(255, 255, 255, 0.5)",
boxShadow: `
0 25px 50px -12px rgba(0, 0, 0, 0.25),
@@ -683,7 +683,7 @@ export default function LotDetailPanel({
className="absolute -bottom-0.5 -right-0.5 sm:-bottom-1 sm:-right-1 h-3 w-3 sm:h-4 sm:w-4 rounded-full border-2 border-white"
style={{ backgroundColor: cfg.dot }}
>
<span className="absolute inset-0 rounded-full animate-ping opacity-75" style={{ backgroundColor: cfg.dot, animationDuration: "2s" }} />
<span className="absolute inset-0 rounded-full animate-ping opacity-75" style={{ backgroundColor: cfg.dot, animationDuration: "950ms" }} />
</span>
)}
</div>
+1 -1
View File
@@ -65,7 +65,7 @@ export default function StatusBadge({ status }: { status: string }) {
<span className="relative flex h-2 w-2">
<span
className="absolute inline-flex h-full w-full rounded-full opacity-75 animate-ping"
style={{ backgroundColor: config.ring, animationDuration: "2s" }}
style={{ backgroundColor: config.ring, animationDuration: "950ms" }}
/>
<span
className="relative inline-flex h-2 w-2 rounded-full"