Skip to content

Commit d4c5c82

Browse files
authored
[Global Pins] [Quick Fix] Apply theme color to the check box (#6845)
## Motivation for features / changes Theme color was not applied to the checkbox. ## Technical description of changes Apply `color="primary"` to the `saving_pins_checkbox_component` ## Screenshots of UI changes (or N/A) AS-IS ![image](https://github.com/tensorflow/tensorboard/assets/24772412/12ed994a-a3b4-4137-b7b8-7a22b4a9af37) TO-BE ![image](https://github.com/tensorflow/tensorboard/assets/24772412/2aa3fbd7-b46e-46fd-b365-debc72cf2883) ## Detailed steps to verify changes work correctly (as executed by you) tested with ` tb_theme=corp` & TAP presubmit passes ## Alternate designs / implementations considered (or N/A)
1 parent af34605 commit d4c5c82

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tensorboard/webapp/metrics/views/right_pane/saving_pins_checkbox_component.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,10 @@ import {
2828
selector: 'saving-pins-checkbox',
2929
template: `
3030
<div class="saving-pins-checkbox">
31-
<mat-checkbox [checked]="isChecked" (click)="onCheckboxToggled.emit()"
31+
<mat-checkbox
32+
color="primary"
33+
[checked]="isChecked"
34+
(click)="onCheckboxToggled.emit()"
3235
>Enable saving pins (Scalars only)</mat-checkbox
3336
>
3437
<mat-icon

0 commit comments

Comments
 (0)