summaryrefslogtreecommitdiffstats
path: root/tpl
diff options
context:
space:
mode:
Diffstat (limited to 'tpl')
-rw-r--r--tpl/objects/emoji.pug3
-rw-r--r--tpl/views/emoji.pug7
2 files changed, 10 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
diff --git a/tpl/views/emoji.pug b/tpl/views/emoji.pug
index 0cfb3f7..8410794 100644
--- a/tpl/views/emoji.pug
+++ b/tpl/views/emoji.pug
@@ -11,3 +11,10 @@ mixin view-emoji
11 +emoji('drgn')(zoomable=true) 11 +emoji('drgn')(zoomable=true)
12 =' ' 12 =' '
13 =loremIpsum 13 =loremIpsum
14 =' '
15 +emoji('drgn')(size=125)
16 +emoji('drgn')(size=125)
17 =' '
18 =loremIpsum
19 =' '
20 +emoji('drgn')(zoomable=true size=125)