From 9781d242c16ed36f92b29185e095654fcbc04fe0 Mon Sep 17 00:00:00 2001 From: "OUDS Bot [bot]" <130566815+boosted-bot@users.noreply.github.com> Date: Thu, 12 Dec 2024 14:37:47 +0100 Subject: [PATCH] chore: update tokens (#229) --- .idea/inspectionProfiles/Project_Default.xml | 27 + .idea/kotlinc.xml | 2 +- NOTICE.txt | 1 - .../java/com/orange/ouds/app/ui/BottomBar.kt | 3 + .../app/ui/components/ComponentsScreen.kt | 2 +- .../ouds/app/ui/tokens/TokenCategory.kt | 15 +- .../ui/tokens/TokenCategoryDetailScreen.kt | 12 +- .../ouds/app/ui/tokens/TokenProperty.kt | 54 +- .../ouds/app/ui/tokens/TokenPropertyHeader.kt | 95 +- .../ui/tokens/TokenPropertyIllustration.kt | 89 +- .../composable/DetailScreenHeader.kt | 4 +- .../app/ui/utilities/composable/LargeCard.kt | 12 +- .../ic_design_token_figma_no_padding.xml | 22 - app/src/main/res/values/strings.xml | 16 +- .../ouds/core/component/button/OudsButton.kt | 2 - .../orange/ouds/core/theme/OudsColorScheme.kt | 976 ++++++------------ .../orange/ouds/core/theme/OudsOpacities.kt | 6 +- .../com/orange/ouds/core/theme/OudsSizes.kt | 316 +++--- .../com/orange/ouds/core/theme/OudsSpaces.kt | 205 +--- .../com/orange/ouds/core/theme/OudsTheme.kt | 59 +- ...est_takeOudsButtonDarkThemeSnapshot[0].png | Bin 2031 -> 1838 bytes ...est_takeOudsButtonDarkThemeSnapshot[1].png | Bin 1909 -> 1506 bytes ...st_takeOudsButtonLightThemeSnapshot[0].png | Bin 2196 -> 1854 bytes ...st_takeOudsButtonLightThemeSnapshot[1].png | Bin 1804 -> 1477 bytes .../ouds/tokens/global/raw/BorderRawTokens.kt | 1 + .../ouds/tokens/global/raw/ColorRawTokens.kt | 74 +- .../tokens/global/raw/OpacityRawTokens.kt | 31 +- .../global/raw/OrangeBrandColorRawTokens.kt | 2 +- .../ouds/theme/tokens/OudsColorKeyToken.kt | 432 ++------ .../ouds/theme/tokens/OudsOpacityKeyToken.kt | 4 +- .../ouds/theme/tokens/OudsSizeKeyToken.kt | 60 +- .../ouds/theme/tokens/OudsSpaceKeyToken.kt | 70 +- .../android/OudsAndroidColorDarkTokens.kt | 55 + .../android/OudsAndroidColorLightTokens.kt | 55 + .../tokens/components/OudsButtonTokens.kt | 6 +- .../semantic/OudsBorderSemanticTokens.kt | 32 +- .../semantic/OudsColorActionSemanticTokens.kt | 100 +- .../semantic/OudsColorAlwaysSemanticTokens.kt | 37 +- .../semantic/OudsColorBgSemanticTokens.kt | 52 +- .../semantic/OudsColorBorderSemanticTokens.kt | 34 +- .../semantic/OudsColorBrandSemanticTokens.kt | 90 -- .../OudsColorContentSemanticTokens.kt | 124 +-- .../OudsColorDecorativeSemanticTokens.kt | 120 +-- .../OudsColorElevationSemanticTokens.kt | 46 - .../OudsColorGradientSemanticTokens.kt | 28 - ...s.kt => OudsColorOpacitySemanticTokens.kt} | 9 +- .../OudsColorOverlaySemanticTokens.kt | 27 + .../semantic/OudsColorSemanticTokens.kt | 7 +- .../OudsColorSurfaceSemanticTokens.kt | 46 + .../tokens/semantic/OudsFontSemanticTokens.kt | 160 +-- .../tokens/semantic/OudsGridSemanticTokens.kt | 24 +- .../semantic/OudsOpacitySemanticTokens.kt | 12 +- .../tokens/semantic/OudsSizeSemanticTokens.kt | 166 +-- .../semantic/OudsSpaceSemanticTokens.kt | 189 ++-- .../theme/orangecountry/OrangeCountryTheme.kt | 6 +- .../tokens/WhiteLabelSemanticColorTokens.kt | 4 +- 56 files changed, 1477 insertions(+), 2544 deletions(-) delete mode 100644 app/src/main/res/drawable/ic_design_token_figma_no_padding.xml create mode 100644 theme-contract/src/main/java/com/orange/ouds/theme/tokens/android/OudsAndroidColorDarkTokens.kt create mode 100644 theme-contract/src/main/java/com/orange/ouds/theme/tokens/android/OudsAndroidColorLightTokens.kt delete mode 100644 theme-contract/src/main/java/com/orange/ouds/theme/tokens/semantic/OudsColorBrandSemanticTokens.kt delete mode 100644 theme-contract/src/main/java/com/orange/ouds/theme/tokens/semantic/OudsColorElevationSemanticTokens.kt delete mode 100644 theme-contract/src/main/java/com/orange/ouds/theme/tokens/semantic/OudsColorGradientSemanticTokens.kt rename theme-contract/src/main/java/com/orange/ouds/theme/tokens/semantic/{OudsColorTransparentSemanticTokens.kt => OudsColorOpacitySemanticTokens.kt} (59%) create mode 100644 theme-contract/src/main/java/com/orange/ouds/theme/tokens/semantic/OudsColorOverlaySemanticTokens.kt create mode 100644 theme-contract/src/main/java/com/orange/ouds/theme/tokens/semantic/OudsColorSurfaceSemanticTokens.kt diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml index 44ca2d9b..6195b36e 100644 --- a/.idea/inspectionProfiles/Project_Default.xml +++ b/.idea/inspectionProfiles/Project_Default.xml @@ -1,6 +1,30 @@