Skip to content

Commit

Permalink
MDCMigration: Style readme button for MDC migration. (#6620)
Browse files Browse the repository at this point in the history
Style the readme button for MDC Migration.

In global theme we change the rules that ensure a read `<a>` link
remains white.

Screenshots:

![image](https://github.com/tensorflow/tensorboard/assets/17152369/2121935f-94ed-4a53-bedb-d08afb1c7b47)


![image](https://github.com/tensorflow/tensorboard/assets/17152369/d7db8706-2059-4f5d-a12c-a156b2e57bda)
  • Loading branch information
bmd3k authored Oct 5, 2023
1 parent 33dcfc0 commit 5663200
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tensorboard/webapp/theme/_tb_theme.template.scss
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ $tb-dark-theme: map_merge(
contain: strict;
}

a:not(.mat-button, .mat-icon-button) {
a:not(.mdc-button, .mdc-icon-button) {
color: map-get($tb-foreground, link);

&:visited {
Expand Down Expand Up @@ -327,7 +327,7 @@ $tb-dark-theme: map_merge(
body.dark-mode {
background-color: map-get($tb-dark-background, background);

a:not(.mat-button, .mat-icon-button) {
a:not(.mdc-button, .mdc-icon-button) {
color: map-get($tb-dark-foreground, link);

&:visited {
Expand Down

0 comments on commit 5663200

Please sign in to comment.