diff options
author | Volpeon <git@volpeon.ink> | 2022-02-12 17:58:31 +0100 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2022-02-12 17:58:31 +0100 |
commit | b62fa77d0dc0c6a053b9d72e27a8f404ae8a4206 (patch) | |
tree | 60bcbcc5a5cc0cb22e1c613bff73d191e3f1626e /tpl/objects | |
parent | Update (diff) | |
download | iro-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.pug | 2 | ||||
-rw-r--r-- | tpl/objects/avatar.pug | 2 | ||||
-rw-r--r-- | tpl/objects/backdrop.pug | 2 |
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 | |||
2 | include status-indicator.pug | 2 | include status-indicator.pug |
3 | 3 | ||
4 | mixin action-menu | 4 | mixin 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 | ||
8 | mixin action-menu-item | 8 | mixin 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 @@ | |||
1 | mixin backdrop | 1 | mixin 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 |