From b9048e3417f1e395eeb0edc9146c2427030143f6 Mon Sep 17 00:00:00 2001 From: Alex Bueno <44420072+aweell@users.noreply.github.com> Date: Tue, 17 Sep 2024 14:59:42 +0200 Subject: [PATCH] Change value of utils/brandName variable --- tokens/figma/variables.mjs | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/tokens/figma/variables.mjs b/tokens/figma/variables.mjs index 693fbac9ca..e21a81f710 100644 --- a/tokens/figma/variables.mjs +++ b/tokens/figma/variables.mjs @@ -25,7 +25,14 @@ export const ICON_SETS = { [BRANDS.TU]: "Default", }; -export const BRAND_NAMES = Object.values(BRANDS); +export const BRAND_NAMES = { + [BRANDS.MOVISTAR]: "Movistar", + [BRANDS.VIVO_NEW]: "Vivo", + [BRANDS.O2_NEW]: "O2", + [BRANDS.TELEFONICA]: "Telefónica", + [BRANDS.BLAU]: "Blau", + [BRANDS.TU]: "TU", +}; export const getPaletteVariables = ( jsonData, @@ -122,7 +129,7 @@ export const getNonColorVariables = ( }, { name: "utils/brandName", - value: formatBrandName(brand), + value: BRAND_NAMES[brand], }, ], collectionName: COLLECTION_NAMES.SKIN,