Skip to content

Commit

Permalink
Use Atkinson Hyperlegible Font
Browse files Browse the repository at this point in the history
  • Loading branch information
christinach committed Nov 27, 2023
1 parent 724b531 commit 94e3ab1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/assets/stylesheets/variables/typography.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
$font-serif: 'Droid Serif', Georgia, Times, serif !default;
$font-sans: 'Dejavu Sans', Helvetica, sans-serif !default;
$font-sans: 'Atkinson Hyperlegible','Times New Roman', sans-serif !default;
$font-sans-alt: praxis-next-condensed, Helvetica, sans-serif !default;
$font-mono: 'Lucida Console', Monaco, monospace !default;
$text-color: #000 !default;
Expand Down
4 changes: 4 additions & 0 deletions app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@
<%= javascript_include_tag "https://www.google.com/books/jsapi.js" %>
<%= csrf_meta_tags %>
<%= content_for(:head) %>
<%# enable Atkinson Hyperlegible font %>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Atkinson+Hyperlegible:wght@400;700&display=swap" rel="stylesheet">
<link rel="unapi-server" type="application/xml" title="unAPI" href="/unapi"/>
<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
Expand Down

0 comments on commit 94e3ab1

Please sign in to comment.