MCPcopy Create free account
hub / github.com/adobe/react-spectrum / stop

Function stop

packages/@react-spectrum/ai/src/tokens.macro.ts:115–117  ·  view source on GitHub ↗
(gray: string, stop: string, opacity: string)

Source from the content-addressed store, hash-verified

113}
114
115export function stop(gray: string, stop: string, opacity: string) {
116 return `light-dark(${mix('white', stop + '.light', opacity + '.light')}, ${mix(color('gray-75'), stop + '.dark', opacity + '.dark')})`;
117}
118
119export function defineProperties(this: any, css: string) {
120 if (this && typeof this.addAsset === 'function') {

Callers 3

PromptFieldVoiceButtonFunction · 0.70
useVoiceInputFunction · 0.70
stopsFunction · 0.70

Calls 2

colorFunction · 0.90
mixFunction · 0.85

Tested by

no test coverage detected