CYS - select the right font with AI offline (#42973)

* CYS - select the right font with AI offline

* Add changefile(s) from automation for the following project(s): woocommerce

---------

Co-authored-by: github-actions <github-actions@github.com>
This commit is contained in:
Luigi Teschio 2023-12-20 15:41:19 +01:00 committed by GitHub
parent 24d0fed8e5
commit e45089eab3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 13 deletions

View File

@ -130,7 +130,7 @@ const assignFontPairing = assign<
fontPairing = 'Bodoni Moda + Overpass';
break;
case choice === 'Bold':
fontPairing = 'Plus Jakarta Sans + Plus Jakarta Sans';
fontPairing = 'Rubik + Inter';
break;
}

View File

@ -323,19 +323,8 @@ export const designWithAiStateMachineDefinition = createMachine(
},
},
chooseFontPairing: {
initial: 'executeOrSkip',
initial: 'pending',
states: {
executeOrSkip: {
always: [
{
target: 'pending',
cond: 'isAiOnline',
},
{
target: 'success',
},
],
},
pending: {
entry: [ 'assignFontPairing' ],
always: {

View File

@ -0,0 +1,4 @@
Significance: minor
Type: enhancement
CYS - select the right font with AI offline