mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-01-10 15:41:01 +08:00
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:
parent
b58a2fce03
commit
516b8479d6
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 |
@ -101,7 +101,8 @@ const ORIGIN_DEFAULT_MIN_APPS: MinAppType[] = [
|
|||||||
id: 'gemini',
|
id: 'gemini',
|
||||||
name: 'Gemini',
|
name: 'Gemini',
|
||||||
url: 'https://gemini.google.com/',
|
url: 'https://gemini.google.com/',
|
||||||
logo: GeminiAppLogo
|
logo: GeminiAppLogo,
|
||||||
|
bodered: true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 'silicon',
|
id: 'silicon',
|
||||||
|
|||||||
@ -163,6 +163,7 @@ import ZhipuProviderLogo from '@renderer/assets/images/providers/zhipu.png'
|
|||||||
import type { Model } from '@renderer/types'
|
import type { Model } from '@renderer/types'
|
||||||
|
|
||||||
export function getModelLogoById(modelId: string): string | undefined {
|
export function getModelLogoById(modelId: string): string | undefined {
|
||||||
|
// FIXME: This is always true. Either remove it or fetch it.
|
||||||
const isLight = true
|
const isLight = true
|
||||||
|
|
||||||
if (!modelId) {
|
if (!modelId) {
|
||||||
|
|||||||
@ -439,6 +439,7 @@ export type MinAppType = {
|
|||||||
name: string
|
name: string
|
||||||
logo?: string
|
logo?: string
|
||||||
url: string
|
url: string
|
||||||
|
// FIXME: It should be `bordered`
|
||||||
bodered?: boolean
|
bodered?: boolean
|
||||||
background?: string
|
background?: string
|
||||||
style?: CSSProperties
|
style?: CSSProperties
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user