Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/adobe/react-spectrum
/ mapStaticColors.mjs
File
mapStaticColors.mjs
scripts/mapStaticColors.mjs:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
tokens from
'@adobe/spectrum-tokens/dist/json/variables.json'
assert {
type
:
'json'
};
2
import
Color from
'colorjs.io'
;
3
4
const
staticColors = {
Callers
nothing calls this directly
Calls
2
buildMapping
Function · 0.85
colorScale
Function · 0.70
Tested by
no test coverage detected