Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 14 additions & 2 deletions src/components/Onfido/BaseOnfidoWeb.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,10 @@ function initializeOnfido({sdkToken, onSuccess, onError, onUserExit, preferredLo
colorBorderButtonPrimary: theme.success,
colorContentButtonSecondaryText: theme.text,
colorBackgroundButtonSecondary: theme.border,
colorBackgroundButtonSecondaryHover: theme.icon,
colorBackgroundButtonSecondaryActive: theme.icon,
colorBackgroundButtonSecondaryHover: theme.hoverComponentBG,
colorBackgroundButtonSecondaryActive: theme.hoverComponentBG,
colorBorderButtonSecondary: theme.border,
colorBorderButtonSecondaryHover: theme.transparent,
colorBackgroundIcon: theme.transparent,
colorContentLinkTextHover: theme.appBG,
colorBorderLinkUnderline: theme.link,
Expand All @@ -66,6 +67,17 @@ function initializeOnfido({sdkToken, onSuccess, onError, onUserExit, preferredLo
colorBackgroundDocTypeButtonHover: theme.successHover,
colorBackgroundButtonIconHover: theme.transparent,
colorBackgroundButtonIconActive: theme.transparent,
colorBorderButtonPrimaryFocus: theme.transparent,
colorBorderButtonPrimaryActive: theme.transparent,
colorBorderButtonSecondaryFocus: theme.transparent,
colorBorderButtonSecondaryActive: theme.transparent,
colorIcon: theme.icon,
colorContentButtonTertiaryText: theme.link,
colorBackgroundButtonTertiaryHover: theme.hoverComponentBG,
colorBorderButtonTertiaryFocus: theme.transparent,
colorInputOutline: theme.borderFocus,
colorBackgroundInput: theme.appBG,
colorBorderInput: theme.border,
},
steps: [
{
Expand Down
4 changes: 4 additions & 0 deletions src/components/Onfido/index.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
/* These style overrides are necessary so that the Onfido modal looks nice */
:root {
--ods-color-border-separator: transparent;
}

.onfido-sdk-ui-Modal-inner {
border-style: none !important;
width: 100% !important;
Expand Down