diff options
author | Volpeon <git@volpeon.ink> | 2024-10-17 16:45:00 +0200 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2024-10-17 16:45:00 +0200 |
commit | 50f6acc739f24bfa2ca080d08e90d82f8fa83543 (patch) | |
tree | 404dbe97d34b7e4fc3293c8e6a8c92d9941ac51e /src/scopes/_blockquotes.scss | |
parent | Colors (diff) | |
download | iro-design-50f6acc739f24bfa2ca080d08e90d82f8fa83543.tar.gz iro-design-50f6acc739f24bfa2ca080d08e90d82f8fa83543.tar.bz2 iro-design-50f6acc739f24bfa2ca080d08e90d82f8fa83543.zip |
Revamped variable management
Diffstat (limited to 'src/scopes/_blockquotes.scss')
-rw-r--r-- | src/scopes/_blockquotes.scss | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/src/scopes/_blockquotes.scss b/src/scopes/_blockquotes.scss deleted file mode 100644 index f6a13fe..0000000 --- a/src/scopes/_blockquotes.scss +++ /dev/null | |||
@@ -1,34 +0,0 @@ | |||
1 | @use 'iro-sass/src/index' as iro; | ||
2 | @use '../functions' as fn; | ||
3 | |||
4 | @include iro.props-namespace('blockquotes') { | ||
5 | @include iro.props-store(( | ||
6 | --dims: ( | ||
7 | --indent: fn.global-dim(--list --indent), | ||
8 | --margin-bs: fn.global-dim(--paragraph --margin-bs), | ||
9 | --border: fn.global-dim(--border --thick), | ||
10 | |||
11 | --compact: ( | ||
12 | --indent: fn.global-dim(--list --compact-indent), | ||
13 | ), | ||
14 | ), | ||
15 | --colors: ( | ||
16 | --border: fn.global-color(--border), | ||
17 | ) | ||
18 | )); | ||
19 | |||
20 | @include iro.bem-scope(iro.props-namespace()) { | ||
21 | blockquote { | ||
22 | margin-block: fn.dim(--margin-bs); | ||
23 | margin-inline: 1px 0; | ||
24 | padding-inline-start: calc(fn.dim(--indent) - fn.dim(--border)); | ||
25 | border-inline-start: fn.dim(--border) solid fn.color(--border); | ||
26 | } | ||
27 | |||
28 | @include iro.bem-modifier('compact') { | ||
29 | blockquote { | ||
30 | padding-inline-start: calc(fn.dim(--compact --indent) - fn.dim(--border)); | ||
31 | } | ||
32 | } | ||
33 | } | ||
34 | } | ||