MCPcopy Create free account
hub / github.com/dailydotdev/apps / feedWidgetTipMix

Function feedWidgetTipMix

packages/shared/src/styles/custom.ts:141–142  ·  view source on GitHub ↗
(tone: string, percent: number)

Source from the content-addressed store, hash-verified

139 `var(--theme-accent-${tone}-default)`;
140
141const feedWidgetTipMix = (tone: string, percent: number): string =>
142 `color-mix(in srgb, ${feedWidgetTipAccent(tone)} ${percent}%, transparent)`;
143
144export const feedWidgetTipGlow = (tone: string): string =>
145 `radial-gradient(110% 100% at 0% 0%, ${feedWidgetTipMix(

Callers 2

feedWidgetTipGlowFunction · 0.85
feedWidgetTipTileFunction · 0.85

Calls 1

feedWidgetTipAccentFunction · 0.85

Tested by

no test coverage detected