Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .changeset/heavy-spiders-check.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
"@db-ux/core-components": patch
"@db-ux/ngx-core-components": patch
"@db-ux/react-core-components": patch
"@db-ux/wc-core-components": patch
"@db-ux/v-core-components": patch
---

fix(SASS): return typed values from scss functions instead of strings
4 changes: 2 additions & 2 deletions packages/foundations/scss/helpers/_functions.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
@use "clearfix";

@function px-to-rem($pxValue) {
@return #{$pxValue * 0.0625}rem;
@return ($pxValue * 0.0625) * 1rem;
}

@function px-to-em($pxValue) {
@return #{$pxValue * 0.0625}em;
@return ($pxValue * 0.0625) * 1em;
}

$cursor-pointer: var(--db-overwrite-cursor, pointer);
Expand Down