mirror of
https://github.com/CorentinTh/it-tools.git
synced 2025-04-24 16:56:14 -04:00
refactor(otp-generator): no more barcode color invertion
This commit is contained in:
parent
8787ce72ab
commit
b1d6bfd2dc
1 changed files with 4 additions and 1 deletions
|
@ -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 },
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue