Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions app/assets/config/manifest.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
//= link_tree ../images
//= link_tree ../fonts

//= link es5-shim.min.js
//= link html5shiv.js
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added app/assets/fonts/public-sans/PublicSans-Bold.woff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added app/assets/fonts/public-sans/PublicSans-Thin.woff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion app/assets/stylesheets/variables/_vendor.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
$theme-body-font-size: 'sm';
$theme-font-path: 'identity-style-guide/dist/assets/fonts';
$theme-font-path: '.';
$theme-image-path: 'identity-style-guide/dist/assets/img';
$theme-global-border-box-sizing: true;
$theme-global-link-styles: true;
Expand Down
4 changes: 2 additions & 2 deletions app/views/layouts/base.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
<%= backwards_compatible_javascript_tag do %>
document.documentElement.className = document.documentElement.className.replace(/\bno-js\b/, 'js');
<% end %>
<%= preload_link_tag font_url('identity-style-guide/dist/assets/fonts/public-sans/PublicSans-Bold.woff2') %>
<%= preload_link_tag font_url('identity-style-guide/dist/assets/fonts/public-sans/PublicSans-Regular.woff2') %>
<%= preload_link_tag font_url('public-sans/PublicSans-Bold.woff2') %>
<%= preload_link_tag font_url('public-sans/PublicSans-Regular.woff2') %>
<%= stylesheet_link_tag 'application', media: 'all' %>
<!--[if IE 8]>
<%= javascript_include_tag_without_preload 'es5-shim.min' %>
Expand Down
5 changes: 4 additions & 1 deletion config/initializers/assets.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@
Rails.application.config.assets.version = '1.0'

# Add additional assets to the asset load path
Rails.application.config.assets.paths << Rails.root.join('node_modules')
Rails.application.config.assets.paths.push(
'node_modules',
'node_modules/identity-style-guide/dist/assets/fonts',
)

# Fix sassc sometimes segfaulting
Rails.application.config.assets.configure do |env|
Expand Down