qr code layouts im mobile admin perfektioniert.

This commit is contained in:
Codex Agent
2025-12-14 22:14:30 +01:00
parent c8b149d887
commit a8b6e5d9c4
7 changed files with 369 additions and 230 deletions

View File

@@ -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,