feat: add border_radius URL parameter for customizable container corners #124
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds a new
border_radiusURL parameter that allows users to customize the border radius of the card container across all themes.Changes
border_radiusparameter toview.py(default: 10px for backward compatibility)border_radiusvalueUsage Example
Motivation
This allows users to better match the Spotify widget styling with other GitHub profile widgets (like github-readme-stats, streak-stats, etc.) that may use different border radius values. For example, many popular GitHub profile widgets use
border_radius=15, but the Spotify widget was previously hardcoded to 10px.Testing
border_radiusis not specified (defaults to 10px)Screenshots
N/A - This is a styling customization option that users can preview by adding the parameter to their widget URL.
🤖 Generated with Claude Code