From 3f78f05497269d8ace60f1071c4f05483145df90 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sat, 12 Mar 2022 15:39:00 +0100 Subject: Added more utilities --- src/_utils.scss | 20 ++++++++++++++++++-- src/objects/_table.scss | 2 +- tpl/index.pug | 2 -- 3 files changed, 19 insertions(+), 5 deletions(-) diff --git a/src/_utils.scss b/src/_utils.scss index 1969a82..4ad1401 100644 --- a/src/_utils.scss +++ b/src/_utils.scss @@ -36,8 +36,24 @@ $dirs: ( } } -@include iro.bem-utility('o-auto') { - overflow: auto; +@include iro.bem-utility('ta-left') { + text-align: left; +} + +@include iro.bem-utility('ta-right') { + text-align: right; +} + +@include iro.bem-utility('ta-center') { + text-align: center; +} + +@include iro.bem-utility('c-muted') { + color: fn.color(--fg-hi); +} + +@include iro.bem-utility('w-100') { + width: 100%; } @include iro.bem-utility('elp') { diff --git a/src/objects/_table.scss b/src/objects/_table.scss index e50e2fd..9f414b8 100644 --- a/src/objects/_table.scss +++ b/src/objects/_table.scss @@ -41,7 +41,7 @@ @include iro.bem-elem('cell') { padding: fn.dim(--pad-y) fn.dim(--pad-x); - border-width: 1px 0 0 0; + border-width: 1px 0 0; border-style: solid; border-color: fn.color(--border); background-color: fn.color(--bg); diff --git a/tpl/index.pug b/tpl/index.pug index 162a041..b5fe23b 100644 --- a/tpl/index.pug +++ b/tpl/index.pug @@ -626,5 +626,3 @@ html +table-cell= 'Row 4,1' +table-cell= 'Row 4,2' +table-cell= 'Row 4,3' - - -- cgit v1.2.3-70-g09d2