Skip to content

Commit

Permalink
Use SASS math.div (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
ajfarkas authored Jun 14, 2021
1 parent 6a3c16e commit 43f702c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion normalize/_document.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
Document styling normalization.
========================================================================== */
@use 'sass:math';

$base-font-size: 16 !default;
$base-line-height: 1.15 !default;
Expand All @@ -15,7 +16,7 @@ $base-font-family: Times, serif !default;

html {
font-family: $base-font-family;
font-size: percentage($base-font-size / 16);
font-size: percentage(math.div($base-font-size, 16));
line-height: $base-line-height; /* 1 */
-webkit-text-size-adjust: 100%; /* 2 */
}
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fizzion-normalize",
"version": "8.1.0",
"version": "8.1.1",
"description": "Normalize.css as a node packaged module using scss",
"main": "main.scss",
"style": "main.scss",
Expand Down

0 comments on commit 43f702c

Please sign in to comment.