Skip to content

Commit

Permalink
Patternlab/fix fonts paths (#1212)
Browse files Browse the repository at this point in the history
* remove texta references

* make relative path

* fix path
  • Loading branch information
clairesunstudio authored Oct 15, 2020
1 parent 7d01110 commit ebdee9c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 0 additions & 4 deletions packages/patternlab/styleguide/source/_meta/_00-head.twig
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">

<link rel="preload" href="../../assets/fonts/texta-black-webfont.woff2" as="font" crossorigin />
<link rel="preload" href="../../assets/fonts/texta-bold-webfont.woff2" as="font" crossorigin />
<link rel="preload" href="../../assets/fonts/texta-book-webfont.woff2" as="font" crossorigin />

<link rel="stylesheet" href="../../assets/css/index-generated.css?{{ cacheBuster }}" media="all" />

<script src="../../assets/js/vendor/modernizr.js"></script>
Expand Down
3 changes: 2 additions & 1 deletion packages/patternlab/styleguide/source/assets/scss/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
// Bower vendors
@use "pikaday";
@use "00-base/global" with(
$assets-path: '/assets'
// relative to the compiled css in public/
$assets-path: '../../assets'
);
@use "00-base/z-index";
// Base theme variables
Expand Down

0 comments on commit ebdee9c

Please sign in to comment.