-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: improve accessibility and address violations
- Loading branch information
1 parent
79c7c04
commit 00d1bff
Showing
17 changed files
with
102 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,38 +4,36 @@ import { Email, GitHub, LinkedIn, Resume } from 'icons'; | |
export const config: Config = { | ||
name: { | ||
display: 'Adam Alston', | ||
aria: 'My name is Adam Alston', | ||
}, | ||
title: { | ||
display: 'Software Engineer', | ||
aria: 'I am a software engineer', | ||
}, | ||
buttons: [ | ||
{ | ||
name: 'github', | ||
display: 'GitHub', | ||
aria: 'Visit my GitHub profile', | ||
aria: 'GitHub profile (opens in new window)', | ||
icon: <GitHub />, | ||
href: 'https://github.com/adamalston/', | ||
}, | ||
{ | ||
name: 'linked-in', | ||
display: 'LinkedIn', | ||
aria: 'Visit my LinkedIn profile', | ||
aria: 'LinkedIn profile (opens in new window)', | ||
icon: <LinkedIn />, | ||
href: 'https://www.linkedin.com/in/adam-alston/', | ||
}, | ||
{ | ||
name: 'resume', | ||
display: 'Resume', | ||
aria: 'View my resume in Google Drive', | ||
aria: 'Resume in Google Drive (opens in new window)', | ||
icon: <Resume />, | ||
href: 'https://drive.google.com/file/d/1VQ_Oeim_e92QEMi64ejGWY5Hf4RRxfeJ/view', | ||
}, | ||
{ | ||
name: 'email', | ||
display: 'Email', | ||
aria: 'Send me an email', | ||
aria: 'Email contact (opens in new window)', | ||
icon: <Email />, | ||
href: 'mailto:[email protected]', | ||
}, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,23 @@ | ||
import { Themes } from 'types'; | ||
|
||
// Enhance contrast by using white and black text with reduced opacity over | ||
// colored backgrounds instead of grey. | ||
// https://m2.material.io/design/color/text-legibility.html#text-backgrounds | ||
export const themes: Themes = { | ||
dark: { | ||
key: 'dark', | ||
primaryTextColor: '#fff', | ||
secondaryTextColor: '#ccc', | ||
tertiaryTextColor: '#999', | ||
secondaryTextColor: '#ffffffdd', | ||
tertiaryTextColor: '#ffffff99', | ||
background: '#000', | ||
shadowColor: 'rgba(0, 0, 0, 0.5)', | ||
shadowColor: '#0000007f', | ||
}, | ||
light: { | ||
key: 'light', | ||
primaryTextColor: '#000', | ||
secondaryTextColor: '#333', | ||
tertiaryTextColor: '#777', | ||
secondaryTextColor: '#000000dd', | ||
tertiaryTextColor: '#00000099', | ||
background: '#fff', | ||
shadowColor: 'rgba(255, 255, 255, 0.5)', | ||
shadowColor: '#ffffff7f', | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.