diff --git a/package.json b/package.json index d3e0a33..79e5fbf 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "dependencies": { "@babel/cli": "7.15.7", "@babel/plugin-transform-typescript": "7.15.8", - "@fontsource/anonymous-pro": "4.5.0", + "@fontsource/fira-code": "^4.5.1", "@mdx-js/mdx": "1.6.22", "@mdx-js/react": "1.6.22", "animejs": "3.2.1", diff --git a/src/_variables.scss b/src/_variables.scss index b8cbab4..825650b 100644 --- a/src/_variables.scss +++ b/src/_variables.scss @@ -7,4 +7,4 @@ $textColor: white; $lightTextColor: black; $layoutPadding: 20px; -$mainFont: "Anonymous Pro", monospace; +$mainFont: "Fira Code", monospace; diff --git a/src/layouts/default.scss b/src/layouts/default.scss index dbaceab..2db4737 100644 --- a/src/layouts/default.scss +++ b/src/layouts/default.scss @@ -1,5 +1,5 @@ -@import "~@fontsource/anonymous-pro/index.css"; -@import "~@fontsource/anonymous-pro/700.css"; +@import "~@fontsource/fira-code/index.css"; +@import "~@fontsource/fira-code/700.css"; @import "../variables"; diff --git a/src/pages/index.module.scss b/src/pages/index.module.scss index 788b00a..affa961 100644 --- a/src/pages/index.module.scss +++ b/src/pages/index.module.scss @@ -75,7 +75,7 @@ .name { font-weight: 100; - font-size: 2em; + font-size: 1.8em; display: block; } @@ -92,7 +92,7 @@ .contactLink { transition: text-decoration 0.5s; - text-decoration: underline dotted rgba(0, 0, 0, 0); + text-decoration: underline dotted rgba(white, 0); padding: 6px 0 6px 0; color: $textColor; display: flex; @@ -112,7 +112,7 @@ .contactLink:hover, .contactLink:active { - text-decoration: underline dotted rgba(0, 0, 0, 0.5); + text-decoration: underline dotted rgba(white, 0.5); } .contactLink > i { diff --git a/yarn.lock b/yarn.lock index 5a31609..c0e3a1c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1140,10 +1140,10 @@ minimatch "^3.0.4" strip-json-comments "^3.1.1" -"@fontsource/anonymous-pro@4.5.0": - version "4.5.0" - resolved "https://registry.yarnpkg.com/@fontsource/anonymous-pro/-/anonymous-pro-4.5.0.tgz#cc618eb2692ed0414f45c5e1c2ab1efeb5ca10d7" - integrity sha512-4+JsJ0J/0NZvqiKv6TtkG5fCrs5RNSylAQ4vEifCRTlIZCWUDAjEmRz6s0DdRicTSLaOBoAUIp7efufWmHbpmw== +"@fontsource/fira-code@^4.5.1": + version "4.5.1" + resolved "https://registry.yarnpkg.com/@fontsource/fira-code/-/fira-code-4.5.1.tgz#7e3e8f2f633807c69c45cefe1dd5255563826207" + integrity sha512-8KTCsfs5m3UgICpHLglIKAS7vc2FFOu7/vvpWcE/42SWbh+9X8EJbEyJp6W96kU5iDVlAlUv4Cqc36Z9XUpLmA== "@gatsbyjs/reach-router@^1.3.6": version "1.3.6"