Skip to content

Sync-in · Sovereign platform for file storage, sharing, synchronization, and collaboration.

feat(frontend): update widget badge styles and color scheme

johaven10feb97a2b45
diff --git a/frontend/src/app/applications/comments/components/widgets/comments-recents-widget.component.html b/frontend/src/app/applications/comments/components/widgets/comments-recents-widget.component.html
index 52142bf8..1f4cb687 100644
--- a/frontend/src/app/applications/comments/components/widgets/comments-recents-widget.component.html
+++ b/frontend/src/app/applications/comments/components/widgets/comments-recents-widget.component.html
@@ -28,7 +28,7 @@
</span>
</div>
<div class="product-badge">
- <span class="badge rounded-pill bg-warning">{{ c.modifiedAt | amTimeAgo:true }}</span>
+ <span class="badge rounded-pill bg-purple">{{ c.modifiedAt | amTimeAgo:true }}</span>
</div>
</li>
</ul>
diff --git a/frontend/src/app/applications/files/components/widgets/files-recents-widget.component.html b/frontend/src/app/applications/files/components/widgets/files-recents-widget.component.html
index 90efe58d..09794747 100644
--- a/frontend/src/app/applications/files/components/widgets/files-recents-widget.component.html
+++ b/frontend/src/app/applications/files/components/widgets/files-recents-widget.component.html
@@ -28,7 +28,7 @@
</span>
</div>
<div class="product-badge">
- <span class="badge rounded-pill bg-warning">{{ f.mtime | amTimeAgo:true }}</span>
+ <span class="badge rounded-pill bg-purple">{{ f.mtime | amTimeAgo:true }}</span>
</div>
</li>
</ul>
diff --git a/frontend/src/styles/components/_backgrounds.scss b/frontend/src/styles/components/_backgrounds.scss
index ea2913dc..500a78f9 100644
--- a/frontend/src/styles/components/_backgrounds.scss
+++ b/frontend/src/styles/components/_backgrounds.scss
@@ -49,7 +49,6 @@
}
.newly {
- color: white;
border-bottom: .5px solid $gray-light;
}
@@ -60,17 +59,19 @@
.newly-1, .prop-newly-1 {
@extend .newly-0;
- background-color: $orange !important;
+ color: white !important;
+ background-color: $purple !important;
}
.newly-2, .prop-newly-2 {
@extend .newly-0;
- background-color: lighten($orange, 15%) !important;
+ color: white !important;
+ background-color: lighten($purple, 15%) !important;
}
.newly-3, .prop-newly-3 {
@extend .newly-0;
- background-color: lighten($orange, 30%) !important;
+ background-color: lighten($purple, 30%) !important;
color: inherit !important;
}