Skip to content

Commit 7072982

Browse files
refactor: replaced Google APIs reference (#1454)
* refactor: removed Google APIs reference * refactor: removed Google APIs reference * refactor: retrieving the fonts locally * refactor: building packages/starterkit-handlebars-demo Co-authored-by: Josef Bredreck <13408112+JosefBredereck@users.noreply.github.com>
1 parent 900813d commit 7072982

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+217
-8
lines changed

packages/development-edition-engine-handlebars/source/_meta/_head.hbs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88
<link rel="stylesheet" href="../../css/style.css?{{ cacheBuster }}" media="all" />
99
<link rel="stylesheet" href="../../css/pattern-scaffolding.css?{{ cacheBuster }}" media="all" />
10-
<link href="https://fonts.googleapis.com/css?family=Abel|Raleway:400,400i,700" rel="stylesheet">
1110

1211
<!--<Deject>-->
1312
<!-- Begin Pattern Lab (Required for Pattern Lab to run properly) -->

packages/starterkit-handlebars-demo/dist/_meta/_head.hbs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88
<link rel="stylesheet" href="../../css/style.css?{{ cacheBuster }}" media="all" />
99
<link rel="stylesheet" href="../../css/pattern-scaffolding.css?{{ cacheBuster }}" media="all" />
10-
<link href="https://fonts.googleapis.com/css?family=Abel|Raleway:400,400i,700" rel="stylesheet">
1110

1211
<!--<Deject>-->
1312
<!-- Begin Pattern Lab (Required for Pattern Lab to run properly) -->

packages/starterkit-handlebars-demo/dist/css/pattern-scaffolding.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
/*------------------------------------*\
2+
#FONT REFERENCES
3+
\*------------------------------------*/
4+
5+
/**
6+
* Referencing SCSS mixins by @fontsource library
7+
* Hardening references by – redundant, but specifically – declaring the variables previous to @include
8+
*/
9+
10+
// Generate CSS declarations for Abel font
11+
@import "@fontsource/abel/scss/mixins";
12+
$style: normal;
13+
$weight: 400;
14+
@include fontFace($fontDir: '../fonts');
15+
16+
// Generate CSS declarations for Raleway font
17+
@import "@fontsource/raleway/scss/mixins";
18+
$style: normal;
19+
$weight: 400;
20+
@include fontFace($fontDir: '../fonts');
21+
$style: italic;
22+
$weight: 400;
23+
@include fontFace($fontDir: '../fonts');
24+
$style: normal;
25+
$weight: 700;
26+
@include fontFace($fontDir: '../fonts');

packages/starterkit-handlebars-demo/dist/css/style.css

Lines changed: 136 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)