summaryrefslogtreecommitdiffstats
path: root/tpl/objects
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2023-02-05 19:34:44 +0100
committerVolpeon <git@volpeon.ink>2023-02-05 19:34:44 +0100
commit7ef3a81eab1aa167d3c9abb3b5100bf26001244d (patch)
treefd50e9d22613fd2b378500685ce6c483da5eb81f /tpl/objects
parentSimplified dialog (diff)
downloadiro-design-7ef3a81eab1aa167d3c9abb3b5100bf26001244d.tar.gz
iro-design-7ef3a81eab1aa167d3c9abb3b5100bf26001244d.tar.bz2
iro-design-7ef3a81eab1aa167d3c9abb3b5100bf26001244d.zip
Bubble
Diffstat (limited to 'tpl/objects')
-rw-r--r--tpl/objects/bubble.pug7
-rw-r--r--tpl/objects/text-field.pug6
2 files changed, 7 insertions, 6 deletions
diff --git a/tpl/objects/bubble.pug b/tpl/objects/bubble.pug
index 03fb10d..52f8949 100644
--- a/tpl/objects/bubble.pug
+++ b/tpl/objects/bubble.pug
@@ -8,9 +8,10 @@ mixin bubble(user)
8 block ? block() : undefined 8 block ? block() : undefined
9 9
10 let classes = { 10 let classes = {
11 'o-bubble': true, 11 'o-bubble': true,
12 'o-bubble--75': attributes.compact, 12 'o-bubble--75': attributes.compact,
13 't-raised': !attributes.theme 13 'o-bubble--highlight': attributes.highlight,
14 't-raised': !attributes.theme
14 } 15 }
15 if (attributes.class) { 16 if (attributes.class) {
16 classes[attributes.class] = true 17 classes[attributes.class] = true
diff --git a/tpl/objects/text-field.pug b/tpl/objects/text-field.pug
index d5c4444..895770d 100644
--- a/tpl/objects/text-field.pug
+++ b/tpl/objects/text-field.pug
@@ -14,9 +14,9 @@ mixin text-field
14 'o-text-field--extended': !!block, 14 'o-text-field--extended': !!block,
15 'is-invalid': attributes.invalid, 15 'is-invalid': attributes.invalid,
16 'is-disabled': attributes.disabled, 16 'is-disabled': attributes.disabled,
17 'l-media': !!block, 17 'l-media': !!block,
18 'l-media--flush': !!block, 18 'l-media--flush': !!block,
19 'l-media--gapless': !!block, 19 'l-media--gapless': !!block,
20 } 20 }
21 if (attributes.class) { 21 if (attributes.class) {
22 classes[attributes.class] = true; 22 classes[attributes.class] = true;