mirror of
https://github.com/anuraghazra/github-readme-stats.git
synced 2025-02-05 14:13:31 +08:00
Fixed docstring for get styles function to resolve vscode type errors (#2700)
This commit is contained in:
parent
688f4e4975
commit
6f449a1f0b
@ -65,10 +65,11 @@ const getAnimations = () => {
|
||||
/**
|
||||
* Retrieves CSS styles for a card.
|
||||
*
|
||||
* @param {Object[]} colors The colors to use for the card.
|
||||
* @param {Object} colors The colors to use for the card.
|
||||
* @param {string} colors.titleColor The title color.
|
||||
* @param {string} colors.textColor The text color.
|
||||
* @param {string} colors.iconColor The icon color.
|
||||
* @param {string} colors.ringColor The ring color.
|
||||
* @param {boolean} colors.show_icons Whether to show icons.
|
||||
* @param {number} colors.progress The progress value to animate to.
|
||||
* @returns {string} Card CSS styles.
|
||||
|
Loading…
Reference in New Issue
Block a user