From 69dd7ad5e91afb6edf76a71a60374206d06977c7 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Wed, 15 Feb 2023 18:52:52 +0100 Subject: Added 125 size for moji --- src/objects/_emoji.scss | 7 ++++++- tpl/views/emoji.pug | 10 ++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/src/objects/_emoji.scss b/src/objects/_emoji.scss index ca7a4ca..8d17212 100644 --- a/src/objects/_emoji.scss +++ b/src/objects/_emoji.scss @@ -11,6 +11,11 @@ --zoom: 3, --valign: -.25em, + --125: ( + --size: calc(1 / 14 * 23em), + --valign: -.45em, + ), + --150: ( --size: calc(1 / 14 * 28em), --valign: -.65em, @@ -44,7 +49,7 @@ vertical-align: fn.foreign-dim(--icon, --valign); } - @each $size in '150' '200' { + @each $size in '125' '150' '200' { @include iro.bem-modifier($size) { width: fn.dim(--#{$size} --size); height: fn.dim(--#{$size} --size); diff --git a/tpl/views/emoji.pug b/tpl/views/emoji.pug index c1bcb5c..3d01ca7 100644 --- a/tpl/views/emoji.pug +++ b/tpl/views/emoji.pug @@ -21,6 +21,16 @@ mixin view-emoji =' ' +emoji('drgn')(zoomable=true) + .c-box + =loremIpsum + =' ' + +emoji('drgn')(size=125) + +emoji('drgn')(size=125) + =' ' + =loremIpsum + =' ' + +emoji('drgn')(zoomable=true size=125) + .c-box =loremIpsum =' ' -- cgit v1.2.3-70-g09d2