Skip to content

Commit 74a55a7

Browse files
authored
Merge pull request #19485 from mozilla/fix-text-color-aa-standard
fix(settings): meet WCAG AA standard for 3rd-party auth divider text
2 parents eb133bf + c8e6cba commit 74a55a7

2 files changed

Lines changed: 10 additions & 1 deletion

File tree

packages/fxa-settings/src/components/ThirdPartyAuth/index.stories.tsx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,22 @@ export default {
1616
} as Meta;
1717

1818
export const Default = () => {
19+
// Default separator type is 'or'
1920
return (
2021
<AppLayout>
2122
<Subject showSeparator />
2223
</AppLayout>
2324
);
2425
};
2526

27+
export const SignInWithSeparator = () => {
28+
return (
29+
<AppLayout>
30+
<Subject showSeparator separatorType="signInWith" />
31+
</AppLayout>
32+
);
33+
};
34+
2635
export const NoSeparator = () => {
2736
return (
2837
<AppLayout>

packages/fxa-settings/src/components/ThirdPartyAuth/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ const ThirdPartyAuth = ({
6464
separatorType === 'signInWith' ? 'Sign in with' : 'or';
6565
return (
6666
<FtlMsg id={id}>
67-
<div className="mx-4 text-base text-grey-300 font-extralight">
67+
<div className="mx-4 text-base text-grey-500 font-extralight">
6868
{defaultText}
6969
</div>
7070
</FtlMsg>

0 commit comments

Comments
 (0)