Skip to content

Commit 6b11d81

Browse files
committed
Fix font family
1 parent b0361d5 commit 6b11d81

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

addon/tailwind/config/fonts.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
export default {
2020
title: [
21-
'Crimson Text',
21+
'"Crimson Text"',
2222
'serif'
2323
],
2424
sans: [

index.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,10 @@ module.exports = {
143143
if (type === 'body') {
144144
return fs.readFileSync(`${__dirname}/vendor/ember-cli-addon-docs/github-spa.html`, 'utf-8');
145145
}
146+
147+
if (type === 'head-footer') {
148+
return `<link href="https://fonts.googleapis.com/css?family=Crimson+Text:400,600" rel="stylesheet">`;
149+
}
146150
},
147151

148152
treeForApp(app) {

tests/dummy/app/index.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
<link rel="shortcut icon" href="/assets/images/favicon.png" />
1313
<link rel="stylesheet" href="{{rootURL}}assets/vendor.css">
1414
<link rel="stylesheet" href="{{rootURL}}assets/dummy.css">
15-
<link href="https://fonts.googleapis.com/css?family=Crimson+Text:400,600" rel="stylesheet">
1615

1716
{{content-for "head-footer"}}
1817
</head>

0 commit comments

Comments
 (0)