refactor(otp-generator): no more barcode color invertion
This commit is contained in:
		
							parent
							
								
									8787ce72ab
								
							
						
					
					
						commit
						b1d6bfd2dc
					
				| @ -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…
	
		Reference in New Issue
	
	Block a user