feat: add notifications widget

This commit is contained in:
tux
2025-06-13 23:12:11 +05:30
parent e042268846
commit e93f98d154
8 changed files with 219 additions and 1 deletions

View File

@@ -0,0 +1,30 @@
@use "sass:math";
@use "sass:list";
window.notifications {
margin: 10px;
.notification {
background: $bg-color;
padding: 20px;
border-radius: $rounded;
min-width: 20rem;
border: 1px solid transparent;
&.critical {
border: 1px solid rgba(red, 0.5);
}
&.low {
border: 1px solid rgba(yellow, 0.5);
}
.text {
color: rgba($fg-color, 0.8);
.title {
font-weight: 600;
}
}
}
}