mirror of
https://github.com/anuraghazra/github-readme-stats.git
synced 2024-12-27 06:25:47 +08:00
Refactor: Fixed getCardColors function docstring (#2943)
* Refactor: Fixed getCardColors function docstring * dev
This commit is contained in:
parent
9181869cb0
commit
f7b51ab3c8
@ -195,14 +195,22 @@ const flexLayout = ({ items, gap, direction, sizes = [] }) => {
|
||||
* Returns theme based colors with proper overrides and defaults.
|
||||
*
|
||||
* @param {Object} args Function arguments.
|
||||
* @param {string} args.title_color Card title color.
|
||||
* @param {string} args.text_color Card text color.
|
||||
* @param {string} args.icon_color Card icon color.
|
||||
* @param {string} args.bg_color Card background color.
|
||||
* @param {string} args.border_color Card border color.
|
||||
* @param {string} args.ring_color Card ring color.
|
||||
* @param {string} args.theme Card theme.
|
||||
* @param {string} args.fallbackTheme Fallback theme.
|
||||
* @param {string=} args.title_color Card title color.
|
||||
* @param {string=} args.text_color Card text color.
|
||||
* @param {string=} args.icon_color Card icon color.
|
||||
* @param {string=} args.bg_color Card background color.
|
||||
* @param {string=} args.border_color Card border color.
|
||||
* @param {string=} args.ring_color Card ring color.
|
||||
* @param {string=} args.theme Card theme.
|
||||
* @param {string=} args.fallbackTheme Fallback theme.
|
||||
* @returns {{
|
||||
* titleColor: string | string[];
|
||||
* iconColor: string | string[];
|
||||
* textColor: string | string[];
|
||||
* bgColor: string | string[];
|
||||
* borderColor: string | string[];
|
||||
* ringColor: string | string[];
|
||||
* }} Card colors.
|
||||
*/
|
||||
const getCardColors = ({
|
||||
title_color,
|
||||
|
Loading…
Reference in New Issue
Block a user