Skip to content

Commit fdf83ea

Browse files
committed
Tune metrics card: framed panel + readable text, half-year calendar, drop broken achievements; widen token scope note
1 parent a7be826 commit fdf83ea

1 file changed

Lines changed: 11 additions & 8 deletions

File tree

.github/workflows/metrics.yml

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ jobs:
1717
- name: Generate metrics
1818
uses: lowlighter/metrics@latest
1919
with:
20-
# A classic PAT with scopes: public_repo (or repo) + read:user.
20+
# Classic PAT with scopes: repo + read:org + read:user, SSO-authorised
21+
# for the amebaai org so private/work activity is counted.
2122
# Stored as the METRICS_TOKEN repo secret.
2223
token: ${{ secrets.METRICS_TOKEN }}
2324
user: Jarvvski
@@ -27,12 +28,19 @@ jobs:
2728
config_display: large # wider card, fills the profile column
2829
config_animations: yes
2930

31+
# Readability: frame the card as a solid panel (it renders transparent by
32+
# default, so grey text melts into GitHub's dark page). Lift text contrast.
33+
extras_css: |
34+
svg { background: #161b22; color: #c9d1d9; }
35+
h1, h2, h3 { color: #58a6ff; }
36+
3037
# Keep only the identity header from the base; everything else is curated below.
3138
base: header
3239

33-
# Centerpiece: 3D isometric contribution calendar (looks great regardless of volume).
40+
# Centerpiece: 3D isometric contribution calendar. half-year keeps it compact
41+
# and legible rather than sprawling diagonally across the whole card.
3442
plugin_isocalendar: yes
35-
plugin_isocalendar_duration: full-year
43+
plugin_isocalendar_duration: half-year
3644

3745
# Polyglot depth: real most-used + recently-used breakdown (Kotlin / Go / Rust / TS).
3846
plugin_languages: yes
@@ -52,11 +60,6 @@ jobs:
5260
plugin_habits_from: 200
5361
plugin_habits_days: 14
5462

55-
# GitHub achievement badges, compact row.
56-
plugin_achievements: yes
57-
plugin_achievements_display: compact
58-
plugin_achievements_threshold: C
59-
6063
# Tie the card back to the project bullets in the README.
6164
plugin_repositories: yes
6265
plugin_repositories_featured: jarvvski/aterm, jarvvski/wsg

0 commit comments

Comments
 (0)