Skip to content

Commit

Permalink
remove unnecessary color
Browse files Browse the repository at this point in the history
  • Loading branch information
xavimolloy committed Sep 18, 2023
1 parent 422c8b6 commit 54c021a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ fun Switch(
uncheckedBorderColor = Outline.Dark,
uncheckedIconColor = Outline.Dark,
disabledCheckedThumbColor = SurfaceColor.Surface,
disabledCheckedTrackColor = SurfaceColor.CustomDisabledSwitch,
disabledCheckedBorderColor = SurfaceColor.CustomDisabledSwitch,
disabledCheckedTrackColor = SurfaceColor.CustomGray,
disabledCheckedBorderColor = SurfaceColor.CustomGray,
disabledCheckedIconColor = TextColor.OnDisabledSurface,
disabledUncheckedThumbColor = TextColor.OnDisabledSurface,
disabledUncheckedTrackColor = SurfaceColor.DisabledSurface,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,4 @@ object Color {
internal val CustomYellow: Color = Color(0xFFFADB14)
internal val CustomBrown: Color = Color(0xFF7A130F)
internal val CustomGray: Color = Color(0xFFDADADA)
internal val CustomGraySwitch: Color = Color(0xFFDADADA)
}
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,4 @@ object SurfaceColor {
val CustomYellow = Color.CustomYellow
val CustomBrown = Color.CustomBrown
val CustomGray = Color.CustomGray
val CustomDisabledSwitch = Color.CustomGraySwitch
}

0 comments on commit 54c021a

Please sign in to comment.