Skip to content

Commit 55f5907

Browse files
committed
Improved ui of Top contributors leaderboard
1 parent 531962e commit 55f5907

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

src/css/custom.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
--ifm-color-primary-lightest: #3cad6e;
1717
--ifm-code-font-size: 95%;
1818
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1);
19+
--ifm-color-primary-text: white;
20+
--ifm-color-secondary-text: #edf2f7;
1921
}
2022

2123
/* For readability concerns, you should choose a lighter palette in dark mode. */
@@ -28,6 +30,8 @@
2830
--ifm-color-primary-lighter: #32d8b4;
2931
--ifm-color-primary-lightest: #4fddbf;
3032
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3);
33+
--ifm-color-primary-text: #ffffff;
34+
--ifm-color-secondary-text: #edf2f7;
3135
}
3236

3337

src/pages/dashboard/dashboard.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -468,11 +468,11 @@
468468

469469
.stat-item {
470470
font-size: 0.9rem;
471-
color: var(--ifm-color-emphasis-700);
471+
color: var(--ifm-color-secondary-text);
472472
}
473473

474474
.stat-item strong {
475-
color: var(--ifm-color-primary);
475+
color: var(--ifm-color-primary-text);
476476
font-weight: 600;
477477
}
478478

@@ -486,7 +486,7 @@
486486
font-size: 0.8rem;
487487
padding: 0.25rem 0.75rem;
488488
background: var(--ifm-color-primary-lightest);
489-
color: var(--ifm-color-primary-darker);
489+
color: var(--ifm-color-primary-text);
490490
border-radius: 50px;
491491
font-weight: 500;
492492
border: 1px solid var(--ifm-color-primary-light);

0 commit comments

Comments
 (0)