Skip to content

Commit

Permalink
same structure for descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
yceballost committed Oct 19, 2023
1 parent ded7ed3 commit b54a67d
Showing 1 changed file with 26 additions and 1 deletion.
27 changes: 26 additions & 1 deletion tokens/schema/skin-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"],
Expand Down

0 comments on commit b54a67d

Please sign in to comment.