Skip to content

Commit 0113aaf

Browse files
committed
Clean up base typography
1 parent f9c1b5f commit 0113aaf

File tree

6 files changed

+15
-28
lines changed

6 files changed

+15
-28
lines changed

src/_base-placeholders.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
@import 'base-placeholders/h5';
1313
@import 'base-placeholders/h6';
1414
@import 'base-placeholders/hr';
15-
@import 'base-placeholders/html';
1615
@import 'base-placeholders/img';
1716
@import 'base-placeholders/margins';
1817
@import 'base-placeholders/ol';

src/base-placeholders/_body.scss

Lines changed: 0 additions & 5 deletions
This file was deleted.

src/base-placeholders/_html.scss

Lines changed: 0 additions & 12 deletions
This file was deleted.

src/base-placeholders/_strong.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
/// @access public
33

44
%strong {
5-
font-weight: bold;
5+
@include font-weight(bold);
66
}

src/base/_html.scss

Lines changed: 0 additions & 7 deletions
This file was deleted.

src/base/_typography.scss

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
* {
1+
html,
2+
h1,
3+
h2,
4+
h3,
5+
h4,
6+
h5,
7+
h6 {
28
font-size: var(--font-size);
39
font-weight: var(--font-weight);
410
font-variation-settings: 'wght' var(--font-weight);
@@ -7,7 +13,13 @@
713
}
814

915
html {
10-
@extend %html !optional;
16+
@include color(default);
17+
@include font(base);
18+
font-family: var(--font-family);
19+
-webkit-font-smoothing: antialiased;
20+
-moz-osx-font-smoothing: grayscale;
21+
-ms-text-size-adjust: 100%;
22+
-webkit-text-size-adjust: 100%;
1123
}
1224

1325
body {

0 commit comments

Comments
 (0)