summaryrefslogtreecommitdiffstats
path: root/tpl/objects
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2022-02-12 17:58:31 +0100
committerVolpeon <git@volpeon.ink>2022-02-12 17:58:31 +0100
commitb62fa77d0dc0c6a053b9d72e27a8f404ae8a4206 (patch)
tree60bcbcc5a5cc0cb22e1c613bff73d191e3f1626e /tpl/objects
parentUpdate (diff)
downloadiro-design-b62fa77d0dc0c6a053b9d72e27a8f404ae8a4206.tar.gz
iro-design-b62fa77d0dc0c6a053b9d72e27a8f404ae8a4206.tar.bz2
iro-design-b62fa77d0dc0c6a053b9d72e27a8f404ae8a4206.zip
Calculate gray palette via contrast automatically
Diffstat (limited to 'tpl/objects')
-rw-r--r--tpl/objects/action-menu.pug2
-rw-r--r--tpl/objects/avatar.pug2
-rw-r--r--tpl/objects/backdrop.pug2
3 files changed, 3 insertions, 3 deletions
diff --git a/tpl/objects/action-menu.pug b/tpl/objects/action-menu.pug
index e8cecb2..751e29d 100644
--- a/tpl/objects/action-menu.pug
+++ b/tpl/objects/action-menu.pug
@@ -2,7 +2,7 @@ include icon.pug
2include status-indicator.pug 2include status-indicator.pug
3 3
4mixin action-menu 4mixin action-menu
5 .o-action-menu.u-ps.t-raised 5 .o-action-menu.u-p-static.t-raised
6 block 6 block
7 7
8mixin action-menu-item 8mixin action-menu-item
diff --git a/tpl/objects/avatar.pug b/tpl/objects/avatar.pug
index 16de7c5..9e08a16 100644
--- a/tpl/objects/avatar.pug
+++ b/tpl/objects/avatar.pug
@@ -5,7 +5,7 @@ mixin avatar
5 let classes = { 5 let classes = {
6 'o-avatar': true, 6 'o-avatar': true,
7 'o-avatar--circle': attributes.circle, 7 'o-avatar--circle': attributes.circle,
8 'u-db': attributes.block 8 'u-d-block': attributes.block
9 } 9 }
10 if (attributes.class) { 10 if (attributes.class) {
11 classes[attributes.class] = true; 11 classes[attributes.class] = true;
diff --git a/tpl/objects/backdrop.pug b/tpl/objects/backdrop.pug
index 3e3eb7f..5d0c9e8 100644
--- a/tpl/objects/backdrop.pug
+++ b/tpl/objects/backdrop.pug
@@ -1,3 +1,3 @@
1mixin backdrop 1mixin backdrop
2 .o-backdrop.u-ps(style={ width: '100%', 'min-height': '5em', 'max-height': '40em' }) 2 .o-backdrop.u-p-static(style={ width: '100%', 'min-height': '5em', 'max-height': '40em' })
3 block 3 block