style: update gemini logo images (#11731)

* style: update gemini logo images and fix model logo condition

Update the Gemini logo images in both apps and models directories
Remove or fix the always-true isLight condition in getModelLogoById

* style: downsample gemini icon

* style(minapp): Add bordered property for gemini minapp

Add FIXME comment to indicate 'bodered' should be 'bordered' and update config to use correct property
This commit is contained in:
Phantom 2025-12-07 21:04:40 +08:00 committed by GitHub
parent b58a2fce03
commit 516b8479d6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 4 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

After

Width:  |  Height:  |  Size: 19 KiB

View File

@ -101,7 +101,8 @@ const ORIGIN_DEFAULT_MIN_APPS: MinAppType[] = [
id: 'gemini',
name: 'Gemini',
url: 'https://gemini.google.com/',
logo: GeminiAppLogo
logo: GeminiAppLogo,
bodered: true
},
{
id: 'silicon',

View File

@ -163,6 +163,7 @@ import ZhipuProviderLogo from '@renderer/assets/images/providers/zhipu.png'
import type { Model } from '@renderer/types'
export function getModelLogoById(modelId: string): string | undefined {
// FIXME: This is always true. Either remove it or fetch it.
const isLight = true
if (!modelId) {

View File

@ -439,6 +439,7 @@ export type MinAppType = {
name: string
logo?: string
url: string
// FIXME: It should be `bordered`
bodered?: boolean
background?: string
style?: CSSProperties