mirror of
https://github.com/mastermindzh/rickvanlieshout.com
synced 2024-12-25 22:39:41 +01:00
Merge pull request #956 from Puterism/master
Replace deprecated slash SASS operator to `math.div`
This commit is contained in:
commit
ecd657f632
@ -2,6 +2,8 @@
|
|||||||
* Variables
|
* Variables
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@use "sass:math";
|
||||||
|
|
||||||
// Colors
|
// Colors
|
||||||
$color-base: #222;
|
$color-base: #222;
|
||||||
$color-primary: #5D93FF;
|
$color-primary: #5D93FF;
|
||||||
@ -25,7 +27,7 @@ $typographic-base-font-color: $color-base;
|
|||||||
$typographic-link-p-font-color: $color-primary;
|
$typographic-link-p-font-color: $color-primary;
|
||||||
$typographic-link-s-font-color: $color-secondary;
|
$typographic-link-s-font-color: $color-secondary;
|
||||||
|
|
||||||
$typographic-leading: round(16 * ($typographic-root-font-size / 100) * $typographic-base-line-height);
|
$typographic-leading: round(16 * math.div($typographic-root-font-size, 100) * $typographic-base-line-height);
|
||||||
|
|
||||||
// Buttons
|
// Buttons
|
||||||
$button-height: 35px;
|
$button-height: 35px;
|
||||||
|
Loading…
Reference in New Issue
Block a user