Skip to content

Commit

Permalink
chore: Remove Elevation from Brand and Primary Buttons
Browse files Browse the repository at this point in the history
The Brand and Primary Buttons currently display a shadow/elevation
effect, which is inconsistent with the Paragon Elm Theme guidelines.
This deviation from the design standard needs to be addressed by
removing the shadow/elevation from these buttons.

Fixes: LEARNER-10366
  • Loading branch information
HamzaIsrar12 committed Jan 2, 2025
1 parent 00280ec commit 288c9b0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/src/main/java/org/openedx/core/ui/ComposeCommon.kt
Original file line number Diff line number Diff line change
Expand Up @@ -1087,6 +1087,7 @@ fun OpenEdXBrandButton(
backgroundColor = backgroundColor,
disabledBackgroundColor = backgroundColor.copy(alpha = 0.3f)
),
elevation = null,
enabled = enabled,
onClick = onClick,
) {
Expand Down

0 comments on commit 288c9b0

Please sign in to comment.