Skip to content

Commit 44360f2

Browse files
committed
feat: Fyle badge design (#3972)
1 parent 318090a commit 44360f2

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
lines changed

src/app/fyle/dashboard/dashboard.page.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373

7474
&--pending-tasks-stat-icon-pill {
7575
position: absolute;
76-
background-color: colors.$brand-primary;
76+
background-color: colors.$stat-badge-blue;
7777
color: colors.$pure-white;
7878
line-height: 8px;
7979
top: -6px;

src/app/fyle/dashboard/stat-badge/stat-badge.component.html

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,8 @@
1313
</div>
1414
}
1515
@if (!loading && expenseState) {
16-
<div>
17-
@if (!loading) {
18-
<div [ngClass]="'stat-badge--count stat-badge--count__' + expenseState.toString().toLowerCase()">
19-
{{ count }}
20-
</div>
21-
}
16+
<div [ngClass]="'stat-badge--count stat-badge--count__' + expenseState.toString().toLowerCase()">
17+
{{ count }}
2218
</div>
2319
}
2420
@if (loading) {

src/theme/colors.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ $blue-4: #0062ff !default;
7777
$blue-black: #2c304e !default;
7878
$light-blue: #f7f7fb !default;
7979
$dark-blue: #1c1f36 !default;
80+
$stat-badge-blue: #007fd9;
8081

8182
$alice-blue: #eff5fc !default;
8283
$pale-orange: #ffefb7 !default;

0 commit comments

Comments
 (0)