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 /src/_utils.scss | |
| 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 'src/_utils.scss')
| -rw-r--r-- | src/_utils.scss | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/_utils.scss b/src/_utils.scss index 7ae2d6e..ae72f65 100644 --- a/src/_utils.scss +++ b/src/_utils.scss | |||
| @@ -1,11 +1,11 @@ | |||
| 1 | @use 'iro-sass/src/index' as iro; | 1 | @use 'iro-sass/src/index' as iro; |
| 2 | @use 'functions' as fn; | 2 | @use 'functions' as fn; |
| 3 | 3 | ||
| 4 | @include iro.bem-utility('db') { | 4 | @include iro.bem-utility('d-block') { |
| 5 | display: block; | 5 | display: block; |
| 6 | } | 6 | } |
| 7 | 7 | ||
| 8 | @include iro.bem-utility('dc') { | 8 | @include iro.bem-utility('d-contents') { |
| 9 | display: contents; | 9 | display: contents; |
| 10 | } | 10 | } |
| 11 | 11 | ||
| @@ -14,15 +14,15 @@ | |||
| 14 | text-overflow: ellipsis; | 14 | text-overflow: ellipsis; |
| 15 | } | 15 | } |
| 16 | 16 | ||
| 17 | @include iro.bem-utility('ps') { | 17 | @include iro.bem-utility('p-static') { |
| 18 | position: static; | 18 | position: static; |
| 19 | } | 19 | } |
| 20 | 20 | ||
| 21 | @include iro.bem-utility('pr') { | 21 | @include iro.bem-utility('p-relative') { |
| 22 | position: relative; | 22 | position: relative; |
| 23 | } | 23 | } |
| 24 | 24 | ||
| 25 | @include iro.bem-utility('mt0') { | 25 | @include iro.bem-utility('mt-0') { |
| 26 | margin-top: 0; | 26 | margin-top: 0; |
| 27 | } | 27 | } |
| 28 | 28 | ||
