feat: accentue le grayscale sur les photos des anciens résistants
parent
f8b3476489
commit
be6194ad1f
|
@ -4,5 +4,5 @@ import React from "react";
|
||||||
export const getResistantGrayscaleRule = (
|
export const getResistantGrayscaleRule = (
|
||||||
resistant: Resistant
|
resistant: Resistant
|
||||||
): React.CSSProperties => ({
|
): React.CSSProperties => ({
|
||||||
filter: `grayscale(${isAncienResistant(resistant) ? "40%" : "0"})`,
|
filter: `grayscale(${isAncienResistant(resistant) ? "80%" : "0"})`,
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue