1
0
Fork 0
mirror of https://github.com/CorentinTh/it-tools.git synced 2025-07-19 05:09:37 +02:00

refactor(otp-generator): no more barcode color invertion

This commit is contained in:
Corentin Thomasset 2023-03-26 16:08:44 +02:00 committed by Corentin THOMASSET
parent 8787ce72ab
commit b1d6bfd2dc

View file

@ -84,7 +84,10 @@ const keyUri = computed(() => buildKeyUri({ secret: secret.value }));
const { qrcode } = useQRCode({
text: keyUri,
color: { background: '#00000000', foreground: computed(() => (styleStore.isDarkTheme ? '#ffffff' : '#000000')) },
color: {
background: computed(() => (styleStore.isDarkTheme ? '#ffffff' : '#00000000')),
foreground: '#000000',
},
options: { width: 210 },
});