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

Function feedWidgetTipMix

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

Source from the content-addressed store, hash-verified

120 `var(--theme-accent-${tone}-default)`;
121
122const feedWidgetTipMix = (tone: string, percent: number): string =>
123 `color-mix(in srgb, ${feedWidgetTipAccent(tone)} ${percent}%, transparent)`;
124
125export const feedWidgetTipGlow = (tone: string): string =>
126 `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