Import theme
This commit is contained in:
parent
51769fa6be
commit
c59ffbfeee
127 changed files with 13611 additions and 1 deletions
29
assets/scss/partials/components/_alert.scss
Normal file
29
assets/scss/partials/components/_alert.scss
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
@use 'modules/color_theme' as color;
|
||||
|
||||
.alert {
|
||||
padding: 1rem;
|
||||
border-style: solid;
|
||||
border-radius: 0.25rem;
|
||||
border-width: 2px;
|
||||
margin-top: 1rem;
|
||||
|
||||
@include color.themed() {
|
||||
border-color: color.t('alert');
|
||||
}
|
||||
|
||||
&__indicator {
|
||||
display: inline-block;
|
||||
border-radius: 9999px;
|
||||
padding: 0.5rem;
|
||||
width: 2.5rem;
|
||||
height: 2.5rem;
|
||||
text-align: center;
|
||||
font-weight: 800;
|
||||
margin-right: 0.75rem;
|
||||
|
||||
@include color.themed() {
|
||||
color: color.t('accent');
|
||||
background-color: color.t('alert');
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue