12 lines
294 B
SCSS
12 lines
294 B
SCSS
@use "sass:math";
|
|
|
|
// tldr as to why this exists: i wanna use the same values as in my awesome config so i want to have a dpi function
|
|
$dpi: 120;
|
|
@function dpi($power) {
|
|
@return math.round(math.div($power, 96) * 120);
|
|
}
|
|
|
|
$roundness: dpi(8px);
|
|
$border-width: dpi(1.5px);
|
|
$padding: dpi(4px);
|