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

Function layerName

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

Source from the content-addressed store, hash-verified

847}
848
849function layerName(name: string) {
850 // All of our layers should be sub-layers of a single parent layer, so that
851 // the unsafe overrides layer always comes after.
852 return `_.${name}`;
853}
854
855interface Rule {
856 addPseudo(prelude: string): void;

Callers 1

createThemeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected