Refactor: Fixed getCardColors function docstring (#2943)

* Refactor: Fixed getCardColors function docstring

* dev
This commit is contained in:
Alexandr Garbuzov 2023-07-19 10:55:12 +03:00 committed by GitHub
parent 9181869cb0
commit f7b51ab3c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,