feat(projects): support set global redius

This commit is contained in:
CyberShen123
2025-10-03 07:55:06 +08:00
committed by Soybean
parent 24c6df528b
commit 3549c4dbd5
7 changed files with 9 additions and 3 deletions

View File

@@ -236,8 +236,9 @@ function getNaiveThemeColors(colors: App.Theme.ThemeColor, recommended = false)
/**
* Get naive theme
*
* @param colors Theme colors
* @param [recommended=false] Use recommended color. Default is `false`
* @param settings Theme settings object.
* @param settings.recommendColor Whether to use recommended color palette.
* @param settings.themeRadius Border radius to use in the theme (in px).
*/
export function getNaiveTheme(colors: App.Theme.ThemeColor, settings: App.Theme.ThemeSetting) {
const { primary: colorLoading } = colors;