From b54a67d630f5001789ff26df19b44a1ae16b2619 Mon Sep 17 00:00:00 2001 From: Yayo Date: Thu, 19 Oct 2023 14:48:52 +0200 Subject: [PATCH] same structure for descriptions --- tokens/schema/skin-schema.json | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/tokens/schema/skin-schema.json b/tokens/schema/skin-schema.json index 5a25bf37f9..b2a9afcbb0 100644 --- a/tokens/schema/skin-schema.json +++ b/tokens/schema/skin-schema.json @@ -376,7 +376,32 @@ }, "description": { "type": "string", - "pattern": "^(o2Blue|o2Blue10|o2Blue30|o2Blue45|o2Blue55|o2SkyBlue|o2SkyBlue55|o2SkyBlueLight|o2SkyBlueLight45|o2SkyBlueLight20|o2SkyBlueLight10|o2DeepSkyBlue|o2Gem|o2GemDark|o2GemLight30|o2Yellow|o2Green|o2Green10|o2Green40|o2Green75|pepper|pepper10|pepper20|pepper40|pepper55|pepper70|orange|orange10|orange40|orange80|coral|pink|pink10|pink40|pink60|o2GradientFirst|o2GradientSecond|o2GradientThird|o2GradientFourth|o2Gradient|grey1|grey2|grey3|grey4|grey5|grey6|white|darkModeBlack|darkModeGrey|darkModeGrey6|movistarBlue|movistarBlue10|movistarBlue20|movistarBlue30|movistarBlue40|movistarBlue55|movistarGreen|movistarGreen10|movistarGreen30|movistarGreen40|movistarGreen60|movistarGreen70|egg|egg10|egg40|egg80|purple|purple10|purple40|purple70|movistarBlueDark|darkModeGrey2|darkModeGrey3|darkModeGrey4|darkModeGrey5|o2BluePrimary|o2BluePrimary70|o2BluePrimary90|o2BluePrimary30|o2BluePrimary15|o2BluePrimary10|o2BlueMid|o2BlueLight|o2BlueLight30|o2BlueLight35|o2Teal|o2Green80|o2Orange|o2Orange10|o2Orange40|o2Orange75|o2Pink|o2Purple|o2Purple10|o2Purple30|pepper60|darkModeO2BluePrimary|darkModeO2BluePrimaryDark|repsolBlue200|repsolOrange10|repsolOrange20|repsolOrange40|repsolOrange70|repsolOrange700|repsolYellow|repsolYellow10|repsolYellow90|repsolRed500|repsolRed10|repsolRed80|movistarRed|repsolTurquoise|repsolTurquoise10|repsolTurquoise80|repsolPurple10|repsolPurple30|repsolPurple80|telefonicaBlue|telefonicaBlue10|telefonicaBlue20|telefonicaBlue30|telefonicaBlue70|ambar|ambar10|ambar40|ambar70|coral10|coral40|coral70|coral80|orchid|orchid10|orchid40|orchid70|turquoise|turquoise10|turquoise40|turquoise70|grey7|grey8|grey9|vivoPurple|vivoPurpleDark|vivoPurpleLight10|vivoPurpleLight20|vivoPurpleLight50|vivoPurpleLight80|vivoPurpleLight90|vivoGreen|vivoGreenDark|vivoGreenLight10|vivoGreen25|vivoGreenLight30|vivoBlue|orange25|orangeDark|orangeLight10|orangeLight40|pepperDark|pepperDark80|pepperLight10|pepperLight30|pepperLight40|blauBluePrimary|blauBluePrimary10|blauBluePrimary20|blauBluePrimary30|blauBlueSecondary|blauBlueSecondary10|blauBlueSecondary20|blauBlueSecondary30|blauBlueSecondary60|blauPurple|blauPurple10|blauPurple30|blauYellow|blauYellow10|blauYellow40|blauYellow60|blauYellow70|blauGreen|blauGreen10|blauGreen30|blauGreen70|blauRed|blauRed10|blauRed20|blauRed30|blauRed40|blauRed70)+$" + "anyOf": [ + { + "comment": "Movistar", + "pattern": "^(movistarBlue|movistarBlue10|movistarBlue20|movistarBlue30|movistarBlue40|movistarBlue55|movistarGreen|movistarGreen10|movistarGreen30|movistarGreen40|movistarGreen60|movistarGreen70|pepper|pepper10|pepper40|pepper55|pepper70|egg|egg10|egg40|egg80|pink|purple|purple10|purple40|purple70|grey1|grey2|grey3|grey4|grey5|grey6|white|movistarBlueDark|darkModeBlack|darkModeGrey|darkModeGrey2|darkModeGrey3|darkModeGrey4|darkModeGrey5|darkModeGrey6)+$" + }, + { + "comment": "O2", + "pattern": "^(o2BluePrimary|o2BluePrimary70|o2BluePrimary90|o2BluePrimary30|o2BluePrimary15|o2BluePrimary10|o2BlueMid|o2BlueLight|o2BlueLight30|o2BlueLight35|o2Teal|o2Green|o2Green10|o2Green40|o2Green80|o2Yellow|o2Orange|o2Orange10|o2Orange40|o2Orange75|o2Pink|o2Purple|o2Purple10|o2Purple30|pepper|pepper10|pepper20|pepper40|pepper60|grey1|grey2|grey3|grey4|grey5|grey6|white|darkModeBlack|darkModeGrey|darkModeGrey6|darkModeO2BluePrimary|darkModeO2BluePrimaryDark)+$" + }, + { + "comment": "Vivo", + "pattern": "^(vivoPurple|vivoPurpleDark|vivoPurpleLight10|vivoPurpleLight20|vivoPurpleLight50|vivoPurpleLight80|vivoPurpleLight90|vivoGreen|vivoGreenDark|vivoGreenLight10|vivoGreen25|vivoGreenLight30|vivoBlue|orange|orange25|orangeDark|orangeLight10|orangeLight40|pink|pepper|pepperDark|pepperDark80|pepperLight10|pepperLight30|pepperLight40|grey1|grey2|grey3|grey4|grey5|grey6|white|darkModeBlack|darkModeGrey|darkModeGrey6)+$" + }, + { + "comment": "Telefónica", + "pattern": "^(telefonicaBlue|telefonicaBlue10|telefonicaBlue20|telefonicaBlue30|telefonicaBlue70|ambar|ambar10|ambar40|ambar70|coral|coral10|coral40|coral70|coral80|orchid|orchid10|orchid40|orchid70|turquoise|turquoise10|turquoise40|turquoise70|grey1|grey2|grey3|grey4|grey5|grey6|grey7|grey8|grey9|white|darkModeBlack|darkModeGrey|darkModeGrey6)+$" + }, + { + "comment": "Blau", + "pattern": "^(blauBluePrimary|blauBluePrimary10|blauBluePrimary20|blauBluePrimary30|blauBlueSecondary|blauBlueSecondary10|blauBlueSecondary20|blauBlueSecondary30|blauBlueSecondary60|blauPurple|blauPurple10|blauPurple30|blauYellow|blauYellow10|blauYellow40|blauYellow60|blauYellow70|blauGreen|blauGreen10|blauGreen30|blauGreen70|blauRed|blauRed10|blauRed20|blauRed30|blauRed40|blauRed70|grey1|grey2|grey3|grey4|grey5|grey6|white|darkModeBlack|darkModeGrey|darkModeGrey6)+$" + }, + { + "comment": "Solar-360", + "pattern": "^(movistarBlue|movistarBlue10|movistarBlue20|movistarBlue30|movistarBlue55|repsolBlue200|repsolOrange10|repsolOrange20|repsolOrange40|repsolOrange70|repsolOrange700|repsolYellow|repsolYellow10|repsolYellow90|repsolRed500|repsolRed10|repsolRed80|movistarRed|repsolTurquoise|repsolTurquoise10|repsolTurquoise80|repsolPurple10|repsolPurple30|repsolPurple80|grey1|grey2|grey3|grey4|grey5|grey6|white|darkModeBlack|darkModeGrey)+$" + } + ] } }, "required": ["value", "type", "description"],