From 08d5e772dcf114153c5056e4dd08945acd259e90 Mon Sep 17 00:00:00 2001 From: "Boosted Bot [bot]" <130566815+boosted-bot@users.noreply.github.com> Date: Wed, 13 Nov 2024 16:17:10 +0100 Subject: [PATCH] chore: update tokens (#191) Co-authored-by: boosted-bot --- .../ouds/tokens/global/raw/ColorRawTokens.kt | 294 +++++++++--------- .../global/raw/OrangeBrandColorRawTokens.kt | 62 ++-- .../semantic/OudsColorActionSemanticTokens.kt | 148 ++++----- .../semantic/OudsColorAlwaysSemanticTokens.kt | 79 ++--- .../semantic/OudsColorBgSemanticTokens.kt | 112 +++---- .../semantic/OudsColorBorderSemanticTokens.kt | 66 ++-- .../semantic/OudsColorBrandSemanticTokens.kt | 164 +++++----- .../OudsColorContentSemanticTokens.kt | 188 +++++------ .../OudsColorDecorativeSemanticTokens.kt | 144 ++++----- .../OudsColorElevationSemanticTokens.kt | 77 ++--- .../OudsColorGradientSemanticTokens.kt | 41 +-- .../OudsColorTransparentSemanticTokens.kt | 29 +- 12 files changed, 704 insertions(+), 700 deletions(-) diff --git a/global-raw-tokens/src/main/java/com/orange/ouds/tokens/global/raw/ColorRawTokens.kt b/global-raw-tokens/src/main/java/com/orange/ouds/tokens/global/raw/ColorRawTokens.kt index 1a857c87..2467eac1 100644 --- a/global-raw-tokens/src/main/java/com/orange/ouds/tokens/global/raw/ColorRawTokens.kt +++ b/global-raw-tokens/src/main/java/com/orange/ouds/tokens/global/raw/ColorRawTokens.kt @@ -1,154 +1,154 @@ -/* - * Software Name: OUDS Android - * SPDX-FileCopyrightText: Copyright (c) Orange SA - * SPDX-License-Identifier: MIT - * - * This software is distributed under the MIT license, - * the text of which is available at https://opensource.org/license/MIT/ - * or see the "LICENSE" file for more details. - * - * Software description: Android library of reusable graphical components - */ +// +// Software Name: OUDS Android +// SPDX-FileCopyrightText: Copyright (c) Orange SA +// SPDX-License-Identifier: MIT +// +// This software is distributed under the MIT license, +// the text of which is available at https://opensource.org/license/MIT/ +// or see the "LICENSE" file for more details. +// +// Software description: Android library of reusable graphical components +// package com.orange.ouds.tokens.global.raw import androidx.compose.ui.graphics.Color object ColorRawTokens { - val colorDecorativeAmber100 = Color(0xfffff0cc) - val colorDecorativeAmber200 = Color(0xffffe199) - val colorDecorativeAmber300 = Color(0xffffd266) - val colorDecorativeAmber400 = Color(0xffffc333) - val colorDecorativeAmber500 = Color(0xffffb400) - val colorDecorativeAmber600 = Color(0xffcc9000) - val colorDecorativeAmber700 = Color(0xff996c00) - val colorDecorativeAmber800 = Color(0xff664800) - val colorDecorativeAmber900 = Color(0xff332400) - val colorDecorativeAmethyst100 = Color(0xfff1ecf9) - val colorDecorativeAmethyst200 = Color(0xffe0d4f2) - val colorDecorativeAmethyst300 = Color(0xffc5ade6) - val colorDecorativeAmethyst400 = Color(0xffa885d8) - val colorDecorativeAmethyst500 = Color(0xff8d60cd) - val colorDecorativeAmethyst600 = Color(0xff5b2f98) - val colorDecorativeAmethyst700 = Color(0xff432371) - val colorDecorativeAmethyst800 = Color(0xff2c174a) - val colorDecorativeAmethyst900 = Color(0xff150b23) - val colorDecorativeDeepPeach100 = Color(0xfffbebdf) - val colorDecorativeDeepPeach200 = Color(0xfff4cfb2) - val colorDecorativeDeepPeach300 = Color(0xffe3b591) - val colorDecorativeDeepPeach400 = Color(0xffc19372) - val colorDecorativeDeepPeach500 = Color(0xffcf7e3f) - val colorDecorativeDeepPeach600 = Color(0xffaa6631) - val colorDecorativeDeepPeach700 = Color(0xff7e4f2a) - val colorDecorativeDeepPeach800 = Color(0xff553720) - val colorDecorativeDeepPeach900 = Color(0xff2e2014) - val colorDecorativeEmerald100 = Color(0xffe5f5ed) - val colorDecorativeEmerald200 = Color(0xffc0e8d4) - val colorDecorativeEmerald300 = Color(0xff9bdaba) - val colorDecorativeEmerald400 = Color(0xff75cca1) - val colorDecorativeEmerald500 = Color(0xff50be87) - val colorDecorativeEmerald600 = Color(0xff3ba06e) - val colorDecorativeEmerald700 = Color(0xff2e7b54) - val colorDecorativeEmerald800 = Color(0xff20563b) - val colorDecorativeEmerald900 = Color(0xff123021) - val colorDecorativeShockingPink100 = Color(0xffffe5f6) - val colorDecorativeShockingPink200 = Color(0xffffb4e6) - val colorDecorativeShockingPink300 = Color(0xffff80d4) - val colorDecorativeShockingPink400 = Color(0xffff4dc3) - val colorDecorativeShockingPink500 = Color(0xffff1ab2) - val colorDecorativeShockingPink600 = Color(0xffe50099) - val colorDecorativeShockingPink700 = Color(0xffb20077) - val colorDecorativeShockingPink800 = Color(0xff800055) - val colorDecorativeShockingPink900 = Color(0xff4d0033) - val colorDecorativeSky100 = Color(0xffd2ecf9) - val colorDecorativeSky200 = Color(0xffa5daf3) - val colorDecorativeSky300 = Color(0xff79c7ec) - val colorDecorativeSky400 = Color(0xff4ab4e6) - val colorDecorativeSky500 = Color(0xff1fa2e0) - val colorDecorativeSky600 = Color(0xff1982b3) - val colorDecorativeSky700 = Color(0xff136186) - val colorDecorativeSky800 = Color(0xff0c415a) - val colorDecorativeSky900 = Color(0xff06202d) - val colorFunctionalBlack = Color(0xff000000) - val colorFunctionalDarkGray160 = Color(0xff707070) - val colorFunctionalDarkGray240 = Color(0xff666666) - val colorFunctionalDarkGray320 = Color(0xff5c5c5c) - val colorFunctionalDarkGray400 = Color(0xff555555) - val colorFunctionalDarkGray480 = Color(0xff444444) - val colorFunctionalDarkGray560 = Color(0xff3d3d3d) - val colorFunctionalDarkGray640 = Color(0xff333333) - val colorFunctionalDarkGray720 = Color(0xff272727) - val colorFunctionalDarkGray80 = Color(0xff7a7a7a) - val colorFunctionalDarkGray800 = Color(0xff1f1f1f) - val colorFunctionalDarkGray880 = Color(0xff141414) - val colorFunctionalDarkGray960 = Color(0xff0a0a0a) - val colorFunctionalDodgerBlue100 = Color(0xfff0faff) - val colorFunctionalDodgerBlue200 = Color(0xffbde7ff) - val colorFunctionalDodgerBlue300 = Color(0xff8ad5ff) - val colorFunctionalDodgerBlue400 = Color(0xff57c3ff) - val colorFunctionalDodgerBlue500 = Color(0xff26b2ff) - val colorFunctionalDodgerBlue600 = Color(0xff009bf0) - val colorFunctionalDodgerBlue700 = Color(0xff007abd) - val colorFunctionalDodgerBlue800 = Color(0xff00598a) - val colorFunctionalDodgerBlue900 = Color(0xff003857) - val colorFunctionalLightGray160 = Color(0xffeeeeee) - val colorFunctionalLightGray240 = Color(0xffe0e0e0) - val colorFunctionalLightGray320 = Color(0xffd6d6d6) - val colorFunctionalLightGray400 = Color(0xffcccccc) - val colorFunctionalLightGray480 = Color(0xffc2c2c2) - val colorFunctionalLightGray560 = Color(0xffbbbbbb) - val colorFunctionalLightGray640 = Color(0xffadadad) - val colorFunctionalLightGray720 = Color(0xffa3a3a3) - val colorFunctionalLightGray80 = Color(0xfff4f4f4) - val colorFunctionalLightGray800 = Color(0xff999999) - val colorFunctionalLightGray880 = Color(0xff8f8f8f) - val colorFunctionalLightGray960 = Color(0xff858585) - val colorFunctionalMalachite100 = Color(0xffedfcf0) - val colorFunctionalMalachite200 = Color(0xffc1f6ca) - val colorFunctionalMalachite300 = Color(0xff94f0a4) - val colorFunctionalMalachite400 = Color(0xff67e97e) - val colorFunctionalMalachite500 = Color(0xff3de35a) - val colorFunctionalMalachite600 = Color(0xff1ecd3c) - val colorFunctionalMalachite700 = Color(0xff17a02f) - val colorFunctionalMalachite800 = Color(0xff0e621d) - val colorFunctionalMalachite900 = Color(0xff0a4715) - val colorFunctionalScarlet100 = Color(0xffffe5e6) - val colorFunctionalScarlet200 = Color(0xffffb2b3) - val colorFunctionalScarlet300 = Color(0xffff8081) - val colorFunctionalScarlet400 = Color(0xffff4d4e) - val colorFunctionalScarlet500 = Color(0xffff1a1b) - val colorFunctionalScarlet600 = Color(0xffea0305) - val colorFunctionalScarlet700 = Color(0xffb20002) - val colorFunctionalScarlet800 = Color(0xff800001) - val colorFunctionalScarlet900 = Color(0xff4d0001) - val colorFunctionalSun100 = Color(0xfffff7d6) - val colorFunctionalSun200 = Color(0xffffed99) - val colorFunctionalSun300 = Color(0xffffe270) - val colorFunctionalSun400 = Color(0xffffd73d) - val colorFunctionalSun500 = Color(0xffffd000) - val colorFunctionalSun600 = Color(0xffd6aa00) - val colorFunctionalSun700 = Color(0xffa38200) - val colorFunctionalSun800 = Color(0xff665100) - val colorFunctionalSun900 = Color(0xff3d3100) - val colorFunctionalWhite = Color(0xffffffff) - val colorTransparentBlack0 = Color(0x00000000) - val colorTransparentBlack100 = Color(0x0a000000) - val colorTransparentBlack200 = Color(0x14000000) - val colorTransparentBlack300 = Color(0x29000000) - val colorTransparentBlack400 = Color(0x3d000000) - val colorTransparentBlack500 = Color(0x52000000) - val colorTransparentBlack600 = Color(0x7a000000) - val colorTransparentBlack700 = Color(0xa3000000) - val colorTransparentBlack800 = Color(0xe0000000) - val colorTransparentBlack900 = Color(0xff000000) - val colorTransparentWhite0 = Color(0x00ffffff) - val colorTransparentWhite100 = Color(0x0affffff) - val colorTransparentWhite200 = Color(0x14ffffff) - val colorTransparentWhite300 = Color(0x29ffffff) - val colorTransparentWhite400 = Color(0x3dffffff) - val colorTransparentWhite500 = Color(0x52ffffff) - val colorTransparentWhite600 = Color(0x7affffff) - val colorTransparentWhite700 = Color(0xa3ffffff) - val colorTransparentWhite800 = Color(0xe0ffffff) - val colorTransparentWhite900 = Color(0xffffffff) + val colorDecorativeAmber100 = Color(0xfffff0cc) + val colorDecorativeAmber200 = Color(0xffffe199) + val colorDecorativeAmber300 = Color(0xffffd266) + val colorDecorativeAmber400 = Color(0xffffc333) + val colorDecorativeAmber500 = Color(0xffffb400) + val colorDecorativeAmber600 = Color(0xffcc9000) + val colorDecorativeAmber700 = Color(0xff996c00) + val colorDecorativeAmber800 = Color(0xff664800) + val colorDecorativeAmber900 = Color(0xff332400) + val colorDecorativeAmethyst100 = Color(0xfff1ecf9) + val colorDecorativeAmethyst200 = Color(0xffe0d4f2) + val colorDecorativeAmethyst300 = Color(0xffc5ade6) + val colorDecorativeAmethyst400 = Color(0xffa885d8) + val colorDecorativeAmethyst500 = Color(0xff8d60cd) + val colorDecorativeAmethyst600 = Color(0xff5b2f98) + val colorDecorativeAmethyst700 = Color(0xff432371) + val colorDecorativeAmethyst800 = Color(0xff2c174a) + val colorDecorativeAmethyst900 = Color(0xff150b23) + val colorDecorativeDeepPeach100 = Color(0xfffbebdf) + val colorDecorativeDeepPeach200 = Color(0xfff4cfb2) + val colorDecorativeDeepPeach300 = Color(0xffe3b591) + val colorDecorativeDeepPeach400 = Color(0xffc19372) + val colorDecorativeDeepPeach500 = Color(0xffcf7e3f) + val colorDecorativeDeepPeach600 = Color(0xffaa6631) + val colorDecorativeDeepPeach700 = Color(0xff7e4f2a) + val colorDecorativeDeepPeach800 = Color(0xff553720) + val colorDecorativeDeepPeach900 = Color(0xff2e2014) + val colorDecorativeEmerald100 = Color(0xffe5f5ed) + val colorDecorativeEmerald200 = Color(0xffc0e8d4) + val colorDecorativeEmerald300 = Color(0xff9bdaba) + val colorDecorativeEmerald400 = Color(0xff75cca1) + val colorDecorativeEmerald500 = Color(0xff50be87) + val colorDecorativeEmerald600 = Color(0xff3ba06e) + val colorDecorativeEmerald700 = Color(0xff2e7b54) + val colorDecorativeEmerald800 = Color(0xff20563b) + val colorDecorativeEmerald900 = Color(0xff123021) + val colorDecorativeShockingPink100 = Color(0xffffe5f6) + val colorDecorativeShockingPink200 = Color(0xffffb4e6) + val colorDecorativeShockingPink300 = Color(0xffff80d4) + val colorDecorativeShockingPink400 = Color(0xffff4dc3) + val colorDecorativeShockingPink500 = Color(0xffff1ab2) + val colorDecorativeShockingPink600 = Color(0xffe50099) + val colorDecorativeShockingPink700 = Color(0xffb20077) + val colorDecorativeShockingPink800 = Color(0xff800055) + val colorDecorativeShockingPink900 = Color(0xff4d0033) + val colorDecorativeSky100 = Color(0xffd2ecf9) + val colorDecorativeSky200 = Color(0xffa5daf3) + val colorDecorativeSky300 = Color(0xff79c7ec) + val colorDecorativeSky400 = Color(0xff4ab4e6) + val colorDecorativeSky500 = Color(0xff1fa2e0) + val colorDecorativeSky600 = Color(0xff1982b3) + val colorDecorativeSky700 = Color(0xff136186) + val colorDecorativeSky800 = Color(0xff0c415a) + val colorDecorativeSky900 = Color(0xff06202d) + val colorFunctionalBlack = Color(0xff000000) + val colorFunctionalDarkGray80 = Color(0xff7a7a7a) + val colorFunctionalDarkGray160 = Color(0xff707070) + val colorFunctionalDarkGray240 = Color(0xff666666) + val colorFunctionalDarkGray320 = Color(0xff5c5c5c) + val colorFunctionalDarkGray400 = Color(0xff555555) + val colorFunctionalDarkGray480 = Color(0xff444444) + val colorFunctionalDarkGray560 = Color(0xff3d3d3d) + val colorFunctionalDarkGray640 = Color(0xff333333) + val colorFunctionalDarkGray720 = Color(0xff272727) + val colorFunctionalDarkGray800 = Color(0xff1f1f1f) + val colorFunctionalDarkGray880 = Color(0xff141414) + val colorFunctionalDarkGray960 = Color(0xff0a0a0a) + val colorFunctionalDodgerBlue100 = Color(0xfff0faff) + val colorFunctionalDodgerBlue200 = Color(0xffbde7ff) + val colorFunctionalDodgerBlue300 = Color(0xff8ad5ff) + val colorFunctionalDodgerBlue400 = Color(0xff57c3ff) + val colorFunctionalDodgerBlue500 = Color(0xff26b2ff) + val colorFunctionalDodgerBlue600 = Color(0xff009bf0) + val colorFunctionalDodgerBlue700 = Color(0xff007abd) + val colorFunctionalDodgerBlue800 = Color(0xff00598a) + val colorFunctionalDodgerBlue900 = Color(0xff003857) + val colorFunctionalLightGray80 = Color(0xfff4f4f4) + val colorFunctionalLightGray160 = Color(0xffeeeeee) + val colorFunctionalLightGray240 = Color(0xffe0e0e0) + val colorFunctionalLightGray320 = Color(0xffd6d6d6) + val colorFunctionalLightGray400 = Color(0xffcccccc) + val colorFunctionalLightGray480 = Color(0xffc2c2c2) + val colorFunctionalLightGray560 = Color(0xffbbbbbb) + val colorFunctionalLightGray640 = Color(0xffadadad) + val colorFunctionalLightGray720 = Color(0xffa3a3a3) + val colorFunctionalLightGray800 = Color(0xff999999) + val colorFunctionalLightGray880 = Color(0xff8f8f8f) + val colorFunctionalLightGray960 = Color(0xff858585) + val colorFunctionalMalachite100 = Color(0xffedfcf0) + val colorFunctionalMalachite200 = Color(0xffc1f6ca) + val colorFunctionalMalachite300 = Color(0xff94f0a4) + val colorFunctionalMalachite400 = Color(0xff67e97e) + val colorFunctionalMalachite500 = Color(0xff3de35a) + val colorFunctionalMalachite600 = Color(0xff1ecd3c) + val colorFunctionalMalachite700 = Color(0xff17a02f) + val colorFunctionalMalachite800 = Color(0xff0e621d) + val colorFunctionalMalachite900 = Color(0xff0a4715) + val colorFunctionalScarlet100 = Color(0xffffe5e6) + val colorFunctionalScarlet200 = Color(0xffffb2b3) + val colorFunctionalScarlet300 = Color(0xffff8081) + val colorFunctionalScarlet400 = Color(0xffff4d4e) + val colorFunctionalScarlet500 = Color(0xffff1a1b) + val colorFunctionalScarlet600 = Color(0xffea0305) + val colorFunctionalScarlet700 = Color(0xffb20002) + val colorFunctionalScarlet800 = Color(0xff800001) + val colorFunctionalScarlet900 = Color(0xff4d0001) + val colorFunctionalSun100 = Color(0xfffff7d6) + val colorFunctionalSun200 = Color(0xffffed99) + val colorFunctionalSun300 = Color(0xffffe270) + val colorFunctionalSun400 = Color(0xffffd73d) + val colorFunctionalSun500 = Color(0xffffd000) + val colorFunctionalSun600 = Color(0xffd6aa00) + val colorFunctionalSun700 = Color(0xffa38200) + val colorFunctionalSun800 = Color(0xff665100) + val colorFunctionalSun900 = Color(0xff3d3100) + val colorFunctionalWhite = Color(0xffffffff) + val colorTransparentBlack0 = Color(0x00000000) + val colorTransparentBlack100 = Color(0x0a000000) + val colorTransparentBlack200 = Color(0x14000000) + val colorTransparentBlack300 = Color(0x29000000) + val colorTransparentBlack400 = Color(0x3d000000) + val colorTransparentBlack500 = Color(0x52000000) + val colorTransparentBlack600 = Color(0x7a000000) + val colorTransparentBlack700 = Color(0xa3000000) + val colorTransparentBlack800 = Color(0xe0000000) + val colorTransparentBlack900 = Color(0xff000000) + val colorTransparentWhite0 = Color(0x00ffffff) + val colorTransparentWhite100 = Color(0x0affffff) + val colorTransparentWhite200 = Color(0x14ffffff) + val colorTransparentWhite300 = Color(0x29ffffff) + val colorTransparentWhite400 = Color(0x3dffffff) + val colorTransparentWhite500 = Color(0x52ffffff) + val colorTransparentWhite600 = Color(0x7affffff) + val colorTransparentWhite700 = Color(0xa3ffffff) + val colorTransparentWhite800 = Color(0xe0ffffff) + val colorTransparentWhite900 = Color(0xffffffff) } \ No newline at end of file diff --git a/global-raw-tokens/src/main/java/com/orange/ouds/tokens/global/raw/OrangeBrandColorRawTokens.kt b/global-raw-tokens/src/main/java/com/orange/ouds/tokens/global/raw/OrangeBrandColorRawTokens.kt index af7dab43..da3604f0 100644 --- a/global-raw-tokens/src/main/java/com/orange/ouds/tokens/global/raw/OrangeBrandColorRawTokens.kt +++ b/global-raw-tokens/src/main/java/com/orange/ouds/tokens/global/raw/OrangeBrandColorRawTokens.kt @@ -1,38 +1,38 @@ -/* - * Software Name: OUDS Android - * SPDX-FileCopyrightText: Copyright (c) Orange SA - * SPDX-License-Identifier: MIT - * - * This software is distributed under the MIT license, - * the text of which is available at https://opensource.org/license/MIT/ - * or see the "LICENSE" file for more details. - * - * Software description: Android library of reusable graphical components - */ +// +// Software Name: OUDS Android +// SPDX-FileCopyrightText: Copyright (c) Orange SA +// SPDX-License-Identifier: MIT +// +// This software is distributed under the MIT license, +// the text of which is available at https://opensource.org/license/MIT/ +// or see the "LICENSE" file for more details. +// +// Software description: Android library of reusable graphical components +// package com.orange.ouds.tokens.global.raw import androidx.compose.ui.graphics.Color object OrangeBrandColorRawTokens { - val colorOrange100 = Color(0xffffd5b0) - val colorOrange200 = Color(0xffffc18a) - val colorOrange300 = Color(0xffffa554) - val colorOrange400 = Color(0xffff9433) - val colorOrange50 = Color(0xfffff2e6) - val colorOrange500 = Color(0xffff7900) - val colorOrange550 = Color(0xfff16e00) - val colorOrange600 = Color(0xffe86e00) - val colorOrange700 = Color(0xffb55600) - val colorOrange800 = Color(0xff8c4300) - val colorOrange900 = Color(0xff6b3300) - val colorWarmGray100 = Color(0xfff9f5f0) - val colorWarmGray200 = Color(0xffe9ddce) - val colorWarmGray300 = Color(0xffd6c4ae) - val colorWarmGray400 = Color(0xffc1ab90) - val colorWarmGray500 = Color(0xffa99275) - val colorWarmGray600 = Color(0xff8a7860) - val colorWarmGray700 = Color(0xff685d50) - val colorWarmGray800 = Color(0xff48433d) - val colorWarmGray900 = Color(0xff353228) + val colorOrange50 = Color(0xfffff2e6) + val colorOrange100 = Color(0xffffd5b0) + val colorOrange200 = Color(0xffffc18a) + val colorOrange300 = Color(0xffffa554) + val colorOrange400 = Color(0xffff9433) + val colorOrange500 = Color(0xffff7900) + val colorOrange550 = Color(0xfff16e00) + val colorOrange600 = Color(0xffe86e00) + val colorOrange700 = Color(0xffb55600) + val colorOrange800 = Color(0xff8c4300) + val colorOrange900 = Color(0xff6b3300) + val colorWarmGray100 = Color(0xfff9f5f0) + val colorWarmGray200 = Color(0xffe9ddce) + val colorWarmGray300 = Color(0xffd6c4ae) + val colorWarmGray400 = Color(0xffc1ab90) + val colorWarmGray500 = Color(0xffa99275) + val colorWarmGray600 = Color(0xff8a7860) + val colorWarmGray700 = Color(0xff685d50) + val colorWarmGray800 = Color(0xff48433d) + val colorWarmGray900 = Color(0xff353228) } \ No newline at end of file diff --git a/theme-contract/src/main/java/com/orange/ouds/theme/tokens/semantic/OudsColorActionSemanticTokens.kt b/theme-contract/src/main/java/com/orange/ouds/theme/tokens/semantic/OudsColorActionSemanticTokens.kt index adc6ce19..c25343d0 100644 --- a/theme-contract/src/main/java/com/orange/ouds/theme/tokens/semantic/OudsColorActionSemanticTokens.kt +++ b/theme-contract/src/main/java/com/orange/ouds/theme/tokens/semantic/OudsColorActionSemanticTokens.kt @@ -1,14 +1,14 @@ -/* - * Software Name: OUDS Android - * SPDX-FileCopyrightText: Copyright (c) Orange SA - * SPDX-License-Identifier: MIT - * - * This software is distributed under the MIT license, - * the text of which is available at https://opensource.org/license/MIT/ - * or see the "LICENSE" file for more details. - * - * Software description: Android library of reusable graphical components - */ +// +// Software Name: OUDS Android +// SPDX-FileCopyrightText: Copyright (c) Orange SA +// SPDX-License-Identifier: MIT +// +// This software is distributed under the MIT license, +// the text of which is available at https://opensource.org/license/MIT/ +// or see the "LICENSE" file for more details. +// +// Software description: Android library of reusable graphical components +// package com.orange.ouds.theme.tokens.semantic @@ -17,66 +17,66 @@ import com.orange.ouds.tokens.global.raw.ColorRawTokens import com.orange.ouds.tokens.global.raw.OrangeBrandColorRawTokens data class OudsColorActionSemanticTokens( - val actionDisabledLight: Color = ColorRawTokens.colorFunctionalLightGray400, - val actionDisabledOnBgEmphasizedLight: Color = ColorRawTokens.colorFunctionalDarkGray400, - val actionNegativeEnabledLight: Color = ColorRawTokens.colorFunctionalScarlet600, - val actionNegativeFocusLight: Color = ColorRawTokens.colorFunctionalScarlet700, - val actionNegativeHoverLight: Color = ColorRawTokens.colorFunctionalScarlet700, - val actionNegativeLoadingLight: Color = ColorRawTokens.colorFunctionalScarlet800, - val actionNegativePressedLight: Color = ColorRawTokens.colorFunctionalScarlet800, - val actionPrimaryEnabledLight: Color = ColorRawTokens.colorFunctionalBlack, - val actionPrimaryEnabledOnBgEmphasizedLight: Color = ColorRawTokens.colorFunctionalLightGray160, - val actionPrimaryFocusLight: Color = ColorRawTokens.colorFunctionalDarkGray400, - val actionPrimaryFocusOnBgEmphasizedLight: Color = ColorRawTokens.colorFunctionalLightGray560, - val actionPrimaryHoverLight: Color = ColorRawTokens.colorFunctionalDarkGray400, - val actionPrimaryHoverOnBgEmphasizedLight: Color = ColorRawTokens.colorFunctionalLightGray560, - val actionPrimaryLoadingLight: Color = OrangeBrandColorRawTokens.colorOrange550, - val actionPrimaryLoadingOnBgEmphasizedLight: Color = OrangeBrandColorRawTokens.colorOrange500, - val actionPrimaryPressedLight: Color = OrangeBrandColorRawTokens.colorOrange550, - val actionPrimaryPressedOnBgEmphasizedLight: Color = OrangeBrandColorRawTokens.colorOrange500, - val actionSecondaryEnabledLight: Color = ColorRawTokens.colorFunctionalLightGray80, - val actionSecondaryEnabledOnBgEmphasizedLight: Color = ColorRawTokens.colorFunctionalDarkGray720, - val actionSecondaryFocusLight: Color = ColorRawTokens.colorFunctionalLightGray160, - val actionSecondaryFocusOnBgEmphasizedLight: Color = ColorRawTokens.colorFunctionalDarkGray640, - val actionSecondaryHoverLight: Color = ColorRawTokens.colorFunctionalLightGray160, - val actionSecondaryHoverOnBgEmphasizedLight: Color = ColorRawTokens.colorFunctionalDarkGray640, - val actionSecondaryLoadingLight: Color = ColorRawTokens.colorFunctionalLightGray160, - val actionSecondaryLoadingOnBgEmphasizedLight: Color = ColorRawTokens.colorFunctionalDarkGray640, - val actionSecondaryPressedLight: Color = ColorRawTokens.colorFunctionalLightGray160, - val actionSecondaryPressedOnBgEmphasizedLight: Color = ColorRawTokens.colorFunctionalDarkGray640, - val actionSelectedLight: Color = OrangeBrandColorRawTokens.colorOrange550, - val actionSelectedOnBgEmphasizedLight: Color = OrangeBrandColorRawTokens.colorOrange500, - val actionVisitedLight: Color = ColorRawTokens.colorDecorativeAmethyst600, - val actionVisitedOnBgEmphasizedLight: Color = ColorRawTokens.colorDecorativeAmethyst400, - val actionDisabledDark: Color = ColorRawTokens.colorFunctionalDarkGray400, - val actionDisabledOnBgEmphasizedDark: Color = ColorRawTokens.colorFunctionalDarkGray400, - val actionNegativeEnabledDark: Color = ColorRawTokens.colorFunctionalScarlet600, - val actionNegativeFocusDark: Color = ColorRawTokens.colorFunctionalScarlet700, - val actionNegativeHoverDark: Color = ColorRawTokens.colorFunctionalScarlet700, - val actionNegativeLoadingDark: Color = ColorRawTokens.colorFunctionalScarlet800, - val actionNegativePressedDark: Color = ColorRawTokens.colorFunctionalScarlet800, - val actionPrimaryEnabledDark: Color = ColorRawTokens.colorFunctionalLightGray160, - val actionPrimaryEnabledOnBgEmphasizedDark: Color = ColorRawTokens.colorFunctionalLightGray160, - val actionPrimaryFocusDark: Color = ColorRawTokens.colorFunctionalLightGray560, - val actionPrimaryFocusOnBgEmphasizedDark: Color = ColorRawTokens.colorFunctionalLightGray560, - val actionPrimaryHoverDark: Color = ColorRawTokens.colorFunctionalLightGray560, - val actionPrimaryHoverOnBgEmphasizedDark: Color = ColorRawTokens.colorFunctionalLightGray560, - val actionPrimaryLoadingDark: Color = OrangeBrandColorRawTokens.colorOrange500, - val actionPrimaryLoadingOnBgEmphasizedDark: Color = OrangeBrandColorRawTokens.colorOrange500, - val actionPrimaryPressedDark: Color = OrangeBrandColorRawTokens.colorOrange500, - val actionPrimaryPressedOnBgEmphasizedDark: Color = OrangeBrandColorRawTokens.colorOrange500, - val actionSecondaryEnabledDark: Color = ColorRawTokens.colorFunctionalDarkGray720, - val actionSecondaryEnabledOnBgEmphasizedDark: Color = ColorRawTokens.colorFunctionalDarkGray720, - val actionSecondaryFocusDark: Color = ColorRawTokens.colorFunctionalDarkGray640, - val actionSecondaryFocusOnBgEmphasizedDark: Color = ColorRawTokens.colorFunctionalDarkGray640, - val actionSecondaryHoverDark: Color = ColorRawTokens.colorFunctionalDarkGray640, - val actionSecondaryHoverOnBgEmphasizedDark: Color = ColorRawTokens.colorFunctionalDarkGray640, - val actionSecondaryLoadingDark: Color = ColorRawTokens.colorFunctionalDarkGray640, - val actionSecondaryLoadingOnBgEmphasizedDark: Color = ColorRawTokens.colorFunctionalDarkGray640, - val actionSecondaryPressedDark: Color = ColorRawTokens.colorFunctionalDarkGray640, - val actionSecondaryPressedOnBgEmphasizedDark: Color = ColorRawTokens.colorFunctionalDarkGray640, - val actionSelectedDark: Color = OrangeBrandColorRawTokens.colorOrange500, - val actionSelectedOnBgEmphasizedDark: Color = OrangeBrandColorRawTokens.colorOrange500, - val actionVisitedDark: Color = ColorRawTokens.colorDecorativeAmethyst400, - val actionVisitedOnBgEmphasizedDark: Color = ColorRawTokens.colorDecorativeAmethyst400, -) \ No newline at end of file + val actionDisabledLight: Color = ColorRawTokens.colorFunctionalLightGray400, + val actionDisabledOnBgEmphasizedLight: Color = ColorRawTokens.colorFunctionalDarkGray400, + val actionNegativeEnabledLight: Color = ColorRawTokens.colorFunctionalScarlet600, + val actionNegativeFocusLight: Color = ColorRawTokens.colorFunctionalScarlet700, + val actionNegativeHoverLight: Color = ColorRawTokens.colorFunctionalScarlet700, + val actionNegativeLoadingLight: Color = ColorRawTokens.colorFunctionalScarlet800, + val actionNegativePressedLight: Color = ColorRawTokens.colorFunctionalScarlet800, + val actionNegativeEnabledDark: Color = ColorRawTokens.colorFunctionalScarlet600, + val actionNegativeFocusDark: Color = ColorRawTokens.colorFunctionalScarlet700, + val actionNegativeHoverDark: Color = ColorRawTokens.colorFunctionalScarlet700, + val actionNegativeLoadingDark: Color = ColorRawTokens.colorFunctionalScarlet800, + val actionNegativePressedDark: Color = ColorRawTokens.colorFunctionalScarlet800, + val actionPrimaryEnabledLight: Color = ColorRawTokens.colorFunctionalBlack, + val actionPrimaryEnabledOnBgEmphasizedLight: Color = ColorRawTokens.colorFunctionalLightGray160, + val actionPrimaryFocusLight: Color = ColorRawTokens.colorFunctionalDarkGray400, + val actionPrimaryFocusOnBgEmphasizedLight: Color = ColorRawTokens.colorFunctionalLightGray560, + val actionPrimaryHoverLight: Color = ColorRawTokens.colorFunctionalDarkGray400, + val actionPrimaryHoverOnBgEmphasizedLight: Color = ColorRawTokens.colorFunctionalLightGray560, + val actionPrimaryLoadingLight: Color = OrangeBrandColorRawTokens.colorOrange550, + val actionPrimaryLoadingOnBgEmphasizedLight: Color = OrangeBrandColorRawTokens.colorOrange500, + val actionPrimaryPressedLight: Color = OrangeBrandColorRawTokens.colorOrange550, + val actionPrimaryPressedOnBgEmphasizedLight: Color = OrangeBrandColorRawTokens.colorOrange500, + val actionPrimaryEnabledDark: Color = ColorRawTokens.colorFunctionalLightGray160, + val actionPrimaryEnabledOnBgEmphasizedDark: Color = ColorRawTokens.colorFunctionalLightGray160, + val actionPrimaryFocusDark: Color = ColorRawTokens.colorFunctionalLightGray560, + val actionPrimaryFocusOnBgEmphasizedDark: Color = ColorRawTokens.colorFunctionalLightGray560, + val actionPrimaryHoverDark: Color = ColorRawTokens.colorFunctionalLightGray560, + val actionPrimaryHoverOnBgEmphasizedDark: Color = ColorRawTokens.colorFunctionalLightGray560, + val actionPrimaryLoadingDark: Color = OrangeBrandColorRawTokens.colorOrange500, + val actionPrimaryLoadingOnBgEmphasizedDark: Color = OrangeBrandColorRawTokens.colorOrange500, + val actionPrimaryPressedDark: Color = OrangeBrandColorRawTokens.colorOrange500, + val actionPrimaryPressedOnBgEmphasizedDark: Color = OrangeBrandColorRawTokens.colorOrange500, + val actionSecondaryEnabledLight: Color = ColorRawTokens.colorFunctionalLightGray80, + val actionSecondaryEnabledOnBgEmphasizedLight: Color = ColorRawTokens.colorFunctionalDarkGray720, + val actionSecondaryFocusLight: Color = ColorRawTokens.colorFunctionalLightGray160, + val actionSecondaryFocusOnBgEmphasizedLight: Color = ColorRawTokens.colorFunctionalDarkGray640, + val actionSecondaryHoverLight: Color = ColorRawTokens.colorFunctionalLightGray160, + val actionSecondaryHoverOnBgEmphasizedLight: Color = ColorRawTokens.colorFunctionalDarkGray640, + val actionSecondaryLoadingLight: Color = ColorRawTokens.colorFunctionalLightGray160, + val actionSecondaryLoadingOnBgEmphasizedLight: Color = ColorRawTokens.colorFunctionalDarkGray640, + val actionSecondaryPressedLight: Color = ColorRawTokens.colorFunctionalLightGray160, + val actionSecondaryPressedOnBgEmphasizedLight: Color = ColorRawTokens.colorFunctionalDarkGray640, + val actionSecondaryEnabledDark: Color = ColorRawTokens.colorFunctionalDarkGray720, + val actionSecondaryEnabledOnBgEmphasizedDark: Color = ColorRawTokens.colorFunctionalDarkGray720, + val actionSecondaryFocusDark: Color = ColorRawTokens.colorFunctionalDarkGray640, + val actionSecondaryFocusOnBgEmphasizedDark: Color = ColorRawTokens.colorFunctionalDarkGray640, + val actionSecondaryHoverDark: Color = ColorRawTokens.colorFunctionalDarkGray640, + val actionSecondaryHoverOnBgEmphasizedDark: Color = ColorRawTokens.colorFunctionalDarkGray640, + val actionSecondaryLoadingDark: Color = ColorRawTokens.colorFunctionalDarkGray640, + val actionSecondaryLoadingOnBgEmphasizedDark: Color = ColorRawTokens.colorFunctionalDarkGray640, + val actionSecondaryPressedDark: Color = ColorRawTokens.colorFunctionalDarkGray640, + val actionSecondaryPressedOnBgEmphasizedDark: Color = ColorRawTokens.colorFunctionalDarkGray640, + val actionSelectedLight: Color = OrangeBrandColorRawTokens.colorOrange550, + val actionSelectedOnBgEmphasizedLight: Color = OrangeBrandColorRawTokens.colorOrange500, + val actionVisitedLight: Color = ColorRawTokens.colorDecorativeAmethyst600, + val actionVisitedOnBgEmphasizedLight: Color = ColorRawTokens.colorDecorativeAmethyst400, + val actionDisabledDark: Color = ColorRawTokens.colorFunctionalDarkGray400, + val actionDisabledOnBgEmphasizedDark: Color = ColorRawTokens.colorFunctionalDarkGray400, + val actionSelectedDark: Color = OrangeBrandColorRawTokens.colorOrange500, + val actionSelectedOnBgEmphasizedDark: Color = OrangeBrandColorRawTokens.colorOrange500, + val actionVisitedDark: Color = ColorRawTokens.colorDecorativeAmethyst400, + val actionVisitedOnBgEmphasizedDark: Color = ColorRawTokens.colorDecorativeAmethyst400 +) diff --git a/theme-contract/src/main/java/com/orange/ouds/theme/tokens/semantic/OudsColorAlwaysSemanticTokens.kt b/theme-contract/src/main/java/com/orange/ouds/theme/tokens/semantic/OudsColorAlwaysSemanticTokens.kt index 7685d943..61f88937 100644 --- a/theme-contract/src/main/java/com/orange/ouds/theme/tokens/semantic/OudsColorAlwaysSemanticTokens.kt +++ b/theme-contract/src/main/java/com/orange/ouds/theme/tokens/semantic/OudsColorAlwaysSemanticTokens.kt @@ -1,47 +1,48 @@ -/* - * Software Name: OUDS Android - * SPDX-FileCopyrightText: Copyright (c) Orange SA - * SPDX-License-Identifier: MIT - * - * This software is distributed under the MIT license, - * the text of which is available at https://opensource.org/license/MIT/ - * or see the "LICENSE" file for more details. - * - * Software description: Android library of reusable graphical components - */ +// +// Software Name: OUDS Android +// SPDX-FileCopyrightText: Copyright (c) Orange SA +// SPDX-License-Identifier: MIT +// +// This software is distributed under the MIT license, +// the text of which is available at https://opensource.org/license/MIT/ +// or see the "LICENSE" file for more details. +// +// Software description: Android library of reusable graphical components +// package com.orange.ouds.theme.tokens.semantic import androidx.compose.ui.graphics.Color import com.orange.ouds.tokens.global.raw.ColorRawTokens +import com.orange.ouds.tokens.global.raw.OrangeBrandColorRawTokens data class OudsColorAlwaysSemanticTokens( - val alwaysAccentLight: Color = ColorRawTokens.colorFunctionalSun500, - val alwaysBlackLight: Color = ColorRawTokens.colorFunctionalBlack, - val alwaysInfoLight: Color = ColorRawTokens.colorFunctionalDodgerBlue500, - val alwaysNegativeLight: Color = ColorRawTokens.colorFunctionalScarlet600, - val alwaysOnAccentLight: Color = ColorRawTokens.colorFunctionalBlack, - val alwaysOnBlackLight: Color = ColorRawTokens.colorFunctionalWhite, - val alwaysOnInfoLight: Color = ColorRawTokens.colorFunctionalBlack, - val alwaysOnNegativeLight: Color = ColorRawTokens.colorFunctionalWhite, - val alwaysOnPositiveLight: Color = ColorRawTokens.colorFunctionalBlack, - val alwaysOnWarningLight: Color = ColorRawTokens.colorFunctionalBlack, - val alwaysOnWhiteLight: Color = ColorRawTokens.colorFunctionalBlack, - val alwaysPositiveLight: Color = ColorRawTokens.colorFunctionalMalachite500, - val alwaysWarningLight: Color = ColorRawTokens.colorFunctionalSun500, - val alwaysWhiteLight: Color = ColorRawTokens.colorFunctionalWhite, - val alwaysAccentDark: Color = ColorRawTokens.colorFunctionalSun500, - val alwaysBlackDark: Color = ColorRawTokens.colorFunctionalBlack, - val alwaysInfoDark: Color = ColorRawTokens.colorFunctionalDodgerBlue500, - val alwaysNegativeDark: Color = ColorRawTokens.colorFunctionalScarlet600, - val alwaysOnAccentDark: Color = ColorRawTokens.colorFunctionalDarkGray880, - val alwaysOnBlackDark: Color = ColorRawTokens.colorFunctionalLightGray160, - val alwaysOnInfoDark: Color = ColorRawTokens.colorFunctionalDarkGray880, - val alwaysOnNegativeDark: Color = ColorRawTokens.colorFunctionalLightGray160, - val alwaysOnPositiveDark: Color = ColorRawTokens.colorFunctionalDarkGray880, - val alwaysOnWarningDark: Color = ColorRawTokens.colorFunctionalDarkGray880, - val alwaysOnWhiteDark: Color = ColorRawTokens.colorFunctionalDarkGray880, - val alwaysPositiveDark: Color = ColorRawTokens.colorFunctionalMalachite500, - val alwaysWarningDark: Color = ColorRawTokens.colorFunctionalSun500, - val alwaysWhiteDark: Color = ColorRawTokens.colorFunctionalWhite, + val alwaysAccentLight: Color = ColorRawTokens.colorFunctionalSun500, + val alwaysBlackLight: Color = ColorRawTokens.colorFunctionalBlack, + val alwaysInfoLight: Color = ColorRawTokens.colorFunctionalDodgerBlue500, + val alwaysNegativeLight: Color = ColorRawTokens.colorFunctionalScarlet600, + val alwaysOnAccentLight: Color = ColorRawTokens.colorFunctionalBlack, + val alwaysOnBlackLight: Color = ColorRawTokens.colorFunctionalWhite, + val alwaysOnInfoLight: Color = ColorRawTokens.colorFunctionalBlack, + val alwaysOnNegativeLight: Color = ColorRawTokens.colorFunctionalWhite, + val alwaysOnPositiveLight: Color = ColorRawTokens.colorFunctionalBlack, + val alwaysOnWarningLight: Color = ColorRawTokens.colorFunctionalBlack, + val alwaysOnWhiteLight: Color = ColorRawTokens.colorFunctionalBlack, + val alwaysPositiveLight: Color = ColorRawTokens.colorFunctionalMalachite500, + val alwaysWarningLight: Color = ColorRawTokens.colorFunctionalSun500, + val alwaysWhiteLight: Color = ColorRawTokens.colorFunctionalWhite, + val alwaysAccentDark: Color = ColorRawTokens.colorFunctionalSun500, + val alwaysBlackDark: Color = ColorRawTokens.colorFunctionalBlack, + val alwaysInfoDark: Color = ColorRawTokens.colorFunctionalDodgerBlue500, + val alwaysNegativeDark: Color = ColorRawTokens.colorFunctionalScarlet600, + val alwaysOnAccentDark: Color = ColorRawTokens.colorFunctionalDarkGray880, + val alwaysOnBlackDark: Color = ColorRawTokens.colorFunctionalLightGray160, + val alwaysOnInfoDark: Color = ColorRawTokens.colorFunctionalDarkGray880, + val alwaysOnNegativeDark: Color = ColorRawTokens.colorFunctionalLightGray160, + val alwaysOnPositiveDark: Color = ColorRawTokens.colorFunctionalDarkGray880, + val alwaysOnWarningDark: Color = ColorRawTokens.colorFunctionalDarkGray880, + val alwaysOnWhiteDark: Color = ColorRawTokens.colorFunctionalDarkGray880, + val alwaysPositiveDark: Color = ColorRawTokens.colorFunctionalMalachite500, + val alwaysWarningDark: Color = ColorRawTokens.colorFunctionalSun500, + val alwaysWhiteDark: Color = ColorRawTokens.colorFunctionalWhite ) diff --git a/theme-contract/src/main/java/com/orange/ouds/theme/tokens/semantic/OudsColorBgSemanticTokens.kt b/theme-contract/src/main/java/com/orange/ouds/theme/tokens/semantic/OudsColorBgSemanticTokens.kt index 79e822d1..69bd1e03 100644 --- a/theme-contract/src/main/java/com/orange/ouds/theme/tokens/semantic/OudsColorBgSemanticTokens.kt +++ b/theme-contract/src/main/java/com/orange/ouds/theme/tokens/semantic/OudsColorBgSemanticTokens.kt @@ -1,14 +1,14 @@ -/* - * Software Name: OUDS Android - * SPDX-FileCopyrightText: Copyright (c) Orange SA - * SPDX-License-Identifier: MIT - * - * This software is distributed under the MIT license, - * the text of which is available at https://opensource.org/license/MIT/ - * or see the "LICENSE" file for more details. - * - * Software description: Android library of reusable graphical components - */ +// +// Software Name: OUDS Android +// SPDX-FileCopyrightText: Copyright (c) Orange SA +// SPDX-License-Identifier: MIT +// +// This software is distributed under the MIT license, +// the text of which is available at https://opensource.org/license/MIT/ +// or see the "LICENSE" file for more details. +// +// Software description: Android library of reusable graphical components +// package com.orange.ouds.theme.tokens.semantic @@ -17,48 +17,48 @@ import com.orange.ouds.tokens.global.raw.ColorRawTokens import com.orange.ouds.tokens.global.raw.OrangeBrandColorRawTokens data class OudsColorBgSemanticTokens( - val bgBrandPrimaryLight: Color = OrangeBrandColorRawTokens.colorOrange550, - val bgEmphasizedLight: Color = ColorRawTokens.colorFunctionalDarkGray880, - val bgPrimaryLight: Color = ColorRawTokens.colorFunctionalWhite, - val bgSecondaryLight: Color = ColorRawTokens.colorFunctionalLightGray80, - val bgStatusAccentEmphasizedLight: Color = ColorRawTokens.colorFunctionalSun500, - val bgStatusAccentMutedLight: Color = OrangeBrandColorRawTokens.colorWarmGray100, - val bgStatusAccentMutedOnBgEmphasizedLight: Color = OrangeBrandColorRawTokens.colorWarmGray900, - val bgStatusInfoEmphasizedLight: Color = ColorRawTokens.colorFunctionalDodgerBlue500, - val bgStatusInfoMutedLight: Color = ColorRawTokens.colorFunctionalDodgerBlue100, - val bgStatusInfoMutedOnBgEmphasizedLight: Color = ColorRawTokens.colorFunctionalDodgerBlue900, - val bgStatusNegativeEmphasizedLight: Color = ColorRawTokens.colorFunctionalScarlet600, - val bgStatusNegativeMutedLight: Color = ColorRawTokens.colorFunctionalScarlet100, - val bgStatusNegativeMutedOnBgEmphasizedLight: Color = ColorRawTokens.colorFunctionalScarlet900, - val bgStatusNeutralLight: Color = ColorRawTokens.colorFunctionalLightGray80, - val bgStatusNeutralOnBgEmphasizedLight: Color = ColorRawTokens.colorFunctionalDarkGray720, - val bgStatusPositiveEmphasizedLight: Color = ColorRawTokens.colorFunctionalMalachite500, - val bgStatusPositiveMutedLight: Color = ColorRawTokens.colorFunctionalMalachite100, - val bgStatusPositiveMutedOnBgEmphasizedLight: Color = ColorRawTokens.colorFunctionalMalachite900, - val bgStatusWarningEmphasizedLight: Color = ColorRawTokens.colorFunctionalSun500, - val bgStatusWarningMutedLight: Color = ColorRawTokens.colorFunctionalSun100, - val bgStatusWarningMutedOnBgEmphasizedLight: Color = ColorRawTokens.colorFunctionalSun900, - val bgTertiaryLight: Color = OrangeBrandColorRawTokens.colorWarmGray100, - val bgBrandPrimaryDark: Color = OrangeBrandColorRawTokens.colorOrange500, - val bgEmphasizedDark: Color = ColorRawTokens.colorFunctionalDarkGray640, - val bgPrimaryDark: Color = ColorRawTokens.colorFunctionalDarkGray880, - val bgSecondaryDark: Color = ColorRawTokens.colorFunctionalDarkGray800, - val bgStatusAccentEmphasizedDark: Color = ColorRawTokens.colorFunctionalSun500, - val bgStatusAccentMutedDark: Color = OrangeBrandColorRawTokens.colorWarmGray900, - val bgStatusAccentMutedOnBgEmphasizedDark: Color = OrangeBrandColorRawTokens.colorWarmGray900, - val bgStatusInfoEmphasizedDark: Color = ColorRawTokens.colorFunctionalDodgerBlue500, - val bgStatusInfoMutedDark: Color = ColorRawTokens.colorFunctionalDodgerBlue900, - val bgStatusInfoMutedOnBgEmphasizedDark: Color = ColorRawTokens.colorFunctionalDodgerBlue900, - val bgStatusNegativeEmphasizedDark: Color = ColorRawTokens.colorFunctionalScarlet600, - val bgStatusNegativeMutedDark: Color = ColorRawTokens.colorFunctionalScarlet900, - val bgStatusNegativeMutedOnBgEmphasizedDark: Color = ColorRawTokens.colorFunctionalScarlet900, - val bgStatusNeutralDark: Color = ColorRawTokens.colorFunctionalDarkGray720, - val bgStatusNeutralOnBgEmphasizedDark: Color = ColorRawTokens.colorFunctionalDarkGray720, - val bgStatusPositiveEmphasizedDark: Color = ColorRawTokens.colorFunctionalMalachite500, - val bgStatusPositiveMutedDark: Color = ColorRawTokens.colorFunctionalMalachite900, - val bgStatusPositiveMutedOnBgEmphasizedDark: Color = ColorRawTokens.colorFunctionalMalachite900, - val bgStatusWarningEmphasizedDark: Color = ColorRawTokens.colorFunctionalSun500, - val bgStatusWarningMutedDark: Color = ColorRawTokens.colorFunctionalSun900, - val bgStatusWarningMutedOnBgEmphasizedDark: Color = ColorRawTokens.colorFunctionalSun900, - val bgTertiaryDark: Color = OrangeBrandColorRawTokens.colorWarmGray900, -) \ No newline at end of file + val bgBrandPrimaryLight: Color = OrangeBrandColorRawTokens.colorOrange550, + val bgEmphasizedLight: Color = ColorRawTokens.colorFunctionalDarkGray880, + val bgPrimaryLight: Color = ColorRawTokens.colorFunctionalWhite, + val bgSecondaryLight: Color = ColorRawTokens.colorFunctionalLightGray80, + val bgStatusAccentEmphasizedLight: Color = ColorRawTokens.colorFunctionalSun500, + val bgStatusAccentMutedLight: Color = OrangeBrandColorRawTokens.colorWarmGray100, + val bgStatusAccentMutedOnBgEmphasizedLight: Color = OrangeBrandColorRawTokens.colorWarmGray900, + val bgStatusInfoEmphasizedLight: Color = ColorRawTokens.colorFunctionalDodgerBlue500, + val bgStatusInfoMutedLight: Color = ColorRawTokens.colorFunctionalDodgerBlue100, + val bgStatusInfoMutedOnBgEmphasizedLight: Color = ColorRawTokens.colorFunctionalDodgerBlue900, + val bgStatusNegativeEmphasizedLight: Color = ColorRawTokens.colorFunctionalScarlet600, + val bgStatusNegativeMutedLight: Color = ColorRawTokens.colorFunctionalScarlet100, + val bgStatusNegativeMutedOnBgEmphasizedLight: Color = ColorRawTokens.colorFunctionalScarlet900, + val bgStatusNeutralLight: Color = ColorRawTokens.colorFunctionalLightGray80, + val bgStatusNeutralOnBgEmphasizedLight: Color = ColorRawTokens.colorFunctionalDarkGray720, + val bgStatusPositiveEmphasizedLight: Color = ColorRawTokens.colorFunctionalMalachite500, + val bgStatusPositiveMutedLight: Color = ColorRawTokens.colorFunctionalMalachite100, + val bgStatusPositiveMutedOnBgEmphasizedLight: Color = ColorRawTokens.colorFunctionalMalachite900, + val bgStatusWarningEmphasizedLight: Color = ColorRawTokens.colorFunctionalSun500, + val bgStatusWarningMutedLight: Color = ColorRawTokens.colorFunctionalSun100, + val bgStatusWarningMutedOnBgEmphasizedLight: Color = ColorRawTokens.colorFunctionalSun900, + val bgStatusAccentEmphasizedDark: Color = ColorRawTokens.colorFunctionalSun500, + val bgStatusAccentMutedDark: Color = OrangeBrandColorRawTokens.colorWarmGray900, + val bgStatusAccentMutedOnBgEmphasizedDark: Color = OrangeBrandColorRawTokens.colorWarmGray900, + val bgStatusInfoEmphasizedDark: Color = ColorRawTokens.colorFunctionalDodgerBlue500, + val bgStatusInfoMutedDark: Color = ColorRawTokens.colorFunctionalDodgerBlue900, + val bgStatusInfoMutedOnBgEmphasizedDark: Color = ColorRawTokens.colorFunctionalDodgerBlue900, + val bgStatusNegativeEmphasizedDark: Color = ColorRawTokens.colorFunctionalScarlet600, + val bgStatusNegativeMutedDark: Color = ColorRawTokens.colorFunctionalScarlet900, + val bgStatusNegativeMutedOnBgEmphasizedDark: Color = ColorRawTokens.colorFunctionalScarlet900, + val bgStatusNeutralDark: Color = ColorRawTokens.colorFunctionalDarkGray720, + val bgStatusNeutralOnBgEmphasizedDark: Color = ColorRawTokens.colorFunctionalDarkGray720, + val bgStatusPositiveEmphasizedDark: Color = ColorRawTokens.colorFunctionalMalachite500, + val bgStatusPositiveMutedDark: Color = ColorRawTokens.colorFunctionalMalachite900, + val bgStatusPositiveMutedOnBgEmphasizedDark: Color = ColorRawTokens.colorFunctionalMalachite900, + val bgStatusWarningEmphasizedDark: Color = ColorRawTokens.colorFunctionalSun500, + val bgStatusWarningMutedDark: Color = ColorRawTokens.colorFunctionalSun900, + val bgStatusWarningMutedOnBgEmphasizedDark: Color = ColorRawTokens.colorFunctionalSun900, + val bgTertiaryLight: Color = OrangeBrandColorRawTokens.colorWarmGray100, + val bgBrandPrimaryDark: Color = OrangeBrandColorRawTokens.colorOrange500, + val bgEmphasizedDark: Color = ColorRawTokens.colorFunctionalDarkGray640, + val bgPrimaryDark: Color = ColorRawTokens.colorFunctionalDarkGray880, + val bgSecondaryDark: Color = ColorRawTokens.colorFunctionalDarkGray800, + val bgTertiaryDark: Color = OrangeBrandColorRawTokens.colorWarmGray900 +) diff --git a/theme-contract/src/main/java/com/orange/ouds/theme/tokens/semantic/OudsColorBorderSemanticTokens.kt b/theme-contract/src/main/java/com/orange/ouds/theme/tokens/semantic/OudsColorBorderSemanticTokens.kt index c731f7b8..813b449b 100644 --- a/theme-contract/src/main/java/com/orange/ouds/theme/tokens/semantic/OudsColorBorderSemanticTokens.kt +++ b/theme-contract/src/main/java/com/orange/ouds/theme/tokens/semantic/OudsColorBorderSemanticTokens.kt @@ -1,14 +1,14 @@ -/* - * Software Name: OUDS Android - * SPDX-FileCopyrightText: Copyright (c) Orange SA - * SPDX-License-Identifier: MIT - * - * This software is distributed under the MIT license, - * the text of which is available at https://opensource.org/license/MIT/ - * or see the "LICENSE" file for more details. - * - * Software description: Android library of reusable graphical components - */ +// +// Software Name: OUDS Android +// SPDX-FileCopyrightText: Copyright (c) Orange SA +// SPDX-License-Identifier: MIT +// +// This software is distributed under the MIT license, +// the text of which is available at https://opensource.org/license/MIT/ +// or see the "LICENSE" file for more details. +// +// Software description: Android library of reusable graphical components +// package com.orange.ouds.theme.tokens.semantic @@ -17,26 +17,26 @@ import com.orange.ouds.tokens.global.raw.ColorRawTokens import com.orange.ouds.tokens.global.raw.OrangeBrandColorRawTokens data class OudsColorBorderSemanticTokens( - val borderBrandPrimaryLight: Color = OrangeBrandColorRawTokens.colorOrange550, - val borderBrandPrimaryOnBgEmphasizedLight: Color = OrangeBrandColorRawTokens.colorOrange500, - val borderDefaultLight: Color = ColorRawTokens.colorFunctionalLightGray400, - val borderDefaultOnBgEmphasizedLight: Color = ColorRawTokens.colorFunctionalDarkGray400, - val borderEmphasizedLight: Color = ColorRawTokens.colorFunctionalBlack, - val borderEmphasizedOnBgEmphasizedLight: Color = ColorRawTokens.colorFunctionalLightGray160, - val borderFocusLight: Color = ColorRawTokens.colorFunctionalBlack, - val borderFocusInsetLight: Color = ColorRawTokens.colorFunctionalWhite, - val borderFocusInsetOnBgEmphasizedLight: Color = ColorRawTokens.colorFunctionalDarkGray880, - val borderFocusOnBgEmphasizedLight: Color = ColorRawTokens.colorFunctionalLightGray160, - val borderOnBrandPrimaryLight: Color = ColorRawTokens.colorFunctionalWhite, - val borderBrandPrimaryDark: Color = OrangeBrandColorRawTokens.colorOrange500, - val borderBrandPrimaryOnBgEmphasizedDark: Color = OrangeBrandColorRawTokens.colorOrange500, - val borderDefaultDark: Color = ColorRawTokens.colorFunctionalDarkGray400, - val borderDefaultOnBgEmphasizedDark: Color = ColorRawTokens.colorFunctionalDarkGray400, - val borderEmphasizedDark: Color = ColorRawTokens.colorFunctionalLightGray160, - val borderEmphasizedOnBgEmphasizedDark: Color = ColorRawTokens.colorFunctionalLightGray160, - val borderFocusDark: Color = ColorRawTokens.colorFunctionalLightGray160, - val borderFocusInsetDark: Color = ColorRawTokens.colorFunctionalDarkGray880, - val borderFocusInsetOnBgEmphasizedDark: Color = ColorRawTokens.colorFunctionalLightGray160, - val borderFocusOnBgEmphasizedDark: Color = ColorRawTokens.colorFunctionalDarkGray880, - val borderOnBrandPrimaryDark: Color = ColorRawTokens.colorFunctionalBlack, + val borderBrandPrimaryLight: Color = OrangeBrandColorRawTokens.colorOrange550, + val borderBrandPrimaryOnBgEmphasizedLight: Color = OrangeBrandColorRawTokens.colorOrange500, + val borderDefaultLight: Color = ColorRawTokens.colorFunctionalLightGray400, + val borderDefaultOnBgEmphasizedLight: Color = ColorRawTokens.colorFunctionalDarkGray400, + val borderEmphasizedLight: Color = ColorRawTokens.colorFunctionalBlack, + val borderEmphasizedOnBgEmphasizedLight: Color = ColorRawTokens.colorFunctionalLightGray160, + val borderFocusLight: Color = ColorRawTokens.colorFunctionalBlack, + val borderFocusInsetLight: Color = ColorRawTokens.colorFunctionalWhite, + val borderFocusInsetOnBgEmphasizedLight: Color = ColorRawTokens.colorFunctionalDarkGray880, + val borderFocusOnBgEmphasizedLight: Color = ColorRawTokens.colorFunctionalLightGray160, + val borderOnBrandPrimaryLight: Color = ColorRawTokens.colorFunctionalWhite, + val borderOnBrandPrimaryDark: Color = ColorRawTokens.colorFunctionalBlack, + val borderBrandPrimaryDark: Color = OrangeBrandColorRawTokens.colorOrange500, + val borderBrandPrimaryOnBgEmphasizedDark: Color = OrangeBrandColorRawTokens.colorOrange500, + val borderDefaultDark: Color = ColorRawTokens.colorFunctionalDarkGray400, + val borderDefaultOnBgEmphasizedDark: Color = ColorRawTokens.colorFunctionalDarkGray400, + val borderEmphasizedDark: Color = ColorRawTokens.colorFunctionalLightGray160, + val borderEmphasizedOnBgEmphasizedDark: Color = ColorRawTokens.colorFunctionalLightGray160, + val borderFocusDark: Color = ColorRawTokens.colorFunctionalLightGray160, + val borderFocusInsetDark: Color = ColorRawTokens.colorFunctionalDarkGray880, + val borderFocusInsetOnBgEmphasizedDark: Color = ColorRawTokens.colorFunctionalLightGray160, + val borderFocusOnBgEmphasizedDark: Color = ColorRawTokens.colorFunctionalDarkGray880 ) diff --git a/theme-contract/src/main/java/com/orange/ouds/theme/tokens/semantic/OudsColorBrandSemanticTokens.kt b/theme-contract/src/main/java/com/orange/ouds/theme/tokens/semantic/OudsColorBrandSemanticTokens.kt index fa091c93..75abf80b 100644 --- a/theme-contract/src/main/java/com/orange/ouds/theme/tokens/semantic/OudsColorBrandSemanticTokens.kt +++ b/theme-contract/src/main/java/com/orange/ouds/theme/tokens/semantic/OudsColorBrandSemanticTokens.kt @@ -1,14 +1,14 @@ -/* - * Software Name: OUDS Android - * SPDX-FileCopyrightText: Copyright (c) Orange SA - * SPDX-License-Identifier: MIT - * - * This software is distributed under the MIT license, - * the text of which is available at https://opensource.org/license/MIT/ - * or see the "LICENSE" file for more details. - * - * Software description: Android library of reusable graphical components - */ +// +// Software Name: OUDS Android +// SPDX-FileCopyrightText: Copyright (c) Orange SA +// SPDX-License-Identifier: MIT +// +// This software is distributed under the MIT license, +// the text of which is available at https://opensource.org/license/MIT/ +// or see the "LICENSE" file for more details. +// +// Software description: Android library of reusable graphical components +// package com.orange.ouds.theme.tokens.semantic @@ -17,74 +17,74 @@ import com.orange.ouds.tokens.global.raw.ColorRawTokens import com.orange.ouds.tokens.global.raw.OrangeBrandColorRawTokens data class OudsColorBrandSemanticTokens( - val brandAccentDefaultLight: Color = ColorRawTokens.colorFunctionalSun500, - val brandAccentHighLight: Color = ColorRawTokens.colorFunctionalSun600, - val brandAccentHighestLight: Color = OrangeBrandColorRawTokens.colorWarmGray900, - val brandAccentLowestLight: Color = OrangeBrandColorRawTokens.colorWarmGray100, - val brandInfoDefaultLight: Color = ColorRawTokens.colorFunctionalDodgerBlue500, - val brandInfoHighestLight: Color = ColorRawTokens.colorFunctionalDodgerBlue900, - val brandInfoLowestLight: Color = ColorRawTokens.colorFunctionalDodgerBlue100, - val brandNegativeDefaultLight: Color = ColorRawTokens.colorFunctionalScarlet600, - val brandNegativeHighLight: Color = ColorRawTokens.colorFunctionalScarlet700, - val brandNegativeHigherLight: Color = ColorRawTokens.colorFunctionalScarlet800, - val brandNegativeHighestLight: Color = ColorRawTokens.colorFunctionalScarlet900, - val brandNegativeLowestLight: Color = ColorRawTokens.colorFunctionalScarlet100, - val brandNeutralEmphasizedBlackLight: Color = ColorRawTokens.colorFunctionalBlack, - val brandNeutralEmphasizedHighLight: Color = ColorRawTokens.colorFunctionalDarkGray720, - val brandNeutralEmphasizedHigherLight: Color = ColorRawTokens.colorFunctionalDarkGray800, - val brandNeutralEmphasizedHighestLight: Color = ColorRawTokens.colorFunctionalDarkGray880, - val brandNeutralEmphasizedLowLight: Color = ColorRawTokens.colorFunctionalDarkGray560, - val brandNeutralEmphasizedLowerLight: Color = ColorRawTokens.colorFunctionalDarkGray480, - val brandNeutralEmphasizedLowestLight: Color = ColorRawTokens.colorFunctionalDarkGray400, - val brandNeutralEmphasizedMediumLight: Color = ColorRawTokens.colorFunctionalDarkGray640, - val brandNeutralMutedHighestLight: Color = ColorRawTokens.colorFunctionalDarkGray160, - val brandNeutralMutedLowLight: Color = ColorRawTokens.colorFunctionalLightGray400, - val brandNeutralMutedLowerLight: Color = ColorRawTokens.colorFunctionalLightGray160, - val brandNeutralMutedLowestLight: Color = ColorRawTokens.colorFunctionalLightGray80, - val brandNeutralMutedMediumLight: Color = ColorRawTokens.colorFunctionalLightGray560, - val brandNeutralMutedWhiteLight: Color = ColorRawTokens.colorFunctionalWhite, - val brandPositiveDefaultLight: Color = ColorRawTokens.colorFunctionalMalachite500, - val brandPositiveHighestLight: Color = ColorRawTokens.colorFunctionalMalachite900, - val brandPositiveLowestLight: Color = ColorRawTokens.colorFunctionalMalachite100, - val brandPrimaryDefaultLight: Color = OrangeBrandColorRawTokens.colorOrange550, - val brandPrimaryLowLight: Color = OrangeBrandColorRawTokens.colorOrange500, - val brandWarningDefaultLight: Color = ColorRawTokens.colorFunctionalSun500, - val brandWarningHighLight: Color = ColorRawTokens.colorFunctionalSun600, - val brandWarningHighestLight: Color = ColorRawTokens.colorFunctionalSun900, - val brandWarningLowestLight: Color = ColorRawTokens.colorFunctionalSun100, - val brandAccentDefaultDark: Color = ColorRawTokens.colorFunctionalSun500, - val brandAccentHighDark: Color = ColorRawTokens.colorFunctionalSun600, - val brandAccentHighestDark: Color = OrangeBrandColorRawTokens.colorWarmGray900, - val brandAccentLowestDark: Color = OrangeBrandColorRawTokens.colorWarmGray100, - val brandInfoDefaultDark: Color = ColorRawTokens.colorFunctionalDodgerBlue500, - val brandInfoHighestDark: Color = ColorRawTokens.colorFunctionalDodgerBlue900, - val brandInfoLowestDark: Color = ColorRawTokens.colorFunctionalDodgerBlue100, - val brandNegativeDefaultDark: Color = ColorRawTokens.colorFunctionalScarlet600, - val brandNegativeHighDark: Color = ColorRawTokens.colorFunctionalScarlet700, - val brandNegativeHigherDark: Color = ColorRawTokens.colorFunctionalScarlet800, - val brandNegativeHighestDark: Color = ColorRawTokens.colorFunctionalScarlet900, - val brandNegativeLowestDark: Color = ColorRawTokens.colorFunctionalScarlet100, - val brandNeutralEmphasizedBlackDark: Color = ColorRawTokens.colorFunctionalBlack, - val brandNeutralEmphasizedHighDark: Color = ColorRawTokens.colorFunctionalDarkGray720, - val brandNeutralEmphasizedHigherDark: Color = ColorRawTokens.colorFunctionalDarkGray800, - val brandNeutralEmphasizedHighestDark: Color = ColorRawTokens.colorFunctionalDarkGray880, - val brandNeutralEmphasizedLowDark: Color = ColorRawTokens.colorFunctionalDarkGray560, - val brandNeutralEmphasizedLowerDark: Color = ColorRawTokens.colorFunctionalDarkGray480, - val brandNeutralEmphasizedLowestDark: Color = ColorRawTokens.colorFunctionalDarkGray400, - val brandNeutralEmphasizedMediumDark: Color = ColorRawTokens.colorFunctionalDarkGray640, - val brandNeutralMutedHighestDark: Color = ColorRawTokens.colorFunctionalDarkGray160, - val brandNeutralMutedLowDark: Color = ColorRawTokens.colorFunctionalLightGray400, - val brandNeutralMutedLowerDark: Color = ColorRawTokens.colorFunctionalLightGray160, - val brandNeutralMutedLowestDark: Color = ColorRawTokens.colorFunctionalLightGray80, - val brandNeutralMutedMediumDark: Color = ColorRawTokens.colorFunctionalLightGray560, - val brandNeutralMutedWhiteDark: Color = ColorRawTokens.colorFunctionalWhite, - val brandPositiveDefaultDark: Color = ColorRawTokens.colorFunctionalMalachite500, - val brandPositiveHighestDark: Color = ColorRawTokens.colorFunctionalMalachite900, - val brandPositiveLowestDark: Color = ColorRawTokens.colorFunctionalMalachite100, - val brandPrimaryDefaultDark: Color = OrangeBrandColorRawTokens.colorOrange550, - val brandPrimaryLowDark: Color = OrangeBrandColorRawTokens.colorOrange500, - val brandWarningDefaultDark: Color = ColorRawTokens.colorFunctionalSun500, - val brandWarningHighDark: Color = ColorRawTokens.colorFunctionalSun600, - val brandWarningHighestDark: Color = ColorRawTokens.colorFunctionalSun900, - val brandWarningLowestDark: Color = ColorRawTokens.colorFunctionalSun100, -) \ No newline at end of file + val brandAccentDefaultLight: Color = ColorRawTokens.colorFunctionalSun500, + val brandAccentHighLight: Color = ColorRawTokens.colorFunctionalSun600, + val brandAccentHighestLight: Color = OrangeBrandColorRawTokens.colorWarmGray900, + val brandAccentLowestLight: Color = OrangeBrandColorRawTokens.colorWarmGray100, + val brandAccentDefaultDark: Color = ColorRawTokens.colorFunctionalSun500, + val brandAccentHighDark: Color = ColorRawTokens.colorFunctionalSun600, + val brandAccentHighestDark: Color = OrangeBrandColorRawTokens.colorWarmGray900, + val brandAccentLowestDark: Color = OrangeBrandColorRawTokens.colorWarmGray100, + val brandInfoDefaultLight: Color = ColorRawTokens.colorFunctionalDodgerBlue500, + val brandInfoHighestLight: Color = ColorRawTokens.colorFunctionalDodgerBlue900, + val brandInfoLowestLight: Color = ColorRawTokens.colorFunctionalDodgerBlue100, + val brandInfoDefaultDark: Color = ColorRawTokens.colorFunctionalDodgerBlue500, + val brandInfoHighestDark: Color = ColorRawTokens.colorFunctionalDodgerBlue900, + val brandInfoLowestDark: Color = ColorRawTokens.colorFunctionalDodgerBlue100, + val brandNegativeDefaultLight: Color = ColorRawTokens.colorFunctionalScarlet600, + val brandNegativeHighLight: Color = ColorRawTokens.colorFunctionalScarlet700, + val brandNegativeHigherLight: Color = ColorRawTokens.colorFunctionalScarlet800, + val brandNegativeHighestLight: Color = ColorRawTokens.colorFunctionalScarlet900, + val brandNegativeLowestLight: Color = ColorRawTokens.colorFunctionalScarlet100, + val brandNegativeDefaultDark: Color = ColorRawTokens.colorFunctionalScarlet600, + val brandNegativeHighDark: Color = ColorRawTokens.colorFunctionalScarlet700, + val brandNegativeHigherDark: Color = ColorRawTokens.colorFunctionalScarlet800, + val brandNegativeHighestDark: Color = ColorRawTokens.colorFunctionalScarlet900, + val brandNegativeLowestDark: Color = ColorRawTokens.colorFunctionalScarlet100, + val brandNeutralEmphasizedBlackLight: Color = ColorRawTokens.colorFunctionalBlack, + val brandNeutralEmphasizedHighLight: Color = ColorRawTokens.colorFunctionalDarkGray720, + val brandNeutralEmphasizedHigherLight: Color = ColorRawTokens.colorFunctionalDarkGray800, + val brandNeutralEmphasizedHighestLight: Color = ColorRawTokens.colorFunctionalDarkGray880, + val brandNeutralEmphasizedLowLight: Color = ColorRawTokens.colorFunctionalDarkGray560, + val brandNeutralEmphasizedLowerLight: Color = ColorRawTokens.colorFunctionalDarkGray480, + val brandNeutralEmphasizedLowestLight: Color = ColorRawTokens.colorFunctionalDarkGray400, + val brandNeutralEmphasizedMediumLight: Color = ColorRawTokens.colorFunctionalDarkGray640, + val brandNeutralEmphasizedBlackDark: Color = ColorRawTokens.colorFunctionalBlack, + val brandNeutralEmphasizedHighDark: Color = ColorRawTokens.colorFunctionalDarkGray720, + val brandNeutralEmphasizedHigherDark: Color = ColorRawTokens.colorFunctionalDarkGray800, + val brandNeutralEmphasizedHighestDark: Color = ColorRawTokens.colorFunctionalDarkGray880, + val brandNeutralEmphasizedLowDark: Color = ColorRawTokens.colorFunctionalDarkGray560, + val brandNeutralEmphasizedLowerDark: Color = ColorRawTokens.colorFunctionalDarkGray480, + val brandNeutralEmphasizedLowestDark: Color = ColorRawTokens.colorFunctionalDarkGray400, + val brandNeutralEmphasizedMediumDark: Color = ColorRawTokens.colorFunctionalDarkGray640, + val brandNeutralMutedHighestLight: Color = ColorRawTokens.colorFunctionalDarkGray160, + val brandNeutralMutedLowLight: Color = ColorRawTokens.colorFunctionalLightGray400, + val brandNeutralMutedLowerLight: Color = ColorRawTokens.colorFunctionalLightGray160, + val brandNeutralMutedLowestLight: Color = ColorRawTokens.colorFunctionalLightGray80, + val brandNeutralMutedMediumLight: Color = ColorRawTokens.colorFunctionalLightGray560, + val brandNeutralMutedWhiteLight: Color = ColorRawTokens.colorFunctionalWhite, + val brandNeutralMutedHighestDark: Color = ColorRawTokens.colorFunctionalDarkGray160, + val brandNeutralMutedLowDark: Color = ColorRawTokens.colorFunctionalLightGray400, + val brandNeutralMutedLowerDark: Color = ColorRawTokens.colorFunctionalLightGray160, + val brandNeutralMutedLowestDark: Color = ColorRawTokens.colorFunctionalLightGray80, + val brandNeutralMutedMediumDark: Color = ColorRawTokens.colorFunctionalLightGray560, + val brandNeutralMutedWhiteDark: Color = ColorRawTokens.colorFunctionalWhite, + val brandPositiveDefaultLight: Color = ColorRawTokens.colorFunctionalMalachite500, + val brandPositiveHighestLight: Color = ColorRawTokens.colorFunctionalMalachite900, + val brandPositiveLowestLight: Color = ColorRawTokens.colorFunctionalMalachite100, + val brandPositiveDefaultDark: Color = ColorRawTokens.colorFunctionalMalachite500, + val brandPositiveHighestDark: Color = ColorRawTokens.colorFunctionalMalachite900, + val brandPositiveLowestDark: Color = ColorRawTokens.colorFunctionalMalachite100, + val brandPrimaryDefaultLight: Color = OrangeBrandColorRawTokens.colorOrange550, + val brandPrimaryLowLight: Color = OrangeBrandColorRawTokens.colorOrange500, + val brandPrimaryDefaultDark: Color = OrangeBrandColorRawTokens.colorOrange550, + val brandPrimaryLowDark: Color = OrangeBrandColorRawTokens.colorOrange500, + val brandWarningDefaultLight: Color = ColorRawTokens.colorFunctionalSun500, + val brandWarningHighLight: Color = ColorRawTokens.colorFunctionalSun600, + val brandWarningHighestLight: Color = ColorRawTokens.colorFunctionalSun900, + val brandWarningLowestLight: Color = ColorRawTokens.colorFunctionalSun100, + val brandWarningDefaultDark: Color = ColorRawTokens.colorFunctionalSun500, + val brandWarningHighDark: Color = ColorRawTokens.colorFunctionalSun600, + val brandWarningHighestDark: Color = ColorRawTokens.colorFunctionalSun900, + val brandWarningLowestDark: Color = ColorRawTokens.colorFunctionalSun100 +) diff --git a/theme-contract/src/main/java/com/orange/ouds/theme/tokens/semantic/OudsColorContentSemanticTokens.kt b/theme-contract/src/main/java/com/orange/ouds/theme/tokens/semantic/OudsColorContentSemanticTokens.kt index 90a63b27..459c0395 100644 --- a/theme-contract/src/main/java/com/orange/ouds/theme/tokens/semantic/OudsColorContentSemanticTokens.kt +++ b/theme-contract/src/main/java/com/orange/ouds/theme/tokens/semantic/OudsColorContentSemanticTokens.kt @@ -1,14 +1,14 @@ -/* - * Software Name: OUDS Android - * SPDX-FileCopyrightText: Copyright (c) Orange SA - * SPDX-License-Identifier: MIT - * - * This software is distributed under the MIT license, - * the text of which is available at https://opensource.org/license/MIT/ - * or see the "LICENSE" file for more details. - * - * Software description: Android library of reusable graphical components - */ +// +// Software Name: OUDS Android +// SPDX-FileCopyrightText: Copyright (c) Orange SA +// SPDX-License-Identifier: MIT +// +// This software is distributed under the MIT license, +// the text of which is available at https://opensource.org/license/MIT/ +// or see the "LICENSE" file for more details. +// +// Software description: Android library of reusable graphical components +// package com.orange.ouds.theme.tokens.semantic @@ -17,86 +17,86 @@ import com.orange.ouds.tokens.global.raw.ColorRawTokens import com.orange.ouds.tokens.global.raw.OrangeBrandColorRawTokens data class OudsColorContentSemanticTokens( - val contentBrandPrimaryLight: Color = OrangeBrandColorRawTokens.colorOrange550, - val contentBrandPrimaryOnBgEmphasizedLight: Color = OrangeBrandColorRawTokens.colorOrange500, - val contentDefaultLight: Color = ColorRawTokens.colorFunctionalBlack, - val contentDefaultOnBgEmphasizedLight: Color = ColorRawTokens.colorFunctionalLightGray160, - val contentDisabledLight: Color = ColorRawTokens.colorFunctionalLightGray400, - val contentDisabledOnBgEmphasizedLight: Color = ColorRawTokens.colorFunctionalDarkGray400, - val contentMutedLight: Color = ColorRawTokens.colorFunctionalDarkGray400, - val contentMutedOnBgEmphasizedLight: Color = ColorRawTokens.colorFunctionalLightGray560, - val contentOnActionDisabledLight: Color = ColorRawTokens.colorFunctionalWhite, - val contentOnActionDisabledOnBgEmphasizedLight: Color = ColorRawTokens.colorFunctionalBlack, - val contentOnActionNegativeLight: Color = ColorRawTokens.colorFunctionalWhite, - val contentOnActionPrimaryEnabledLight: Color = ColorRawTokens.colorFunctionalWhite, - val contentOnActionPrimaryEnabledOnBgEmphasizedLight: Color = ColorRawTokens.colorFunctionalBlack, - val contentOnActionPrimaryFocusLight: Color = ColorRawTokens.colorFunctionalWhite, - val contentOnActionPrimaryFocusOnBgEmphasizedLight: Color = ColorRawTokens.colorFunctionalBlack, - val contentOnActionPrimaryHoverLight: Color = ColorRawTokens.colorFunctionalWhite, - val contentOnActionPrimaryHoverOnBgEmphasizedLight: Color = ColorRawTokens.colorFunctionalBlack, - val contentOnActionPrimaryLoadingLight: Color = ColorRawTokens.colorFunctionalWhite, - val contentOnActionPrimaryLoadingOnBgEmphasizedLight: Color = ColorRawTokens.colorFunctionalBlack, - val contentOnActionPrimaryPressedLight: Color = ColorRawTokens.colorFunctionalWhite, - val contentOnActionPrimaryPressedOnBgEmphasizedLight: Color = ColorRawTokens.colorFunctionalBlack, - val contentOnBrandPrimaryLight: Color = ColorRawTokens.colorFunctionalWhite, - val contentOnStatusAccentEmphasizedLight: Color = ColorRawTokens.colorFunctionalBlack, - val contentOnStatusAccentMutedLight: Color = ColorRawTokens.colorFunctionalBlack, - val contentOnStatusAccentMutedOnBgEmphasizedLight: Color = ColorRawTokens.colorFunctionalLightGray160, - val contentOnStatusInfoEmphasizedLight: Color = ColorRawTokens.colorFunctionalBlack, - val contentOnStatusInfoMutedLight: Color = ColorRawTokens.colorFunctionalBlack, - val contentOnStatusInfoMutedOnBgEmphasizedLight: Color = ColorRawTokens.colorFunctionalLightGray160, - val contentOnStatusNegativeEmphasizedLight: Color = ColorRawTokens.colorFunctionalWhite, - val contentOnStatusNegativeMutedLight: Color = ColorRawTokens.colorFunctionalBlack, - val contentOnStatusNegativeMutedOnBgEmphasizedLight: Color = ColorRawTokens.colorFunctionalLightGray160, - val contentOnStatusPositiveEmphasizedLight: Color = ColorRawTokens.colorFunctionalBlack, - val contentOnStatusPositiveMutedLight: Color = ColorRawTokens.colorFunctionalBlack, - val contentOnStatusPositiveMutedOnBgEmphasizedLight: Color = ColorRawTokens.colorFunctionalLightGray160, - val contentOnStatusWarningEmphasizedLight: Color = ColorRawTokens.colorFunctionalBlack, - val contentOnStatusWarningMutedLight: Color = ColorRawTokens.colorFunctionalBlack, - val contentOnStatusWarningMutedOnBgEmphasizedLight: Color = ColorRawTokens.colorFunctionalLightGray160, - val contentStatusInfoLight: Color = ColorRawTokens.colorFunctionalDodgerBlue500, - val contentStatusNegativeLight: Color = ColorRawTokens.colorFunctionalScarlet600, - val contentStatusPositiveLight: Color = ColorRawTokens.colorFunctionalMalachite500, - val contentStatusWarningLight: Color = ColorRawTokens.colorFunctionalSun500, - val contentBrandPrimaryDark: Color = OrangeBrandColorRawTokens.colorOrange500, - val contentBrandPrimaryOnBgEmphasizedDark: Color = OrangeBrandColorRawTokens.colorOrange500, - val contentDefaultDark: Color = ColorRawTokens.colorFunctionalLightGray160, - val contentDefaultOnBgEmphasizedDark: Color = ColorRawTokens.colorFunctionalLightGray160, - val contentDisabledDark: Color = ColorRawTokens.colorFunctionalDarkGray400, - val contentDisabledOnBgEmphasizedDark: Color = ColorRawTokens.colorFunctionalDarkGray400, - val contentMutedDark: Color = ColorRawTokens.colorFunctionalLightGray560, - val contentMutedOnBgEmphasizedDark: Color = ColorRawTokens.colorFunctionalLightGray560, - val contentOnActionDisabledDark: Color = ColorRawTokens.colorFunctionalBlack, - val contentOnActionDisabledOnBgEmphasizedDark: Color = ColorRawTokens.colorFunctionalBlack, - val contentOnActionNegativeDark: Color = ColorRawTokens.colorFunctionalWhite, - val contentOnActionPrimaryEnabledDark: Color = ColorRawTokens.colorFunctionalBlack, - val contentOnActionPrimaryEnabledOnBgEmphasizedDark: Color = ColorRawTokens.colorFunctionalBlack, - val contentOnActionPrimaryFocusDark: Color = ColorRawTokens.colorFunctionalBlack, - val contentOnActionPrimaryFocusOnBgEmphasizedDark: Color = ColorRawTokens.colorFunctionalBlack, - val contentOnActionPrimaryHoverDark: Color = ColorRawTokens.colorFunctionalBlack, - val contentOnActionPrimaryHoverOnBgEmphasizedDark: Color = ColorRawTokens.colorFunctionalBlack, - val contentOnActionPrimaryLoadingDark: Color = ColorRawTokens.colorFunctionalBlack, - val contentOnActionPrimaryLoadingOnBgEmphasizedDark: Color = ColorRawTokens.colorFunctionalBlack, - val contentOnActionPrimaryPressedDark: Color = ColorRawTokens.colorFunctionalBlack, - val contentOnActionPrimaryPressedOnBgEmphasizedDark: Color = ColorRawTokens.colorFunctionalBlack, - val contentOnBrandPrimaryDark: Color = ColorRawTokens.colorFunctionalBlack, - val contentOnStatusAccentEmphasizedDark: Color = ColorRawTokens.colorFunctionalBlack, - val contentOnStatusAccentMutedDark: Color = ColorRawTokens.colorFunctionalLightGray160, - val contentOnStatusAccentMutedOnBgEmphasizedDark: Color = ColorRawTokens.colorFunctionalLightGray160, - val contentOnStatusInfoEmphasizedDark: Color = ColorRawTokens.colorFunctionalBlack, - val contentOnStatusInfoMutedDark: Color = ColorRawTokens.colorFunctionalLightGray160, - val contentOnStatusInfoMutedOnBgEmphasizedDark: Color = ColorRawTokens.colorFunctionalLightGray160, - val contentOnStatusNegativeEmphasizedDark: Color = ColorRawTokens.colorFunctionalWhite, - val contentOnStatusNegativeMutedDark: Color = ColorRawTokens.colorFunctionalLightGray160, - val contentOnStatusNegativeMutedOnBgEmphasizedDark: Color = ColorRawTokens.colorFunctionalLightGray160, - val contentOnStatusPositiveEmphasizedDark: Color = ColorRawTokens.colorFunctionalBlack, - val contentOnStatusPositiveMutedDark: Color = ColorRawTokens.colorFunctionalLightGray160, - val contentOnStatusPositiveMutedOnBgEmphasizedDark: Color = ColorRawTokens.colorFunctionalLightGray160, - val contentOnStatusWarningEmphasizedDark: Color = ColorRawTokens.colorFunctionalBlack, - val contentOnStatusWarningMutedDark: Color = ColorRawTokens.colorFunctionalLightGray160, - val contentOnStatusWarningMutedOnBgEmphasizedDark: Color = ColorRawTokens.colorFunctionalLightGray160, - val contentStatusInfoDark: Color = ColorRawTokens.colorFunctionalDodgerBlue500, - val contentStatusNegativeDark: Color = ColorRawTokens.colorFunctionalScarlet600, - val contentStatusPositiveDark: Color = ColorRawTokens.colorFunctionalMalachite500, - val contentStatusWarningDark: Color = ColorRawTokens.colorFunctionalSun500, -) \ No newline at end of file + val contentBrandPrimaryLight: Color = OrangeBrandColorRawTokens.colorOrange550, + val contentBrandPrimaryOnBgEmphasizedLight: Color = OrangeBrandColorRawTokens.colorOrange500, + val contentDefaultLight: Color = ColorRawTokens.colorFunctionalBlack, + val contentDefaultOnBgEmphasizedLight: Color = ColorRawTokens.colorFunctionalLightGray160, + val contentDisabledLight: Color = ColorRawTokens.colorFunctionalLightGray400, + val contentDisabledOnBgEmphasizedLight: Color = ColorRawTokens.colorFunctionalDarkGray400, + val contentMutedLight: Color = ColorRawTokens.colorFunctionalDarkGray400, + val contentMutedOnBgEmphasizedLight: Color = ColorRawTokens.colorFunctionalLightGray560, + val contentOnActionDisabledLight: Color = ColorRawTokens.colorFunctionalWhite, + val contentOnActionDisabledOnBgEmphasizedLight: Color = ColorRawTokens.colorFunctionalBlack, + val contentOnActionNegativeLight: Color = ColorRawTokens.colorFunctionalWhite, + val contentOnActionPrimaryEnabledLight: Color = ColorRawTokens.colorFunctionalWhite, + val contentOnActionPrimaryEnabledOnBgEmphasizedLight: Color = ColorRawTokens.colorFunctionalBlack, + val contentOnActionPrimaryFocusLight: Color = ColorRawTokens.colorFunctionalWhite, + val contentOnActionPrimaryFocusOnBgEmphasizedLight: Color = ColorRawTokens.colorFunctionalBlack, + val contentOnActionPrimaryHoverLight: Color = ColorRawTokens.colorFunctionalWhite, + val contentOnActionPrimaryHoverOnBgEmphasizedLight: Color = ColorRawTokens.colorFunctionalBlack, + val contentOnActionPrimaryLoadingLight: Color = ColorRawTokens.colorFunctionalWhite, + val contentOnActionPrimaryLoadingOnBgEmphasizedLight: Color = ColorRawTokens.colorFunctionalBlack, + val contentOnActionPrimaryPressedLight: Color = ColorRawTokens.colorFunctionalWhite, + val contentOnActionPrimaryPressedOnBgEmphasizedLight: Color = ColorRawTokens.colorFunctionalBlack, + val contentOnActionPrimaryEnabledDark: Color = ColorRawTokens.colorFunctionalBlack, + val contentOnActionPrimaryEnabledOnBgEmphasizedDark: Color = ColorRawTokens.colorFunctionalBlack, + val contentOnActionPrimaryFocusDark: Color = ColorRawTokens.colorFunctionalBlack, + val contentOnActionPrimaryFocusOnBgEmphasizedDark: Color = ColorRawTokens.colorFunctionalBlack, + val contentOnActionPrimaryHoverDark: Color = ColorRawTokens.colorFunctionalBlack, + val contentOnActionPrimaryHoverOnBgEmphasizedDark: Color = ColorRawTokens.colorFunctionalBlack, + val contentOnActionPrimaryLoadingDark: Color = ColorRawTokens.colorFunctionalBlack, + val contentOnActionPrimaryLoadingOnBgEmphasizedDark: Color = ColorRawTokens.colorFunctionalBlack, + val contentOnActionPrimaryPressedDark: Color = ColorRawTokens.colorFunctionalBlack, + val contentOnActionPrimaryPressedOnBgEmphasizedDark: Color = ColorRawTokens.colorFunctionalBlack, + val contentOnActionDisabledDark: Color = ColorRawTokens.colorFunctionalBlack, + val contentOnActionDisabledOnBgEmphasizedDark: Color = ColorRawTokens.colorFunctionalBlack, + val contentOnActionNegativeDark: Color = ColorRawTokens.colorFunctionalWhite, + val contentOnBrandPrimaryLight: Color = ColorRawTokens.colorFunctionalWhite, + val contentOnBrandPrimaryDark: Color = ColorRawTokens.colorFunctionalBlack, + val contentOnStatusAccentEmphasizedLight: Color = ColorRawTokens.colorFunctionalBlack, + val contentOnStatusAccentMutedLight: Color = ColorRawTokens.colorFunctionalBlack, + val contentOnStatusAccentMutedOnBgEmphasizedLight: Color = ColorRawTokens.colorFunctionalLightGray160, + val contentOnStatusInfoEmphasizedLight: Color = ColorRawTokens.colorFunctionalBlack, + val contentOnStatusInfoMutedLight: Color = ColorRawTokens.colorFunctionalBlack, + val contentOnStatusInfoMutedOnBgEmphasizedLight: Color = ColorRawTokens.colorFunctionalLightGray160, + val contentOnStatusNegativeEmphasizedLight: Color = ColorRawTokens.colorFunctionalWhite, + val contentOnStatusNegativeMutedLight: Color = ColorRawTokens.colorFunctionalBlack, + val contentOnStatusNegativeMutedOnBgEmphasizedLight: Color = ColorRawTokens.colorFunctionalLightGray160, + val contentOnStatusPositiveEmphasizedLight: Color = ColorRawTokens.colorFunctionalBlack, + val contentOnStatusPositiveMutedLight: Color = ColorRawTokens.colorFunctionalBlack, + val contentOnStatusPositiveMutedOnBgEmphasizedLight: Color = ColorRawTokens.colorFunctionalLightGray160, + val contentOnStatusWarningEmphasizedLight: Color = ColorRawTokens.colorFunctionalBlack, + val contentOnStatusWarningMutedLight: Color = ColorRawTokens.colorFunctionalBlack, + val contentOnStatusWarningMutedOnBgEmphasizedLight: Color = ColorRawTokens.colorFunctionalLightGray160, + val contentOnStatusAccentEmphasizedDark: Color = ColorRawTokens.colorFunctionalBlack, + val contentOnStatusAccentMutedDark: Color = ColorRawTokens.colorFunctionalLightGray160, + val contentOnStatusAccentMutedOnBgEmphasizedDark: Color = ColorRawTokens.colorFunctionalLightGray160, + val contentOnStatusInfoEmphasizedDark: Color = ColorRawTokens.colorFunctionalBlack, + val contentOnStatusInfoMutedDark: Color = ColorRawTokens.colorFunctionalLightGray160, + val contentOnStatusInfoMutedOnBgEmphasizedDark: Color = ColorRawTokens.colorFunctionalLightGray160, + val contentOnStatusNegativeEmphasizedDark: Color = ColorRawTokens.colorFunctionalWhite, + val contentOnStatusNegativeMutedDark: Color = ColorRawTokens.colorFunctionalLightGray160, + val contentOnStatusNegativeMutedOnBgEmphasizedDark: Color = ColorRawTokens.colorFunctionalLightGray160, + val contentOnStatusPositiveEmphasizedDark: Color = ColorRawTokens.colorFunctionalBlack, + val contentOnStatusPositiveMutedDark: Color = ColorRawTokens.colorFunctionalLightGray160, + val contentOnStatusPositiveMutedOnBgEmphasizedDark: Color = ColorRawTokens.colorFunctionalLightGray160, + val contentOnStatusWarningEmphasizedDark: Color = ColorRawTokens.colorFunctionalBlack, + val contentOnStatusWarningMutedDark: Color = ColorRawTokens.colorFunctionalLightGray160, + val contentOnStatusWarningMutedOnBgEmphasizedDark: Color = ColorRawTokens.colorFunctionalLightGray160, + val contentStatusInfoLight: Color = ColorRawTokens.colorFunctionalDodgerBlue500, + val contentStatusNegativeLight: Color = ColorRawTokens.colorFunctionalScarlet600, + val contentStatusPositiveLight: Color = ColorRawTokens.colorFunctionalMalachite500, + val contentStatusWarningLight: Color = ColorRawTokens.colorFunctionalSun500, + val contentStatusInfoDark: Color = ColorRawTokens.colorFunctionalDodgerBlue500, + val contentStatusNegativeDark: Color = ColorRawTokens.colorFunctionalScarlet600, + val contentStatusPositiveDark: Color = ColorRawTokens.colorFunctionalMalachite500, + val contentStatusWarningDark: Color = ColorRawTokens.colorFunctionalSun500, + val contentBrandPrimaryDark: Color = OrangeBrandColorRawTokens.colorOrange500, + val contentBrandPrimaryOnBgEmphasizedDark: Color = OrangeBrandColorRawTokens.colorOrange500, + val contentDefaultDark: Color = ColorRawTokens.colorFunctionalLightGray160, + val contentDefaultOnBgEmphasizedDark: Color = ColorRawTokens.colorFunctionalLightGray160, + val contentDisabledDark: Color = ColorRawTokens.colorFunctionalDarkGray400, + val contentDisabledOnBgEmphasizedDark: Color = ColorRawTokens.colorFunctionalDarkGray400, + val contentMutedDark: Color = ColorRawTokens.colorFunctionalLightGray560, + val contentMutedOnBgEmphasizedDark: Color = ColorRawTokens.colorFunctionalLightGray560 +) diff --git a/theme-contract/src/main/java/com/orange/ouds/theme/tokens/semantic/OudsColorDecorativeSemanticTokens.kt b/theme-contract/src/main/java/com/orange/ouds/theme/tokens/semantic/OudsColorDecorativeSemanticTokens.kt index 4eb09ff3..1d08e919 100644 --- a/theme-contract/src/main/java/com/orange/ouds/theme/tokens/semantic/OudsColorDecorativeSemanticTokens.kt +++ b/theme-contract/src/main/java/com/orange/ouds/theme/tokens/semantic/OudsColorDecorativeSemanticTokens.kt @@ -1,14 +1,14 @@ -/* - * Software Name: OUDS Android - * SPDX-FileCopyrightText: Copyright (c) Orange SA - * SPDX-License-Identifier: MIT - * - * This software is distributed under the MIT license, - * the text of which is available at https://opensource.org/license/MIT/ - * or see the "LICENSE" file for more details. - * - * Software description: Android library of reusable graphical components - */ +// +// Software Name: OUDS Android +// SPDX-FileCopyrightText: Copyright (c) Orange SA +// SPDX-License-Identifier: MIT +// +// This software is distributed under the MIT license, +// the text of which is available at https://opensource.org/license/MIT/ +// or see the "LICENSE" file for more details. +// +// Software description: Android library of reusable graphical components +// package com.orange.ouds.theme.tokens.semantic @@ -17,64 +17,64 @@ import com.orange.ouds.tokens.global.raw.ColorRawTokens import com.orange.ouds.tokens.global.raw.OrangeBrandColorRawTokens data class OudsColorDecorativeSemanticTokens( - val decorativeAccent1DefaultLight: Color = ColorRawTokens.colorDecorativeEmerald500, - val decorativeAccent1EmphasizedLight: Color = ColorRawTokens.colorDecorativeEmerald700, - val decorativeAccent1MutedLight: Color = ColorRawTokens.colorDecorativeEmerald200, - val decorativeAccent2DefaultLight: Color = ColorRawTokens.colorDecorativeSky400, - val decorativeAccent2EmphasizedLight: Color = ColorRawTokens.colorDecorativeSky700, - val decorativeAccent2MutedLight: Color = ColorRawTokens.colorDecorativeSky200, - val decorativeAccent3DefaultLight: Color = ColorRawTokens.colorFunctionalSun500, - val decorativeAccent3EmphasizedLight: Color = ColorRawTokens.colorDecorativeAmber500, - val decorativeAccent3MutedLight: Color = ColorRawTokens.colorFunctionalSun200, - val decorativeAccent4DefaultLight: Color = ColorRawTokens.colorDecorativeAmethyst400, - val decorativeAccent4EmphasizedLight: Color = ColorRawTokens.colorDecorativeAmethyst800, - val decorativeAccent4MutedLight: Color = ColorRawTokens.colorDecorativeAmethyst200, - val decorativeAccent5DefaultLight: Color = ColorRawTokens.colorDecorativeShockingPink200, - val decorativeAccent5EmphasizedLight: Color = ColorRawTokens.colorDecorativeShockingPink300, - val decorativeAccent5MutedLight: Color = ColorRawTokens.colorDecorativeShockingPink100, - val decorativeBrandPrimaryLight: Color = OrangeBrandColorRawTokens.colorOrange500, - val decorativeBrandSecondaryLight: Color = ColorRawTokens.colorFunctionalBlack, - val decorativeBrandTertiaryLight: Color = ColorRawTokens.colorFunctionalWhite, - val decorativeNeutralDefaultLight: Color = ColorRawTokens.colorFunctionalDarkGray400, - val decorativeNeutralEmphasizedLight: Color = ColorRawTokens.colorFunctionalDarkGray640, - val decorativeNeutralMutedLight: Color = ColorRawTokens.colorFunctionalLightGray160, - val decorativeSkinTint100Light: Color = ColorRawTokens.colorDecorativeDeepPeach100, - val decorativeSkinTint200Light: Color = ColorRawTokens.colorDecorativeDeepPeach200, - val decorativeSkinTint300Light: Color = ColorRawTokens.colorDecorativeDeepPeach300, - val decorativeSkinTint400Light: Color = ColorRawTokens.colorDecorativeDeepPeach400, - val decorativeSkinTint500Light: Color = ColorRawTokens.colorDecorativeDeepPeach500, - val decorativeSkinTint600Light: Color = ColorRawTokens.colorDecorativeDeepPeach600, - val decorativeSkinTint700Light: Color = ColorRawTokens.colorDecorativeDeepPeach700, - val decorativeSkinTint800Light: Color = ColorRawTokens.colorDecorativeDeepPeach800, - val decorativeSkinTint900Light: Color = ColorRawTokens.colorDecorativeDeepPeach900, - val decorativeAccent1DefaultDark: Color = ColorRawTokens.colorDecorativeEmerald500, - val decorativeAccent1EmphasizedDark: Color = ColorRawTokens.colorDecorativeEmerald700, - val decorativeAccent1MutedDark: Color = ColorRawTokens.colorDecorativeEmerald200, - val decorativeAccent2DefaultDark: Color = ColorRawTokens.colorDecorativeSky400, - val decorativeAccent2EmphasizedDark: Color = ColorRawTokens.colorDecorativeSky700, - val decorativeAccent2MutedDark: Color = ColorRawTokens.colorDecorativeSky200, - val decorativeAccent3DefaultDark: Color = ColorRawTokens.colorFunctionalSun500, - val decorativeAccent3EmphasizedDark: Color = ColorRawTokens.colorDecorativeAmber500, - val decorativeAccent3MutedDark: Color = ColorRawTokens.colorFunctionalSun200, - val decorativeAccent4DefaultDark: Color = ColorRawTokens.colorDecorativeAmethyst400, - val decorativeAccent4EmphasizedDark: Color = ColorRawTokens.colorDecorativeAmethyst800, - val decorativeAccent4MutedDark: Color = ColorRawTokens.colorDecorativeAmethyst200, - val decorativeAccent5DefaultDark: Color = ColorRawTokens.colorDecorativeShockingPink200, - val decorativeAccent5EmphasizedDark: Color = ColorRawTokens.colorDecorativeShockingPink300, - val decorativeAccent5MutedDark: Color = ColorRawTokens.colorDecorativeShockingPink100, - val decorativeBrandPrimaryDark: Color = OrangeBrandColorRawTokens.colorOrange500, - val decorativeBrandSecondaryDark: Color = ColorRawTokens.colorFunctionalLightGray160, - val decorativeBrandTertiaryDark: Color = ColorRawTokens.colorFunctionalDarkGray880, - val decorativeNeutralDefaultDark: Color = ColorRawTokens.colorFunctionalLightGray560, - val decorativeNeutralEmphasizedDark: Color = ColorRawTokens.colorFunctionalLightGray160, - val decorativeNeutralMutedDark: Color = ColorRawTokens.colorFunctionalDarkGray720, - val decorativeSkinTint100Dark: Color = ColorRawTokens.colorDecorativeDeepPeach100, - val decorativeSkinTint200Dark: Color = ColorRawTokens.colorDecorativeDeepPeach200, - val decorativeSkinTint300Dark: Color = ColorRawTokens.colorDecorativeDeepPeach300, - val decorativeSkinTint400Dark: Color = ColorRawTokens.colorDecorativeDeepPeach400, - val decorativeSkinTint500Dark: Color = ColorRawTokens.colorDecorativeDeepPeach500, - val decorativeSkinTint600Dark: Color = ColorRawTokens.colorDecorativeDeepPeach600, - val decorativeSkinTint700Dark: Color = ColorRawTokens.colorDecorativeDeepPeach700, - val decorativeSkinTint800Dark: Color = ColorRawTokens.colorDecorativeDeepPeach800, - val decorativeSkinTint900Dark: Color = ColorRawTokens.colorDecorativeDeepPeach900 -) \ No newline at end of file + val decorativeAccent1DefaultLight: Color = ColorRawTokens.colorDecorativeEmerald500, + val decorativeAccent1EmphasizedLight: Color = ColorRawTokens.colorDecorativeEmerald700, + val decorativeAccent1MutedLight: Color = ColorRawTokens.colorDecorativeEmerald200, + val decorativeAccent1DefaultDark: Color = ColorRawTokens.colorDecorativeEmerald500, + val decorativeAccent1EmphasizedDark: Color = ColorRawTokens.colorDecorativeEmerald700, + val decorativeAccent1MutedDark: Color = ColorRawTokens.colorDecorativeEmerald200, + val decorativeAccent2DefaultLight: Color = ColorRawTokens.colorDecorativeSky400, + val decorativeAccent2EmphasizedLight: Color = ColorRawTokens.colorDecorativeSky700, + val decorativeAccent2MutedLight: Color = ColorRawTokens.colorDecorativeSky200, + val decorativeAccent2DefaultDark: Color = ColorRawTokens.colorDecorativeSky400, + val decorativeAccent2EmphasizedDark: Color = ColorRawTokens.colorDecorativeSky700, + val decorativeAccent2MutedDark: Color = ColorRawTokens.colorDecorativeSky200, + val decorativeAccent3DefaultLight: Color = ColorRawTokens.colorFunctionalSun500, + val decorativeAccent3EmphasizedLight: Color = ColorRawTokens.colorDecorativeAmber500, + val decorativeAccent3MutedLight: Color = ColorRawTokens.colorFunctionalSun200, + val decorativeAccent3DefaultDark: Color = ColorRawTokens.colorFunctionalSun500, + val decorativeAccent3EmphasizedDark: Color = ColorRawTokens.colorDecorativeAmber500, + val decorativeAccent3MutedDark: Color = ColorRawTokens.colorFunctionalSun200, + val decorativeAccent4DefaultLight: Color = ColorRawTokens.colorDecorativeAmethyst400, + val decorativeAccent4EmphasizedLight: Color = ColorRawTokens.colorDecorativeAmethyst800, + val decorativeAccent4MutedLight: Color = ColorRawTokens.colorDecorativeAmethyst200, + val decorativeAccent4DefaultDark: Color = ColorRawTokens.colorDecorativeAmethyst400, + val decorativeAccent4EmphasizedDark: Color = ColorRawTokens.colorDecorativeAmethyst800, + val decorativeAccent4MutedDark: Color = ColorRawTokens.colorDecorativeAmethyst200, + val decorativeAccent5DefaultLight: Color = ColorRawTokens.colorDecorativeShockingPink200, + val decorativeAccent5EmphasizedLight: Color = ColorRawTokens.colorDecorativeShockingPink300, + val decorativeAccent5MutedLight: Color = ColorRawTokens.colorDecorativeShockingPink100, + val decorativeAccent5DefaultDark: Color = ColorRawTokens.colorDecorativeShockingPink200, + val decorativeAccent5EmphasizedDark: Color = ColorRawTokens.colorDecorativeShockingPink300, + val decorativeAccent5MutedDark: Color = ColorRawTokens.colorDecorativeShockingPink100, + val decorativeBrandPrimaryLight: Color = OrangeBrandColorRawTokens.colorOrange500, + val decorativeBrandSecondaryLight: Color = ColorRawTokens.colorFunctionalBlack, + val decorativeBrandTertiaryLight: Color = ColorRawTokens.colorFunctionalWhite, + val decorativeBrandPrimaryDark: Color = OrangeBrandColorRawTokens.colorOrange500, + val decorativeBrandSecondaryDark: Color = ColorRawTokens.colorFunctionalLightGray160, + val decorativeBrandTertiaryDark: Color = ColorRawTokens.colorFunctionalDarkGray880, + val decorativeNeutralDefaultLight: Color = ColorRawTokens.colorFunctionalDarkGray400, + val decorativeNeutralEmphasizedLight: Color = ColorRawTokens.colorFunctionalDarkGray640, + val decorativeNeutralMutedLight: Color = ColorRawTokens.colorFunctionalLightGray160, + val decorativeNeutralDefaultDark: Color = ColorRawTokens.colorFunctionalLightGray560, + val decorativeNeutralEmphasizedDark: Color = ColorRawTokens.colorFunctionalLightGray160, + val decorativeNeutralMutedDark: Color = ColorRawTokens.colorFunctionalDarkGray720, + val decorativeSkinTint100Light: Color = ColorRawTokens.colorDecorativeDeepPeach100, + val decorativeSkinTint200Light: Color = ColorRawTokens.colorDecorativeDeepPeach200, + val decorativeSkinTint300Light: Color = ColorRawTokens.colorDecorativeDeepPeach300, + val decorativeSkinTint400Light: Color = ColorRawTokens.colorDecorativeDeepPeach400, + val decorativeSkinTint500Light: Color = ColorRawTokens.colorDecorativeDeepPeach500, + val decorativeSkinTint600Light: Color = ColorRawTokens.colorDecorativeDeepPeach600, + val decorativeSkinTint700Light: Color = ColorRawTokens.colorDecorativeDeepPeach700, + val decorativeSkinTint800Light: Color = ColorRawTokens.colorDecorativeDeepPeach800, + val decorativeSkinTint900Light: Color = ColorRawTokens.colorDecorativeDeepPeach900, + val decorativeSkinTint100Dark: Color = ColorRawTokens.colorDecorativeDeepPeach100, + val decorativeSkinTint200Dark: Color = ColorRawTokens.colorDecorativeDeepPeach200, + val decorativeSkinTint300Dark: Color = ColorRawTokens.colorDecorativeDeepPeach300, + val decorativeSkinTint400Dark: Color = ColorRawTokens.colorDecorativeDeepPeach400, + val decorativeSkinTint500Dark: Color = ColorRawTokens.colorDecorativeDeepPeach500, + val decorativeSkinTint600Dark: Color = ColorRawTokens.colorDecorativeDeepPeach600, + val decorativeSkinTint700Dark: Color = ColorRawTokens.colorDecorativeDeepPeach700, + val decorativeSkinTint800Dark: Color = ColorRawTokens.colorDecorativeDeepPeach800, + val decorativeSkinTint900Dark: Color = ColorRawTokens.colorDecorativeDeepPeach900 +) diff --git a/theme-contract/src/main/java/com/orange/ouds/theme/tokens/semantic/OudsColorElevationSemanticTokens.kt b/theme-contract/src/main/java/com/orange/ouds/theme/tokens/semantic/OudsColorElevationSemanticTokens.kt index 9ea03981..0e5f6c38 100644 --- a/theme-contract/src/main/java/com/orange/ouds/theme/tokens/semantic/OudsColorElevationSemanticTokens.kt +++ b/theme-contract/src/main/java/com/orange/ouds/theme/tokens/semantic/OudsColorElevationSemanticTokens.kt @@ -1,45 +1,46 @@ -/* - * Software Name: OUDS Android - * SPDX-FileCopyrightText: Copyright (c) Orange SA - * SPDX-License-Identifier: MIT - * - * This software is distributed under the MIT license, - * the text of which is available at https://opensource.org/license/MIT/ - * or see the "LICENSE" file for more details. - * - * Software description: Android library of reusable graphical components - */ +// +// Software Name: OUDS Android +// SPDX-FileCopyrightText: Copyright (c) Orange SA +// SPDX-License-Identifier: MIT +// +// This software is distributed under the MIT license, +// the text of which is available at https://opensource.org/license/MIT/ +// or see the "LICENSE" file for more details. +// +// Software description: Android library of reusable graphical components +// package com.orange.ouds.theme.tokens.semantic import androidx.compose.ui.graphics.Color import com.orange.ouds.tokens.global.raw.ColorRawTokens +import com.orange.ouds.tokens.global.raw.OrangeBrandColorRawTokens data class OudsColorElevationSemanticTokens( - val elevationDragLight: Color = ColorRawTokens.colorFunctionalLightGray80, - val elevationDragOnBgEmphasizedLight: Color = ColorRawTokens.colorFunctionalDarkGray720, - val elevationDragOnBgSecondaryLight: Color = ColorRawTokens.colorFunctionalLightGray80, - val elevationModalLight: Color = ColorRawTokens.colorFunctionalWhite, - val elevationOverlayDefaultLight: Color = ColorRawTokens.colorFunctionalWhite, - val elevationOverlayDefaultOnBgEmphasizedLight: Color = ColorRawTokens.colorFunctionalDarkGray720, - val elevationOverlayDefaultOnBgSecondaryLight: Color = ColorRawTokens.colorFunctionalWhite, - val elevationOverlayEmphasizedLight: Color = ColorRawTokens.colorFunctionalDarkGray640, - val elevationOverlayEmphasizedOnBgEmphasizedLight: Color = ColorRawTokens.colorFunctionalLightGray80, - val elevationOverlayEmphasizedOnBgSecondaryLight: Color = ColorRawTokens.colorFunctionalDarkGray640, - val elevationRaisedLight: Color = ColorRawTokens.colorFunctionalWhite, - val elevationRaisedOnBgEmphasizedLight: Color = ColorRawTokens.colorFunctionalDarkGray800, - val elevationRaisedOnBgSecondaryLight: Color = ColorRawTokens.colorFunctionalWhite, - val elevationDragDark: Color = ColorRawTokens.colorFunctionalDarkGray720, - val elevationDragOnBgEmphasizedDark: Color = ColorRawTokens.colorFunctionalDarkGray480, - val elevationDragOnBgSecondaryDark: Color = ColorRawTokens.colorFunctionalDarkGray640, - val elevationModalDark: Color = ColorRawTokens.colorFunctionalDarkGray640, - val elevationOverlayDefaultDark: Color = ColorRawTokens.colorFunctionalDarkGray720, - val elevationOverlayDefaultOnBgEmphasizedDark: Color = ColorRawTokens.colorFunctionalDarkGray480, - val elevationOverlayDefaultOnBgSecondaryDark: Color = ColorRawTokens.colorFunctionalDarkGray640, - val elevationOverlayEmphasizedDark: Color = ColorRawTokens.colorFunctionalDarkGray480, - val elevationOverlayEmphasizedOnBgEmphasizedDark: Color = ColorRawTokens.colorFunctionalDarkGray400, - val elevationOverlayEmphasizedOnBgSecondaryDark: Color = ColorRawTokens.colorFunctionalDarkGray480, - val elevationRaisedDark: Color = ColorRawTokens.colorFunctionalDarkGray800, - val elevationRaisedOnBgEmphasizedDark: Color = ColorRawTokens.colorFunctionalDarkGray560, - val elevationRaisedOnBgSecondaryDark: Color = ColorRawTokens.colorFunctionalDarkGray720, -) \ No newline at end of file + val elevationDragLight: Color = ColorRawTokens.colorFunctionalLightGray80, + val elevationDragOnBgEmphasizedLight: Color = ColorRawTokens.colorFunctionalDarkGray720, + val elevationDragOnBgSecondaryLight: Color = ColorRawTokens.colorFunctionalLightGray80, + val elevationModalLight: Color = ColorRawTokens.colorFunctionalWhite, + val elevationOverlayDefaultLight: Color = ColorRawTokens.colorFunctionalWhite, + val elevationOverlayDefaultOnBgEmphasizedLight: Color = ColorRawTokens.colorFunctionalDarkGray720, + val elevationOverlayDefaultOnBgSecondaryLight: Color = ColorRawTokens.colorFunctionalWhite, + val elevationOverlayEmphasizedLight: Color = ColorRawTokens.colorFunctionalDarkGray640, + val elevationOverlayEmphasizedOnBgEmphasizedLight: Color = ColorRawTokens.colorFunctionalLightGray80, + val elevationOverlayEmphasizedOnBgSecondaryLight: Color = ColorRawTokens.colorFunctionalDarkGray640, + val elevationRaisedLight: Color = ColorRawTokens.colorFunctionalWhite, + val elevationRaisedOnBgEmphasizedLight: Color = ColorRawTokens.colorFunctionalDarkGray800, + val elevationRaisedOnBgSecondaryLight: Color = ColorRawTokens.colorFunctionalWhite, + val elevationDragDark: Color = ColorRawTokens.colorFunctionalDarkGray720, + val elevationDragOnBgEmphasizedDark: Color = ColorRawTokens.colorFunctionalDarkGray480, + val elevationDragOnBgSecondaryDark: Color = ColorRawTokens.colorFunctionalDarkGray640, + val elevationModalDark: Color = ColorRawTokens.colorFunctionalDarkGray640, + val elevationOverlayDefaultDark: Color = ColorRawTokens.colorFunctionalDarkGray720, + val elevationOverlayDefaultOnBgEmphasizedDark: Color = ColorRawTokens.colorFunctionalDarkGray480, + val elevationOverlayDefaultOnBgSecondaryDark: Color = ColorRawTokens.colorFunctionalDarkGray640, + val elevationOverlayEmphasizedDark: Color = ColorRawTokens.colorFunctionalDarkGray480, + val elevationOverlayEmphasizedOnBgEmphasizedDark: Color = ColorRawTokens.colorFunctionalDarkGray400, + val elevationOverlayEmphasizedOnBgSecondaryDark: Color = ColorRawTokens.colorFunctionalDarkGray480, + val elevationRaisedDark: Color = ColorRawTokens.colorFunctionalDarkGray800, + val elevationRaisedOnBgEmphasizedDark: Color = ColorRawTokens.colorFunctionalDarkGray560, + val elevationRaisedOnBgSecondaryDark: Color = ColorRawTokens.colorFunctionalDarkGray720 +) diff --git a/theme-contract/src/main/java/com/orange/ouds/theme/tokens/semantic/OudsColorGradientSemanticTokens.kt b/theme-contract/src/main/java/com/orange/ouds/theme/tokens/semantic/OudsColorGradientSemanticTokens.kt index 11c5a236..16eb2e79 100644 --- a/theme-contract/src/main/java/com/orange/ouds/theme/tokens/semantic/OudsColorGradientSemanticTokens.kt +++ b/theme-contract/src/main/java/com/orange/ouds/theme/tokens/semantic/OudsColorGradientSemanticTokens.kt @@ -1,27 +1,28 @@ -/* - * Software Name: OUDS Android - * SPDX-FileCopyrightText: Copyright (c) Orange SA - * SPDX-License-Identifier: MIT - * - * This software is distributed under the MIT license, - * the text of which is available at https://opensource.org/license/MIT/ - * or see the "LICENSE" file for more details. - * - * Software description: Android library of reusable graphical components - */ +// +// Software Name: OUDS Android +// SPDX-FileCopyrightText: Copyright (c) Orange SA +// SPDX-License-Identifier: MIT +// +// This software is distributed under the MIT license, +// the text of which is available at https://opensource.org/license/MIT/ +// or see the "LICENSE" file for more details. +// +// Software description: Android library of reusable graphical components +// package com.orange.ouds.theme.tokens.semantic import androidx.compose.ui.graphics.Color import com.orange.ouds.tokens.global.raw.ColorRawTokens +import com.orange.ouds.tokens.global.raw.OrangeBrandColorRawTokens data class OudsColorGradientSemanticTokens( - val gradientSkeletonMiddleLight: Color = ColorRawTokens.colorFunctionalLightGray160, - val gradientSkeletonMiddleOnBgEmphasizedLight: Color = ColorRawTokens.colorFunctionalDarkGray640, - val gradientSkeletonStartEndLight: Color = ColorRawTokens.colorFunctionalLightGray80, - val gradientSkeletonStartEndOnBgEmphasizedLight: Color = ColorRawTokens.colorFunctionalDarkGray720, - val gradientSkeletonMiddleDark: Color = ColorRawTokens.colorFunctionalDarkGray720, - val gradientSkeletonMiddleOnBgEmphasizedDark: Color = ColorRawTokens.colorFunctionalDarkGray480, - val gradientSkeletonStartEndDark: Color = ColorRawTokens.colorFunctionalDarkGray800, - val gradientSkeletonStartEndOnBgEmphasizedDark: Color = ColorRawTokens.colorFunctionalDarkGray560, -) \ No newline at end of file + val gradientSkeletonMiddleLight: Color = ColorRawTokens.colorFunctionalLightGray160, + val gradientSkeletonMiddleOnBgEmphasizedLight: Color = ColorRawTokens.colorFunctionalDarkGray640, + val gradientSkeletonStartEndLight: Color = ColorRawTokens.colorFunctionalLightGray80, + val gradientSkeletonStartEndOnBgEmphasizedLight: Color = ColorRawTokens.colorFunctionalDarkGray720, + val gradientSkeletonMiddleDark: Color = ColorRawTokens.colorFunctionalDarkGray720, + val gradientSkeletonMiddleOnBgEmphasizedDark: Color = ColorRawTokens.colorFunctionalDarkGray480, + val gradientSkeletonStartEndDark: Color = ColorRawTokens.colorFunctionalDarkGray800, + val gradientSkeletonStartEndOnBgEmphasizedDark: Color = ColorRawTokens.colorFunctionalDarkGray560 +) diff --git a/theme-contract/src/main/java/com/orange/ouds/theme/tokens/semantic/OudsColorTransparentSemanticTokens.kt b/theme-contract/src/main/java/com/orange/ouds/theme/tokens/semantic/OudsColorTransparentSemanticTokens.kt index 7f8303de..df803827 100644 --- a/theme-contract/src/main/java/com/orange/ouds/theme/tokens/semantic/OudsColorTransparentSemanticTokens.kt +++ b/theme-contract/src/main/java/com/orange/ouds/theme/tokens/semantic/OudsColorTransparentSemanticTokens.kt @@ -1,21 +1,22 @@ -/* - * Software Name: OUDS Android - * SPDX-FileCopyrightText: Copyright (c) Orange SA - * SPDX-License-Identifier: MIT - * - * This software is distributed under the MIT license, - * the text of which is available at https://opensource.org/license/MIT/ - * or see the "LICENSE" file for more details. - * - * Software description: Android library of reusable graphical components - */ +// +// Software Name: OUDS Android +// SPDX-FileCopyrightText: Copyright (c) Orange SA +// SPDX-License-Identifier: MIT +// +// This software is distributed under the MIT license, +// the text of which is available at https://opensource.org/license/MIT/ +// or see the "LICENSE" file for more details. +// +// Software description: Android library of reusable graphical components +// package com.orange.ouds.theme.tokens.semantic import androidx.compose.ui.graphics.Color import com.orange.ouds.tokens.global.raw.ColorRawTokens +import com.orange.ouds.tokens.global.raw.OrangeBrandColorRawTokens data class OudsColorTransparentSemanticTokens( - val transparentDefaultLight: Color = ColorRawTokens.colorTransparentBlack0, - val transparentDefaultDark: Color = ColorRawTokens.colorTransparentBlack0, -) \ No newline at end of file + val transparentDefaultLight: Color = ColorRawTokens.colorTransparentBlack0, + val transparentDefaultDark: Color = ColorRawTokens.colorTransparentBlack0 +)