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

Fix box shadow colour of "tertiary-on-primary" button #2882

Merged

Conversation

danxuliu
Copy link
Contributor

Follow up to #2871

Before:
Tertiary-On-Primary-Focused-Light-Before
Tertiary-On-Primary-Focused-Dark-Before

After:
Tertiary-On-Primary-Focused-Light-After
Tertiary-On-Primary-Focused-Dark-After

The "tertiary-on-primary" button has a transparent background and
border, and it is meant to be shown on an element with primary colour.
Due to this the colour of the box shadow should be the primary text
colour rather than the default main text colour. Otherwise it would
change depending on light / dark mode, even if the button text and the
background it is shown on do not.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
@danxuliu danxuliu added bug Something isn't working 3. to review Waiting for reviews feature: button labels Jul 24, 2022
@marcoambrosini marcoambrosini merged commit 498364d into master Jul 25, 2022
@marcoambrosini marcoambrosini deleted the fix-box-shadow-colour-of-tertiary-on-primary-button branch July 25, 2022 07:31
@juliushaertl juliushaertl mentioned this pull request Aug 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews bug Something isn't working feature: button
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants