From 60238955474a180e5b5090836cb8d70eaf58e624 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Oliveira?= Date: Mon, 13 Dec 2021 23:23:24 +0000 Subject: [PATCH] fix: font family and default on focus input border --- .../src/components/inputs/base/CodeInput.styles.js | 6 ++++-- new-lamassu-admin/src/components/typography/styles.js | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/new-lamassu-admin/src/components/inputs/base/CodeInput.styles.js b/new-lamassu-admin/src/components/inputs/base/CodeInput.styles.js index 189add4c..0f0bba93 100644 --- a/new-lamassu-admin/src/components/inputs/base/CodeInput.styles.js +++ b/new-lamassu-admin/src/components/inputs/base/CodeInput.styles.js @@ -9,10 +9,12 @@ const styles = { borderRadius: '4px' }, focus: { - color: primaryColor, border: '2px solid', borderColor: primaryColor, - borderRadius: '4px' + borderRadius: '4px', + '&:focus': { + outline: 'none' + } }, error: { borderColor: errorColor diff --git a/new-lamassu-admin/src/components/typography/styles.js b/new-lamassu-admin/src/components/typography/styles.js index 44cfac11..ac06d238 100644 --- a/new-lamassu-admin/src/components/typography/styles.js +++ b/new-lamassu-admin/src/components/typography/styles.js @@ -129,7 +129,7 @@ export default { confirmationCode: { extend: base, fontSize: codeInputFontSize, - fontFamily: fontPrimary, + fontFamily: fontSecondary, fontWeight: 900 }, inline: {