Update font family

This commit is contained in:
Kevin Kandlbinder 2021-10-18 14:45:14 +02:00
parent e0f6ca182a
commit 07c240be4f
5 changed files with 11 additions and 11 deletions

View file

@ -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",

View file

@ -7,4 +7,4 @@ $textColor: white;
$lightTextColor: black;
$layoutPadding: 20px;
$mainFont: "Anonymous Pro", monospace;
$mainFont: "Fira Code", monospace;

View file

@ -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";

View file

@ -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 {

View file

@ -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"