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

MDCMigration: Fix prev and next buttons for dark mode #6663

Merged
merged 1 commit into from
Oct 23, 2023

Conversation

JamesHollyer
Copy link
Contributor

Motivation for features / changes

The new mat-button uses different colors in it's styling. This caused a readability problem with our Next and Prev buttons when enabled. This fixes the buttons to be readable and look nice. We decided the transparent background looked nice in dark mode but not in light mode.

This was brought to our attention in #6651.

Screenshots of UI changes (or N/A)

Before:
Screenshot 2023-10-20 at 11 22 09 AM
Screenshot 2023-10-20 at 11 22 17 AM

After:
Screenshot 2023-10-20 at 11 00 38 AM
Screenshot 2023-10-20 at 11 13 09 AM

Alternate designs / implementations considered (or N/A)

Also considered having a transparent background in light mode.

@JamesHollyer JamesHollyer merged commit 8ebecb7 into tensorflow:master Oct 23, 2023
24 of 25 checks passed
bmd3k pushed a commit to bmd3k/tensorboard that referenced this pull request Nov 2, 2023
## Motivation for features / changes
The new mat-button uses different colors in it's styling. This caused a
readability problem with our Next and Prev buttons when enabled. This
fixes the buttons to be readable and look nice. We decided the
transparent background looked nice in dark mode but not in light mode.

This was brought to our attention in tensorflow#6651.

## Screenshots of UI changes (or N/A)
Before:
<img width="905" alt="Screenshot 2023-10-20 at 11 22 09 AM"
src="https://github.com/tensorflow/tensorboard/assets/8672809/ffad969c-4fa0-4f45-af80-0975a5ad2756">
<img width="897" alt="Screenshot 2023-10-20 at 11 22 17 AM"
src="https://github.com/tensorflow/tensorboard/assets/8672809/5fc01f59-7e6c-407d-929b-aac6bdcf0ac6">

After:
<img width="868" alt="Screenshot 2023-10-20 at 11 00 38 AM"
src="https://github.com/tensorflow/tensorboard/assets/8672809/e8000574-910e-4fef-bb44-26b4faeb5966">
<img width="887" alt="Screenshot 2023-10-20 at 11 13 09 AM"
src="https://github.com/tensorflow/tensorboard/assets/8672809/18b821d0-1942-43cd-a501-5d5b7549a8a6">

## Alternate designs / implementations considered (or N/A)
Also considered having a transparent background in light mode.
@bmd3k bmd3k mentioned this pull request Nov 2, 2023
bmd3k pushed a commit that referenced this pull request Nov 2, 2023
## Motivation for features / changes
The new mat-button uses different colors in it's styling. This caused a
readability problem with our Next and Prev buttons when enabled. This
fixes the buttons to be readable and look nice. We decided the
transparent background looked nice in dark mode but not in light mode.

This was brought to our attention in #6651.

## Screenshots of UI changes (or N/A)
Before:
<img width="905" alt="Screenshot 2023-10-20 at 11 22 09 AM"
src="https://github.com/tensorflow/tensorboard/assets/8672809/ffad969c-4fa0-4f45-af80-0975a5ad2756">
<img width="897" alt="Screenshot 2023-10-20 at 11 22 17 AM"
src="https://github.com/tensorflow/tensorboard/assets/8672809/5fc01f59-7e6c-407d-929b-aac6bdcf0ac6">

After:
<img width="868" alt="Screenshot 2023-10-20 at 11 00 38 AM"
src="https://github.com/tensorflow/tensorboard/assets/8672809/e8000574-910e-4fef-bb44-26b4faeb5966">
<img width="887" alt="Screenshot 2023-10-20 at 11 13 09 AM"
src="https://github.com/tensorflow/tensorboard/assets/8672809/18b821d0-1942-43cd-a501-5d5b7549a8a6">

## Alternate designs / implementations considered (or N/A)
Also considered having a transparent background in light mode.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants