diff --git a/src/assets/icons/oidc/icon.svg b/src/assets/icons/oidc/icon.svg new file mode 100644 index 00000000..9331d11f --- /dev/null +++ b/src/assets/icons/oidc/icon.svg @@ -0,0 +1,11 @@ + + + + + + + + + \ No newline at end of file diff --git a/src/components/GithubLoginButton.tsx b/src/components/GithubLoginButton.tsx index 0c91084d..43a31827 100644 --- a/src/components/GithubLoginButton.tsx +++ b/src/components/GithubLoginButton.tsx @@ -51,8 +51,8 @@ const GithubLoginButton: FC = ({ type = "login", source = "webapp", clien }; return ( - ); diff --git a/src/components/GoogleLoginButton.tsx b/src/components/GoogleLoginButton.tsx index 005eff75..d97ebafe 100644 --- a/src/components/GoogleLoginButton.tsx +++ b/src/components/GoogleLoginButton.tsx @@ -48,7 +48,7 @@ const GoogleLoginInner: FC = ({ type = "login", loaded, loadError }) => { disabled={!loaded || isLoading} >
- + {loadError ? "Script Load Error!" : loaded diff --git a/src/components/styled/Button.tsx b/src/components/styled/Button.tsx index cbf2940f..e11eb464 100644 --- a/src/components/styled/Button.tsx +++ b/src/components/styled/Button.tsx @@ -16,7 +16,7 @@ const StyledButton = ({ children, className = "", ...rest }: Props) => { `text-sm text-white bg-primary-400 break-keep shadow-sm rounded-lg px-3.5 h-11 md:hover:bg-primary-500 active:bg-primary-500 disabled:bg-gray-300 disabled:hover:bg-gray-300 disabled:hover:cursor-not-allowed`, isFull && "w-full text-center justify-center", isGhost && - " !text-gray-600 dark:!text-gray-100 !border !border-solid !border-gray-300 dark:!border-gray-500 !bg-transparent", + " !text-gray-700 dark:!text-gray-100 !border !border-solid !border-gray-300 dark:!border-gray-500 !bg-transparent", isCancel && "!bg-transparent !text-black dark:!text-gray-50 !border !border-solid !border-gray-200", isSmall && "!h-auto !py-2", diff --git a/src/routes/login/MetamaskLoginButton.tsx b/src/routes/login/MetamaskLoginButton.tsx index a8f835d1..1437d3f5 100644 --- a/src/routes/login/MetamaskLoginButton.tsx +++ b/src/routes/login/MetamaskLoginButton.tsx @@ -96,11 +96,11 @@ export default function MetamaskLoginButton({ }; return ( ); diff --git a/src/routes/login/OidcLoginButton.tsx b/src/routes/login/OidcLoginButton.tsx index 0ebc163a..9c7dd7c3 100644 --- a/src/routes/login/OidcLoginButton.tsx +++ b/src/routes/login/OidcLoginButton.tsx @@ -8,6 +8,7 @@ import Modal from "@/components/Modal"; import StyledButton from "@/components/styled/Button"; import Button from "@/components/styled/Button"; import StyledModal from "@/components/styled/Modal"; +import IconIODC from "@/assets/icons/oidc/icon.svg"; import OidcLoginEntry from "./OidcLoginEntry"; interface IProps { @@ -22,11 +23,12 @@ const OidcLoginButton: FC = ({ issuers, type = "login" }) => { return ( <> {modal && (