MCPcopy
hub / github.com/simstudioai/sim / getBareIconStyle

Function getBareIconStyle

apps/sim/blocks/icon-color.ts:37–40  ·  view source on GitHub ↗
(icon: StyleableIcon)

Source from the content-addressed store, hash-verified

35 * Jira, Salesforce, Google Calendar) ignore it and keep their own colors.
36 */
37export function getBareIconStyle(icon: StyleableIcon): CSSProperties | undefined {
38 const color = getIconColorMap().get(icon)
39 return color ? { color } : undefined
40}
41
42/**
43 * Brightness above which a brand tile is "clearly light" and a white foreground

Callers 5

MentionChipViewFunction · 0.90
renderIntegrationTileFunction · 0.90
SuggestedActionsFunction · 0.90
IntegrationDropdownItemFunction · 0.90
CredentialSelectorFunction · 0.90

Calls 2

getIconColorMapFunction · 0.85
getMethod · 0.65

Tested by

no test coverage detected