Skip to content

Commit

Permalink
Merge pull request #10 from apsuhos/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
apsuhos authored Mar 26, 2024
2 parents e6cb714 + 0368985 commit 139ffb2
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 27 deletions.
4 changes: 0 additions & 4 deletions elements/_headings.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@ h6 {
font-family: var(--global-system-fonts);
font-style: normal;
font-weight: 700;

@if s.config(custom-fonts) {
font-family: CeraPro, var(--global-system-fonts);
}
}

$mobile-headings: map.get(s.$headings, 'mobile');
Expand Down
4 changes: 0 additions & 4 deletions elements/_page.scss
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,4 @@ body {
-moz-osx-font-smoothing: grayscale;
font-style: normal;
font-weight: 400;

@if s.config(custom-fonts) {
font-family: CeraPro, var(--global-system-fonts);
}
}
19 changes: 0 additions & 19 deletions settings/_typography.scss
Original file line number Diff line number Diff line change
@@ -1,25 +1,6 @@
/* #TYPOGRAPHY */

@use 'sass:map';
@use '../settings/config' as s;

@if s.config(custom-fonts) {
@font-face {
font-display: swap;
font-family: CeraPro;
font-style: normal;
font-weight: 400;
src: local(''), url('../fonts/cera-pro/cera-pro-regular.otf') format('opentype');
}

@font-face {
font-display: swap;
font-family: CeraPro;
font-style: normal;
font-weight: 700;
src: local(''), url('../fonts/cera-pro/cera-pro-bold.otf') format('opentype');
}
}

$typography: (
'mobile': (
Expand Down

0 comments on commit 139ffb2

Please sign in to comment.