{"name":"@atlaskit/tokens","version":"0.2.1","author":{"name":"Atlassian Pty Ltd"},"license":"Apache-2.0","_id":"@atlaskit/tokens@0.2.1","homepage":"https://bitbucket.org/atlassian/atlassian-frontend#readme","dist":{"shasum":"85b48d52d49688ebaef604949426588ba9c81892","tarball":"http://registry-npm.ywwl.com/@atlaskit/tokens/download/@atlaskit/tokens-0.2.1.tgz","fileCount":160,"integrity":"sha512-Fm/F9mOC7QI5OSwvyY5N5+cvhx0lPLPAE5sE520ztb+YOaSiFxHZ13YBJkkdVTtxbGsYayYWITinGDQcCnhLog==","signatures":[{"sig":"MEYCIQCp5C/E0BOFeH3wOqLBRAS5zo5ahn7car4WbtfGzqJjowIhAOhTzsjHsbHr4MuA/iigF423qQicjhV8dH89W1DN8D9R","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":259949,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhQu0zCRA9TVsSAnZWagAAOYQP/iWzXN3ysEDhy74ppgVC\n6h9xprvkq/cnQrTAhY96tENENXXOtJBEcNiTRYzjzGIpOyp0UY/wmFapcU7+\nyQypMNupX9HKJyKRa3+SE7iNmQpYRtBZQ9D7Moye3PN8ymIsGFRrJtwsBJIZ\ns+uVEkQCe2qEh2awCU+1hK5VdjiWFQdjNkDTMZS953rtbyeffBUhV45ilGv0\nM1Lrql54Ip8ljutOV4aPPfYxBrkA1F/eC7fl61qzvn3frKbtaEt8OzBw+i/7\n8XZDGZyTGjMgf7xsg/OoIDrEIxTcCxuME16qdx0QLNfT8oyBrLpLQ4pdZYkK\nt/wAuHfRnvaV6fY1dkISHblCJQHluIH0TGcr0JA0lG7sHbqX8LYIfmTk78QH\ni1wSJab0IdXlfPKbfgTBXuexplQsskjKxhlqSVMaNv1spmsxYZxYxizfDEWM\nhn5nipJM8rxot4BV7zIANVe0nDEDsahxc+mh370a+BWlNrEk4XLtHGIAJvhn\nPfPKDDcVXoQLX53xROyKsb8NMI1wbQjQ5p+PXA77QVuWgK7WWdQ3RLpgQJW0\nkrTufVU2JJi+fHu21MWECJ5Ma1Z0eRoAMQCISvcyG974V1GWCpx9Dxud3NZw\nv5lPQ1woGnzoC5vwpR/mAt74YRrqIDx8YFBeEvOaqtYxp8xpk01YTg9V8zsX\nKnCo\r\n=UcI5\r\n-----END PGP SIGNATURE-----\r\n","size":27068,"noattachment":false,"key":"/@atlaskit/tokens/-/@atlaskit/tokens-0.2.1.tgz"},"main":"dist/cjs/index.js","types":"dist/types/index.d.ts","module":"dist/esm/index.js","scripts":{"ak-postbuild":"yarn codegen-tokens && yarn check-clean-git","codegen-tokens":"ts-node --project ../../../tsconfig.node.json ./scripts/style-dictionary/build","check-clean-git":"git diff --exit-code -- packages/design-system/tokens/ || (echo 'tokens are is out of date, run bolt build tokens' && false)"},"_npmUser":{"name":"atlaskit","email":"afp-repo-bot@atlassian.com"},"prettier":"@atlassian/atlassian-frontend-prettier-config-1.0.1","atlassian":{"team":"Design System Team","releaseModel":"scheduled"},"techstack":{"@repo/internal":{"deprecation":"no-deprecated-imports","design-system":"v1","ui-components":"lite-mode"},"@atlassian/frontend":{"import-structure":"atlassian-conventions","circular-dependencies":"file-and-folder-level"}},"af:exports":{".":"./src/index.tsx","./token-names":"./src/entry-points/token-names.tsx","./rename-mapping":"./src/entry-points/rename-mapping.tsx","./token-default-values":"./src/entry-points/token-default-values.tsx"},"repository":{"url":"git+https://bitbucket.org/atlassian/atlassian-frontend.git","type":"git"},"_npmVersion":"6.14.12","description":"Tokens are a single source of truth to name and store Atlassian design decisions.","directories":{},"sideEffects":false,"_nodeVersion":"12.22.1","atlaskit:src":"src/index.tsx","dependencies":{"@babel/runtime":"^7.0.0"},"module:es2019":"dist/es2019/index.js","publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"lodash":"^4.17.15","ts-node":"^10.0.0","prettier":"^2.1.1","typescript":"3.9.6","style-dictionary":"^3.0.0","@atlassian/atlassian-frontend-prettier-config-1.0.1":"npm:@atlassian/atlassian-frontend-prettier-config@1.0.1"},"_npmOperationalInternal":{"tmp":"tmp/tokens_0.2.1_1631776051636_0.8441649978476105","host":"s3://npm-registry-packages"},"readme":"# Tokens\n\nTokens are a single source of truth to name and store Atlassian design decisions.\n\n## Installation\n\n```sh\nyarn add @atlaskit/tokens\n```\n\n## Usage\n\n[View documentation](https://atlassian.design/components/tokens).\n\n# BabelPlugin\n\nA babel plugin to optimise performance and support fallbacks for Design System tokens.\n\nIt replaces any calls to the `@atlaskit/tokens` token() function with the CSS value the function\nwould return (i.e. var(--token-name) or variations with fallbacks).\n\nIf there’s no fallback, the plugin (optionally) finds the token’s value from the default Atlassian\ntheme, and sets it as the fallback.\n\nIf there is a fallback defined in code, it’s inserted into the style (expressions are inserted using\ntemplate strings).\n\n## Usage\n\nAdd the plugin to your babel configuration:\n\n```\n{\n  \"plugins\": [\n    [\"@atlaskit/tokens/babel-plugin\", { \"shouldUseAutoFallback\": true }]\n  ]\n}\n```\n\n### Options\n\nCurrently the plugin supports one option, `shouldUseAutoFallback`. When not disabled, the plugin\nwill fetch the token's value in the default Atlassian theme (currently `atlassian-light`) and use it\nas the fallback value.\n\nThis is useful for cases where tokens are in use, but token definitions aren't guaranteed to be\npresent in the top-level page CSS.\n","publish_time":1631776051824,"maintainers":[{"name":"atlaskit","email":"afp-repo-bot@atlassian.com"}],"_cnpm_publish_time":1631776051824,"dist-tags":{"latest":"20.15.0","next":"1.4.2"}}