Skip to content

Commit 1344815

Browse files
ktranDevtools-frontend LUCI CQ
authored andcommitted
Change empty state buttons to use tonal buttons
Bug: 325443331 Change-Id: Ie0467f45df907adc815bd7c5a170aad2dc2e253e Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6252744 Commit-Queue: Kim-Anh Tran <[email protected]> Auto-Submit: Kim-Anh Tran <[email protected]> Reviewed-by: Kateryna Prokopenko <[email protected]>
1 parent 8f14c99 commit 1344815

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

front_end/panels/application/BackgroundServiceView.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@ export class BackgroundServiceView extends UI.Widget.VBox {
499499

500500
const button = UI.UIUtils.createTextButton(
501501
i18nString(UIStrings.startRecordingEvents), () => this.toggleRecording(),
502-
{jslogContext: 'start-recording', variant: Buttons.Button.Variant.PRIMARY});
502+
{jslogContext: 'start-recording', variant: Buttons.Button.Variant.TONAL});
503503
emptyWidget.contentElement.appendChild(button);
504504
}
505505

front_end/panels/recorder/RecorderController.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1129,7 +1129,7 @@ export class RecorderController extends LitElement {
11291129
<span>${i18nString(UIStrings.recordingDescription)}</span>
11301130
${UI.XLink.XLink.create(RECORDER_EXPLANATION_URL, i18nString(UIStrings.learnMore), 'x-link', undefined, 'learn-more')}
11311131
</div>
1132-
<devtools-button jslogContext=${Actions.RecorderActions.CREATE_RECORDING} @click=${this.#onCreateNewRecording}>${i18nString(UIStrings.createRecording)}</devtools-button>
1132+
<devtools-button .variant=${Buttons.Button.Variant.TONAL} jslogContext=${Actions.RecorderActions.CREATE_RECORDING} @click=${this.#onCreateNewRecording}>${i18nString(UIStrings.createRecording)}</devtools-button>
11331133
</div>
11341134
`;
11351135
// clang-format on

0 commit comments

Comments
 (0)