Skip to content

Commit f3bf94e

Browse files
committed
fix more styles
1 parent 7f62547 commit f3bf94e

1 file changed

Lines changed: 13 additions & 1 deletion

File tree

src/components/Onfido/BaseOnfidoWeb.tsx

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ function initializeOnfido({sdkToken, onSuccess, onError, onUserExit, preferredLo
4040
colorContentTitle: theme.text,
4141
colorContentSubtitle: theme.text,
4242
colorContentBody: theme.text,
43+
colorContentSecondary: theme.text,
4344
borderRadiusButton: `${variables.buttonBorderRadius}px`,
4445
colorBackgroundSurfaceModal: theme.appBG,
4546
colorBorderDocTypeButton: theme.border,
@@ -52,7 +53,7 @@ function initializeOnfido({sdkToken, onSuccess, onError, onUserExit, preferredLo
5253
colorContentButtonSecondaryText: theme.text,
5354
colorBackgroundButtonSecondary: theme.border,
5455
colorBackgroundButtonSecondaryHover: theme.hoverComponentBG,
55-
colorBackgroundButtonSecondaryActive: theme.icon,
56+
colorBackgroundButtonSecondaryActive: theme.hoverComponentBG,
5657
colorBorderButtonSecondary: theme.border,
5758
colorBorderButtonSecondaryHover: theme.transparent,
5859
colorBackgroundIcon: theme.transparent,
@@ -67,6 +68,17 @@ function initializeOnfido({sdkToken, onSuccess, onError, onUserExit, preferredLo
6768
colorBackgroundDocTypeButtonHover: theme.successHover,
6869
colorBackgroundButtonIconHover: theme.transparent,
6970
colorBackgroundButtonIconActive: theme.transparent,
71+
colorBorderButtonPrimaryFocus: theme.transparent,
72+
colorBorderButtonPrimaryActive: theme.transparent,
73+
colorBorderButtonSecondaryFocus: theme.transparent,
74+
colorBorderButtonSecondaryActive: theme.transparent,
75+
colorIcon: theme.icon,
76+
colorContentButtonTertiaryText: theme.link,
77+
colorBackgroundButtonTertiaryHover: theme.hoverComponentBG,
78+
colorBorderButtonTertiaryFocus: theme.transparent,
79+
colorInputOutline: theme.borderFocus,
80+
colorBackgroundInput: theme.appBG,
81+
colorBorderInput: theme.border,
7082
},
7183
steps: [
7284
{

0 commit comments

Comments
 (0)