Skip to content

Commit b42c743

Browse files
authored
fix(a11y): correct luminosity contrast in mgt-file and mgt-login text colors (#3178)
* fix luminosity contrast * update colors
1 parent ae31d26 commit b42c743

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

stories/components/file/file.style.stories.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export const customCSSProperties = () => html`
3434
--file-margin: 3px 4px;
3535
--file-line1-font-size: 15px;
3636
--file-line1-font-weight: 500;
37-
--file-line1-color: gray;
37+
--file-line1-color: blue;
3838
--file-line1-text-transform: capitalize;
3939
--file-line2-font-size:14px;
4040
--file-line2-font-weight:300;

stories/components/login/login.styles.stories.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,27 +18,27 @@ export const customCSSProperties = () => html`
1818
<mgt-login class="login"></mgt-login>
1919
<style>
2020
.login {
21-
--login-signed-out-button-background: red;
21+
--login-signed-out-button-background: yellow;
2222
--login-signed-out-button-hover-background: orange;
23-
--login-signed-out-button-text-color: purple;
24-
--login-signed-in-background: red;
23+
--login-signed-out-button-text-color: maroon;
24+
--login-signed-in-background: yellow;
2525
--login-signed-in-hover-background: green;
2626
--login-button-padding:5px;
2727
--login-popup-background-color: blue;
2828
--login-popup-command-button-background-color: orange;
2929
--login-popup-padding: 8px;
30-
--login-add-account-button-text-color: yellow;
31-
--login-add-account-button-background-color: red;
32-
--login-add-account-button-hover-background-color: purple;
30+
--login-add-account-button-text-color: maroon;
31+
--login-add-account-button-background-color: yellow;
32+
--login-add-account-button-hover-background-color: white;
3333
--login-command-button-background-color: orange;
3434
--login-command-button-hover-background-color: purple;
3535
--login-command-button-text-color: black;
3636
--login-account-item-hover-bg-color: black;
3737
--login-flyout-command-text-color: maroon;
3838
3939
/** person component tokens **/
40-
--person-line1-text-color: whitesmoke;
41-
--person-line2-text-color: white;
40+
--person-line1-text-color: maroon;
41+
--person-line2-text-color: maroon;
4242
--person-background-color: blue;
4343
}
4444
</style>

0 commit comments

Comments
 (0)