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';
|
fontPairing = 'Bodoni Moda + Overpass';
|
||||||
break;
|
break;
|
||||||
case choice === 'Bold':
|
case choice === 'Bold':
|
||||||
fontPairing = 'Plus Jakarta Sans + Plus Jakarta Sans';
|
fontPairing = 'Rubik + Inter';
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -323,19 +323,8 @@ export const designWithAiStateMachineDefinition = createMachine(
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
chooseFontPairing: {
|
chooseFontPairing: {
|
||||||
initial: 'executeOrSkip',
|
initial: 'pending',
|
||||||
states: {
|
states: {
|
||||||
executeOrSkip: {
|
|
||||||
always: [
|
|
||||||
{
|
|
||||||
target: 'pending',
|
|
||||||
cond: 'isAiOnline',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
target: 'success',
|
|
||||||
},
|
|
||||||
],
|
|
||||||
},
|
|
||||||
pending: {
|
pending: {
|
||||||
entry: [ 'assignFontPairing' ],
|
entry: [ 'assignFontPairing' ],
|
||||||
always: {
|
always: {
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
Significance: minor
|
||||||
|
Type: enhancement
|
||||||
|
|
||||||
|
CYS - select the right font with AI offline
|
Loading…
Reference in New Issue