| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115 | 
							- @use 'mixins/mixins' as *;
 
- @use 'mixins/var' as *;
 
- @use 'common/var' as *;
 
- @include b(alert) {
 
-   @include set-component-css-var('alert', $alert);
 
-   width: 100%;
 
-   padding: getCssVar('alert', 'padding');
 
-   margin: 0;
 
-   box-sizing: border-box;
 
-   border-radius: getCssVar('alert', 'border-radius-base');
 
-   position: relative;
 
-   background-color: getCssVar('color', 'white');
 
-   overflow: hidden;
 
-   opacity: 1;
 
-   display: flex;
 
-   align-items: center;
 
-   transition: opacity getCssVar('transition-duration', 'fast');
 
-   @include when(light) {
 
-     .#{$namespace}-alert__close-btn {
 
-       color: getCssVar('text-color', 'placeholder');
 
-     }
 
-   }
 
-   @include when(dark) {
 
-     .#{$namespace}-alert__close-btn {
 
-       color: getCssVar('color', 'white');
 
-     }
 
-     .#{$namespace}-alert__description {
 
-       color: getCssVar('color', 'white');
 
-     }
 
-   }
 
-   @include when(center) {
 
-     justify-content: center;
 
-   }
 
-   @each $type in (success, info, warning, error) {
 
-     @include m($type) {
 
-       @include css-var-from-global(
 
-         ('alert', 'bg-color'),
 
-         ('color', $type, 'light-9')
 
-       );
 
-       &.is-light {
 
-         background-color: getCssVar('alert', 'bg-color');
 
-         color: getCssVar('color', $type);
 
-         .#{$namespace}-alert__description {
 
-           color: getCssVar('color', $type);
 
-         }
 
-       }
 
-       &.is-dark {
 
-         background-color: getCssVar('color', $type);
 
-         color: getCssVar('color', 'white');
 
-       }
 
-     }
 
-   }
 
-   @include e(content) {
 
-     display: flex;
 
-     flex-direction: column;
 
-     gap: 4px;
 
-   }
 
-   & .#{$namespace}-alert__icon {
 
-     font-size: getCssVar('alert', 'icon-size');
 
-     width: getCssVar('alert', 'icon-size');
 
-     margin-right: 8px;
 
-     @include when(big) {
 
-       font-size: getCssVar('alert', 'icon-large-size');
 
-       width: getCssVar('alert', 'icon-large-size');
 
-       margin-right: 12px;
 
-     }
 
-   }
 
-   @include e(title) {
 
-     font-size: getCssVar('alert', 'title-font-size');
 
-     line-height: 24px;
 
-     &.with-description {
 
-       font-size: getCssVar('alert', 'title-with-description-font-size');
 
-     }
 
-   }
 
-   & .#{$namespace}-alert__description {
 
-     font-size: getCssVar('alert', 'description-font-size');
 
-     margin: 0;
 
-   }
 
-   & .#{$namespace}-alert__close-btn {
 
-     font-size: getCssVar('alert', 'close-font-size');
 
-     opacity: 1;
 
-     position: absolute;
 
-     top: 12px;
 
-     right: 16px;
 
-     cursor: pointer;
 
-     @include when(customed) {
 
-       font-style: normal;
 
-       font-size: getCssVar('alert', 'close-customed-font-size');
 
-       line-height: 24px;
 
-       top: 8px;
 
-     }
 
-   }
 
- }
 
- .#{$namespace}-alert-fade-enter-from,
 
- .#{$namespace}-alert-fade-leave-active {
 
-   opacity: 0;
 
- }
 
 
  |