diff options
| author | Volpeon <git@volpeon.ink> | 2023-10-30 18:50:50 +0100 |
|---|---|---|
| committer | Volpeon <git@volpeon.ink> | 2023-10-30 18:50:50 +0100 |
| commit | 726b0fb550571b7702a500f61cbe63bbee847eab (patch) | |
| tree | d19f2e693c6c6f55b11b565b1a845adce5228058 /src/_functions.scss | |
| parent | Fix badge + action button combo (diff) | |
| download | iro-design-726b0fb550571b7702a500f61cbe63bbee847eab.tar.gz iro-design-726b0fb550571b7702a500f61cbe63bbee847eab.tar.bz2 iro-design-726b0fb550571b7702a500f61cbe63bbee847eab.zip | |
Badge
Diffstat (limited to 'src/_functions.scss')
| -rw-r--r-- | src/_functions.scss | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/_functions.scss b/src/_functions.scss index 6b14c6b..b956b67 100644 --- a/src/_functions.scss +++ b/src/_functions.scss | |||
| @@ -139,3 +139,7 @@ | |||
| 139 | 139 | ||
| 140 | @return $colors; | 140 | @return $colors; |
| 141 | } | 141 | } |
| 142 | |||
| 143 | @function px-to-em($size, $base: iro.$vars-root-size) { | ||
| 144 | @return math.div($size, $base) * 1em; | ||
| 145 | } | ||
