From 7ee2457d9ceef5e2afea0ec0a4bd59e495a7b5f9 Mon Sep 17 00:00:00 2001
From: Dorine Lambinet <dorine.lambinet@gmail.com>
Date: Wed, 12 May 2021 09:42:15 +0200
Subject: [PATCH] Customise colors in Tailwindcss theme : add Jaune et Bleu
 LexImpact - Truegray as gray by default

---
 tailwind.config.cjs | 17 ++++++++++++++++-
 1 file changed, 16 insertions(+), 1 deletion(-)

diff --git a/tailwind.config.cjs b/tailwind.config.cjs
index a0152c02c..a5286e2cf 100644
--- a/tailwind.config.cjs
+++ b/tailwind.config.cjs
@@ -1,5 +1,7 @@
+const colors = require('tailwindcss/colors')
 const { tailwindExtractor } = require("tailwindcss/lib/lib/purgeUnusedStyles")
 
+
 module.exports = {
   mode: "jit",
   plugins: [require("@tailwindcss/forms")],
@@ -18,7 +20,20 @@ module.exports = {
     },
   },
   theme: {
-    extend: {},
+    colors: {
+      black: colors.black,
+      white: colors.white,
+      gray: colors.trueGray,
+    },
+    extend: {
+      colors: {
+        'le-jaune': '#ded500',
+        'le-jaune-dark': '#a6a00c',
+        'le-bleu': '#343bff',
+        'le-bleu-light':'#d2dfff',
+        'le-rouge-pjl':'#ff6b6b', 
+      },
+    },
     fontFamily: {
       sans: ["Lato", "sans-serif"],
       serif: ["Lora", "serif"],
-- 
GitLab