From 57c66f03c4485e0469b3d0553117b7ca62db4c5c Mon Sep 17 00:00:00 2001 From: Flow Date: Tue, 3 Oct 2023 16:18:02 +0200 Subject: [PATCH] Update design tokens (#305) Co-authored-by: dagonco --- .../theme/brand/BlauBrandFontSizesAutogenerated.kt | 2 ++ .../brand/BlauBrandFontWeightsAutogenerated.kt | 4 ++++ .../brand/MovistarBrandFontSizesAutogenerated.kt | 2 ++ .../brand/MovistarBrandFontWeightsAutogenerated.kt | 4 ++++ .../theme/brand/O2BrandFontSizesAutogenerated.kt | 2 ++ .../theme/brand/O2BrandFontWeightsAutogenerated.kt | 4 ++++ .../brand/TelefonicaBrandColorsAutogenerated.kt | 2 +- .../brand/TelefonicaBrandFontSizesAutogenerated.kt | 2 ++ .../TelefonicaBrandFontWeightsAutogenerated.kt | 4 ++++ .../brand/TelefonicaBrandRadiusAutogenerated.kt | 2 +- .../theme/brand/VivoBrandFontSizesAutogenerated.kt | 2 ++ .../brand/VivoBrandFontWeightsAutogenerated.kt | 4 ++++ .../theme/brand/VivoNewBrandColorsAutogenerated.kt | 4 ++-- .../brand/VivoNewBrandFontSizesAutogenerated.kt | 2 ++ .../brand/VivoNewBrandFontWeightsAutogenerated.kt | 4 ++++ .../values-night/themes_vivoNew_autogenerated.xml | 2 +- library/src/main/res/values/attrs_autogenerated.xml | 13 +++++++++++++ .../main/res/values/themes_blau_autogenerated.xml | 5 +++++ .../res/values/themes_movistar_autogenerated.xml | 5 +++++ .../src/main/res/values/themes_o2_autogenerated.xml | 5 +++++ .../res/values/themes_telefonica_autogenerated.xml | 9 +++++++-- .../res/values/themes_vivoNew_autogenerated.xml | 7 ++++++- .../main/res/values/themes_vivo_autogenerated.xml | 5 +++++ 23 files changed, 87 insertions(+), 8 deletions(-) diff --git a/library/src/main/java/com/telefonica/mistica/compose/theme/brand/BlauBrandFontSizesAutogenerated.kt b/library/src/main/java/com/telefonica/mistica/compose/theme/brand/BlauBrandFontSizesAutogenerated.kt index 45446da9e..82953116d 100644 --- a/library/src/main/java/com/telefonica/mistica/compose/theme/brand/BlauBrandFontSizesAutogenerated.kt +++ b/library/src/main/java/com/telefonica/mistica/compose/theme/brand/BlauBrandFontSizesAutogenerated.kt @@ -6,4 +6,6 @@ import androidx.compose.ui.unit.sp public object BlauBrandFontSizes { public val tabsLabelFontSize: TextUnit = 16.sp + + public val title2FontSize: TextUnit = 20.sp } diff --git a/library/src/main/java/com/telefonica/mistica/compose/theme/brand/BlauBrandFontWeightsAutogenerated.kt b/library/src/main/java/com/telefonica/mistica/compose/theme/brand/BlauBrandFontWeightsAutogenerated.kt index e8c3db54d..c0af520a5 100644 --- a/library/src/main/java/com/telefonica/mistica/compose/theme/brand/BlauBrandFontWeightsAutogenerated.kt +++ b/library/src/main/java/com/telefonica/mistica/compose/theme/brand/BlauBrandFontWeightsAutogenerated.kt @@ -14,8 +14,12 @@ public object BlauBrandFontWeights { public val title1FontWeight: FontWeight = FontWeight.Medium + public val title2FontWeight: FontWeight = FontWeight.Light + public val indicatorFontWeight: FontWeight = FontWeight.Medium + public val navigationBarFontWeight: FontWeight = FontWeight.Medium + public val text5FontWeight: FontWeight = FontWeight.Light public val text6FontWeight: FontWeight = FontWeight.Light diff --git a/library/src/main/java/com/telefonica/mistica/compose/theme/brand/MovistarBrandFontSizesAutogenerated.kt b/library/src/main/java/com/telefonica/mistica/compose/theme/brand/MovistarBrandFontSizesAutogenerated.kt index b2901c370..04b948391 100644 --- a/library/src/main/java/com/telefonica/mistica/compose/theme/brand/MovistarBrandFontSizesAutogenerated.kt +++ b/library/src/main/java/com/telefonica/mistica/compose/theme/brand/MovistarBrandFontSizesAutogenerated.kt @@ -6,4 +6,6 @@ import androidx.compose.ui.unit.sp public object MovistarBrandFontSizes { public val tabsLabelFontSize: TextUnit = 16.sp + + public val title2FontSize: TextUnit = 20.sp } diff --git a/library/src/main/java/com/telefonica/mistica/compose/theme/brand/MovistarBrandFontWeightsAutogenerated.kt b/library/src/main/java/com/telefonica/mistica/compose/theme/brand/MovistarBrandFontWeightsAutogenerated.kt index 64efedcd5..6cf56f9b6 100644 --- a/library/src/main/java/com/telefonica/mistica/compose/theme/brand/MovistarBrandFontWeightsAutogenerated.kt +++ b/library/src/main/java/com/telefonica/mistica/compose/theme/brand/MovistarBrandFontWeightsAutogenerated.kt @@ -14,8 +14,12 @@ public object MovistarBrandFontWeights { public val title1FontWeight: FontWeight = FontWeight.Medium + public val title2FontWeight: FontWeight = FontWeight.Bold + public val indicatorFontWeight: FontWeight = FontWeight.Medium + public val navigationBarFontWeight: FontWeight = FontWeight.Medium + public val text5FontWeight: FontWeight = FontWeight.Bold public val text6FontWeight: FontWeight = FontWeight.Bold diff --git a/library/src/main/java/com/telefonica/mistica/compose/theme/brand/O2BrandFontSizesAutogenerated.kt b/library/src/main/java/com/telefonica/mistica/compose/theme/brand/O2BrandFontSizesAutogenerated.kt index c0c3028c2..cbdb20e0e 100644 --- a/library/src/main/java/com/telefonica/mistica/compose/theme/brand/O2BrandFontSizesAutogenerated.kt +++ b/library/src/main/java/com/telefonica/mistica/compose/theme/brand/O2BrandFontSizesAutogenerated.kt @@ -6,4 +6,6 @@ import androidx.compose.ui.unit.sp public object O2BrandFontSizes { public val tabsLabelFontSize: TextUnit = 16.sp + + public val title2FontSize: TextUnit = 20.sp } diff --git a/library/src/main/java/com/telefonica/mistica/compose/theme/brand/O2BrandFontWeightsAutogenerated.kt b/library/src/main/java/com/telefonica/mistica/compose/theme/brand/O2BrandFontWeightsAutogenerated.kt index 231422342..9d6577099 100644 --- a/library/src/main/java/com/telefonica/mistica/compose/theme/brand/O2BrandFontWeightsAutogenerated.kt +++ b/library/src/main/java/com/telefonica/mistica/compose/theme/brand/O2BrandFontWeightsAutogenerated.kt @@ -14,8 +14,12 @@ public object O2BrandFontWeights { public val title1FontWeight: FontWeight = FontWeight.Medium + public val title2FontWeight: FontWeight = FontWeight.Light + public val indicatorFontWeight: FontWeight = FontWeight.Medium + public val navigationBarFontWeight: FontWeight = FontWeight.Medium + public val text5FontWeight: FontWeight = FontWeight.Light public val text6FontWeight: FontWeight = FontWeight.Light diff --git a/library/src/main/java/com/telefonica/mistica/compose/theme/brand/TelefonicaBrandColorsAutogenerated.kt b/library/src/main/java/com/telefonica/mistica/compose/theme/brand/TelefonicaBrandColorsAutogenerated.kt index ec73f7b44..d1186f946 100644 --- a/library/src/main/java/com/telefonica/mistica/compose/theme/brand/TelefonicaBrandColorsAutogenerated.kt +++ b/library/src/main/java/com/telefonica/mistica/compose/theme/brand/TelefonicaBrandColorsAutogenerated.kt @@ -101,7 +101,7 @@ public object TelefonicaBrandColors { warningLow = TelefonicaPaletteColor.telefonica_color_ambar10, errorLow = TelefonicaPaletteColor.telefonica_color_coral10, promoLow = TelefonicaPaletteColor.telefonica_color_orchid10, - brandLow = TelefonicaPaletteColor.telefonica_color_grey1, + brandLow = TelefonicaPaletteColor.telefonica_color_telefonicaBlue10, successHigh = TelefonicaPaletteColor.telefonica_color_turquoise70, warningHigh = TelefonicaPaletteColor.telefonica_color_ambar70, errorHigh = TelefonicaPaletteColor.telefonica_color_coral70, diff --git a/library/src/main/java/com/telefonica/mistica/compose/theme/brand/TelefonicaBrandFontSizesAutogenerated.kt b/library/src/main/java/com/telefonica/mistica/compose/theme/brand/TelefonicaBrandFontSizesAutogenerated.kt index 873f7b80d..78203d2f8 100644 --- a/library/src/main/java/com/telefonica/mistica/compose/theme/brand/TelefonicaBrandFontSizesAutogenerated.kt +++ b/library/src/main/java/com/telefonica/mistica/compose/theme/brand/TelefonicaBrandFontSizesAutogenerated.kt @@ -6,4 +6,6 @@ import androidx.compose.ui.unit.sp public object TelefonicaBrandFontSizes { public val tabsLabelFontSize: TextUnit = 16.sp + + public val title2FontSize: TextUnit = 20.sp } diff --git a/library/src/main/java/com/telefonica/mistica/compose/theme/brand/TelefonicaBrandFontWeightsAutogenerated.kt b/library/src/main/java/com/telefonica/mistica/compose/theme/brand/TelefonicaBrandFontWeightsAutogenerated.kt index 0a9f4959d..19b4a2a7f 100644 --- a/library/src/main/java/com/telefonica/mistica/compose/theme/brand/TelefonicaBrandFontWeightsAutogenerated.kt +++ b/library/src/main/java/com/telefonica/mistica/compose/theme/brand/TelefonicaBrandFontWeightsAutogenerated.kt @@ -14,8 +14,12 @@ public object TelefonicaBrandFontWeights { public val title1FontWeight: FontWeight = FontWeight.Medium + public val title2FontWeight: FontWeight = FontWeight.Normal + public val indicatorFontWeight: FontWeight = FontWeight.Medium + public val navigationBarFontWeight: FontWeight = FontWeight.Medium + public val text5FontWeight: FontWeight = FontWeight.Normal public val text6FontWeight: FontWeight = FontWeight.Normal diff --git a/library/src/main/java/com/telefonica/mistica/compose/theme/brand/TelefonicaBrandRadiusAutogenerated.kt b/library/src/main/java/com/telefonica/mistica/compose/theme/brand/TelefonicaBrandRadiusAutogenerated.kt index 08a720534..4ba559612 100644 --- a/library/src/main/java/com/telefonica/mistica/compose/theme/brand/TelefonicaBrandRadiusAutogenerated.kt +++ b/library/src/main/java/com/telefonica/mistica/compose/theme/brand/TelefonicaBrandRadiusAutogenerated.kt @@ -15,5 +15,5 @@ public object TelefonicaBrandRadius { inputBorderRadius = 0.dp, legacyDisplayBorderRadius = 0.dp, popupBorderRadius = 0.dp, - sheetBorderRadius = 8.dp,) + sheetBorderRadius = 0.dp,) } diff --git a/library/src/main/java/com/telefonica/mistica/compose/theme/brand/VivoBrandFontSizesAutogenerated.kt b/library/src/main/java/com/telefonica/mistica/compose/theme/brand/VivoBrandFontSizesAutogenerated.kt index d04fa6e83..bd6038cd7 100644 --- a/library/src/main/java/com/telefonica/mistica/compose/theme/brand/VivoBrandFontSizesAutogenerated.kt +++ b/library/src/main/java/com/telefonica/mistica/compose/theme/brand/VivoBrandFontSizesAutogenerated.kt @@ -6,4 +6,6 @@ import androidx.compose.ui.unit.sp public object VivoBrandFontSizes { public val tabsLabelFontSize: TextUnit = 16.sp + + public val title2FontSize: TextUnit = 20.sp } diff --git a/library/src/main/java/com/telefonica/mistica/compose/theme/brand/VivoBrandFontWeightsAutogenerated.kt b/library/src/main/java/com/telefonica/mistica/compose/theme/brand/VivoBrandFontWeightsAutogenerated.kt index b9e182271..c4cf17dbc 100644 --- a/library/src/main/java/com/telefonica/mistica/compose/theme/brand/VivoBrandFontWeightsAutogenerated.kt +++ b/library/src/main/java/com/telefonica/mistica/compose/theme/brand/VivoBrandFontWeightsAutogenerated.kt @@ -14,8 +14,12 @@ public object VivoBrandFontWeights { public val title1FontWeight: FontWeight = FontWeight.Medium + public val title2FontWeight: FontWeight = FontWeight.Light + public val indicatorFontWeight: FontWeight = FontWeight.Medium + public val navigationBarFontWeight: FontWeight = FontWeight.Medium + public val text5FontWeight: FontWeight = FontWeight.Light public val text6FontWeight: FontWeight = FontWeight.Light diff --git a/library/src/main/java/com/telefonica/mistica/compose/theme/brand/VivoNewBrandColorsAutogenerated.kt b/library/src/main/java/com/telefonica/mistica/compose/theme/brand/VivoNewBrandColorsAutogenerated.kt index 5fec87dea..339bfa180 100644 --- a/library/src/main/java/com/telefonica/mistica/compose/theme/brand/VivoNewBrandColorsAutogenerated.kt +++ b/library/src/main/java/com/telefonica/mistica/compose/theme/brand/VivoNewBrandColorsAutogenerated.kt @@ -9,7 +9,7 @@ public object VivoNewBrandColors { VivoNewPaletteColor.vivoNew_color_white, backgroundAlternative = VivoNewPaletteColor.vivoNew_color_grey1, backgroundBrand = VivoNewPaletteColor.vivoNew_color_vivoPurple, - backgroundBrandSecondary = VivoNewPaletteColor.vivoNew_color_vivoPurple, + backgroundBrandSecondary = VivoNewPaletteColor.vivoNew_color_vivoPurpleLight90, backgroundContainer = VivoNewPaletteColor.vivoNew_color_white, backgroundContainerHover = VivoNewPaletteColor.vivoNew_color_darkModeBlack_3_alpha, backgroundContainerPressed = VivoNewPaletteColor.vivoNew_color_darkModeBlack_5_alpha, @@ -115,7 +115,7 @@ public object VivoNewBrandColors { public val darkColors: MisticaColors = MisticaColors(background = VivoNewPaletteColor.vivoNew_color_darkModeBlack, - backgroundAlternative = VivoNewPaletteColor.vivoNew_color_darkModeGrey, + backgroundAlternative = VivoNewPaletteColor.vivoNew_color_darkModeBlack, backgroundBrand = VivoNewPaletteColor.vivoNew_color_darkModeBlack, backgroundBrandSecondary = VivoNewPaletteColor.vivoNew_color_darkModeBlack, backgroundContainer = VivoNewPaletteColor.vivoNew_color_darkModeGrey, diff --git a/library/src/main/java/com/telefonica/mistica/compose/theme/brand/VivoNewBrandFontSizesAutogenerated.kt b/library/src/main/java/com/telefonica/mistica/compose/theme/brand/VivoNewBrandFontSizesAutogenerated.kt index 4565698c7..c1e727e75 100644 --- a/library/src/main/java/com/telefonica/mistica/compose/theme/brand/VivoNewBrandFontSizesAutogenerated.kt +++ b/library/src/main/java/com/telefonica/mistica/compose/theme/brand/VivoNewBrandFontSizesAutogenerated.kt @@ -6,4 +6,6 @@ import androidx.compose.ui.unit.sp public object VivoNewBrandFontSizes { public val tabsLabelFontSize: TextUnit = 18.sp + + public val title2FontSize: TextUnit = 18.sp } diff --git a/library/src/main/java/com/telefonica/mistica/compose/theme/brand/VivoNewBrandFontWeightsAutogenerated.kt b/library/src/main/java/com/telefonica/mistica/compose/theme/brand/VivoNewBrandFontWeightsAutogenerated.kt index 20d70178c..14ce3b734 100644 --- a/library/src/main/java/com/telefonica/mistica/compose/theme/brand/VivoNewBrandFontWeightsAutogenerated.kt +++ b/library/src/main/java/com/telefonica/mistica/compose/theme/brand/VivoNewBrandFontWeightsAutogenerated.kt @@ -14,8 +14,12 @@ public object VivoNewBrandFontWeights { public val title1FontWeight: FontWeight = FontWeight.Normal + public val title2FontWeight: FontWeight = FontWeight.Normal + public val indicatorFontWeight: FontWeight = FontWeight.Normal + public val navigationBarFontWeight: FontWeight = FontWeight.Normal + public val text5FontWeight: FontWeight = FontWeight.Normal public val text6FontWeight: FontWeight = FontWeight.Normal diff --git a/library/src/main/res/values-night/themes_vivoNew_autogenerated.xml b/library/src/main/res/values-night/themes_vivoNew_autogenerated.xml index 2d34c443f..d12fccff3 100644 --- a/library/src/main/res/values-night/themes_vivoNew_autogenerated.xml +++ b/library/src/main/res/values-night/themes_vivoNew_autogenerated.xml @@ -3,7 +3,7 @@ \ No newline at end of file diff --git a/library/src/main/res/values/themes_movistar_autogenerated.xml b/library/src/main/res/values/themes_movistar_autogenerated.xml index 962a99926..676476a09 100644 --- a/library/src/main/res/values/themes_movistar_autogenerated.xml +++ b/library/src/main/res/values/themes_movistar_autogenerated.xml @@ -125,7 +125,9 @@ ?font_family_medium ?font_family_medium ?font_family_medium + ?font_family_regular ?font_family_medium + ?font_family_medium ?font_family_regular ?font_family_regular ?font_family_regular @@ -138,7 +140,9 @@ normal normal normal + bold normal + normal bold bold bold @@ -147,5 +151,6 @@ bold 16sp + 20sp \ No newline at end of file diff --git a/library/src/main/res/values/themes_o2_autogenerated.xml b/library/src/main/res/values/themes_o2_autogenerated.xml index 228c87353..25ced558b 100644 --- a/library/src/main/res/values/themes_o2_autogenerated.xml +++ b/library/src/main/res/values/themes_o2_autogenerated.xml @@ -125,7 +125,9 @@ ?font_family_medium ?font_family_medium ?font_family_medium + ?font_family_light ?font_family_medium + ?font_family_medium ?font_family_light ?font_family_light ?font_family_light @@ -138,7 +140,9 @@ normal normal normal + normal normal + normal normal normal normal @@ -147,5 +151,6 @@ normal 16sp + 20sp \ No newline at end of file diff --git a/library/src/main/res/values/themes_telefonica_autogenerated.xml b/library/src/main/res/values/themes_telefonica_autogenerated.xml index 0cfb74b57..0b5e9c371 100644 --- a/library/src/main/res/values/themes_telefonica_autogenerated.xml +++ b/library/src/main/res/values/themes_telefonica_autogenerated.xml @@ -92,7 +92,7 @@ @color/telefonica_color_ambar10 @color/telefonica_color_coral10 @color/telefonica_color_orchid10 - @color/telefonica_color_grey1 + @color/telefonica_color_telefonicaBlue10 @color/telefonica_color_turquoise70 @color/telefonica_color_ambar70 @color/telefonica_color_coral70 @@ -118,14 +118,16 @@ 0dp 0dp 0dp - 8dp + 0dp ?font_family_regular ?font_family_medium ?font_family_medium ?font_family_medium ?font_family_medium + ?font_family_regular ?font_family_medium + ?font_family_medium ?font_family_regular ?font_family_regular ?font_family_regular @@ -138,7 +140,9 @@ normal normal normal + normal normal + normal normal normal normal @@ -147,5 +151,6 @@ normal 16sp + 20sp \ No newline at end of file diff --git a/library/src/main/res/values/themes_vivoNew_autogenerated.xml b/library/src/main/res/values/themes_vivoNew_autogenerated.xml index fe782ba48..c011a54fd 100644 --- a/library/src/main/res/values/themes_vivoNew_autogenerated.xml +++ b/library/src/main/res/values/themes_vivoNew_autogenerated.xml @@ -6,7 +6,7 @@ @color/vivoNew_color_white @color/vivoNew_color_grey1 @color/vivoNew_color_vivoPurple - @color/vivoNew_color_vivoPurple + @color/vivoNew_color_vivoPurpleLight90 @color/vivoNew_color_white @color/vivoNew_color_darkModeBlack_3_alpha @color/vivoNew_color_darkModeBlack_5_alpha @@ -125,7 +125,9 @@ ?font_family_regular ?font_family_regular ?font_family_regular + ?font_family_regular ?font_family_regular + ?font_family_regular ?font_family_regular ?font_family_regular ?font_family_regular @@ -138,7 +140,9 @@ normal normal normal + normal normal + normal normal normal normal @@ -147,5 +151,6 @@ normal 18sp + 18sp \ No newline at end of file diff --git a/library/src/main/res/values/themes_vivo_autogenerated.xml b/library/src/main/res/values/themes_vivo_autogenerated.xml index 351c86b1a..73a10d2d8 100644 --- a/library/src/main/res/values/themes_vivo_autogenerated.xml +++ b/library/src/main/res/values/themes_vivo_autogenerated.xml @@ -125,7 +125,9 @@ ?font_family_medium ?font_family_medium ?font_family_medium + ?font_family_light ?font_family_medium + ?font_family_medium ?font_family_light ?font_family_light ?font_family_light @@ -138,7 +140,9 @@ normal normal normal + normal normal + normal normal normal normal @@ -147,5 +151,6 @@ normal 16sp + 20sp \ No newline at end of file