Skip to content

Commit 9f4974c

Browse files
authored
Merge pull request #414 from BeAPI/feature/normalize-update
feat (scss): remove reset and update normalize
2 parents 4bd4852 + 14dc889 commit 9f4974c

File tree

5 files changed

+114
-176
lines changed

5 files changed

+114
-176
lines changed

src/scss/03-base/_body.scss

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
html {
2+
/* Set automatic RTL direction depending on lang attribute */
3+
@include set-rtl-direction;
4+
5+
/* Apply border-box across the entire page. */
6+
box-sizing: border-box;
7+
8+
// HTML resets
9+
font-family: $font-family-primary;
10+
line-height: $line-height-base;
11+
12+
// Scroll resets
13+
-webkit-overflow-scrolling: touch;
14+
scroll-behavior: smooth;
15+
16+
// Fonts resets
17+
-webkit-font-smoothing: antialiased;
18+
-moz-osx-font-smoothing: grayscale;
19+
text-rendering: auto;
20+
}
21+
22+
body {
23+
font-family: $font-family-primary;
24+
font-size: $font-size-base;
25+
font-weight: normal;
26+
color: $color-text;
27+
background-color: $color-light;
28+
}

0 commit comments

Comments
 (0)