summaryrefslogtreecommitdiffstats
path: root/assets
diff options
context:
space:
mode:
Diffstat (limited to 'assets')
-rw-r--r--assets/css/scopes/_alerts.scss14
-rw-r--r--assets/css/style.scss2
2 files changed, 16 insertions, 0 deletions
diff --git a/assets/css/scopes/_alerts.scss b/assets/css/scopes/_alerts.scss
new file mode 100644
index 0000000..a5b0987
--- /dev/null
+++ b/assets/css/scopes/_alerts.scss
@@ -0,0 +1,14 @@
1@use 'iro-sass/src/index' as iro;
2@use 'iro-design/src/functions' as fn;
3
4@include iro.props-namespace('alerts') {
5 @include iro.bem-scope(iro.props-namespace()) {
6 @include iro.bem-elem('alert') {
7 margin-top: fn.global-dim(--paragraph --margin-top);
8
9 > :first-child {
10 margin-top: 0;
11 }
12 }
13 }
14}
diff --git a/assets/css/style.scss b/assets/css/style.scss
index 3ae810d..3fce2f4 100644
--- a/assets/css/style.scss
+++ b/assets/css/style.scss
@@ -15,6 +15,7 @@
15@use 'iro-design/src/objects/badge' as iro-badge; 15@use 'iro-design/src/objects/badge' as iro-badge;
16@use 'iro-design/src/objects/heading' as iro-heading; 16@use 'iro-design/src/objects/heading' as iro-heading;
17@use 'iro-design/src/objects/icon' as iro-icon; 17@use 'iro-design/src/objects/icon' as iro-icon;
18@use 'iro-design/src/objects/alert' as iro-alert;
18@use 'iro-design/src/objects/lightbox' as iro-lightbox; 19@use 'iro-design/src/objects/lightbox' as iro-lightbox;
19 20
20@use 'components/footer'; 21@use 'components/footer';
@@ -31,6 +32,7 @@
31@use 'iro-design/src/scopes/lists' as iro-lists; 32@use 'iro-design/src/scopes/lists' as iro-lists;
32@use 'iro-design/src/scopes/tables' as iro-tables; 33@use 'iro-design/src/scopes/tables' as iro-tables;
33@use 'scopes/small'; 34@use 'scopes/small';
35@use 'scopes/alerts';
34 36
35@use 'iro-design/src/utils'; 37@use 'iro-design/src/utils';
36 38