Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

myCourses: smoother button styling (fixes #4925) #4926

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

deeppp15
Copy link
Member

Description

Screenshot

leave light mode.webm
leave button darkmode.webm

Comment on lines 20 to 21
<stroke android:width="1dp" android:color="@color/colorPrimary" />
<gradient android:angle="-90" android:endColor="@color/colorPrimary" android:startColor="@color/colorPrimary" />
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we try to maintain the app's blue theme in both dark and light mode. This change gives the button a black background in dark mode which is not what we want

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image
So the changes are matching the lightmode, where the leave button follows the same theme as the section banner

Copy link
Collaborator

@Okuro3499 Okuro3499 Jan 3, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In darkmode the button should still be blue as it is currently on master
Screenshot_20250103_171312

@deeppp15
Copy link
Member Author

deeppp15 commented Jan 8, 2025

Button color reverted but align components persist

image

Copy link
Collaborator

@Okuro3499 Okuro3499 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see any difference between the screenshot in the issue #4925 (comment) and the courses page in this pr

@deeppp15
Copy link
Member Author

deeppp15 commented Jan 9, 2025

Hi @Okuro3499 , the buttons are now aligned and of the same size

  • existing(left) this PR(right)
    image

@deeppp15 deeppp15 requested a review from Okuro3499 January 9, 2025 17:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

courses: buttons not aligned
3 participants