From a43f5813c060f0ec851a96e12e394fb2999ddaec Mon Sep 17 00:00:00 2001 From: Mylloon Date: Mon, 17 Jun 2024 15:15:46 +0200 Subject: [PATCH] use color of the nvp --- static/js/index.js | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/static/js/index.js b/static/js/index.js index ec40319..10d4e98 100644 --- a/static/js/index.js +++ b/static/js/index.js @@ -50,7 +50,18 @@ window.addEventListener("load", () => { new Tag("School hater"), new Tag("Stagiaire"), new Tag("Rempli de malice"), - new Tag("#NouveauFrontPopulaire ✊"), + new Tag( + "#NouveauFrontPopulaire ✊", + ` + background: linear-gradient(to bottom, green 0%, green 30%, \ + red 31%, red 40%, \ + yellow 41%, yellow 60%, \ + purple 61%, purple 81%, \ + pink 81%); + ${clipping_text} + text-shadow: 0px 0px 20px light-dark(transparent, var(--font-color)); + ` + ), ]; const random = Math.round(Math.random() * (tags.length - 1));