diverger/GitHub Contribution Calendar Theme Detector
Detects the current GitHub contribution calendar theme and extracts color palettes for both light and dark modes
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| github-username | GitHub username to check for contribution calendar theme | no | ${{ github.repository_owner }} |
| timezone | Timezone for holiday detection. Supports IANA format (e.g., America/New_York, Asia/Shanghai) or simple aliases (e.g., china, tokyo, london, est, pst). See https://en.wikipedia.org/wiki/List_of_tz_database_time_zones for all valid values. Defaults to UTC. | no | UTC |
Outputs
| name | description |
|---|---|
| holiday_detected | Whether a holiday theme is currently active (true/false) |
| theme_name | Name of the detected theme (e.g., halloween, christmas, default) |
| light_color_palette | Comma-separated list of colors for light theme |
| dark_color_palette | Comma-separated list of colors for dark theme |
| light_grid_colors | JSON array of light theme grid colors with levels |
| dark_grid_colors | JSON array of dark theme grid colors with levels |