Skip to content

Commit 10feb97

Browse files
committed
feat(frontend): update widget badge styles and color scheme
1 parent 097b230 commit 10feb97

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

frontend/src/app/applications/comments/components/widgets/comments-recents-widget.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
</span>
2929
</div>
3030
<div class="product-badge">
31-
<span class="badge rounded-pill bg-warning">{{ c.modifiedAt | amTimeAgo:true }}</span>
31+
<span class="badge rounded-pill bg-purple">{{ c.modifiedAt | amTimeAgo:true }}</span>
3232
</div>
3333
</li>
3434
</ul>

frontend/src/app/applications/files/components/widgets/files-recents-widget.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
</span>
2929
</div>
3030
<div class="product-badge">
31-
<span class="badge rounded-pill bg-warning">{{ f.mtime | amTimeAgo:true }}</span>
31+
<span class="badge rounded-pill bg-purple">{{ f.mtime | amTimeAgo:true }}</span>
3232
</div>
3333
</li>
3434
</ul>

frontend/src/styles/components/_backgrounds.scss

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@
4949
}
5050

5151
.newly {
52-
color: white;
5352
border-bottom: .5px solid $gray-light;
5453
}
5554

@@ -60,17 +59,19 @@
6059

6160
.newly-1, .prop-newly-1 {
6261
@extend .newly-0;
63-
background-color: $orange !important;
62+
color: white !important;
63+
background-color: $purple !important;
6464
}
6565

6666
.newly-2, .prop-newly-2 {
6767
@extend .newly-0;
68-
background-color: lighten($orange, 15%) !important;
68+
color: white !important;
69+
background-color: lighten($purple, 15%) !important;
6970
}
7071

7172
.newly-3, .prop-newly-3 {
7273
@extend .newly-0;
73-
background-color: lighten($orange, 30%) !important;
74+
background-color: lighten($purple, 30%) !important;
7475
color: inherit !important;
7576
}
7677

0 commit comments

Comments
 (0)