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

Function staticColor

packages/@react-spectrum/s2/src/style-utils.ts:195–207  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

193 }) as const;
194
195export function staticColor(): Record<string, any> {
196 return {
197 '--s2-container-bg': {
198 type: 'backgroundColor',
199 value: {
200 staticColor: {
201 black: 'white',
202 white: 'black'
203 }
204 }
205 }
206 } as const;
207}
208
209export const controlFont = () =>
210 ({

Callers 7

ProgressCircle.tsxFile · 0.90
Button.tsxFile · 0.90
Link.tsxFile · 0.90
CloseButton.tsxFile · 0.90
Divider.tsxFile · 0.90
barFunction · 0.90
ActionButton.tsxFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected