From b035f205c1209a983d5cdfb6ea0b3fce9025f407 Mon Sep 17 00:00:00 2001 From: Fara Woolf Date: Fri, 17 Nov 2023 12:20:49 -0600 Subject: [PATCH] fix: qr code --- src/app/pages/receive/components/address-qr-code.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/app/pages/receive/components/address-qr-code.tsx b/src/app/pages/receive/components/address-qr-code.tsx index e56d602e225..ece753c93cc 100644 --- a/src/app/pages/receive/components/address-qr-code.tsx +++ b/src/app/pages/receive/components/address-qr-code.tsx @@ -2,6 +2,7 @@ import { memo, useMemo } from 'react'; import { createQR } from '@vkontakte/vk-qr'; import { Box, Flex } from 'leather-styles/jsx'; +import { token } from 'leather-styles/tokens'; export const QrCode = memo(({ principal, ...rest }: { principal: string }) => { const qrSvg = useMemo( @@ -9,8 +10,8 @@ export const QrCode = memo(({ principal, ...rest }: { principal: string }) => { createQR(principal, { ecc: 0, qrSize: 180, - backgroundColor: 'accent.text-primary', - foregroundColor: 'invert', + backgroundColor: token('colors.accent.background-primary'), + foregroundColor: token('colors.accent.text-primary'), }), [principal] );