Skip to content

Commit

Permalink
Merge pull request #414 from BeAPI/feature/normalize-update
Browse files Browse the repository at this point in the history
feat (scss): remove reset and update normalize
  • Loading branch information
francoistibo authored Sep 9, 2024
2 parents 4bd4852 + 14dc889 commit 9f4974c
Show file tree
Hide file tree
Showing 5 changed files with 114 additions and 176 deletions.
28 changes: 28 additions & 0 deletions src/scss/03-base/_body.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
html {
/* Set automatic RTL direction depending on lang attribute */
@include set-rtl-direction;

/* Apply border-box across the entire page. */
box-sizing: border-box;

// HTML resets
font-family: $font-family-primary;
line-height: $line-height-base;

// Scroll resets
-webkit-overflow-scrolling: touch;
scroll-behavior: smooth;

// Fonts resets
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-rendering: auto;
}

body {
font-family: $font-family-primary;
font-size: $font-size-base;
font-weight: normal;
color: $color-text;
background-color: $color-light;
}
Loading

0 comments on commit 9f4974c

Please sign in to comment.