Skip to content

Commit

Permalink
Review: Set several method internal and remove @Suppress
Browse files Browse the repository at this point in the history
  • Loading branch information
paulinea authored and florentmaitre committed Jan 6, 2025
1 parent 8ed26e9 commit 467feca
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions core/src/main/java/com/orange/ouds/core/theme/OudsColorScheme.kt
Original file line number Diff line number Diff line change
Expand Up @@ -426,10 +426,7 @@ internal val OudsColorSemanticTokens.lightColorScheme: OudsColorScheme
},
)

/**
* @suppress
*/
val OudsColorSemanticTokens.darkColorScheme: OudsColorScheme
internal val OudsColorSemanticTokens.darkColorScheme: OudsColorScheme
get() = OudsColorScheme(
actionColors = with(actionColorTokens) {
OudsColorScheme.Action(
Expand Down Expand Up @@ -865,10 +862,7 @@ private fun OudsColorScheme.fromToken(token: OudsColorKeyToken.Overlay): Color {
}

//TODO Material colors must be able to be overridden by a theme
/**
* @suppress
*/
val materialLightColorScheme: ColorScheme
internal val materialLightColorScheme: ColorScheme
get() = with(OudsAndroidColorLightTokens) {
lightColorScheme(
primary = primary,
Expand Down Expand Up @@ -910,10 +904,7 @@ val materialLightColorScheme: ColorScheme
)
}

/**
* @suppress
*/
val materialDarkColorScheme: ColorScheme
internal val materialDarkColorScheme: ColorScheme
get() = with(OudsAndroidColorDarkTokens) {
darkColorScheme(
primary = primary,
Expand Down

0 comments on commit 467feca

Please sign in to comment.