Skip to content

Commit

Permalink
Atkinson Hyperlegible
Browse files Browse the repository at this point in the history
  • Loading branch information
dbtedman committed Feb 5, 2024
1 parent 0e8949e commit b7e37bb
Show file tree
Hide file tree
Showing 7 changed files with 168 additions and 74 deletions.
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright © 2023 [Daniel Tedman](https://tedman.dev)
Copyright © 2024 [Daniel Tedman](https://tedman.dev)

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
27 changes: 14 additions & 13 deletions assets/app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,14 @@ $mobile-break: 600px;
html,
body {
font-size: 20px;
font-family: sans-serif;
font-family: "Atkinson Hyperlegible", sans-serif;
line-height: 1.8rem;
font-weight: 300;
font-weight: 400;
-webkit-font-smoothing: antialiased;
background-color: $background-light;
color: $foreground-light;
}

@media (prefers-color-scheme: dark) {
html,
body {
@media (prefers-color-scheme: dark) {
background-color: $background-dark;
color: $foreground-dark;
}
Expand All @@ -26,9 +23,8 @@ h1,
h2,
h3,
h4 {
font-family: "Impact", sans-serif;
font-weight: 400;
text-transform: uppercase;
font-family: "Atkinson Hyperlegible", sans-serif;
font-weight: 700;
margin: 0;
color: $primary-light;
}
Expand Down Expand Up @@ -144,7 +140,7 @@ article {
color: $primary-light;
padding: 0 0.5rem;
display: inline-block;
font-size: 0.8rem;
font-size: 0.9rem;
margin-right: 1rem;

@media (prefers-color-scheme: dark) {
Expand All @@ -157,7 +153,7 @@ article {
color: $primary-light;
padding: 0 0.5rem;
display: inline-block;
font-size: 0.8rem;
font-size: 0.9rem;
margin-right: 1rem;

a {
Expand Down Expand Up @@ -191,7 +187,7 @@ table {

th,
td {
font-size: 0.8rem;
font-size: 0.9rem;
padding: 0.2rem 0.4rem;
}

Expand Down Expand Up @@ -246,10 +242,15 @@ blockquote {
p > code,
td > code {
background-color: $primary-dark;
font-size: 0.8rem;
color: #fff;
font-size: 0.9rem;
padding: 0.2rem 0.4rem;

@media (prefers-color-scheme: dark) {
background-color: $primary-light;
}
}

.font-usage {
margin-top: 2rem;
}
10 changes: 6 additions & 4 deletions assets/colours.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ $primary-dark: #947767;
$primary-light-alt: #775641;
$primary-light: #694f3f;

$code-dark: lighten($background-dark, 2);
$code-dark-foreground: #eee;
$code-light: darken($background-light, 2);
$code-light-foreground: #333;
$code-dark: $background-dark;
$code-dark-foreground: $background-light;
$code-light: $background-light;
$code-light-border: $primary-dark;
$code-dark-border: $primary-light;
$code-light-foreground: $foreground-light;
Loading

0 comments on commit b7e37bb

Please sign in to comment.