Skip to content

Commit

Permalink
Update design tokens (#370)
Browse files Browse the repository at this point in the history
Co-authored-by: haynlo <[email protected]>
  • Loading branch information
tuentisre and haynlo authored Aug 9, 2024
1 parent 239facc commit a88ace8
Show file tree
Hide file tree
Showing 19 changed files with 265 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,24 @@ public object BlauBrandFontSizes {
public val tabsLabelFontSize: TextUnit = 16.sp

public val title2FontSize: TextUnit = 20.sp

public val text1FontSize: TextUnit = 12.sp

public val text2FontSize: TextUnit = 14.sp

public val text3FontSize: TextUnit = 16.sp

public val text4FontSize: TextUnit = 18.sp

public val text5FontSize: TextUnit = 20.sp

public val text6FontSize: TextUnit = 24.sp

public val text7FontSize: TextUnit = 28.sp

public val text8FontSize: TextUnit = 32.sp

public val text9FontSize: TextUnit = 40.sp

public val text10FontSize: TextUnit = 48.sp
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,24 @@ public object MovistarBrandFontSizes {
public val tabsLabelFontSize: TextUnit = 16.sp

public val title2FontSize: TextUnit = 20.sp

public val text1FontSize: TextUnit = 12.sp

public val text2FontSize: TextUnit = 14.sp

public val text3FontSize: TextUnit = 16.sp

public val text4FontSize: TextUnit = 18.sp

public val text5FontSize: TextUnit = 20.sp

public val text6FontSize: TextUnit = 24.sp

public val text7FontSize: TextUnit = 28.sp

public val text8FontSize: TextUnit = 32.sp

public val text9FontSize: TextUnit = 40.sp

public val text10FontSize: TextUnit = 48.sp
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,24 @@ public object O2BrandFontSizes {
public val tabsLabelFontSize: TextUnit = 16.sp

public val title2FontSize: TextUnit = 20.sp

public val text1FontSize: TextUnit = 12.sp

public val text2FontSize: TextUnit = 14.sp

public val text3FontSize: TextUnit = 16.sp

public val text4FontSize: TextUnit = 18.sp

public val text5FontSize: TextUnit = 20.sp

public val text6FontSize: TextUnit = 24.sp

public val text7FontSize: TextUnit = 28.sp

public val text8FontSize: TextUnit = 32.sp

public val text9FontSize: TextUnit = 40.sp

public val text10FontSize: TextUnit = 48.sp
}
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public object O2NewBrandColors {
iosControlKnob = O2NewPaletteColor.o2New_color_white
divider = O2NewPaletteColor.o2New_color_grey30
dividerInverse = O2NewPaletteColor.o2New_color_white_20_alpha
navigationBarDivider = O2NewPaletteColor.o2New_color_beyondBlue
navigationBarDivider = O2NewPaletteColor.o2New_color_darkBlue
badge = O2NewPaletteColor.o2New_color_o2Red65
feedbackErrorBackground = O2NewPaletteColor.o2New_color_o2Red60
feedbackInfoBackground = O2NewPaletteColor.o2New_color_black
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,24 @@ public object O2NewBrandFontSizes {
public val tabsLabelFontSize: TextUnit = 16.sp

public val title2FontSize: TextUnit = 20.sp

public val text1FontSize: TextUnit = 12.sp

public val text2FontSize: TextUnit = 14.sp

public val text3FontSize: TextUnit = 16.sp

public val text4FontSize: TextUnit = 18.sp

public val text5FontSize: TextUnit = 20.sp

public val text6FontSize: TextUnit = 24.sp

public val text7FontSize: TextUnit = 28.sp

public val text8FontSize: TextUnit = 32.sp

public val text9FontSize: TextUnit = 40.sp

public val text10FontSize: TextUnit = 48.sp
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,24 @@ public object TelefonicaBrandFontSizes {
public val tabsLabelFontSize: TextUnit = 16.sp

public val title2FontSize: TextUnit = 20.sp

public val text1FontSize: TextUnit = 12.sp

public val text2FontSize: TextUnit = 14.sp

public val text3FontSize: TextUnit = 16.sp

public val text4FontSize: TextUnit = 18.sp

public val text5FontSize: TextUnit = 20.sp

public val text6FontSize: TextUnit = 24.sp

public val text7FontSize: TextUnit = 28.sp

public val text8FontSize: TextUnit = 32.sp

public val text9FontSize: TextUnit = 40.sp

public val text10FontSize: TextUnit = 48.sp
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,24 @@ public object TuBrandFontSizes {
public val tabsLabelFontSize: TextUnit = 16.sp

public val title2FontSize: TextUnit = 20.sp

public val text1FontSize: TextUnit = 12.sp

public val text2FontSize: TextUnit = 14.sp

public val text3FontSize: TextUnit = 16.sp

public val text4FontSize: TextUnit = 18.sp

public val text5FontSize: TextUnit = 20.sp

public val text6FontSize: TextUnit = 24.sp

public val text7FontSize: TextUnit = 28.sp

public val text8FontSize: TextUnit = 32.sp

public val text9FontSize: TextUnit = 40.sp

public val text10FontSize: TextUnit = 48.sp
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,24 @@ public object VivoBrandFontSizes {
public val tabsLabelFontSize: TextUnit = 16.sp

public val title2FontSize: TextUnit = 20.sp

public val text1FontSize: TextUnit = 12.sp

public val text2FontSize: TextUnit = 14.sp

public val text3FontSize: TextUnit = 16.sp

public val text4FontSize: TextUnit = 18.sp

public val text5FontSize: TextUnit = 20.sp

public val text6FontSize: TextUnit = 24.sp

public val text7FontSize: TextUnit = 28.sp

public val text8FontSize: TextUnit = 32.sp

public val text9FontSize: TextUnit = 40.sp

public val text10FontSize: TextUnit = 48.sp
}
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ public object VivoNewBrandColors {
textNavigationBarSecondary = VivoNewPaletteColor.vivoNew_color_vivoPurpleLight50
textNavigationSearchBarHint = VivoNewPaletteColor.vivoNew_color_vivoPurpleLight50
textNavigationSearchBarText = VivoNewPaletteColor.vivoNew_color_white
textAppBar = VivoNewPaletteColor.vivoNew_color_grey4
textAppBar = VivoNewPaletteColor.vivoNew_color_grey5
textAppBarSelected = VivoNewPaletteColor.vivoNew_color_vivoPurple
customTabsBackground = VivoNewPaletteColor.vivoNew_color_white
tagTextPromo = VivoNewPaletteColor.vivoNew_color_vivoPurple
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,24 @@ public object VivoNewBrandFontSizes {
public val tabsLabelFontSize: TextUnit = 18.sp

public val title2FontSize: TextUnit = 18.sp

public val text1FontSize: TextUnit = 12.sp

public val text2FontSize: TextUnit = 14.sp

public val text3FontSize: TextUnit = 16.sp

public val text4FontSize: TextUnit = 18.sp

public val text5FontSize: TextUnit = 20.sp

public val text6FontSize: TextUnit = 24.sp

public val text7FontSize: TextUnit = 28.sp

public val text8FontSize: TextUnit = 32.sp

public val text9FontSize: TextUnit = 40.sp

public val text10FontSize: TextUnit = 48.sp
}
10 changes: 10 additions & 0 deletions library/src/main/res/values/attrs_autogenerated.xml
Original file line number Diff line number Diff line change
Expand Up @@ -244,5 +244,15 @@
<declare-styleable name="PresetSizes">
<attr name="tabsLabelTextSize" format="dimension"/>
<attr name="title2TextSize" format="dimension"/>
<attr name="text1TextSize" format="dimension"/>
<attr name="text2TextSize" format="dimension"/>
<attr name="text3TextSize" format="dimension"/>
<attr name="text4TextSize" format="dimension"/>
<attr name="text5TextSize" format="dimension"/>
<attr name="text6TextSize" format="dimension"/>
<attr name="text7TextSize" format="dimension"/>
<attr name="text8TextSize" format="dimension"/>
<attr name="text9TextSize" format="dimension"/>
<attr name="text10TextSize" format="dimension"/>
</declare-styleable>
</resources>
10 changes: 10 additions & 0 deletions library/src/main/res/values/themes_blau_autogenerated.xml
Original file line number Diff line number Diff line change
Expand Up @@ -178,5 +178,15 @@
<!-- Preset sizes -->
<item name="tabsLabelTextSize">16sp</item>
<item name="title2TextSize">20sp</item>
<item name="text1TextSize">12sp</item>
<item name="text2TextSize">14sp</item>
<item name="text3TextSize">16sp</item>
<item name="text4TextSize">18sp</item>
<item name="text5TextSize">20sp</item>
<item name="text6TextSize">24sp</item>
<item name="text7TextSize">28sp</item>
<item name="text8TextSize">32sp</item>
<item name="text9TextSize">40sp</item>
<item name="text10TextSize">48sp</item>
</style>
</resources>
10 changes: 10 additions & 0 deletions library/src/main/res/values/themes_movistar_autogenerated.xml
Original file line number Diff line number Diff line change
Expand Up @@ -178,5 +178,15 @@
<!-- Preset sizes -->
<item name="tabsLabelTextSize">16sp</item>
<item name="title2TextSize">20sp</item>
<item name="text1TextSize">12sp</item>
<item name="text2TextSize">14sp</item>
<item name="text3TextSize">16sp</item>
<item name="text4TextSize">18sp</item>
<item name="text5TextSize">20sp</item>
<item name="text6TextSize">24sp</item>
<item name="text7TextSize">28sp</item>
<item name="text8TextSize">32sp</item>
<item name="text9TextSize">40sp</item>
<item name="text10TextSize">48sp</item>
</style>
</resources>
12 changes: 11 additions & 1 deletion library/src/main/res/values/themes_o2New_autogenerated.xml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
<item name="colorIosControlKnob">@color/o2New_color_white</item>
<item name="colorDivider">@color/o2New_color_grey30</item>
<item name="colorDividerInverse">@color/o2New_color_white_20_alpha</item>
<item name="colorNavigationBarDivider">@color/o2New_color_beyondBlue</item>
<item name="colorNavigationBarDivider">@color/o2New_color_darkBlue</item>
<item name="colorBadge">@color/o2New_color_o2Red65</item>
<item name="colorFeedbackErrorBackground">@color/o2New_color_o2Red60</item>
<item name="colorFeedbackInfoBackground">@color/o2New_color_black</item>
Expand Down Expand Up @@ -178,5 +178,15 @@
<!-- Preset sizes -->
<item name="tabsLabelTextSize">16sp</item>
<item name="title2TextSize">20sp</item>
<item name="text1TextSize">12sp</item>
<item name="text2TextSize">14sp</item>
<item name="text3TextSize">16sp</item>
<item name="text4TextSize">18sp</item>
<item name="text5TextSize">20sp</item>
<item name="text6TextSize">24sp</item>
<item name="text7TextSize">28sp</item>
<item name="text8TextSize">32sp</item>
<item name="text9TextSize">40sp</item>
<item name="text10TextSize">48sp</item>
</style>
</resources>
10 changes: 10 additions & 0 deletions library/src/main/res/values/themes_o2_autogenerated.xml
Original file line number Diff line number Diff line change
Expand Up @@ -178,5 +178,15 @@
<!-- Preset sizes -->
<item name="tabsLabelTextSize">16sp</item>
<item name="title2TextSize">20sp</item>
<item name="text1TextSize">12sp</item>
<item name="text2TextSize">14sp</item>
<item name="text3TextSize">16sp</item>
<item name="text4TextSize">18sp</item>
<item name="text5TextSize">20sp</item>
<item name="text6TextSize">24sp</item>
<item name="text7TextSize">28sp</item>
<item name="text8TextSize">32sp</item>
<item name="text9TextSize">40sp</item>
<item name="text10TextSize">48sp</item>
</style>
</resources>
10 changes: 10 additions & 0 deletions library/src/main/res/values/themes_telefonica_autogenerated.xml
Original file line number Diff line number Diff line change
Expand Up @@ -178,5 +178,15 @@
<!-- Preset sizes -->
<item name="tabsLabelTextSize">16sp</item>
<item name="title2TextSize">20sp</item>
<item name="text1TextSize">12sp</item>
<item name="text2TextSize">14sp</item>
<item name="text3TextSize">16sp</item>
<item name="text4TextSize">18sp</item>
<item name="text5TextSize">20sp</item>
<item name="text6TextSize">24sp</item>
<item name="text7TextSize">28sp</item>
<item name="text8TextSize">32sp</item>
<item name="text9TextSize">40sp</item>
<item name="text10TextSize">48sp</item>
</style>
</resources>
10 changes: 10 additions & 0 deletions library/src/main/res/values/themes_tu_autogenerated.xml
Original file line number Diff line number Diff line change
Expand Up @@ -178,5 +178,15 @@
<!-- Preset sizes -->
<item name="tabsLabelTextSize">16sp</item>
<item name="title2TextSize">20sp</item>
<item name="text1TextSize">12sp</item>
<item name="text2TextSize">14sp</item>
<item name="text3TextSize">16sp</item>
<item name="text4TextSize">18sp</item>
<item name="text5TextSize">20sp</item>
<item name="text6TextSize">24sp</item>
<item name="text7TextSize">28sp</item>
<item name="text8TextSize">32sp</item>
<item name="text9TextSize">40sp</item>
<item name="text10TextSize">48sp</item>
</style>
</resources>
24 changes: 22 additions & 2 deletions library/src/main/res/values/themes_vivoNew_autogenerated.xml
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@
<item name="colorTextNavigationBarSecondary">@color/vivoNew_color_vivoPurpleLight50</item>
<item name="colorTextNavigationSearchBarHint">@color/vivoNew_color_vivoPurpleLight50</item>
<item name="colorTextNavigationSearchBarText">@color/vivoNew_color_white</item>
<item name="colorTextAppBar">@color/vivoNew_color_grey4</item>
<item name="colorTextAppBar">@color/vivoNew_color_grey5</item>
<item name="colorTextAppBarSelected">@color/vivoNew_color_vivoPurple</item>
<item name="colorCustomTabsBackground">@color/vivoNew_color_white</item>
<item name="colorTagTextPromo">@color/vivoNew_color_vivoPurple</item>
Expand Down Expand Up @@ -178,6 +178,16 @@
<!-- Preset sizes -->
<item name="tabsLabelTextSize">18sp</item>
<item name="title2TextSize">18sp</item>
<item name="text1TextSize">12sp</item>
<item name="text2TextSize">14sp</item>
<item name="text3TextSize">16sp</item>
<item name="text4TextSize">18sp</item>
<item name="text5TextSize">20sp</item>
<item name="text6TextSize">24sp</item>
<item name="text7TextSize">28sp</item>
<item name="text8TextSize">32sp</item>
<item name="text9TextSize">40sp</item>
<item name="text10TextSize">48sp</item>
</style>
<style name="VivoNewOverride" parent="VivoNewOverride_Customizations"/>
<style name="VivoNewOverride_Base">
Expand Down Expand Up @@ -295,7 +305,7 @@
<item name="colorTextNavigationBarSecondary">@color/vivoNew_color_vivoPurpleLight50</item>
<item name="colorTextNavigationSearchBarHint">@color/vivoNew_color_vivoPurpleLight50</item>
<item name="colorTextNavigationSearchBarText">@color/vivoNew_color_white</item>
<item name="colorTextAppBar">@color/vivoNew_color_grey4</item>
<item name="colorTextAppBar">@color/vivoNew_color_grey5</item>
<item name="colorTextAppBarSelected">@color/vivoNew_color_vivoPurple</item>
<item name="colorCustomTabsBackground">@color/vivoNew_color_white</item>
<item name="colorTagTextPromo">@color/vivoNew_color_vivoPurple</item>
Expand Down Expand Up @@ -356,5 +366,15 @@
<!-- Preset sizes -->
<item name="tabsLabelTextSize">18sp</item>
<item name="title2TextSize">18sp</item>
<item name="text1TextSize">12sp</item>
<item name="text2TextSize">14sp</item>
<item name="text3TextSize">16sp</item>
<item name="text4TextSize">18sp</item>
<item name="text5TextSize">20sp</item>
<item name="text6TextSize">24sp</item>
<item name="text7TextSize">28sp</item>
<item name="text8TextSize">32sp</item>
<item name="text9TextSize">40sp</item>
<item name="text10TextSize">48sp</item>
</style>
</resources>
Loading

0 comments on commit a88ace8

Please sign in to comment.