Skip to content

Commit dac95bb

Browse files
authored
fix: updated missing theme notice (#17482)
1 parent 2098b0f commit dac95bb

2 files changed

Lines changed: 5 additions & 7 deletions

File tree

‎vaadin-dev-server/frontend/theme-editor/editor.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ describe('theme-editor', () => {
245245
await elementUpdated(editor);
246246

247247
expect(findPickerButton()).to.not.exist;
248-
expect(editor.shadowRoot!.innerHTML).to.contain('It looks like you have not set up a custom theme yet');
248+
expect(editor.shadowRoot!.innerHTML).to.contain('It looks like you have not set up an application theme yet');
249249
});
250250
});
251251

‎vaadin-dev-server/frontend/theme-editor/editor.ts‎

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -286,12 +286,10 @@ export class ThemeEditor extends LitElement {
286286
renderMissingThemeNotice() {
287287
return html`
288288
<div class="notice">
289-
It looks like you have not set up a custom theme yet. Theme editor requires an existing theme to work with.
290-
Please check our
291-
<a href="https://vaadin.com/docs/latest/styling/custom-theme/creating-custom-theme" target="_blank"
292-
>documentation</a
293-
>
294-
on how to set up a custom theme.
289+
It looks like you have not set up an application theme yet. Theme editor requires an existing theme to work
290+
with. Please check our
291+
<a href="https://vaadin.com/docs/latest/styling/application-theme" target="_blank">documentation</a>
292+
on how to set up an application theme.
295293
</div>
296294
`;
297295
}

0 commit comments

Comments
 (0)