Skip to content

Commit

Permalink
Update design tokens (#393)
Browse files Browse the repository at this point in the history
  • Loading branch information
tuentisre authored Oct 29, 2024
1 parent 54074d1 commit 9dfcaa2
Show file tree
Hide file tree
Showing 35 changed files with 136 additions and 35 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,13 @@ public object BlauBrandColors {
controlActivatedInverse = BlauPaletteColor.blau_color_white
controlError = BlauPaletteColor.blau_color_blauRed
barTrack = BlauPaletteColor.blau_color_grey2
barTrackInverse = BlauPaletteColor.blau_color_grey6_20_alpha
loadingBar = BlauPaletteColor.blau_color_blauBlueSecondary
loadingBarBackground = BlauPaletteColor.blau_color_blauBlueSecondary10
toggleAndroidInactive = BlauPaletteColor.blau_color_grey2
toggleAndroidBackgroundActive = BlauPaletteColor.blau_color_blauBlueSecondary10
iosControlKnob = BlauPaletteColor.blau_color_white
controlKnobInverse = BlauPaletteColor.blau_color_blauBlueSecondary
divider = BlauPaletteColor.blau_color_grey2
dividerInverse = BlauPaletteColor.blau_color_white_20_alpha
navigationBarDivider = BlauPaletteColor.blau_color_blauBluePrimary
Expand Down Expand Up @@ -204,11 +206,13 @@ public object BlauBrandColors {
controlActivatedInverse = BlauPaletteColor.blau_color_blauBlueSecondary
controlError = BlauPaletteColor.blau_color_blauRed
barTrack = BlauPaletteColor.blau_color_darkModeGrey6
barTrackInverse = BlauPaletteColor.blau_color_darkModeGrey6
loadingBar = BlauPaletteColor.blau_color_blauBluePrimary
loadingBarBackground = BlauPaletteColor.blau_color_darkModeGrey
toggleAndroidInactive = BlauPaletteColor.blau_color_grey5
toggleAndroidBackgroundActive = BlauPaletteColor.blau_color_blauBlueSecondary30
iosControlKnob = BlauPaletteColor.blau_color_grey2
controlKnobInverse = BlauPaletteColor.blau_color_grey2
divider = BlauPaletteColor.blau_color_white_5_alpha
dividerInverse = BlauPaletteColor.blau_color_white_5_alpha
navigationBarDivider = BlauPaletteColor.blau_color_darkModeBlack
Expand Down Expand Up @@ -388,6 +392,8 @@ private object BlauPaletteColor {

public val blau_color_white_20_alpha: Color = Color(0x33FFFFFF)

public val blau_color_grey6_20_alpha: Color = Color(0x33000000)

public val blau_color_grey6_0_alpha: Color = Color(0x00000000)

public val blau_color_grey6_40_alpha: Color = Color(0x66000000)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,13 @@ public object MovistarBrandColors {
controlActivatedInverse = MovistarPaletteColor.movistar_color_white
controlError = MovistarPaletteColor.movistar_color_pepper55
barTrack = MovistarPaletteColor.movistar_color_grey3
barTrackInverse = MovistarPaletteColor.movistar_color_black_14_alpha
loadingBar = MovistarPaletteColor.movistar_color_movistarBlue
loadingBarBackground = MovistarPaletteColor.movistar_color_grey2
toggleAndroidInactive = MovistarPaletteColor.movistar_color_grey2
toggleAndroidBackgroundActive = MovistarPaletteColor.movistar_color_movistarBlue20
iosControlKnob = MovistarPaletteColor.movistar_color_white
controlKnobInverse = MovistarPaletteColor.movistar_color_movistarBlue
divider = MovistarPaletteColor.movistar_color_grey3
dividerInverse = MovistarPaletteColor.movistar_color_white_20_alpha
navigationBarDivider = MovistarPaletteColor.movistar_color_movistarBlue
Expand Down Expand Up @@ -204,11 +206,13 @@ public object MovistarBrandColors {
controlActivatedInverse = MovistarPaletteColor.movistar_color_movistarBlue
controlError = MovistarPaletteColor.movistar_color_pepper45
barTrack = MovistarPaletteColor.movistar_color_darkModeGrey6
barTrackInverse = MovistarPaletteColor.movistar_color_darkModeGrey6
loadingBar = MovistarPaletteColor.movistar_color_movistarBlue
loadingBarBackground = MovistarPaletteColor.movistar_color_darkModeGrey6
toggleAndroidInactive = MovistarPaletteColor.movistar_color_darkModeGrey2
toggleAndroidBackgroundActive = MovistarPaletteColor.movistar_color_movistarBlue20
iosControlKnob = MovistarPaletteColor.movistar_color_darkModeGrey2
controlKnobInverse = MovistarPaletteColor.movistar_color_darkModeGrey2
divider = MovistarPaletteColor.movistar_color_white_10_alpha
dividerInverse = MovistarPaletteColor.movistar_color_white_10_alpha
navigationBarDivider = MovistarPaletteColor.movistar_color_darkModeBlack
Expand Down Expand Up @@ -424,6 +428,8 @@ private object MovistarPaletteColor {

public val movistar_color_white_30_alpha: Color = Color(0x4DFFFFFF)

public val movistar_color_black_14_alpha: Color = Color(0x24000000)

public val movistar_color_black_0_alpha: Color = Color(0x00000000)

public val movistar_color_black_40_alpha: Color = Color(0x66000000)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,13 @@ public object O2BrandColors {
controlActivatedInverse = O2PaletteColor.o2_color_white
controlError = O2PaletteColor.o2_color_pepper
barTrack = O2PaletteColor.o2_color_grey3
barTrackInverse = O2PaletteColor.o2_color_white_30_alpha
loadingBar = O2PaletteColor.o2_color_o2BluePrimary
loadingBarBackground = O2PaletteColor.o2_color_grey1
toggleAndroidInactive = O2PaletteColor.o2_color_grey2
toggleAndroidBackgroundActive = O2PaletteColor.o2_color_o2BluePrimary15
iosControlKnob = O2PaletteColor.o2_color_white
controlKnobInverse = O2PaletteColor.o2_color_o2BluePrimary
divider = O2PaletteColor.o2_color_grey2
dividerInverse = O2PaletteColor.o2_color_white_20_alpha
navigationBarDivider = O2PaletteColor.o2_color_o2BluePrimary
Expand Down Expand Up @@ -204,11 +206,13 @@ public object O2BrandColors {
controlActivatedInverse = O2PaletteColor.o2_color_o2BluePrimary30
controlError = O2PaletteColor.o2_color_pepper
barTrack = O2PaletteColor.o2_color_darkModeGrey6
barTrackInverse = O2PaletteColor.o2_color_darkModeGrey6
loadingBar = O2PaletteColor.o2_color_darkModeO2BluePrimary
loadingBarBackground = O2PaletteColor.o2_color_darkModeGrey6
toggleAndroidInactive = O2PaletteColor.o2_color_grey4
toggleAndroidBackgroundActive = O2PaletteColor.o2_color_o2BlueLight30
iosControlKnob = O2PaletteColor.o2_color_grey2
controlKnobInverse = O2PaletteColor.o2_color_grey2
badge = O2PaletteColor.o2_color_pepper60
feedbackErrorBackground = O2PaletteColor.o2_color_pepper
feedbackInfoBackground = O2PaletteColor.o2_color_darkModeGrey6
Expand Down Expand Up @@ -398,6 +402,8 @@ private object O2PaletteColor {

public val o2_color_white_15_alpha: Color = Color(0x26FFFFFF)

public val o2_color_white_30_alpha: Color = Color(0x4DFFFFFF)

public val o2_color_white_20_alpha: Color = Color(0x33FFFFFF)

public val o2_color_black_0_alpha: Color = Color(0x00000000)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,13 @@ public object O2NewBrandColors {
controlActivatedInverse = O2NewPaletteColor.o2New_color_white
controlError = O2NewPaletteColor.o2New_color_o2Red60
barTrack = O2NewPaletteColor.o2New_color_grey30
barTrackInverse = O2NewPaletteColor.o2New_color_white_30_alpha
loadingBar = O2NewPaletteColor.o2New_color_beyondBlue
loadingBarBackground = O2NewPaletteColor.o2New_color_grey20
toggleAndroidInactive = O2NewPaletteColor.o2New_color_grey30
toggleAndroidBackgroundActive = O2NewPaletteColor.o2New_color_beyondBlue15
iosControlKnob = O2NewPaletteColor.o2New_color_white
controlKnobInverse = O2NewPaletteColor.o2New_color_beyondBlue
divider = O2NewPaletteColor.o2New_color_grey30
dividerInverse = O2NewPaletteColor.o2New_color_white_20_alpha
navigationBarDivider = O2NewPaletteColor.o2New_color_darkBlue
Expand Down Expand Up @@ -204,11 +206,13 @@ public object O2NewBrandColors {
controlActivatedInverse = O2NewPaletteColor.o2New_color_darkModeBeyondBlue
controlError = O2NewPaletteColor.o2New_color_o2Red45
barTrack = O2NewPaletteColor.o2New_color_darkModeGrey6
barTrackInverse = O2NewPaletteColor.o2New_color_darkModeGrey6
loadingBar = O2NewPaletteColor.o2New_color_darkModeBeyondBlue
loadingBarBackground = O2NewPaletteColor.o2New_color_darkModeGrey6
toggleAndroidInactive = O2NewPaletteColor.o2New_color_grey20
toggleAndroidBackgroundActive = O2NewPaletteColor.o2New_color_beyondBlue15
iosControlKnob = O2NewPaletteColor.o2New_color_grey30
controlKnobInverse = O2NewPaletteColor.o2New_color_grey30
badge = O2NewPaletteColor.o2New_color_o2Red65
feedbackErrorBackground = O2NewPaletteColor.o2New_color_o2Red60
feedbackInfoBackground = O2NewPaletteColor.o2New_color_darkModeGrey6
Expand Down Expand Up @@ -416,6 +420,8 @@ private object O2NewPaletteColor {

public val o2New_color_white_15_alpha: Color = Color(0x26FFFFFF)

public val o2New_color_white_30_alpha: Color = Color(0x4DFFFFFF)

public val o2New_color_white_20_alpha: Color = Color(0x33FFFFFF)

public val o2New_color_beyondBlue_0_alpha: Color = Color(0x000050FF)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,14 @@ public object TelefonicaBrandColors {
controlInverse = TelefonicaPaletteColor.telefonica_color_grey1
controlActivatedInverse = TelefonicaPaletteColor.telefonica_color_white
controlError = TelefonicaPaletteColor.telefonica_color_coral
barTrack = TelefonicaPaletteColor.telefonica_color_grey3
barTrack = TelefonicaPaletteColor.telefonica_color_grey2
barTrackInverse = TelefonicaPaletteColor.telefonica_color_white_30_alpha
loadingBar = TelefonicaPaletteColor.telefonica_color_telefonicaBlue30
loadingBarBackground = TelefonicaPaletteColor.telefonica_color_telefonicaBlue70
toggleAndroidInactive = TelefonicaPaletteColor.telefonica_color_grey2
toggleAndroidBackgroundActive = TelefonicaPaletteColor.telefonica_color_grey2
iosControlKnob = TelefonicaPaletteColor.telefonica_color_white
controlKnobInverse = TelefonicaPaletteColor.telefonica_color_telefonicaBlue
divider = TelefonicaPaletteColor.telefonica_color_grey2
dividerInverse = TelefonicaPaletteColor.telefonica_color_white_20_alpha
navigationBarDivider = TelefonicaPaletteColor.telefonica_color_telefonicaBlue
Expand Down Expand Up @@ -210,11 +212,13 @@ public object TelefonicaBrandColors {
controlActivatedInverse = TelefonicaPaletteColor.telefonica_color_telefonicaBlue
controlError = TelefonicaPaletteColor.telefonica_color_coral
barTrack = TelefonicaPaletteColor.telefonica_color_darkModeGrey6
barTrackInverse = TelefonicaPaletteColor.telefonica_color_darkModeGrey6
loadingBar = TelefonicaPaletteColor.telefonica_color_telefonicaBlue
loadingBarBackground = TelefonicaPaletteColor.telefonica_color_grey6
toggleAndroidInactive = TelefonicaPaletteColor.telefonica_color_grey4
toggleAndroidBackgroundActive = TelefonicaPaletteColor.telefonica_color_telefonicaBlue20
iosControlKnob = TelefonicaPaletteColor.telefonica_color_grey2
controlKnobInverse = TelefonicaPaletteColor.telefonica_color_grey2
divider = TelefonicaPaletteColor.telefonica_color_white_5_alpha
dividerInverse = TelefonicaPaletteColor.telefonica_color_white_5_alpha
navigationBarDivider = TelefonicaPaletteColor.telefonica_color_darkModeBlack
Expand Down Expand Up @@ -392,6 +396,8 @@ private object TelefonicaPaletteColor {

public val telefonica_color_white_10_alpha: Color = Color(0x1AFFFFFF)

public val telefonica_color_white_30_alpha: Color = Color(0x4DFFFFFF)

public val telefonica_color_white_20_alpha: Color = Color(0x33FFFFFF)

public val telefonica_color_black_0_alpha: Color = Color(0x00000000)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,13 @@ public object TuBrandColors {
controlActivatedInverse = TuPaletteColor.tu_color_white
controlError = TuPaletteColor.tu_color_red
barTrack = TuPaletteColor.tu_color_grey2
barTrackInverse = TuPaletteColor.tu_color_white_36_alpha
loadingBar = TuPaletteColor.tu_color_green40
loadingBarBackground = TuPaletteColor.tu_color_green
toggleAndroidInactive = TuPaletteColor.tu_color_grey2
toggleAndroidBackgroundActive = TuPaletteColor.tu_color_primary15
iosControlKnob = TuPaletteColor.tu_color_white
controlKnobInverse = TuPaletteColor.tu_color_primary
divider = TuPaletteColor.tu_color_grey2
dividerInverse = TuPaletteColor.tu_color_white_20_alpha
navigationBarDivider = TuPaletteColor.tu_color_primary
Expand Down Expand Up @@ -204,11 +206,13 @@ public object TuBrandColors {
controlActivatedInverse = TuPaletteColor.tu_color_blue30
controlError = TuPaletteColor.tu_color_red
barTrack = TuPaletteColor.tu_color_darkModeGrey6
barTrackInverse = TuPaletteColor.tu_color_darkModeGrey6
loadingBar = TuPaletteColor.tu_color_green40
loadingBarBackground = TuPaletteColor.tu_color_green
toggleAndroidInactive = TuPaletteColor.tu_color_grey4
toggleAndroidBackgroundActive = TuPaletteColor.tu_color_blue20
iosControlKnob = TuPaletteColor.tu_color_grey2
controlKnobInverse = TuPaletteColor.tu_color_grey2
divider = TuPaletteColor.tu_color_white_5_alpha
dividerInverse = TuPaletteColor.tu_color_white_5_alpha
navigationBarDivider = TuPaletteColor.tu_color_darkModeBlack
Expand Down Expand Up @@ -396,6 +400,8 @@ private object TuPaletteColor {

public val tu_color_white_10_alpha: Color = Color(0x1AFFFFFF)

public val tu_color_white_36_alpha: Color = Color(0x5CFFFFFF)

public val tu_color_white_20_alpha: Color = Color(0x33FFFFFF)

public val tu_color_black_0_alpha: Color = Color(0x00000000)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,13 @@ public object VivoBrandColors {
controlActivatedInverse = VivoPaletteColor.vivo_color_white
controlError = VivoPaletteColor.vivo_color_pepper
barTrack = VivoPaletteColor.vivo_color_grey3
barTrackInverse = VivoPaletteColor.vivo_color_white_50_alpha
loadingBar = VivoPaletteColor.vivo_color_pink
loadingBarBackground = VivoPaletteColor.vivo_color_pepperLight30
toggleAndroidInactive = VivoPaletteColor.vivo_color_grey2
toggleAndroidBackgroundActive = VivoPaletteColor.vivo_color_vivoPurpleLight20
iosControlKnob = VivoPaletteColor.vivo_color_white
controlKnobInverse = VivoPaletteColor.vivo_color_vivoPurple
divider = VivoPaletteColor.vivo_color_grey2
dividerInverse = VivoPaletteColor.vivo_color_white_20_alpha
navigationBarDivider = VivoPaletteColor.vivo_color_vivoPurple
Expand Down Expand Up @@ -204,11 +206,13 @@ public object VivoBrandColors {
controlActivatedInverse = VivoPaletteColor.vivo_color_vivoPurpleLight80
controlError = VivoPaletteColor.vivo_color_pepper
barTrack = VivoPaletteColor.vivo_color_darkModeGrey6
barTrackInverse = VivoPaletteColor.vivo_color_darkModeGrey6
loadingBar = VivoPaletteColor.vivo_color_vivoPurpleLight80
loadingBarBackground = VivoPaletteColor.vivo_color_darkModeGrey6
toggleAndroidInactive = VivoPaletteColor.vivo_color_grey4
toggleAndroidBackgroundActive = VivoPaletteColor.vivo_color_vivoPurpleLight50
iosControlKnob = VivoPaletteColor.vivo_color_grey2
controlKnobInverse = VivoPaletteColor.vivo_color_grey2
divider = VivoPaletteColor.vivo_color_white_5_alpha
dividerInverse = VivoPaletteColor.vivo_color_white_5_alpha
navigationBarDivider = VivoPaletteColor.vivo_color_darkModeBlack
Expand Down Expand Up @@ -384,6 +388,8 @@ private object VivoPaletteColor {

public val vivo_color_white_15_alpha: Color = Color(0x26FFFFFF)

public val vivo_color_white_50_alpha: Color = Color(0x80FFFFFF)

public val vivo_color_white_20_alpha: Color = Color(0x33FFFFFF)

public val vivo_color_grey6_0_alpha: Color = Color(0x00000000)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,13 @@ public object VivoNewBrandColors {
controlActivatedInverse = VivoNewPaletteColor.vivoNew_color_white
controlError = VivoNewPaletteColor.vivoNew_color_pepper
barTrack = VivoNewPaletteColor.vivoNew_color_grey3
barTrackInverse = VivoNewPaletteColor.vivoNew_color_white_50_alpha
loadingBar = VivoNewPaletteColor.vivoNew_color_vivoPurple
loadingBarBackground = VivoNewPaletteColor.vivoNew_color_vivoPurpleLight10
toggleAndroidInactive = VivoNewPaletteColor.vivoNew_color_grey2
toggleAndroidBackgroundActive = VivoNewPaletteColor.vivoNew_color_vivoPurpleLight20
iosControlKnob = VivoNewPaletteColor.vivoNew_color_white
controlKnobInverse = VivoNewPaletteColor.vivoNew_color_vivoPurple
divider = VivoNewPaletteColor.vivoNew_color_grey3
dividerInverse = VivoNewPaletteColor.vivoNew_color_white_20_alpha
navigationBarDivider = VivoNewPaletteColor.vivoNew_color_vivoPurple
Expand Down Expand Up @@ -204,11 +206,13 @@ public object VivoNewBrandColors {
controlActivatedInverse = VivoNewPaletteColor.vivoNew_color_vivoPurpleLight80
controlError = VivoNewPaletteColor.vivoNew_color_pepper
barTrack = VivoNewPaletteColor.vivoNew_color_darkModeGrey6
barTrackInverse = VivoNewPaletteColor.vivoNew_color_darkModeGrey6
loadingBar = VivoNewPaletteColor.vivoNew_color_vivoPurpleLight80
loadingBarBackground = VivoNewPaletteColor.vivoNew_color_darkModeGrey6
toggleAndroidInactive = VivoNewPaletteColor.vivoNew_color_grey4
toggleAndroidBackgroundActive = VivoNewPaletteColor.vivoNew_color_vivoPurpleLight50
iosControlKnob = VivoNewPaletteColor.vivoNew_color_grey2
controlKnobInverse = VivoNewPaletteColor.vivoNew_color_grey2
divider = VivoNewPaletteColor.vivoNew_color_white_5_alpha
dividerInverse = VivoNewPaletteColor.vivoNew_color_white_5_alpha
navigationBarDivider = VivoNewPaletteColor.vivoNew_color_darkModeBlack
Expand Down Expand Up @@ -384,6 +388,8 @@ private object VivoNewPaletteColor {

public val vivoNew_color_white_15_alpha: Color = Color(0x26FFFFFF)

public val vivoNew_color_white_50_alpha: Color = Color(0x80FFFFFF)

public val vivoNew_color_white_20_alpha: Color = Color(0x33FFFFFF)

public val vivoNew_color_grey6_0_alpha: Color = Color(0x00000000)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,29 +4,29 @@ package com.telefonica.mistica.compose.theme.brand
import androidx.compose.ui.text.font.FontWeight

public object VivoNewBrandFontWeights {
public val cardTitleFontWeight: FontWeight = FontWeight.Normal
public val cardTitleFontWeight: FontWeight = FontWeight.Medium

public val buttonFontWeight: FontWeight = FontWeight.Normal
public val buttonFontWeight: FontWeight = FontWeight.Medium

public val tabsLabelFontWeight: FontWeight = FontWeight.Normal
public val tabsLabelFontWeight: FontWeight = FontWeight.Medium

public val linkFontWeight: FontWeight = FontWeight.Normal
public val linkFontWeight: FontWeight = FontWeight.Medium

public val title1FontWeight: FontWeight = FontWeight.Normal
public val title1FontWeight: FontWeight = FontWeight.Medium

public val title2FontWeight: FontWeight = FontWeight.Normal
public val title2FontWeight: FontWeight = FontWeight.Medium

public val title3FontWeight: FontWeight = FontWeight.Normal
public val title3FontWeight: FontWeight = FontWeight.Medium

public val indicatorFontWeight: FontWeight = FontWeight.Normal
public val indicatorFontWeight: FontWeight = FontWeight.Medium

public val navigationBarFontWeight: FontWeight = FontWeight.Normal

public val text5FontWeight: FontWeight = FontWeight.Normal
public val text5FontWeight: FontWeight = FontWeight.Medium

public val text6FontWeight: FontWeight = FontWeight.Normal
public val text6FontWeight: FontWeight = FontWeight.Medium

public val text7FontWeight: FontWeight = FontWeight.Normal
public val text7FontWeight: FontWeight = FontWeight.Medium

public val text8FontWeight: FontWeight = FontWeight.Normal

Expand Down
Loading

0 comments on commit 9dfcaa2

Please sign in to comment.