Reset font settings on creation of new theme

pull/7277/head
Cagatay Civici 2025-02-18 14:59:15 +03:00
parent 8413c0e1f1
commit 4f812f10fa
1 changed files with 3 additions and 0 deletions

View File

@ -199,6 +199,9 @@ export default {
font_family: 'Inter var'
}
};
this.designerService.applyFont('Inter var');
document.documentElement.style.fontSize = '14px';
this.designerService.replaceColorPalette();
usePreset(preset);
this.designerService.refreshACTokens();