From a0a161ab7ef57d8e808ba45004f1d4d62c828ad2 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Mon, 13 Feb 2023 20:26:02 +0100 Subject: Update --- src/_apply-vars.scss | 22 +++++++++++----------- src/_declare-vars.scss | 22 +++++++++++----------- tpl/index.pug | 2 +- tpl/objects/action-menu.pug | 2 +- tpl/objects/bubble.pug | 2 +- tpl/objects/dialog.pug | 2 +- 6 files changed, 26 insertions(+), 26 deletions(-) diff --git a/src/_apply-vars.scss b/src/_apply-vars.scss index 246b4d4..df1b491 100644 --- a/src/_apply-vars.scss +++ b/src/_apply-vars.scss @@ -55,7 +55,7 @@ // } // } -@include iro.bem-theme('raised') { +@include iro.bem-theme('up') { @include iro.props-assign('colors'); @include iro.props-assign('palette-light-hi'); @@ -65,7 +65,7 @@ } } -@include iro.bem-theme('lowered') { +@include iro.bem-theme('down') { @include iro.props-assign('colors'); @include iro.props-assign('palette-light-lo'); @@ -75,12 +75,12 @@ } } -@include iro.bem-theme('lowered2') { - @include iro.props-assign('colors'); - @include iro.props-assign('palette-light-lo2'); - - @media (prefers-color-scheme: dark) { - @include iro.props-assign('colors-dark'); - @include iro.props-assign('palette-dark-hi2'); - } -} +// @include iro.bem-theme('lowered2') { +// @include iro.props-assign('colors'); +// @include iro.props-assign('palette-light-lo2'); +// +// @media (prefers-color-scheme: dark) { +// @include iro.props-assign('colors-dark'); +// @include iro.props-assign('palette-dark-hi2'); +// } +// } diff --git a/src/_declare-vars.scss b/src/_declare-vars.scss index 593c7e4..d95c7fc 100644 --- a/src/_declare-vars.scss +++ b/src/_declare-vars.scss @@ -173,11 +173,11 @@ ), ), 'palette-light-lo'); -@include iro.props-store(( - --colors: ( - --gray: fn.gray-palette(88%), - ), -), 'palette-light-lo2'); +// @include iro.props-store(( +// --colors: ( +// --gray: fn.gray-palette(88%), +// ), +// ), 'palette-light-lo2'); @include iro.props-store(( --colors: ( @@ -233,15 +233,15 @@ // -@include iro.props-store(( - --colors: ( - --gray: fn.gray-palette(1%), - ), -), 'palette-dark-hi2'); +// @include iro.props-store(( +// --colors: ( +// --gray: fn.gray-palette(1%), +// ), +// ), 'palette-dark-hi2'); @include iro.props-store(( --colors: ( - --gray: fn.gray-palette(5%), + --gray: fn.gray-palette(7%), ), ), 'palette-dark-hi'); diff --git a/tpl/index.pug b/tpl/index.pug index 15929cf..0bafbc9 100644 --- a/tpl/index.pug +++ b/tpl/index.pug @@ -125,7 +125,7 @@ html +view-bubble +view-bubble-group - .c-sidebar.l-overflow.u-themed.t-raised.u-p-75.u-br-1 + .c-sidebar.l-overflow.u-themed.t-up.u-p-75 +menu each view in views +menu-item(tag='a' href='#' + view.id)= view.title diff --git a/tpl/objects/action-menu.pug b/tpl/objects/action-menu.pug index bb21d9e..be9d86d 100644 --- a/tpl/objects/action-menu.pug +++ b/tpl/objects/action-menu.pug @@ -2,7 +2,7 @@ include icon.pug include status-indicator.pug mixin action-menu - .o-action-menu.u-p-static.t-raised + .o-action-menu.u-p-static.t-up block mixin action-menu-item diff --git a/tpl/objects/bubble.pug b/tpl/objects/bubble.pug index 52f8949..8d878c8 100644 --- a/tpl/objects/bubble.pug +++ b/tpl/objects/bubble.pug @@ -11,7 +11,7 @@ mixin bubble(user) 'o-bubble': true, 'o-bubble--75': attributes.compact, 'o-bubble--highlight': attributes.highlight, - 't-raised': !attributes.theme + 't-up': !attributes.theme } if (attributes.class) { classes[attributes.class] = true diff --git a/tpl/objects/dialog.pug b/tpl/objects/dialog.pug index 26b953b..7ac9c3d 100644 --- a/tpl/objects/dialog.pug +++ b/tpl/objects/dialog.pug @@ -18,7 +18,7 @@ mixin dialog(title) let headerClass = { 'o-dialog__header': true, 'u-themed': !attributes.flat, - 't-lowered': !attributes.flat, + 't-down': !attributes.flat, 'l-media': true, } -- cgit v1.2.3-70-g09d2