mirror of
https://github.com/tiennm99/ghglance.git
synced 2026-10-11 03:13:20 +00:00
refactor(theme): port full github-profile-summary-cards palette
- Replace the previous 30-theme list with the complete 61-theme palette from github-profile-summary-cards (snake_case ids, e.g. github_dark, nord_bright, solarized_dark). - Add Stroke and StrokeOpacity fields to Theme; card frame now uses the theme's own stroke instead of a hardcoded white overlay so light themes render a visible border. - Drop the github-readme-stats credit from README; all palette data now comes from one upstream source.
This commit is contained in:
1 parent
1bf2615f1a
commit
1c4244722c
7 files changed
+98
-56
No files matched your search
@@ -30,7 +30,7 @@ func renderDonutCard(title string, stats []github.LangStat, t theme.Theme) []byt
|
||||
stats = collapseOther(stats, topN)
|
||||
|
||||
var b strings.Builder
|
||||
b.WriteString(header(width, height, t.Background, t.Title, title))
|
||||
b.WriteString(header(width, height, t.Background, t.Stroke, t.StrokeOpacity, t.Title, title))
|
||||
|
||||
if len(stats) == 0 {
|
||||
fmt.Fprintf(&b, `
|
||||
|
||||
Reference in new issue
Block a user