Sass functions error when using rem()

Created on 15 August 2023, 11 months ago
Updated 17 August 2023, 11 months ago

Problem/Motivation

Sass is throwing an error when using rem():

[23:02:19] Starting 'sass'...
sass/abstracts/variables/_units.scss
Error: 2 arguments required, but only 1 was passed.
   ╷
11 │ $page-margin: rem(20);
   │               ^^^^^^^
   ╵
  sass/abstracts/variables/_units.scss 11:15  @import
  sass/custom.scss 14:9                       root stylesheet

Steps to reproduce

Run `gulp sass`

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇺🇸United States JonesUI

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024