Skip to content

Commit db68b71

Browse files
committed
add unbranded to figma scripts
1 parent 0d3bb9a commit db68b71

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

tokens/figma/config.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ export const BRAND_KEY = {
1313
[BRANDS.TU]: "19IXMaFqdYeC1IIdTwXBgY",
1414
[BRANDS.ESIMFLAG]: "5WSkNxQ7GwbfagfJqXfZSs",
1515
[BRANDS.MOVISTAR_NEW]: "kVMzBCXr4T4zFqLBjuExwe",
16+
[BRANDS.UNBRANDED]: "4MCgtJnkTXK8zTE3thNjzu",
1617
};
1718

1819
export const MIDDLEWARE_KEY =

tokens/figma/variables.mjs

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ export const FONT_FAMILIES = {
1616
[BRANDS.BLAU]: "SF Pro Text",
1717
[BRANDS.TU]: "Telefonica Sans",
1818
[BRANDS.ESIMFLAG]: "On Air",
19+
[BRANDS.UNBRANDED]: "Telefonica Sans",
1920
};
2021

2122
export const ICON_SETS = {
@@ -27,6 +28,7 @@ export const ICON_SETS = {
2728
[BRANDS.BLAU]: "Blau",
2829
[BRANDS.TU]: "Default",
2930
[BRANDS.ESIMFLAG]: "Default",
31+
[BRANDS.UNBRANDED]: "Default",
3032
};
3133

3234
export const BRAND_NAMES = {
@@ -38,11 +40,12 @@ export const BRAND_NAMES = {
3840
[BRANDS.BLAU]: "Blau",
3941
[BRANDS.TU]: "TU",
4042
[BRANDS.ESIMFLAG]: "eSimFLAG",
43+
[BRANDS.UNBRANDED]: "Unbranded",
4144
};
4245

4346
export const getPaletteVariables = (
4447
jsonData,
45-
brand
48+
brand,
4649
) => [
4750
{
4851
variables: jsonData[brand]?.palette || [],
@@ -55,7 +58,7 @@ export const getPaletteVariables = (
5558

5659
export const getConstantVariables = (
5760
jsonData,
58-
brand
61+
brand,
5962
) => [
6063
{
6164
variables: jsonData[brand]?.light || [],
@@ -75,7 +78,7 @@ export const getConstantVariables = (
7578

7679
export const getNonColorVariables = (
7780
jsonData,
78-
brand
81+
brand,
7982
) => [
8083
{
8184
variables: jsonData[brand]?.radius || [],

0 commit comments

Comments
 (0)