From 58004378416033f6a64c0ab20ce74ded72b905ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20C=C3=A1mera?= <81186472+ncamera@users.noreply.github.com> Date: Mon, 21 Oct 2024 01:30:34 -0300 Subject: [PATCH] Allow to set $globant-colors in the config when customizing the paths --- packages/mercury/README.md | 1 + packages/mercury/src/bundles/scss/base/base.scss | 2 +- packages/mercury/src/config.scss | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/mercury/README.md b/packages/mercury/README.md index d9f715134..8faab2472 100644 --- a/packages/mercury/README.md +++ b/packages/mercury/README.md @@ -87,6 +87,7 @@ npm i @genexus/mercury ```scss $icons-path: "assets/custom/path/icons/"; $font-face-path: "assets/custom/path/fonts/"; + $globant-colors: false; ``` 3. Run the following command to transpile the bundles with the new path for the assets: diff --git a/packages/mercury/src/bundles/scss/base/base.scss b/packages/mercury/src/bundles/scss/base/base.scss index df18e019c..0bfd24d22 100644 --- a/packages/mercury/src/bundles/scss/base/base.scss +++ b/packages/mercury/src/bundles/scss/base/base.scss @@ -6,7 +6,7 @@ $light-theme: true, $dark-theme: true, - $globant-colors: true, + $globant-colors: $globant-colors, $font-face: true, $font-face-path: $font-face-path, diff --git a/packages/mercury/src/config.scss b/packages/mercury/src/config.scss index 55bb3e925..cfaedbe77 100644 --- a/packages/mercury/src/config.scss +++ b/packages/mercury/src/config.scss @@ -3,3 +3,4 @@ $icons-path: "./assets/icons/"; $font-face-path: "./assets/fonts/"; +$globant-colors: false;