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

Function layerName

packages/@react-spectrum/s2/style/style-macro.ts:843–847  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

841}
842
843function layerName(name: string) {
844 // All of our layers should be sub-layers of a single parent layer, so that
845 // the unsafe overrides layer always comes after.
846 return `_.${name}`;
847}
848
849interface Rule {
850 addPseudo(prelude: string): void;

Callers 1

createThemeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected