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:
parent
24d0fed8e5
commit
e45089eab3
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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: {
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
Significance: minor
|
||||
Type: enhancement
|
||||
|
||||
CYS - select the right font with AI offline
|
Loading…
Reference in New Issue