From 80398eca7f59dab5f46df80681f76b01a6f21e81 Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Sun, 22 Mar 2020 15:44:29 +0100 Subject: [PATCH] =?UTF-8?q?[9.2.26]=20Aper=C3=A7u=20texte=20des=20boutons?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/module/theme/view/site/site.js.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/module/theme/view/site/site.js.php b/core/module/theme/view/site/site.js.php index a42ed46c..26fe2924 100755 --- a/core/module/theme/view/site/site.js.php +++ b/core/module/theme/view/site/site.js.php @@ -39,6 +39,8 @@ function updateDOM() { var colors = core.colorVariants($("#themeButtonBackgroundColor").val()); css += ".button.buttonSubmitPreview{background-color:" + colors.normal + ";}"; css += ".button.buttonSubmitPreview:hover{background-color:" + colors.darken + "}"; + css += ".button.buttonSubmitPreview{color:" + colors.text + ";}"; + // Couleurs des liens colors = core.colorVariants($("#themeLinkTextColor").val()); css += "a.urlPreview{color:" + colors.normal + "}"; @@ -53,7 +55,7 @@ function updateDOM() { // Taille du texte // Couleur du texte - css += "p.preview,.buttonSubmitPreview{color:" + $("#themeTextTextColor").val() + "}"; + css += "p.preview{color:" + $("#themeTextTextColor").val() + "}"; /** * Aperçu réel