qr code layouts im mobile admin perfektioniert.
This commit is contained in:
@@ -705,7 +705,7 @@ export async function createFabricObject({
|
||||
width: element.width,
|
||||
height: element.height,
|
||||
fontSize: element.fontSize ?? 36,
|
||||
fill: textColor,
|
||||
fill: element.fill ?? textColor,
|
||||
fontFamily: element.fontFamily ?? 'Lora',
|
||||
textAlign: mapTextAlign(element.align),
|
||||
lineHeight: element.lineHeight ?? 1.5,
|
||||
@@ -718,7 +718,7 @@ export async function createFabricObject({
|
||||
width: element.width,
|
||||
height: element.height,
|
||||
fontSize: element.fontSize ?? 24,
|
||||
fill: accentColor,
|
||||
fill: element.fill ?? accentColor,
|
||||
fontFamily: element.fontFamily ?? 'Montserrat',
|
||||
underline: true,
|
||||
textAlign: mapTextAlign(element.align),
|
||||
@@ -732,7 +732,7 @@ export async function createFabricObject({
|
||||
text: element.content ?? '',
|
||||
width: element.width,
|
||||
height: element.height,
|
||||
backgroundColor: badgeColor,
|
||||
backgroundColor: element.fill ?? badgeColor,
|
||||
textColor: '#ffffff',
|
||||
fontSize: element.fontSize ?? 22,
|
||||
lineHeight: element.lineHeight ?? 1.5,
|
||||
@@ -744,7 +744,7 @@ export async function createFabricObject({
|
||||
text: element.content ?? '',
|
||||
width: element.width,
|
||||
height: element.height,
|
||||
backgroundColor: accentColor,
|
||||
backgroundColor: element.fill ?? accentColor,
|
||||
textColor: '#ffffff',
|
||||
fontSize: element.fontSize ?? 24,
|
||||
cornerRadius: 18,
|
||||
|
||||
Reference in New Issue
Block a user