diff options
author | Volpeon <git@volpeon.ink> | 2023-01-28 16:05:37 +0100 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2023-01-28 16:05:37 +0100 |
commit | 44d19cf5faf41b2cd576fc353ee16cb643584fb2 (patch) | |
tree | c57e4399ab8b5ea85677610f915dd2cd319a293a /tpl/objects | |
parent | Fix (diff) | |
download | iro-design-44d19cf5faf41b2cd576fc353ee16cb643584fb2.tar.gz iro-design-44d19cf5faf41b2cd576fc353ee16cb643584fb2.tar.bz2 iro-design-44d19cf5faf41b2cd576fc353ee16cb643584fb2.zip |
Emoji
Diffstat (limited to 'tpl/objects')
-rw-r--r-- | tpl/objects/emoji.pug | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tpl/objects/emoji.pug b/tpl/objects/emoji.pug index 5bf3a3b..3509112 100644 --- a/tpl/objects/emoji.pug +++ b/tpl/objects/emoji.pug | |||
@@ -7,6 +7,9 @@ mixin emoji(id) | |||
7 | if (attributes.class) { | 7 | if (attributes.class) { |
8 | classes[attributes.class] = true; | 8 | classes[attributes.class] = true; |
9 | } | 9 | } |
10 | if (attributes.size) { | ||
11 | classes['o-emoji--' + attributes.size] = true; | ||
12 | } | ||
10 | 13 | ||
11 | src = id + '.png' | 14 | src = id + '.png' |
12 | 15 | ||