From 7b2cb850195da38ec6552d486e5c4e1c7af78c89 Mon Sep 17 00:00:00 2001 From: Dan Rader Date: Tue, 15 Nov 2022 15:29:21 -0500 Subject: [PATCH 1/7] Optimizing for JS friendly token names - removed tiers in base color names so it's green300 instead of green.300 - removed background-2 and changed to background2 --- npm-debug.log | 1091 +++++++++++++++++++++++++++++ package-lock.json | 2 +- tokens/color/SemanticPalette.json | 50 +- tokens/color/accentPalette.json | 8 +- tokens/color/base.json | 166 ++--- tokens/color/primaryPalette.json | 42 +- tokens/color/text.json | 24 +- 7 files changed, 1228 insertions(+), 155 deletions(-) create mode 100644 npm-debug.log diff --git a/npm-debug.log b/npm-debug.log new file mode 100644 index 0000000..9bc227d --- /dev/null +++ b/npm-debug.log @@ -0,0 +1,1091 @@ +0 info it worked if it ends with ok +1 verbose cli [ '/Users/danrader/.nvm/versions/node/v6.3.1/bin/node', +1 verbose cli '/Users/danrader/.nvm/versions/node/v6.3.1/bin/npm', +1 verbose cli 'install' ] +2 info using npm@3.10.3 +3 info using node@v6.3.1 +4 silly loadCurrentTree Starting +5 silly install loadCurrentTree +6 silly install readLocalPackageData +7 silly install normalizeTree +8 silly loadCurrentTree Finishing +9 silly loadIdealTree Starting +10 silly install loadIdealTree +11 silly cloneCurrentTree Starting +12 silly install cloneCurrentTreeToIdealTree +13 silly cloneCurrentTree Finishing +14 silly loadShrinkwrap Starting +15 silly install loadShrinkwrap +16 silly loadShrinkwrap Finishing +17 silly loadAllDepsIntoIdealTree Starting +18 silly install loadAllDepsIntoIdealTree +19 silly fetchNamedPackageData style-dictionary +20 silly mapToRegistry name style-dictionary +21 silly mapToRegistry using default registry +22 silly mapToRegistry registry https://registry.npmjs.org/ +23 silly mapToRegistry data Result { +23 silly mapToRegistry raw: 'style-dictionary', +23 silly mapToRegistry scope: null, +23 silly mapToRegistry escapedName: 'style-dictionary', +23 silly mapToRegistry name: 'style-dictionary', +23 silly mapToRegistry rawSpec: '', +23 silly mapToRegistry spec: 'latest', +23 silly mapToRegistry type: 'tag' } +24 silly mapToRegistry uri https://registry.npmjs.org/style-dictionary +25 verbose request uri https://registry.npmjs.org/style-dictionary +26 verbose request no auth needed +27 info attempt registry request try #1 at 3:27:05 PM +28 verbose request id 63b989e29388070b +29 http request GET https://registry.npmjs.org/style-dictionary +30 http 200 https://registry.npmjs.org/style-dictionary +31 verbose headers { date: 'Tue, 15 Nov 2022 20:27:05 GMT', +31 verbose headers 'content-type': 'application/json', +31 verbose headers 'transfer-encoding': 'chunked', +31 verbose headers connection: 'keep-alive', +31 verbose headers 'cf-ray': '76aab9bdabbf8ccc-EWR', +31 verbose headers 'access-control-allow-origin': '*', +31 verbose headers 'cache-control': 'public, max-age=300', +31 verbose headers etag: 'W/"62647da124f7f5f765a66faa27228f09"', +31 verbose headers 'last-modified': 'Mon, 27 Jun 2022 01:28:53 GMT', +31 verbose headers vary: 'accept-encoding, accept', +31 verbose headers 'cf-cache-status': 'REVALIDATED', +31 verbose headers 'x-amz-replication-status': 'COMPLETED', +31 verbose headers server: 'cloudflare', +31 verbose headers 'content-encoding': 'gzip' } +32 silly get cb [ 200, +32 silly get { date: 'Tue, 15 Nov 2022 20:27:05 GMT', +32 silly get 'content-type': 'application/json', +32 silly get 'transfer-encoding': 'chunked', +32 silly get connection: 'keep-alive', +32 silly get 'cf-ray': '76aab9bdabbf8ccc-EWR', +32 silly get 'access-control-allow-origin': '*', +32 silly get 'cache-control': 'public, max-age=300', +32 silly get etag: 'W/"62647da124f7f5f765a66faa27228f09"', +32 silly get 'last-modified': 'Mon, 27 Jun 2022 01:28:53 GMT', +32 silly get vary: 'accept-encoding, accept', +32 silly get 'cf-cache-status': 'REVALIDATED', +32 silly get 'x-amz-replication-status': 'COMPLETED', +32 silly get server: 'cloudflare', +32 silly get 'content-encoding': 'gzip' } ] +33 verbose get saving style-dictionary to /Users/danrader/.npm/registry.npmjs.org/style-dictionary/.cache.json +34 verbose correctMkdir /Users/danrader/.npm correctMkdir not in flight; initializing +35 silly resolveWithNewModule style-dictionary@3.7.1 checking installable status +36 silly cache add args [ 'style-dictionary@^3.0.3', null ] +37 verbose cache add spec style-dictionary@^3.0.3 +38 silly cache add parsed spec Result { +38 silly cache add raw: 'style-dictionary@^3.0.3', +38 silly cache add scope: null, +38 silly cache add escapedName: 'style-dictionary', +38 silly cache add name: 'style-dictionary', +38 silly cache add rawSpec: '^3.0.3', +38 silly cache add spec: '>=3.0.3 <4.0.0', +38 silly cache add type: 'range' } +39 silly addNamed style-dictionary@>=3.0.3 <4.0.0 +40 verbose addNamed ">=3.0.3 <4.0.0" is a valid semver range for style-dictionary +41 silly addNameRange { name: 'style-dictionary', +41 silly addNameRange range: '>=3.0.3 <4.0.0', +41 silly addNameRange hasData: false } +42 silly mapToRegistry name style-dictionary +43 silly mapToRegistry using default registry +44 silly mapToRegistry registry https://registry.npmjs.org/ +45 silly mapToRegistry data Result { +45 silly mapToRegistry raw: 'style-dictionary', +45 silly mapToRegistry scope: null, +45 silly mapToRegistry escapedName: 'style-dictionary', +45 silly mapToRegistry name: 'style-dictionary', +45 silly mapToRegistry rawSpec: '', +45 silly mapToRegistry spec: 'latest', +45 silly mapToRegistry type: 'tag' } +46 silly mapToRegistry uri https://registry.npmjs.org/style-dictionary +47 verbose addNameRange registry:https://registry.npmjs.org/style-dictionary not in flight; fetching +48 verbose get https://registry.npmjs.org/style-dictionary not expired, no request +49 silly addNameRange number 2 { name: 'style-dictionary', +49 silly addNameRange range: '>=3.0.3 <4.0.0', +49 silly addNameRange hasData: true } +50 silly addNameRange versions [ 'style-dictionary', +50 silly addNameRange [ '2.0.0-beta', +50 silly addNameRange '2.0.0', +50 silly addNameRange '2.1.0', +50 silly addNameRange '2.2.0', +50 silly addNameRange '2.2.1', +50 silly addNameRange '2.3.0', +50 silly addNameRange '2.4.0', +50 silly addNameRange '2.5.0', +50 silly addNameRange '2.6.0', +50 silly addNameRange '2.6.1', +50 silly addNameRange '2.6.2', +50 silly addNameRange '2.7.0', +50 silly addNameRange '2.8.0', +50 silly addNameRange '2.8.1', +50 silly addNameRange '2.8.2', +50 silly addNameRange '2.8.3', +50 silly addNameRange '2.9.0', +50 silly addNameRange '2.10.0', +50 silly addNameRange '2.10.1', +50 silly addNameRange '2.10.2', +50 silly addNameRange '3.0.0-rc.0', +50 silly addNameRange '3.0.0-rc.1', +50 silly addNameRange '3.0.0-rc.2', +50 silly addNameRange '3.0.0-rc.3', +50 silly addNameRange '3.0.0-rc.4', +50 silly addNameRange '3.0.0-rc.5', +50 silly addNameRange '2.10.3', +50 silly addNameRange '3.0.0-rc.6', +50 silly addNameRange '3.0.0-rc.7', +50 silly addNameRange '3.0.0-rc.8', +50 silly addNameRange '3.0.0-rc.9', +50 silly addNameRange '3.0.0-rc.10', +50 silly addNameRange '3.0.0', +50 silly addNameRange '3.0.1', +50 silly addNameRange '3.0.2', +50 silly addNameRange '3.0.3', +50 silly addNameRange '3.1.0', +50 silly addNameRange '3.1.1', +50 silly addNameRange '3.7.0', +50 silly addNameRange '3.7.1' ] ] +51 silly addNamed style-dictionary@3.7.1 +52 verbose addNamed "3.7.1" is a plain semver version for style-dictionary +53 silly mapToRegistry name style-dictionary +54 silly mapToRegistry using default registry +55 silly mapToRegistry registry https://registry.npmjs.org/ +56 silly mapToRegistry data Result { +56 silly mapToRegistry raw: 'style-dictionary', +56 silly mapToRegistry scope: null, +56 silly mapToRegistry escapedName: 'style-dictionary', +56 silly mapToRegistry name: 'style-dictionary', +56 silly mapToRegistry rawSpec: '', +56 silly mapToRegistry spec: 'latest', +56 silly mapToRegistry type: 'tag' } +57 silly mapToRegistry uri https://registry.npmjs.org/style-dictionary +58 verbose addRemoteTarball https://registry.npmjs.org/style-dictionary/-/style-dictionary-3.7.1.tgz not in flight; adding +59 verbose addRemoteTarball [ 'https://registry.npmjs.org/style-dictionary/-/style-dictionary-3.7.1.tgz', +59 verbose addRemoteTarball 'd61c980513d7bb0a1946a9fab31491a672d0f6a2' ] +60 info retry fetch attempt 1 at 3:27:05 PM +61 info attempt registry request try #1 at 3:27:05 PM +62 http fetch GET https://registry.npmjs.org/style-dictionary/-/style-dictionary-3.7.1.tgz +63 http fetch 200 https://registry.npmjs.org/style-dictionary/-/style-dictionary-3.7.1.tgz +64 silly fetchAndShaCheck shasum d61c980513d7bb0a1946a9fab31491a672d0f6a2 +65 verbose addTmpTarball /var/folders/7x/ngq74hs94915_vlr4pvtzwzm0000gn/T/npm-70705-03775045/registry.npmjs.org/style-dictionary/-/style-dictionary-3.7.1.tgz not in flight; adding +66 verbose addTmpTarball already have metadata; skipping unpack for style-dictionary@3.7.1 +67 verbose correctMkdir /Users/danrader/.npm correctMkdir not in flight; initializing +68 silly cache afterAdd style-dictionary@3.7.1 +69 verbose afterAdd /Users/danrader/.npm/style-dictionary/3.7.1/package/package.json not in flight; writing +70 verbose correctMkdir /Users/danrader/.npm correctMkdir not in flight; initializing +71 verbose afterAdd /Users/danrader/.npm/style-dictionary/3.7.1/package/package.json written +72 silly fetchNamedPackageData chalk +73 silly mapToRegistry name chalk +74 silly mapToRegistry using default registry +75 silly mapToRegistry registry https://registry.npmjs.org/ +76 silly mapToRegistry data Result { +76 silly mapToRegistry raw: 'chalk', +76 silly mapToRegistry scope: null, +76 silly mapToRegistry escapedName: 'chalk', +76 silly mapToRegistry name: 'chalk', +76 silly mapToRegistry rawSpec: '', +76 silly mapToRegistry spec: 'latest', +76 silly mapToRegistry type: 'tag' } +77 silly mapToRegistry uri https://registry.npmjs.org/chalk +78 silly fetchNamedPackageData change-case +79 silly mapToRegistry name change-case +80 silly mapToRegistry using default registry +81 silly mapToRegistry registry https://registry.npmjs.org/ +82 silly mapToRegistry data Result { +82 silly mapToRegistry raw: 'change-case', +82 silly mapToRegistry scope: null, +82 silly mapToRegistry escapedName: 'change-case', +82 silly mapToRegistry name: 'change-case', +82 silly mapToRegistry rawSpec: '', +82 silly mapToRegistry spec: 'latest', +82 silly mapToRegistry type: 'tag' } +83 silly mapToRegistry uri https://registry.npmjs.org/change-case +84 silly fetchNamedPackageData commander +85 silly mapToRegistry name commander +86 silly mapToRegistry using default registry +87 silly mapToRegistry registry https://registry.npmjs.org/ +88 silly mapToRegistry data Result { +88 silly mapToRegistry raw: 'commander', +88 silly mapToRegistry scope: null, +88 silly mapToRegistry escapedName: 'commander', +88 silly mapToRegistry name: 'commander', +88 silly mapToRegistry rawSpec: '', +88 silly mapToRegistry spec: 'latest', +88 silly mapToRegistry type: 'tag' } +89 silly mapToRegistry uri https://registry.npmjs.org/commander +90 silly fetchNamedPackageData fs-extra +91 silly mapToRegistry name fs-extra +92 silly mapToRegistry using default registry +93 silly mapToRegistry registry https://registry.npmjs.org/ +94 silly mapToRegistry data Result { +94 silly mapToRegistry raw: 'fs-extra', +94 silly mapToRegistry scope: null, +94 silly mapToRegistry escapedName: 'fs-extra', +94 silly mapToRegistry name: 'fs-extra', +94 silly mapToRegistry rawSpec: '', +94 silly mapToRegistry spec: 'latest', +94 silly mapToRegistry type: 'tag' } +95 silly mapToRegistry uri https://registry.npmjs.org/fs-extra +96 silly fetchNamedPackageData glob +97 silly mapToRegistry name glob +98 silly mapToRegistry using default registry +99 silly mapToRegistry registry https://registry.npmjs.org/ +100 silly mapToRegistry data Result { +100 silly mapToRegistry raw: 'glob', +100 silly mapToRegistry scope: null, +100 silly mapToRegistry escapedName: 'glob', +100 silly mapToRegistry name: 'glob', +100 silly mapToRegistry rawSpec: '', +100 silly mapToRegistry spec: 'latest', +100 silly mapToRegistry type: 'tag' } +101 silly mapToRegistry uri https://registry.npmjs.org/glob +102 silly fetchNamedPackageData json5 +103 silly mapToRegistry name json5 +104 silly mapToRegistry using default registry +105 silly mapToRegistry registry https://registry.npmjs.org/ +106 silly mapToRegistry data Result { +106 silly mapToRegistry raw: 'json5', +106 silly mapToRegistry scope: null, +106 silly mapToRegistry escapedName: 'json5', +106 silly mapToRegistry name: 'json5', +106 silly mapToRegistry rawSpec: '', +106 silly mapToRegistry spec: 'latest', +106 silly mapToRegistry type: 'tag' } +107 silly mapToRegistry uri https://registry.npmjs.org/json5 +108 silly fetchNamedPackageData jsonc-parser +109 silly mapToRegistry name jsonc-parser +110 silly mapToRegistry using default registry +111 silly mapToRegistry registry https://registry.npmjs.org/ +112 silly mapToRegistry data Result { +112 silly mapToRegistry raw: 'jsonc-parser', +112 silly mapToRegistry scope: null, +112 silly mapToRegistry escapedName: 'jsonc-parser', +112 silly mapToRegistry name: 'jsonc-parser', +112 silly mapToRegistry rawSpec: '', +112 silly mapToRegistry spec: 'latest', +112 silly mapToRegistry type: 'tag' } +113 silly mapToRegistry uri https://registry.npmjs.org/jsonc-parser +114 silly fetchNamedPackageData lodash +115 silly mapToRegistry name lodash +116 silly mapToRegistry using default registry +117 silly mapToRegistry registry https://registry.npmjs.org/ +118 silly mapToRegistry data Result { +118 silly mapToRegistry raw: 'lodash', +118 silly mapToRegistry scope: null, +118 silly mapToRegistry escapedName: 'lodash', +118 silly mapToRegistry name: 'lodash', +118 silly mapToRegistry rawSpec: '', +118 silly mapToRegistry spec: 'latest', +118 silly mapToRegistry type: 'tag' } +119 silly mapToRegistry uri https://registry.npmjs.org/lodash +120 silly fetchNamedPackageData tinycolor2 +121 silly mapToRegistry name tinycolor2 +122 silly mapToRegistry using default registry +123 silly mapToRegistry registry https://registry.npmjs.org/ +124 silly mapToRegistry data Result { +124 silly mapToRegistry raw: 'tinycolor2', +124 silly mapToRegistry scope: null, +124 silly mapToRegistry escapedName: 'tinycolor2', +124 silly mapToRegistry name: 'tinycolor2', +124 silly mapToRegistry rawSpec: '', +124 silly mapToRegistry spec: 'latest', +124 silly mapToRegistry type: 'tag' } +125 silly mapToRegistry uri https://registry.npmjs.org/tinycolor2 +126 verbose request uri https://registry.npmjs.org/change-case +127 verbose request no auth needed +128 info attempt registry request try #1 at 3:27:05 PM +129 http request GET https://registry.npmjs.org/change-case +130 verbose request uri https://registry.npmjs.org/jsonc-parser +131 verbose request no auth needed +132 info attempt registry request try #1 at 3:27:05 PM +133 http request GET https://registry.npmjs.org/jsonc-parser +134 verbose request uri https://registry.npmjs.org/json5 +135 verbose request no auth needed +136 info attempt registry request try #1 at 3:27:05 PM +137 verbose etag W/"b1949d1b338003a85c4dac236b9c62b2" +138 verbose lastModified Sun, 19 Jun 2022 06:33:32 GMT +139 http request GET https://registry.npmjs.org/json5 +140 verbose request uri https://registry.npmjs.org/chalk +141 verbose request no auth needed +142 info attempt registry request try #1 at 3:27:05 PM +143 verbose etag W/"02273622b8fbfe2cbc5ec38091b9849a" +144 verbose lastModified Wed, 05 Oct 2022 14:46:22 GMT +145 http request GET https://registry.npmjs.org/chalk +146 verbose request uri https://registry.npmjs.org/fs-extra +147 verbose request no auth needed +148 info attempt registry request try #1 at 3:27:05 PM +149 verbose etag W/"fde9a59edd1639645ab79729f43ac9f1" +150 verbose lastModified Tue, 30 Aug 2022 11:12:02 GMT +151 http request GET https://registry.npmjs.org/fs-extra +152 verbose request uri https://registry.npmjs.org/glob +153 verbose request no auth needed +154 info attempt registry request try #1 at 3:27:05 PM +155 verbose etag W/"0d21fc907085aea3cbbe5c78cf6d2320" +156 verbose lastModified Sat, 18 Jun 2022 12:53:27 GMT +157 http request GET https://registry.npmjs.org/glob +158 verbose request uri https://registry.npmjs.org/tinycolor2 +159 verbose request no auth needed +160 info attempt registry request try #1 at 3:27:05 PM +161 verbose etag W/"ed428225c48378a7d4d60abb03468e00" +162 verbose lastModified Sun, 27 May 2018 19:33:43 GMT +163 http request GET https://registry.npmjs.org/tinycolor2 +164 verbose request uri https://registry.npmjs.org/lodash +165 verbose request no auth needed +166 info attempt registry request try #1 at 3:27:05 PM +167 verbose etag W/"b48f1cd71309b86a6250d5fa311b4450" +168 verbose lastModified Mon, 10 Oct 2022 06:14:53 GMT +169 http request GET https://registry.npmjs.org/lodash +170 verbose request uri https://registry.npmjs.org/commander +171 verbose request no auth needed +172 info attempt registry request try #1 at 3:27:05 PM +173 verbose etag W/"7a2173595ece9cdd8356b9f941c969f8" +174 verbose lastModified Fri, 30 Sep 2022 07:28:05 GMT +175 http request GET https://registry.npmjs.org/commander +176 http 304 https://registry.npmjs.org/json5 +177 verbose headers { date: 'Tue, 15 Nov 2022 20:27:05 GMT', +177 verbose headers connection: 'keep-alive', +177 verbose headers 'cf-ray': '76aab9c17b870cd5-EWR', +177 verbose headers age: '174', +177 verbose headers 'cache-control': 'public, max-age=300', +177 verbose headers etag: '"b1949d1b338003a85c4dac236b9c62b2"', +177 verbose headers 'last-modified': 'Sun, 19 Jun 2022 06:33:32 GMT', +177 verbose headers vary: 'Accept-Encoding', +177 verbose headers 'cf-cache-status': 'HIT', +177 verbose headers 'x-amz-replication-status': 'COMPLETED', +177 verbose headers server: 'cloudflare' } +178 silly get cb [ 304, +178 silly get { date: 'Tue, 15 Nov 2022 20:27:05 GMT', +178 silly get connection: 'keep-alive', +178 silly get 'cf-ray': '76aab9c17b870cd5-EWR', +178 silly get age: '174', +178 silly get 'cache-control': 'public, max-age=300', +178 silly get etag: '"b1949d1b338003a85c4dac236b9c62b2"', +178 silly get 'last-modified': 'Sun, 19 Jun 2022 06:33:32 GMT', +178 silly get vary: 'Accept-Encoding', +178 silly get 'cf-cache-status': 'HIT', +178 silly get 'x-amz-replication-status': 'COMPLETED', +178 silly get server: 'cloudflare' } ] +179 verbose etag https://registry.npmjs.org/json5 from cache +180 verbose get saving json5 to /Users/danrader/.npm/registry.npmjs.org/json5/.cache.json +181 verbose correctMkdir /Users/danrader/.npm correctMkdir not in flight; initializing +182 silly resolveWithNewModule json5@2.2.1 checking installable status +183 silly cache add args [ 'json5@^2.2.0', null ] +184 verbose cache add spec json5@^2.2.0 +185 silly cache add parsed spec Result { +185 silly cache add raw: 'json5@^2.2.0', +185 silly cache add scope: null, +185 silly cache add escapedName: 'json5', +185 silly cache add name: 'json5', +185 silly cache add rawSpec: '^2.2.0', +185 silly cache add spec: '>=2.2.0 <3.0.0', +185 silly cache add type: 'range' } +186 silly addNamed json5@>=2.2.0 <3.0.0 +187 verbose addNamed ">=2.2.0 <3.0.0" is a valid semver range for json5 +188 silly addNameRange { name: 'json5', range: '>=2.2.0 <3.0.0', hasData: false } +189 silly mapToRegistry name json5 +190 silly mapToRegistry using default registry +191 silly mapToRegistry registry https://registry.npmjs.org/ +192 silly mapToRegistry data Result { +192 silly mapToRegistry raw: 'json5', +192 silly mapToRegistry scope: null, +192 silly mapToRegistry escapedName: 'json5', +192 silly mapToRegistry name: 'json5', +192 silly mapToRegistry rawSpec: '', +192 silly mapToRegistry spec: 'latest', +192 silly mapToRegistry type: 'tag' } +193 silly mapToRegistry uri https://registry.npmjs.org/json5 +194 verbose addNameRange registry:https://registry.npmjs.org/json5 not in flight; fetching +195 verbose get https://registry.npmjs.org/json5 not expired, no request +196 silly addNameRange number 2 { name: 'json5', range: '>=2.2.0 <3.0.0', hasData: true } +197 silly addNameRange versions [ 'json5', +197 silly addNameRange [ '0.0.0', +197 silly addNameRange '0.0.1', +197 silly addNameRange '0.1.0', +197 silly addNameRange '0.2.0', +197 silly addNameRange '0.4.0', +197 silly addNameRange '0.5.0', +197 silly addNameRange '0.5.1', +197 silly addNameRange '1.0.0-dates', +197 silly addNameRange '1.0.0-regexps', +197 silly addNameRange '1.0.0-beta', +197 silly addNameRange '1.0.0-dates-2', +197 silly addNameRange '1.0.0-regexps-2', +197 silly addNameRange '1.0.0-beta-2', +197 silly addNameRange '1.0.0-beta.4', +197 silly addNameRange '1.0.0', +197 silly addNameRange '1.0.1', +197 silly addNameRange '2.0.0', +197 silly addNameRange '2.0.1', +197 silly addNameRange '2.1.0', +197 silly addNameRange '2.1.1', +197 silly addNameRange '2.1.2', +197 silly addNameRange '2.1.3', +197 silly addNameRange '2.2.0', +197 silly addNameRange '2.2.1' ] ] +198 silly addNamed json5@2.2.1 +199 verbose addNamed "2.2.1" is a plain semver version for json5 +200 silly mapToRegistry name json5 +201 silly mapToRegistry using default registry +202 silly mapToRegistry registry https://registry.npmjs.org/ +203 silly mapToRegistry data Result { +203 silly mapToRegistry raw: 'json5', +203 silly mapToRegistry scope: null, +203 silly mapToRegistry escapedName: 'json5', +203 silly mapToRegistry name: 'json5', +203 silly mapToRegistry rawSpec: '', +203 silly mapToRegistry spec: 'latest', +203 silly mapToRegistry type: 'tag' } +204 silly mapToRegistry uri https://registry.npmjs.org/json5 +205 verbose addRemoteTarball https://registry.npmjs.org/json5/-/json5-2.2.1.tgz not in flight; adding +206 verbose addRemoteTarball [ 'https://registry.npmjs.org/json5/-/json5-2.2.1.tgz', +206 verbose addRemoteTarball '655d50ed1e6f95ad1a3caababd2b0efda10b395c' ] +207 info retry fetch attempt 1 at 3:27:05 PM +208 info attempt registry request try #1 at 3:27:05 PM +209 http fetch GET https://registry.npmjs.org/json5/-/json5-2.2.1.tgz +210 http 200 https://registry.npmjs.org/lodash +211 verbose headers { date: 'Tue, 15 Nov 2022 20:27:05 GMT', +211 verbose headers 'content-type': 'application/json', +211 verbose headers 'transfer-encoding': 'chunked', +211 verbose headers connection: 'keep-alive', +211 verbose headers 'cf-ray': '76aab9c18d2ac46b-EWR', +211 verbose headers 'access-control-allow-origin': '*', +211 verbose headers age: '41', +211 verbose headers 'cache-control': 'public, max-age=300', +211 verbose headers etag: 'W/"0afe0bc772456f097cac85a1c07c312c"', +211 verbose headers 'last-modified': 'Tue, 15 Nov 2022 01:29:45 GMT', +211 verbose headers vary: 'accept-encoding, accept', +211 verbose headers 'cf-cache-status': 'HIT', +211 verbose headers 'x-amz-replication-status': 'PENDING', +211 verbose headers server: 'cloudflare', +211 verbose headers 'content-encoding': 'gzip' } +212 silly get cb [ 200, +212 silly get { date: 'Tue, 15 Nov 2022 20:27:05 GMT', +212 silly get 'content-type': 'application/json', +212 silly get 'transfer-encoding': 'chunked', +212 silly get connection: 'keep-alive', +212 silly get 'cf-ray': '76aab9c18d2ac46b-EWR', +212 silly get 'access-control-allow-origin': '*', +212 silly get age: '41', +212 silly get 'cache-control': 'public, max-age=300', +212 silly get etag: 'W/"0afe0bc772456f097cac85a1c07c312c"', +212 silly get 'last-modified': 'Tue, 15 Nov 2022 01:29:45 GMT', +212 silly get vary: 'accept-encoding, accept', +212 silly get 'cf-cache-status': 'HIT', +212 silly get 'x-amz-replication-status': 'PENDING', +212 silly get server: 'cloudflare', +212 silly get 'content-encoding': 'gzip' } ] +213 verbose get saving lodash to /Users/danrader/.npm/registry.npmjs.org/lodash/.cache.json +214 verbose correctMkdir /Users/danrader/.npm correctMkdir not in flight; initializing +215 http 304 https://registry.npmjs.org/glob +216 verbose headers { date: 'Tue, 15 Nov 2022 20:27:05 GMT', +216 verbose headers connection: 'keep-alive', +216 verbose headers 'cf-ray': '76aab9c1b97132e4-EWR', +216 verbose headers age: '256', +216 verbose headers 'cache-control': 'public, max-age=300', +216 verbose headers etag: '"0d21fc907085aea3cbbe5c78cf6d2320"', +216 verbose headers 'last-modified': 'Sat, 18 Jun 2022 12:53:27 GMT', +216 verbose headers vary: 'Accept-Encoding', +216 verbose headers 'cf-cache-status': 'HIT', +216 verbose headers 'x-amz-replication-status': 'COMPLETED', +216 verbose headers server: 'cloudflare' } +217 silly get cb [ 304, +217 silly get { date: 'Tue, 15 Nov 2022 20:27:05 GMT', +217 silly get connection: 'keep-alive', +217 silly get 'cf-ray': '76aab9c1b97132e4-EWR', +217 silly get age: '256', +217 silly get 'cache-control': 'public, max-age=300', +217 silly get etag: '"0d21fc907085aea3cbbe5c78cf6d2320"', +217 silly get 'last-modified': 'Sat, 18 Jun 2022 12:53:27 GMT', +217 silly get vary: 'Accept-Encoding', +217 silly get 'cf-cache-status': 'HIT', +217 silly get 'x-amz-replication-status': 'COMPLETED', +217 silly get server: 'cloudflare' } ] +218 verbose etag https://registry.npmjs.org/glob from cache +219 verbose get saving glob to /Users/danrader/.npm/registry.npmjs.org/glob/.cache.json +220 verbose correctMkdir /Users/danrader/.npm correctMkdir not in flight; initializing +221 http 200 https://registry.npmjs.org/jsonc-parser +222 verbose headers { date: 'Tue, 15 Nov 2022 20:27:05 GMT', +222 verbose headers 'content-type': 'application/json', +222 verbose headers 'transfer-encoding': 'chunked', +222 verbose headers connection: 'keep-alive', +222 verbose headers 'cf-ray': '76aab9c18a37e6d0-EWR', +222 verbose headers 'access-control-allow-origin': '*', +222 verbose headers age: '27', +222 verbose headers 'cache-control': 'public, max-age=300', +222 verbose headers etag: 'W/"7ce91aa62a10e4dd500ebf4a952cb4d0"', +222 verbose headers 'last-modified': 'Thu, 03 Nov 2022 15:06:49 GMT', +222 verbose headers vary: 'accept-encoding, accept', +222 verbose headers 'cf-cache-status': 'HIT', +222 verbose headers 'x-amz-replication-status': 'PENDING', +222 verbose headers server: 'cloudflare', +222 verbose headers 'content-encoding': 'gzip' } +223 silly get cb [ 200, +223 silly get { date: 'Tue, 15 Nov 2022 20:27:05 GMT', +223 silly get 'content-type': 'application/json', +223 silly get 'transfer-encoding': 'chunked', +223 silly get connection: 'keep-alive', +223 silly get 'cf-ray': '76aab9c18a37e6d0-EWR', +223 silly get 'access-control-allow-origin': '*', +223 silly get age: '27', +223 silly get 'cache-control': 'public, max-age=300', +223 silly get etag: 'W/"7ce91aa62a10e4dd500ebf4a952cb4d0"', +223 silly get 'last-modified': 'Thu, 03 Nov 2022 15:06:49 GMT', +223 silly get vary: 'accept-encoding, accept', +223 silly get 'cf-cache-status': 'HIT', +223 silly get 'x-amz-replication-status': 'PENDING', +223 silly get server: 'cloudflare', +223 silly get 'content-encoding': 'gzip' } ] +224 verbose get saving jsonc-parser to /Users/danrader/.npm/registry.npmjs.org/jsonc-parser/.cache.json +225 verbose correctMkdir /Users/danrader/.npm correctMkdir not in flight; initializing +226 silly resolveWithNewModule lodash@4.17.21 checking installable status +227 silly cache add args [ 'lodash@^4.17.15', null ] +228 verbose cache add spec lodash@^4.17.15 +229 silly cache add parsed spec Result { +229 silly cache add raw: 'lodash@^4.17.15', +229 silly cache add scope: null, +229 silly cache add escapedName: 'lodash', +229 silly cache add name: 'lodash', +229 silly cache add rawSpec: '^4.17.15', +229 silly cache add spec: '>=4.17.15 <5.0.0', +229 silly cache add type: 'range' } +230 silly addNamed lodash@>=4.17.15 <5.0.0 +231 verbose addNamed ">=4.17.15 <5.0.0" is a valid semver range for lodash +232 silly addNameRange { name: 'lodash', range: '>=4.17.15 <5.0.0', hasData: false } +233 silly mapToRegistry name lodash +234 silly mapToRegistry using default registry +235 silly mapToRegistry registry https://registry.npmjs.org/ +236 silly mapToRegistry data Result { +236 silly mapToRegistry raw: 'lodash', +236 silly mapToRegistry scope: null, +236 silly mapToRegistry escapedName: 'lodash', +236 silly mapToRegistry name: 'lodash', +236 silly mapToRegistry rawSpec: '', +236 silly mapToRegistry spec: 'latest', +236 silly mapToRegistry type: 'tag' } +237 silly mapToRegistry uri https://registry.npmjs.org/lodash +238 verbose addNameRange registry:https://registry.npmjs.org/lodash not in flight; fetching +239 verbose get https://registry.npmjs.org/lodash not expired, no request +240 silly addNameRange number 2 { name: 'lodash', range: '>=4.17.15 <5.0.0', hasData: true } +241 silly addNameRange versions [ 'lodash', +241 silly addNameRange [ '0.1.0', +241 silly addNameRange '0.2.0', +241 silly addNameRange '0.2.1', +241 silly addNameRange '0.2.2', +241 silly addNameRange '0.3.0', +241 silly addNameRange '0.3.1', +241 silly addNameRange '0.3.2', +241 silly addNameRange '0.4.0', +241 silly addNameRange '0.4.1', +241 silly addNameRange '0.4.2', +241 silly addNameRange '0.5.0-rc.1', +241 silly addNameRange '0.5.0', +241 silly addNameRange '0.5.1', +241 silly addNameRange '0.5.2', +241 silly addNameRange '0.6.0', +241 silly addNameRange '0.6.1', +241 silly addNameRange '0.7.0', +241 silly addNameRange '0.8.0', +241 silly addNameRange '0.8.1', +241 silly addNameRange '0.8.2', +241 silly addNameRange '0.9.0', +241 silly addNameRange '0.9.1', +241 silly addNameRange '0.9.2', +241 silly addNameRange '0.10.0', +241 silly addNameRange '1.0.0-rc.1', +241 silly addNameRange '1.0.0-rc.2', +241 silly addNameRange '1.0.0-rc.3', +241 silly addNameRange '1.0.0', +241 silly addNameRange '1.0.1', +241 silly addNameRange '1.1.0', +241 silly addNameRange '1.1.1', +241 silly addNameRange '1.2.0', +241 silly addNameRange '1.2.1', +241 silly addNameRange '1.3.0', +241 silly addNameRange '1.3.1', +241 silly addNameRange '2.0.0', +241 silly addNameRange '2.1.0', +241 silly addNameRange '2.2.0', +241 silly addNameRange '2.2.1', +241 silly addNameRange '2.3.0', +241 silly addNameRange '2.4.0', +241 silly addNameRange '2.4.1', +241 silly addNameRange '3.0.0', +241 silly addNameRange '3.0.1', +241 silly addNameRange '3.1.0', +241 silly addNameRange '3.2.0', +241 silly addNameRange '3.3.0', +241 silly addNameRange '3.3.1', +241 silly addNameRange '3.4.0', +241 silly addNameRange '3.5.0', +241 silly addNameRange '3.6.0', +241 silly addNameRange '1.0.2', +241 silly addNameRange '3.7.0', +241 silly addNameRange '2.4.2', +241 silly addNameRange '3.8.0', +241 silly addNameRange '3.9.0', +241 silly addNameRange '3.9.1', +241 silly addNameRange '3.9.2', +241 silly addNameRange '3.9.3', +241 silly addNameRange '3.10.0', +241 silly addNameRange '3.10.1', +241 silly addNameRange '4.0.0', +241 silly addNameRange '4.0.1', +241 silly addNameRange '4.1.0', +241 silly addNameRange '4.2.0', +241 silly addNameRange '4.2.1', +241 silly addNameRange '4.3.0', +241 silly addNameRange '4.4.0', +241 silly addNameRange '4.5.0', +241 silly addNameRange '4.5.1', +241 silly addNameRange '4.6.0', +241 silly addNameRange '4.6.1', +241 silly addNameRange '4.7.0', +241 silly addNameRange '4.8.0', +241 silly addNameRange '4.8.1', +241 silly addNameRange '4.8.2', +241 silly addNameRange '4.9.0', +241 silly addNameRange '4.10.0', +241 silly addNameRange '4.11.0', +241 silly addNameRange '4.11.1', +241 silly addNameRange '4.11.2', +241 silly addNameRange '4.12.0', +241 silly addNameRange '4.13.0', +241 silly addNameRange '4.13.1', +241 silly addNameRange '4.14.0', +241 silly addNameRange '4.14.1', +241 silly addNameRange '4.14.2', +241 silly addNameRange '4.15.0', +241 silly addNameRange '4.16.0', +241 silly addNameRange '4.16.1', +241 silly addNameRange '4.16.2', +241 silly addNameRange '4.16.3', +241 silly addNameRange '4.16.4', +241 silly addNameRange '4.16.5', +241 silly addNameRange '4.16.6', +241 silly addNameRange '4.17.0', +241 silly addNameRange '4.17.1', +241 silly addNameRange '4.17.2', +241 silly addNameRange '4.17.3', +241 silly addNameRange '4.17.4', +241 silly addNameRange ... 14 more items ] ] +242 silly addNamed lodash@4.17.21 +243 verbose addNamed "4.17.21" is a plain semver version for lodash +244 silly resolveWithNewModule glob@7.2.3 checking installable status +245 silly cache add args [ 'glob@^7.2.0', null ] +246 verbose cache add spec glob@^7.2.0 +247 silly cache add parsed spec Result { +247 silly cache add raw: 'glob@^7.2.0', +247 silly cache add scope: null, +247 silly cache add escapedName: 'glob', +247 silly cache add name: 'glob', +247 silly cache add rawSpec: '^7.2.0', +247 silly cache add spec: '>=7.2.0 <8.0.0', +247 silly cache add type: 'range' } +248 silly addNamed glob@>=7.2.0 <8.0.0 +249 verbose addNamed ">=7.2.0 <8.0.0" is a valid semver range for glob +250 silly addNameRange { name: 'glob', range: '>=7.2.0 <8.0.0', hasData: false } +251 silly mapToRegistry name glob +252 silly mapToRegistry using default registry +253 silly mapToRegistry registry https://registry.npmjs.org/ +254 silly mapToRegistry data Result { +254 silly mapToRegistry raw: 'glob', +254 silly mapToRegistry scope: null, +254 silly mapToRegistry escapedName: 'glob', +254 silly mapToRegistry name: 'glob', +254 silly mapToRegistry rawSpec: '', +254 silly mapToRegistry spec: 'latest', +254 silly mapToRegistry type: 'tag' } +255 silly mapToRegistry uri https://registry.npmjs.org/glob +256 verbose addNameRange registry:https://registry.npmjs.org/glob not in flight; fetching +257 silly resolveWithNewModule jsonc-parser@3.2.0 checking installable status +258 silly cache add args [ 'jsonc-parser@^3.0.0', null ] +259 verbose cache add spec jsonc-parser@^3.0.0 +260 silly cache add parsed spec Result { +260 silly cache add raw: 'jsonc-parser@^3.0.0', +260 silly cache add scope: null, +260 silly cache add escapedName: 'jsonc-parser', +260 silly cache add name: 'jsonc-parser', +260 silly cache add rawSpec: '^3.0.0', +260 silly cache add spec: '>=3.0.0 <4.0.0', +260 silly cache add type: 'range' } +261 silly addNamed jsonc-parser@>=3.0.0 <4.0.0 +262 verbose addNamed ">=3.0.0 <4.0.0" is a valid semver range for jsonc-parser +263 silly addNameRange { name: 'jsonc-parser', range: '>=3.0.0 <4.0.0', hasData: false } +264 silly mapToRegistry name jsonc-parser +265 silly mapToRegistry using default registry +266 silly mapToRegistry registry https://registry.npmjs.org/ +267 silly mapToRegistry data Result { +267 silly mapToRegistry raw: 'jsonc-parser', +267 silly mapToRegistry scope: null, +267 silly mapToRegistry escapedName: 'jsonc-parser', +267 silly mapToRegistry name: 'jsonc-parser', +267 silly mapToRegistry rawSpec: '', +267 silly mapToRegistry spec: 'latest', +267 silly mapToRegistry type: 'tag' } +268 silly mapToRegistry uri https://registry.npmjs.org/jsonc-parser +269 verbose addNameRange registry:https://registry.npmjs.org/jsonc-parser not in flight; fetching +270 http fetch 200 https://registry.npmjs.org/json5/-/json5-2.2.1.tgz +271 verbose get https://registry.npmjs.org/glob not expired, no request +272 silly addNameRange number 2 { name: 'glob', range: '>=7.2.0 <8.0.0', hasData: true } +273 silly addNameRange versions [ 'glob', +273 silly addNameRange [ '1.1.0', +273 silly addNameRange '2.0.9', +273 silly addNameRange '2.0.8', +273 silly addNameRange '2.0.7', +273 silly addNameRange '2.1.0', +273 silly addNameRange '3.0.0', +273 silly addNameRange '3.0.1', +273 silly addNameRange '3.1.0', +273 silly addNameRange '3.1.1', +273 silly addNameRange '3.1.2', +273 silly addNameRange '3.1.3', +273 silly addNameRange '3.1.4', +273 silly addNameRange '3.1.5', +273 silly addNameRange '3.1.6', +273 silly addNameRange '3.1.7', +273 silly addNameRange '3.1.9', +273 silly addNameRange '3.1.10', +273 silly addNameRange '3.1.11', +273 silly addNameRange '3.1.12', +273 silly addNameRange '3.1.13', +273 silly addNameRange '3.1.14', +273 silly addNameRange '3.1.15', +273 silly addNameRange '3.1.16', +273 silly addNameRange '3.1.17', +273 silly addNameRange '3.1.18', +273 silly addNameRange '3.1.19', +273 silly addNameRange '3.1.20', +273 silly addNameRange '3.1.21', +273 silly addNameRange '3.2.0', +273 silly addNameRange '3.2.1', +273 silly addNameRange '3.2.3', +273 silly addNameRange '3.2.4', +273 silly addNameRange '3.2.5', +273 silly addNameRange '3.2.6', +273 silly addNameRange '3.2.7', +273 silly addNameRange '3.2.8', +273 silly addNameRange '3.2.9', +273 silly addNameRange '3.2.10', +273 silly addNameRange '3.2.11', +273 silly addNameRange '4.0.0', +273 silly addNameRange '4.0.1', +273 silly addNameRange '4.0.2', +273 silly addNameRange '4.0.3', +273 silly addNameRange '4.0.4', +273 silly addNameRange '4.0.5', +273 silly addNameRange '4.0.6', +273 silly addNameRange '4.1.2-beta', +273 silly addNameRange '4.1.2', +273 silly addNameRange '4.1.3', +273 silly addNameRange '4.1.4', +273 silly addNameRange '4.1.5', +273 silly addNameRange '4.1.6', +273 silly addNameRange '4.2.0', +273 silly addNameRange '4.2.1', +273 silly addNameRange '4.2.2', +273 silly addNameRange '4.3.0', +273 silly addNameRange '4.3.1', +273 silly addNameRange '4.3.2', +273 silly addNameRange '4.3.3', +273 silly addNameRange '4.3.4', +273 silly addNameRange '4.3.5', +273 silly addNameRange '4.4.0', +273 silly addNameRange '4.4.2', +273 silly addNameRange '4.5.0', +273 silly addNameRange '5.0.0', +273 silly addNameRange '4.5.1', +273 silly addNameRange '5.0.1', +273 silly addNameRange '4.5.2', +273 silly addNameRange '5.0.2', +273 silly addNameRange '4.5.3', +273 silly addNameRange '5.0.3', +273 silly addNameRange '5.0.4', +273 silly addNameRange '5.0.5', +273 silly addNameRange '5.0.6', +273 silly addNameRange '5.0.7', +273 silly addNameRange '5.0.9', +273 silly addNameRange '5.0.10', +273 silly addNameRange '5.0.11', +273 silly addNameRange '5.0.12', +273 silly addNameRange '5.0.13', +273 silly addNameRange '5.0.14', +273 silly addNameRange '5.0.15', +273 silly addNameRange '6.0.1', +273 silly addNameRange '6.0.2', +273 silly addNameRange '6.0.3', +273 silly addNameRange '6.0.4', +273 silly addNameRange '7.0.0', +273 silly addNameRange '7.0.1', +273 silly addNameRange '7.0.3', +273 silly addNameRange '7.0.4', +273 silly addNameRange '7.0.5', +273 silly addNameRange '7.0.6', +273 silly addNameRange '7.1.0', +273 silly addNameRange '7.1.1', +273 silly addNameRange '7.1.2', +273 silly addNameRange '7.1.3', +273 silly addNameRange '7.1.4', +273 silly addNameRange '7.1.5', +273 silly addNameRange '7.1.6', +273 silly addNameRange '7.1.7', +273 silly addNameRange ... 6 more items ] ] +274 silly addNamed glob@7.2.3 +275 verbose addNamed "7.2.3" is a plain semver version for glob +276 silly cache afterAdd lodash@4.17.21 +277 verbose afterAdd /Users/danrader/.npm/lodash/4.17.21/package/package.json not in flight; writing +278 verbose correctMkdir /Users/danrader/.npm correctMkdir not in flight; initializing +279 verbose get https://registry.npmjs.org/jsonc-parser not expired, no request +280 silly addNameRange number 2 { name: 'jsonc-parser', range: '>=3.0.0 <4.0.0', hasData: true } +281 silly addNameRange versions [ 'jsonc-parser', +281 silly addNameRange [ '0.0.1', +281 silly addNameRange '0.0.2', +281 silly addNameRange '0.0.3', +281 silly addNameRange '0.1.0', +281 silly addNameRange '0.1.1', +281 silly addNameRange '0.1.2', +281 silly addNameRange '0.2.0', +281 silly addNameRange '0.1.3', +281 silly addNameRange '0.2.1', +281 silly addNameRange '0.2.2', +281 silly addNameRange '0.2.3', +281 silly addNameRange '0.3.0', +281 silly addNameRange '0.3.1', +281 silly addNameRange '0.4.0', +281 silly addNameRange '0.4.1', +281 silly addNameRange '0.4.2', +281 silly addNameRange '1.0.0', +281 silly addNameRange '1.0.1', +281 silly addNameRange '1.0.2', +281 silly addNameRange '1.0.3', +281 silly addNameRange '2.0.0-next.1', +281 silly addNameRange '2.0.0', +281 silly addNameRange '2.0.1', +281 silly addNameRange '2.0.2', +281 silly addNameRange '2.0.3', +281 silly addNameRange '2.1.0', +281 silly addNameRange '2.1.1', +281 silly addNameRange '2.2.0', +281 silly addNameRange '2.2.1', +281 silly addNameRange '2.3.0', +281 silly addNameRange '2.3.1', +281 silly addNameRange '3.0.0', +281 silly addNameRange '3.1.0', +281 silly addNameRange '3.2.0' ] ] +282 silly addNamed jsonc-parser@3.2.0 +283 verbose addNamed "3.2.0" is a plain semver version for jsonc-parser +284 silly mapToRegistry name jsonc-parser +285 silly mapToRegistry using default registry +286 silly mapToRegistry registry https://registry.npmjs.org/ +287 silly mapToRegistry data Result { +287 silly mapToRegistry raw: 'jsonc-parser', +287 silly mapToRegistry scope: null, +287 silly mapToRegistry escapedName: 'jsonc-parser', +287 silly mapToRegistry name: 'jsonc-parser', +287 silly mapToRegistry rawSpec: '', +287 silly mapToRegistry spec: 'latest', +287 silly mapToRegistry type: 'tag' } +288 silly mapToRegistry uri https://registry.npmjs.org/jsonc-parser +289 verbose addRemoteTarball https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.2.0.tgz not in flight; adding +290 verbose addRemoteTarball [ 'https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.2.0.tgz', +290 verbose addRemoteTarball '31ff3f4c2b9793f89c67212627c51c6394f88e76' ] +291 http 200 https://registry.npmjs.org/chalk +292 verbose headers { date: 'Tue, 15 Nov 2022 20:27:05 GMT', +292 verbose headers 'content-type': 'application/json', +292 verbose headers 'transfer-encoding': 'chunked', +292 verbose headers connection: 'keep-alive', +292 verbose headers 'cf-ray': '76aab9c1a862c35a-EWR', +292 verbose headers 'access-control-allow-origin': '*', +292 verbose headers age: '249', +292 verbose headers 'cache-control': 'public, max-age=300', +292 verbose headers etag: 'W/"97b8fda57ecf2259223a4c6d47a0f4f2"', +292 verbose headers 'last-modified': 'Tue, 15 Nov 2022 01:29:31 GMT', +292 verbose headers vary: 'accept-encoding, accept', +292 verbose headers 'cf-cache-status': 'HIT', +292 verbose headers 'x-amz-replication-status': 'PENDING', +292 verbose headers server: 'cloudflare', +292 verbose headers 'content-encoding': 'gzip' } +293 silly get cb [ 200, +293 silly get { date: 'Tue, 15 Nov 2022 20:27:05 GMT', +293 silly get 'content-type': 'application/json', +293 silly get 'transfer-encoding': 'chunked', +293 silly get connection: 'keep-alive', +293 silly get 'cf-ray': '76aab9c1a862c35a-EWR', +293 silly get 'access-control-allow-origin': '*', +293 silly get age: '249', +293 silly get 'cache-control': 'public, max-age=300', +293 silly get etag: 'W/"97b8fda57ecf2259223a4c6d47a0f4f2"', +293 silly get 'last-modified': 'Tue, 15 Nov 2022 01:29:31 GMT', +293 silly get vary: 'accept-encoding, accept', +293 silly get 'cf-cache-status': 'HIT', +293 silly get 'x-amz-replication-status': 'PENDING', +293 silly get server: 'cloudflare', +293 silly get 'content-encoding': 'gzip' } ] +294 verbose get saving chalk to /Users/danrader/.npm/registry.npmjs.org/chalk/.cache.json +295 verbose correctMkdir /Users/danrader/.npm correctMkdir not in flight; initializing +296 info retry fetch attempt 1 at 3:27:05 PM +297 info attempt registry request try #1 at 3:27:05 PM +298 http fetch GET https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.2.0.tgz +299 silly cache afterAdd glob@7.2.3 +300 verbose afterAdd /Users/danrader/.npm/glob/7.2.3/package/package.json not in flight; writing +301 verbose correctMkdir /Users/danrader/.npm correctMkdir not in flight; initializing +302 verbose afterAdd /Users/danrader/.npm/lodash/4.17.21/package/package.json written +303 silly fetchAndShaCheck shasum 655d50ed1e6f95ad1a3caababd2b0efda10b395c +304 verbose addTmpTarball /var/folders/7x/ngq74hs94915_vlr4pvtzwzm0000gn/T/npm-70705-03775045/registry.npmjs.org/json5/-/json5-2.2.1.tgz not in flight; adding +305 verbose addTmpTarball already have metadata; skipping unpack for json5@2.2.1 +306 verbose correctMkdir /Users/danrader/.npm correctMkdir not in flight; initializing +307 verbose afterAdd /Users/danrader/.npm/glob/7.2.3/package/package.json written +308 silly resolveWithNewModule chalk@4.1.2 checking installable status +309 silly cache add args [ 'chalk@^4.0.0', null ] +310 verbose cache add spec chalk@^4.0.0 +311 silly cache add parsed spec Result { +311 silly cache add raw: 'chalk@^4.0.0', +311 silly cache add scope: null, +311 silly cache add escapedName: 'chalk', +311 silly cache add name: 'chalk', +311 silly cache add rawSpec: '^4.0.0', +311 silly cache add spec: '>=4.0.0 <5.0.0', +311 silly cache add type: 'range' } +312 silly addNamed chalk@>=4.0.0 <5.0.0 +313 verbose addNamed ">=4.0.0 <5.0.0" is a valid semver range for chalk +314 silly addNameRange { name: 'chalk', range: '>=4.0.0 <5.0.0', hasData: false } +315 silly mapToRegistry name chalk +316 silly mapToRegistry using default registry +317 silly mapToRegistry registry https://registry.npmjs.org/ +318 silly mapToRegistry data Result { +318 silly mapToRegistry raw: 'chalk', +318 silly mapToRegistry scope: null, +318 silly mapToRegistry escapedName: 'chalk', +318 silly mapToRegistry name: 'chalk', +318 silly mapToRegistry rawSpec: '', +318 silly mapToRegistry spec: 'latest', +318 silly mapToRegistry type: 'tag' } +319 silly mapToRegistry uri https://registry.npmjs.org/chalk +320 verbose addNameRange registry:https://registry.npmjs.org/chalk not in flight; fetching +321 verbose get https://registry.npmjs.org/chalk not expired, no request +322 silly addNameRange number 2 { name: 'chalk', range: '>=4.0.0 <5.0.0', hasData: true } +323 silly addNameRange versions [ 'chalk', +323 silly addNameRange [ '0.1.0', +323 silly addNameRange '0.1.1', +323 silly addNameRange '0.2.0', +323 silly addNameRange '0.2.1', +323 silly addNameRange '0.3.0', +323 silly addNameRange '0.4.0', +323 silly addNameRange '0.5.0', +323 silly addNameRange '0.5.1', +323 silly addNameRange '1.0.0', +323 silly addNameRange '1.1.0', +323 silly addNameRange '1.1.1', +323 silly addNameRange '1.1.2', +323 silly addNameRange '1.1.3', +323 silly addNameRange '2.0.0', +323 silly addNameRange '2.0.1', +323 silly addNameRange '2.1.0', +323 silly addNameRange '2.2.0', +323 silly addNameRange '2.2.2', +323 silly addNameRange '2.3.0', +323 silly addNameRange '2.3.1', +323 silly addNameRange '2.3.2', +323 silly addNameRange '2.4.0', +323 silly addNameRange '2.4.1', +323 silly addNameRange '2.4.2', +323 silly addNameRange '3.0.0-beta.1', +323 silly addNameRange '3.0.0-beta.2', +323 silly addNameRange '3.0.0', +323 silly addNameRange '4.0.0', +323 silly addNameRange '4.1.0', +323 silly addNameRange '4.1.1', +323 silly addNameRange '4.1.2', +323 silly addNameRange '5.0.0', +323 silly addNameRange '5.0.1', +323 silly addNameRange '5.1.0', +323 silly addNameRange '5.1.1', +323 silly addNameRange '5.1.2' ] ] +324 silly addNamed chalk@4.1.2 +325 verbose addNamed "4.1.2" is a plain semver version for chalk +326 silly mapToRegistry name chalk +327 silly mapToRegistry using default registry +328 silly mapToRegistry registry https://registry.npmjs.org/ +329 silly mapToRegistry data Result { +329 silly mapToRegistry raw: 'chalk', +329 silly mapToRegistry scope: null, +329 silly mapToRegistry escapedName: 'chalk', +329 silly mapToRegistry name: 'chalk', +329 silly mapToRegistry rawSpec: '', +329 silly mapToRegistry spec: 'latest', +329 silly mapToRegistry type: 'tag' } +330 silly mapToRegistry uri https://registry.npmjs.org/chalk +331 verbose addRemoteTarball https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz not in flight; adding +332 verbose addRemoteTarball [ 'https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz', +332 verbose addRemoteTarball 'aac4e2b7734a740867aeb16bf02aad556a1e7a01' ] +333 info retry fetch attempt 1 at 3:27:05 PM +334 info attempt registry request try #1 at 3:27:05 PM +335 http fetch GET https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz +336 silly cache afterAdd json5@2.2.1 +337 verbose afterAdd /Users/danrader/.npm/json5/2.2.1/package/package.json not in flight; writing +338 verbose correctMkdir /Users/danrader/.npm correctMkdir not in flight; initializing +339 verbose afterAdd /Users/danrader/.npm/json5/2.2.1/package/package.json written +340 http 200 https://registry.npmjs.org/commander +341 verbose headers { date: 'Tue, 15 Nov 2022 20:27:05 GMT', +341 verbose headers 'content-type': 'application/json', +341 verbose headers 'transfer-encoding': 'chunked', +341 verbose headers connection: 'keep-alive', +341 verbose headers 'cf-ray': '76aab9c1890dc470-EWR', +341 verbose headers 'access-control-allow-origin': '*', +341 verbose headers age: '261', +341 verbose headers 'cache-control': 'public, max-age=300', +341 verbose headers etag: 'W/"ca0cf1560a230ac8918300bd1793f2da"', +341 verbose headers 'last-modified': 'Tue, 15 Nov 2022 01:29:15 GMT', +341 verbose headers vary: 'accept-encoding, accept', +341 verbose headers 'cf-cache-status': 'HIT', +341 verbose headers 'x-amz-replication-status': 'PENDING', +341 verbose headers server: 'cloudflare', +341 verbose headers 'content-encoding': 'gzip' } +342 silly get cb [ 200, +342 silly get { date: 'Tue, 15 Nov 2022 20:27:05 GMT', +342 silly get 'content-type': 'application/json', +342 silly get 'transfer-encoding': 'chunked', +342 silly get connection: 'keep-alive', +342 silly get 'cf-ray': '76aab9c1890dc470-EWR', +342 silly get 'access-control-allow-origin': '*', +342 silly get age: '261', +342 silly get 'cache-control': 'public, max-age=300', +342 silly get etag: 'W/"ca0cf1560a230ac8918300bd1793f2da"', +342 silly get 'last-modified': 'Tue, 15 Nov 2022 01:29:15 GMT', +342 silly get vary: 'accept-encoding, accept', +342 silly get 'cf-cache-status': 'HIT', +342 silly get 'x-amz-replication-status': 'PENDING', +342 silly get server: 'cloudflare', +342 silly get 'content-encoding': 'gzip' } ] +343 verbose get saving commander to /Users/danrader/.npm/registry.npmjs.org/commander/.cache.json +344 verbose correctMkdir /Users/danrader/.npm correctMkdir not in flight; initializing +345 http fetch 200 https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.2.0.tgz +346 silly fetchAndShaCheck shasum 31ff3f4c2b9793f89c67212627c51c6394f88e76 +347 verbose stack Error: Missing required argument #1 +347 verbose stack at andLogAndFinish (/Users/danrader/.nvm/versions/node/v6.3.1/lib/node_modules/npm/lib/fetch-package-metadata.js:31:3) +347 verbose stack at fetchPackageMetadata (/Users/danrader/.nvm/versions/node/v6.3.1/lib/node_modules/npm/lib/fetch-package-metadata.js:51:22) +347 verbose stack at resolveWithNewModule (/Users/danrader/.nvm/versions/node/v6.3.1/lib/node_modules/npm/lib/install/deps.js:515:12) +347 verbose stack at /Users/danrader/.nvm/versions/node/v6.3.1/lib/node_modules/npm/lib/install/deps.js:516:7 +347 verbose stack at /Users/danrader/.nvm/versions/node/v6.3.1/lib/node_modules/npm/node_modules/iferr/index.js:13:50 +347 verbose stack at /Users/danrader/.nvm/versions/node/v6.3.1/lib/node_modules/npm/lib/fetch-package-metadata.js:37:12 +347 verbose stack at addRequestedAndFinish (/Users/danrader/.nvm/versions/node/v6.3.1/lib/node_modules/npm/lib/fetch-package-metadata.js:67:5) +347 verbose stack at returnAndAddMetadata (/Users/danrader/.nvm/versions/node/v6.3.1/lib/node_modules/npm/lib/fetch-package-metadata.js:121:7) +347 verbose stack at pickVersionFromRegistryDocument (/Users/danrader/.nvm/versions/node/v6.3.1/lib/node_modules/npm/lib/fetch-package-metadata.js:138:20) +347 verbose stack at /Users/danrader/.nvm/versions/node/v6.3.1/lib/node_modules/npm/node_modules/iferr/index.js:13:50 +348 verbose cwd /Users/danrader/Documents/WebWork/Mariana/Apollo-Tokens +349 error Darwin 21.6.0 +350 error argv "/Users/danrader/.nvm/versions/node/v6.3.1/bin/node" "/Users/danrader/.nvm/versions/node/v6.3.1/bin/npm" "install" +351 error node v6.3.1 +352 error npm v3.10.3 +353 error code EMISSINGARG +354 error typeerror Error: Missing required argument #1 +354 error typeerror at andLogAndFinish (/Users/danrader/.nvm/versions/node/v6.3.1/lib/node_modules/npm/lib/fetch-package-metadata.js:31:3) +354 error typeerror at fetchPackageMetadata (/Users/danrader/.nvm/versions/node/v6.3.1/lib/node_modules/npm/lib/fetch-package-metadata.js:51:22) +354 error typeerror at resolveWithNewModule (/Users/danrader/.nvm/versions/node/v6.3.1/lib/node_modules/npm/lib/install/deps.js:515:12) +354 error typeerror at /Users/danrader/.nvm/versions/node/v6.3.1/lib/node_modules/npm/lib/install/deps.js:516:7 +354 error typeerror at /Users/danrader/.nvm/versions/node/v6.3.1/lib/node_modules/npm/node_modules/iferr/index.js:13:50 +354 error typeerror at /Users/danrader/.nvm/versions/node/v6.3.1/lib/node_modules/npm/lib/fetch-package-metadata.js:37:12 +354 error typeerror at addRequestedAndFinish (/Users/danrader/.nvm/versions/node/v6.3.1/lib/node_modules/npm/lib/fetch-package-metadata.js:67:5) +354 error typeerror at returnAndAddMetadata (/Users/danrader/.nvm/versions/node/v6.3.1/lib/node_modules/npm/lib/fetch-package-metadata.js:121:7) +354 error typeerror at pickVersionFromRegistryDocument (/Users/danrader/.nvm/versions/node/v6.3.1/lib/node_modules/npm/lib/fetch-package-metadata.js:138:20) +354 error typeerror at /Users/danrader/.nvm/versions/node/v6.3.1/lib/node_modules/npm/node_modules/iferr/index.js:13:50 +355 error typeerror This is an error with npm itself. Please report this error at: +355 error typeerror +356 verbose exit [ 1, true ] diff --git a/package-lock.json b/package-lock.json index 770c370..fc15bf2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "@xplortech/apollo-foundation", - "version": "0.0.1", + "version": "0.0.4", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/tokens/color/SemanticPalette.json b/tokens/color/SemanticPalette.json index 015564a..e3af248 100644 --- a/tokens/color/SemanticPalette.json +++ b/tokens/color/SemanticPalette.json @@ -1,65 +1,65 @@ { "color": { "positive": { - "lm": {"value": "{color.green.500.value}"}, - "dm": {"value": "{color.green.300.value}"} + "lm": {"value": "{color.green500.value}"}, + "dm": {"value": "{color.green300.value}"} }, "positive-bg": { - "lm": {"value": "{color.green.100.value}"}, + "lm": {"value": "{color.green100.value}"}, "dm": {"value": "{color.transparent.value}"} }, "negative": { - "lm": {"value": "{color.red.600.value}"}, - "dm": {"value": "{color.red.300.value}"} + "lm": {"value": "{color.red600.value}"}, + "dm": {"value": "{color.red300.value}"} }, "negative-bg": { - "lm": {"value": "{color.red.100.value}"}, + "lm": {"value": "{color.red100.value}"}, "dm": {"value": "{color.transparent.value}"} }, "highlight": { - "lm": {"value": "{color.yellow.500.value}"}, - "dm": {"value": "{color.yellow.200.value}"} + "lm": {"value": "{color.yellow500.value}"}, + "dm": {"value": "{color.yellow200.value}"} }, "highlight-bg": { - "lm": {"value": "{color.yellow.200.value}"}, + "lm": {"value": "{color.yellow200.value}"}, "dm": {"value": "{color.transparent.value}"} }, "information": { - "lm": {"value": "{color.secondary.lm.value}","comment": "uses themable token"}, - "dm": {"value": "{color.secondary.dm.value}","comment": "uses themable token"} + "lm": {"value": "{color.secondary.lm.value}"}, + "dm": {"value": "{color.secondary.dm.value}"} }, "information-bg": { - "lm": {"value": "{color.secondary-bg.lm.value}","comment": "uses themable token"}, + "lm": {"value": "{color.secondary-bg.lm.value}"}, "dm": {"value": "{color.transparent.value}"} }, "trivial": { - "lm": {"value": "{color.gray.600.value}"}, - "dm": {"value": "{color.gray.500.value}"} + "lm": {"value": "{color.gray600.value}"}, + "dm": {"value": "{color.gray500.value}"} }, "trivial-bg": { - "lm": {"value": "{color.gray.400.value}"}, + "lm": {"value": "{color.gray400.value}"}, "dm": {"value": "{color.transparent.value}"} }, "action": { "primary": { - "lm": {"value": "{color.purple.700.value}"}, - "dm": {"value": "{color.purple.300.value}"} + "lm": {"value": "{color.purple700.value}"}, + "dm": {"value": "{color.purple300.value}"} }, "primary.hover": { - "lm": {"value": "{color.purple.800.value}"}, - "dm": {"value": "{color.purple.400.value}"} + "lm": {"value": "{color.purple800.value}"}, + "dm": {"value": "{color.purple400.value}"} }, "disabled": { - "lm": {"value": "{color.gray.100.value}"}, - "dm": {"value": "{color.gray.800.value}"} + "lm": {"value": "{color.gray100.value}"}, + "dm": {"value": "{color.gray800.value}"} }, "warning": { - "lm": {"value": "{color.red.700.value}"}, - "dm": {"value": "{color.red.300.value}"} + "lm": {"value": "{color.red700.value}"}, + "dm": {"value": "{color.red300.value}"} }, "warning.hover": { - "lm": {"value": "{color.red.800.value}"}, - "dm": {"value": "{color.red.400.value}"} + "lm": {"value": "{color.red800.value}"}, + "dm": {"value": "{color.red400.value}"} } } } diff --git a/tokens/color/accentPalette.json b/tokens/color/accentPalette.json index 56c2083..a882eea 100644 --- a/tokens/color/accentPalette.json +++ b/tokens/color/accentPalette.json @@ -1,10 +1,10 @@ { "color": { "accent": { - "green": {"value": "{color.green.200.value}"}, - "yellow": {"value": "{color.yellow.200.value}"}, - "pink": {"value": "{color.pink.300.value}"}, - "purple": {"value": "{color.purple.300.value}"} + "green": {"value": "{color.green200.value}"}, + "yellow": {"value": "{color.yellow200.value}"}, + "pink": {"value": "{color.pink300.value}"}, + "purple": {"value": "{color.purple300.value}"} } } } diff --git a/tokens/color/base.json b/tokens/color/base.json index c4cc267..5373a3c 100644 --- a/tokens/color/base.json +++ b/tokens/color/base.json @@ -1,93 +1,79 @@ { "color": { - "gray": { - "0": {"value": "#ffffffff"}, - "50": {"value": "#f8f9faff"}, - "100": {"value": "#f3f4f6ff"}, - "200": {"value": "#eeeff3ff"}, - "300": {"value": "#eaebefff"}, - "400": {"value": "#E1E2E8ff"}, - "500": {"value": "#999BA8ff"}, - "600": {"value": "#6A6D7Dff"}, - "700": {"value": "#3C3847ff"}, - "800": {"value": "#363240ff"}, - "900": {"value": "#302D3Bff"}, - "1000": {"value": "#292632ff"}, - "1100": {"value": "#201E29ff"}, - "1200": {"value": "#18161Fff"} - }, - "purple": { - "50": {"value": "#f4f2ffff"}, - "100": {"value": "#ebe5ffff"}, - "200": {"value": "#ddd1ffff"}, - "300": {"value": "#c3adffff"}, - "400": {"value": "#a480ffff"}, - "500": {"value": "#8857faff"}, - "600": {"value": "#793ef7ff"}, - "700": {"value": "#6923f4ff"}, - "800": {"value": "#4d1ab2ff"}, - "900": {"value": "#330d80ff"} - }, - "orange": { - "50": {"value": "#fef6f4ff"}, - "100": {"value": "#feede4ff"}, - "200": {"value": "#ffdcccff"}, - "300": {"value": "#ffbda8ff"}, - "400": {"value": "#f99170ff"}, - "500": {"value": "#f76d43ff"}, - "600": {"value": "#f44e27ff"}, - "700": {"value": "#cc4121ff"}, - "800": {"value": "#a6361aff"}, - "900": {"value": "#7a2714ff"} - }, - "green": { - "50": {"value": "#ebfff8ff"}, - "100": {"value": "#c4ffedff"}, - "200": {"value": "#74fbd0ff"}, - "300": {"value": "#52ebbaff"}, - "400": {"value": "#4ad4a8ff"}, - "500": {"value": "#37b88fff"}, - "600": {"value": "#2e9977ff"}, - "700": {"value": "#24785dff"}, - "800": {"value": "#1d614bff"}, - "900": {"value": "#154737ff"} - }, - "yellow": { - "50": {"value": "#fbffe5ff"}, - "100": {"value": "#f3febbff"}, - "200": {"value": "#ecfd91ff"}, - "300": {"value": "#dce967ff"}, - "400": {"value": "#c6cc4eff"}, - "500": {"value": "#adab20ff"}, - "600": {"value": "#9e9828ff"}, - "700": {"value": "#8a8220ff"}, - "800": {"value": "#726916ff"}, - "900": {"value": "#5c5002ff"} - }, - "pink": { - "50": {"value": "#fff0feff"}, - "100": {"value": "#ffd9fbff"}, - "200": {"value": "#ffb8f9ff"}, - "300": {"value": "#ff8df4ff"}, - "400": {"value": "#f26ddcff"}, - "500": {"value": "#e550c8ff"}, - "600": {"value": "#cc3399ff"}, - "700": {"value": "#bf1d7bff"}, - "800": {"value": "#990f54ff"}, - "900": {"value": "#730b3fff"} - }, - "red": { - "50": {"value": "#fef7f3ff"}, - "100": {"value": "#fed9d5ff"}, - "200": {"value": "#fec5beff"}, - "300": {"value": "#ff9387ff"}, - "400": {"value": "#f87263ff"}, - "500": {"value": "#f24f3dff"}, - "600": {"value": "#db321fff"}, - "700": {"value": "#c2210fff"}, - "800": {"value": "#961305ff"}, - "900": {"value": "#731409ff"} - }, - "transparent": {"value": "#ffffff00"} - } + "gray0": {"value": "#ffffffff"}, + "gray50": {"value": "#f8f9faff"}, + "gray100": {"value": "#f3f4f6ff"}, + "gray200": {"value": "#eeeff3ff"}, + "gray300": {"value": "#eaebefff"}, + "gray400": {"value": "#E1E2E8ff"}, + "gray500": {"value": "#999BA8ff"}, + "gray600": {"value": "#6A6D7Dff"}, + "gray700": {"value": "#3C3847ff"}, + "gray800": {"value": "#363240ff"}, + "gray900": {"value": "#302D3Bff"}, + "gray1000": {"value": "#292632ff"}, + "gray1100": {"value": "#201E29ff"}, + "gray1200": {"value": "#18161Fff"}, + "purple50": {"value": "#f4f2ffff"}, + "purple100": {"value": "#ebe5ffff"}, + "purple200": {"value": "#ddd1ffff"}, + "purple300": {"value": "#c3adffff"}, + "purple400": {"value": "#a480ffff"}, + "purple500": {"value": "#8857faff"}, + "purple600": {"value": "#793ef7ff"}, + "purple700": {"value": "#6923f4ff"}, + "purple800": {"value": "#4d1ab2ff"}, + "purple900": {"value": "#330d80ff"}, + "orange50": {"value": "#fef6f4ff"}, + "orange100": {"value": "#feede4ff"}, + "orange200": {"value": "#ffdcccff"}, + "orange300": {"value": "#ffbda8ff"}, + "orange400": {"value": "#f99170ff"}, + "orange500": {"value": "#f76d43ff"}, + "orange600": {"value": "#f44e27ff"}, + "orange700": {"value": "#cc4121ff"}, + "orange800": {"value": "#a6361aff"}, + "orange900": {"value": "#7a2714ff"}, + "green50": {"value": "#ebfff8ff"}, + "green100": {"value": "#c4ffedff"}, + "green200": {"value": "#74fbd0ff"}, + "green300": {"value": "#52ebbaff"}, + "green400": {"value": "#4ad4a8ff"}, + "green500": {"value": "#37b88fff"}, + "green600": {"value": "#2e9977ff"}, + "green700": {"value": "#24785dff"}, + "green800": {"value": "#1d614bff"}, + "green900": {"value": "#154737ff"}, + "yellow50": {"value": "#fbffe5ff"}, + "yellow100": {"value": "#f3febbff"}, + "yellow200": {"value": "#ecfd91ff"}, + "yellow300": {"value": "#dce967ff"}, + "yellow400": {"value": "#c6cc4eff"}, + "yellow500": {"value": "#adab20ff"}, + "yellow600": {"value": "#9e9828ff"}, + "yellow700": {"value": "#8a8220ff"}, + "yellow800": {"value": "#726916ff"}, + "yellow900": {"value": "#5c5002ff"}, + "pink50": {"value": "#fff0feff"}, + "pink100": {"value": "#ffd9fbff"}, + "pink200": {"value": "#ffb8f9ff"}, + "pink300": {"value": "#ff8df4ff"}, + "pink400": {"value": "#f26ddcff"}, + "pink500": {"value": "#e550c8ff"}, + "pink600": {"value": "#cc3399ff"}, + "pink700": {"value": "#bf1d7bff"}, + "pink800": {"value": "#990f54ff"}, + "pink900": {"value": "#730b3fff"}, + "red50": {"value": "#fef7f3ff"}, + "red100": {"value": "#fed9d5ff"}, + "red200": {"value": "#fec5beff"}, + "red300": {"value": "#ff9387ff"}, + "red400": {"value": "#f87263ff"}, + "red500": {"value": "#f24f3dff"}, + "red600": {"value": "#db321fff"}, + "red700": {"value": "#c2210fff"}, + "red800": {"value": "#961305ff"}, + "red900": {"value": "#731409ff"}, + "transparent": {"value": "#ffffff00"} + } } diff --git a/tokens/color/primaryPalette.json b/tokens/color/primaryPalette.json index 9e29cdd..deac0e1 100644 --- a/tokens/color/primaryPalette.json +++ b/tokens/color/primaryPalette.json @@ -1,44 +1,44 @@ { "color": { "foreground": { - "lm": {"value": "{color.gray.0.value}"}, - "dm": {"value": "{color.gray.1000.value}"} + "lm": {"value": "{color.gray0.value}"}, + "dm": {"value": "{color.gray1000.value}"} }, "background": { - "lm": {"value": "{color.gray.50.value}"}, - "dm": {"value": "{color.gray.1200.value}"} + "lm": {"value": "{color.gray50.value}"}, + "dm": {"value": "{color.gray1200.value}"} }, - "background-2": { - "lm": {"value": "{color.gray.100.value}"}, - "dm": {"value": "{color.gray.1100.value}"} + "background2": { + "lm": {"value": "{color.gray100.value}"}, + "dm": {"value": "{color.gray1100.value}"} }, "navigation": { - "lm": {"value": "{color.gray.1000.value}"}, - "dm": {"value": "{color.gray.1000.value}"} + "lm": {"value": "{color.gray1000.value}"}, + "dm": {"value": "{color.gray1000.value}"} }, "stroke": { - "lm": {"value": "{color.gray.400.value}"}, - "dm": {"value": "{color.gray.600.value}"} + "lm": {"value": "{color.gray400.value}"}, + "dm": {"value": "{color.gray600.value}"} }, "primary": { - "lm": {"value": "{color.orange.600.value}", "themable": true, "comment": "themable"}, - "dm": {"value": "{color.orange.400.value}", "themable": true, "comment": "themable"} + "lm": {"value": "{color.orange600.value}"}, + "dm": {"value": "{color.orange400.value}"} }, "primary-bg": { - "lm": {"value": "{color.orange.50.value}", "themable": true, "comment": "themable"}, - "dm": {"value": "{color.gray.900.value}", "themable": true, "comment": "themable"} + "lm": {"value": "{color.orange50.value}"}, + "dm": {"value": "{color.gray900.value}"} }, "secondary": { - "lm": {"value": "{color.purple.700.value}", "themable": true, "comment": "themable"}, - "dm": {"value": "{color.purple.300.value}", "themable": true, "comment": "themable"} + "lm": {"value": "{color.purple700.value}"}, + "dm": {"value": "{color.purple300.value}"} }, "secondary-hover": { - "lm": {"value": "{color.purple.800.value}", "themable": true, "comment": "themable"}, - "dm": {"value": "{color.purple.400.value}", "themable": true, "comment": "themable"} + "lm": {"value": "{color.purple800.value}"}, + "dm": {"value": "{color.purple400.value}"} }, "secondary-bg": { - "lm": {"value": "{color.purple.50.value}", "themable": true, "comment": "themable"}, - "dm": {"value": "{color.gray.900.value}", "themable": true, "comment": "themable"} + "lm": {"value": "{color.purple50.value}"}, + "dm": {"value": "{color.gray900.value}"} } } } diff --git a/tokens/color/text.json b/tokens/color/text.json index 103601e..d637f39 100644 --- a/tokens/color/text.json +++ b/tokens/color/text.json @@ -2,28 +2,24 @@ "color": { "text": { "primary": { - "lm": {"value": "{color.gray.900.value}"}, - "dm": {"value": "{color.gray.0.value}"} + "lm": {"value": "{color.gray900.value}"}, + "dm": {"value": "{color.gray0.value}"} }, "secondary": { - "lm": {"value": "{color.gray.600.value}"}, - "dm": {"value": "{color.gray.500.value}"} + "lm": {"value": "{color.gray600.value}"}, + "dm": {"value": "{color.gray500.value}"} }, "reverse": { - "lm": {"value": "{color.gray.0.value}"}, - "dm": {"value": "{color.gray.1000.value}"} + "lm": {"value": "{color.gray0.value}"}, + "dm": {"value": "{color.gray1000.value}"} }, "warning": { - "lm": {"value": "{color.red.700.value}"}, - "dm": {"value": "{color.red.300.value}"} + "lm": {"value": "{color.red700.value}"}, + "dm": {"value": "{color.red300.value}"} }, "action": { - "lm": {"value": "{color.primary.lm.value}","comment": "uses themable token"}, - "dm": {"value": "{color.primary.dm.value}","comment": "uses themable token"} - }, - "reverse": { - "lm": {"value": "{color.gray.0.value}"}, - "dm": {"value": "{color.gray.1000.value}"} + "lm": {"value": "{color.primary.lm.value}"}, + "dm": {"value": "{color.primary.dm.value}"} } } } From c1aa8ba0d6466b77689a25007e92b6b09addc8f9 Mon Sep 17 00:00:00 2001 From: Dan Rader Date: Tue, 15 Nov 2022 16:56:55 -0500 Subject: [PATCH 2/7] Added Themable tokens - Added primary and secondary base colors - Added Brand Primary and Brand Secondary referencing themable base tokens - Removed Primary and Secondary from main list - Grouped Neutral Colors --- .../{primaryPalette.json => Neutral.json} | 20 --------- tokens/color/base.json | 22 ++++++++++ tokens/color/brand.json | 42 +++++++++++++++++++ 3 files changed, 64 insertions(+), 20 deletions(-) rename tokens/color/{primaryPalette.json => Neutral.json} (50%) create mode 100644 tokens/color/brand.json diff --git a/tokens/color/primaryPalette.json b/tokens/color/Neutral.json similarity index 50% rename from tokens/color/primaryPalette.json rename to tokens/color/Neutral.json index deac0e1..c93fe6c 100644 --- a/tokens/color/primaryPalette.json +++ b/tokens/color/Neutral.json @@ -19,26 +19,6 @@ "stroke": { "lm": {"value": "{color.gray400.value}"}, "dm": {"value": "{color.gray600.value}"} - }, - "primary": { - "lm": {"value": "{color.orange600.value}"}, - "dm": {"value": "{color.orange400.value}"} - }, - "primary-bg": { - "lm": {"value": "{color.orange50.value}"}, - "dm": {"value": "{color.gray900.value}"} - }, - "secondary": { - "lm": {"value": "{color.purple700.value}"}, - "dm": {"value": "{color.purple300.value}"} - }, - "secondary-hover": { - "lm": {"value": "{color.purple800.value}"}, - "dm": {"value": "{color.purple400.value}"} - }, - "secondary-bg": { - "lm": {"value": "{color.purple50.value}"}, - "dm": {"value": "{color.gray900.value}"} } } } diff --git a/tokens/color/base.json b/tokens/color/base.json index 5373a3c..bb54849 100644 --- a/tokens/color/base.json +++ b/tokens/color/base.json @@ -1,5 +1,27 @@ { "color": { + "primary50": {"value": "#FBEEEAFF"}, + "primary100": {"value": "#F4CBC0FF"}, + "primary200": {"value": "#F1BBACFF"}, + "primary300": {"value": "#EA9982FF"}, + "primary400": {"value": "#E5785BFF"}, + "primary500": {"value": "#E25A38FF"}, + "primary600": {"value": "#C64023FF"}, + "primary700": {"value": "#953019FF"}, + "primary800": {"value": "#63200FFF"}, + "primary900": {"value": "#4A180AFF"}, + "primary1000": {"value": "#180702FF"}, + "secondary50": {"value": "#EFE9FCFF"}, + "secondary100": {"value": "#CDBFF7FF"}, + "secondary200": {"value": "#BDAAF5FF"}, + "secondary300": {"value": "#9E80F0FF"}, + "secondary400": {"value": "#7E58EDFF"}, + "secondary500": {"value": "#5F36EBFF"}, + "secondary600": {"value": "#4B2ABBFF"}, + "secondary700": {"value": "#391F8CFF"}, + "secondary800": {"value": "#25145EFF"}, + "secondary900": {"value": "#1B0E46FF"}, + "secondary1000": {"value": "#090317FF"}, "gray0": {"value": "#ffffffff"}, "gray50": {"value": "#f8f9faff"}, "gray100": {"value": "#f3f4f6ff"}, diff --git a/tokens/color/brand.json b/tokens/color/brand.json new file mode 100644 index 0000000..0f6fe85 --- /dev/null +++ b/tokens/color/brand.json @@ -0,0 +1,42 @@ +{ + "color": { + "brand": { + "primary": { + "lm": {"value": "{color.primary500.value}"}, + "dm": {"value": "{color.primary200.value}"}, + "surface": { + "lm": {"value": "{color.primary50.value}"}, + "dm": {"value": "{color.gray1100.value}"} + }, + "gradient": { + "start": { + "lm": {"value": "{color.primary400.value}"}, + "dm": {"value": "#563D3D"} + }, + "end": { + "lm": {"value": "{color.primary500.value}"}, + "dm": {"value": "#191720"} + } + } + }, + "secondary": { + "lm": {"value": "{color.secondary500.value}"}, + "dm": {"value": "{color.secondary200.value}"}, + "surface": { + "lm": {"value": "{color.secondary50.value}"}, + "dm": {"value": "{color.gray1100.value}"} + }, + "gradient": { + "start": { + "lm": {"value": "{color.secondary400.value}"}, + "dm": {"value": "#40365E"} + }, + "end": { + "lm": {"value": "{color.secondary500.value}"}, + "dm": {"value": "#191720"} + } + } + } + } + } + } \ No newline at end of file From 5e6c243e4edc22f874980a647668a4ddde1cb955 Mon Sep 17 00:00:00 2001 From: Dan Rader Date: Tue, 15 Nov 2022 17:20:13 -0500 Subject: [PATCH 3/7] Text Style Changes - named Neural Colors (this may be unnecessary change?) - Removed text.action because it doesn't work with variable colors - renamed text warning with text negative to align naming - added text positive - renamed text primary and text secondary to remove confusion. It's now text and text subdued -Added Text.onPrimary and Text.onSecondary --- tokens/color/Neutral.json | 2 ++ tokens/color/text.json | 22 ++++++++++++++-------- 2 files changed, 16 insertions(+), 8 deletions(-) diff --git a/tokens/color/Neutral.json b/tokens/color/Neutral.json index c93fe6c..5de79d0 100644 --- a/tokens/color/Neutral.json +++ b/tokens/color/Neutral.json @@ -1,5 +1,6 @@ { "color": { + "Neutral": { "foreground": { "lm": {"value": "{color.gray0.value}"}, "dm": {"value": "{color.gray1000.value}"} @@ -22,4 +23,5 @@ } } } +} diff --git a/tokens/color/text.json b/tokens/color/text.json index d637f39..0100933 100644 --- a/tokens/color/text.json +++ b/tokens/color/text.json @@ -1,11 +1,17 @@ { "color": { "text": { - "primary": { - "lm": {"value": "{color.gray900.value}"}, - "dm": {"value": "{color.gray0.value}"} + "lm": {"value": "{color.gray1000.value}"}, + "dm": {"value": "{color.gray0.value}"}, + "onPrimary": { + "lm": {"value": "{color.gray1000.value}"}, + "dm": {"value": "{color.gray1000.value}}"} + }, + "onSecondary": { + "lm": {"value": "{color.gray0.value}"}, + "dm": {"value": "{color.gray1000.value}"} }, - "secondary": { + "subdued": { "lm": {"value": "{color.gray600.value}"}, "dm": {"value": "{color.gray500.value}"} }, @@ -13,13 +19,13 @@ "lm": {"value": "{color.gray0.value}"}, "dm": {"value": "{color.gray1000.value}"} }, - "warning": { + "negative": { "lm": {"value": "{color.red700.value}"}, "dm": {"value": "{color.red300.value}"} }, - "action": { - "lm": {"value": "{color.primary.lm.value}"}, - "dm": {"value": "{color.primary.dm.value}"} + "positive": { + "lm": {"value": "{color.green700.value}"}, + "dm": {"value": "{color.green300.value}"} } } } From 6e1812996771a44524e00d9bd8ca912f5845aaae Mon Sep 17 00:00:00 2001 From: Dan Rader Date: Wed, 16 Nov 2022 10:31:39 -0500 Subject: [PATCH 4/7] Updated Semantic - updated 'information' to reference static base color - updated the positive DM value for color contrast - updated trivial-bg to trivial.surface. Both renaming BG values to avoid confusion and nest additional values - renamed Warning > Negative to align semantic naming - changed "hover" to focus to align across web and mobile - nested focus states in JSON - renamed JSON file to Common (no effect on output) --- tokens/color/Common.json | 74 +++++++++++++++++++++++++++++++ tokens/color/SemanticPalette.json | 66 --------------------------- tokens/color/text.json | 2 +- 3 files changed, 75 insertions(+), 67 deletions(-) create mode 100644 tokens/color/Common.json delete mode 100644 tokens/color/SemanticPalette.json diff --git a/tokens/color/Common.json b/tokens/color/Common.json new file mode 100644 index 0000000..1846f90 --- /dev/null +++ b/tokens/color/Common.json @@ -0,0 +1,74 @@ +{ + "color": { + "positive": { + "lm": {"value": "{color.green500.value}"}, + "dm": {"value": "{color.green300.value}"}, + "surface": { + "lm": {"value": "{color.green100.value}"}, + "dm": {"value": "{color.gray1000.value}"} + } + }, + "negative": { + "lm": {"value": "{color.red600.value}"}, + "dm": {"value": "{color.red300.value}"}, + "surface": { + "lm": {"value": "{color.red100.value}"}, + "dm": {"value": "{color.gray1000.value}"} + } + }, + "highlight": { + "lm": {"value": "{color.yellow500.value}"}, + "dm": {"value": "{color.yellow200.value}"}, + "surface": { + "lm": {"value": "{color.yellow200.value}"}, + "dm": {"value": "{color.gray1000.value}"} + } + }, + "information": { + "lm": {"value": "{color.purple700.value}"}, + "dm": {"value": "{color.purple300.value}"}, + "surface": { + "lm": {"value": "{color.purple100.value}"}, + "dm": {"value": "{color.gray1000.value}"} + } + }, + "trivial": { + "lm": {"value": "{color.gray600.value}"}, + "dm": {"value": "{color.gray500.value}"}, + "surface": { + "lm": {"value": "{color.gray400.value}"}, + "dm": {"value": "{color.gray1000.value}"} + } + }, + "action": { + "primary": { + "lm": {"value": "{color.secondary500.value}"}, + "dm": {"value": "{color.secondary200.value}"}, + "focus": { + "lm": {"value": "{color.secondary600.value}"}, + "dm": {"value": "{color.secondary300.value}"} + } + }, + "negative": { + "lm": {"value": "{color.red700.value}"}, + "dm": {"value": "{color.red300.value}"}, + "focus": { + "lm": {"value": "{color.red800.value}"}, + "dm": {"value": "{color.red400.value}"} + } + }, + "positive": { + "lm": {"value": "{color.green700.value}"}, + "dm": {"value": "{color.green200.value}"}, + "focus": { + "lm": {"value": "{color.green800.value}"}, + "dm": {"value": "{color.green400.value}"} + } + }, + "disabled": { + "lm": {"value": "{color.gray100.value}"}, + "dm": {"value": "{color.gray800.value}"} + } + } + } +} diff --git a/tokens/color/SemanticPalette.json b/tokens/color/SemanticPalette.json deleted file mode 100644 index e3af248..0000000 --- a/tokens/color/SemanticPalette.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "color": { - "positive": { - "lm": {"value": "{color.green500.value}"}, - "dm": {"value": "{color.green300.value}"} - }, - "positive-bg": { - "lm": {"value": "{color.green100.value}"}, - "dm": {"value": "{color.transparent.value}"} - }, - "negative": { - "lm": {"value": "{color.red600.value}"}, - "dm": {"value": "{color.red300.value}"} - }, - "negative-bg": { - "lm": {"value": "{color.red100.value}"}, - "dm": {"value": "{color.transparent.value}"} - }, - "highlight": { - "lm": {"value": "{color.yellow500.value}"}, - "dm": {"value": "{color.yellow200.value}"} - }, - "highlight-bg": { - "lm": {"value": "{color.yellow200.value}"}, - "dm": {"value": "{color.transparent.value}"} - }, - "information": { - "lm": {"value": "{color.secondary.lm.value}"}, - "dm": {"value": "{color.secondary.dm.value}"} - }, - "information-bg": { - "lm": {"value": "{color.secondary-bg.lm.value}"}, - "dm": {"value": "{color.transparent.value}"} - }, - "trivial": { - "lm": {"value": "{color.gray600.value}"}, - "dm": {"value": "{color.gray500.value}"} - }, - "trivial-bg": { - "lm": {"value": "{color.gray400.value}"}, - "dm": {"value": "{color.transparent.value}"} - }, - "action": { - "primary": { - "lm": {"value": "{color.purple700.value}"}, - "dm": {"value": "{color.purple300.value}"} - }, - "primary.hover": { - "lm": {"value": "{color.purple800.value}"}, - "dm": {"value": "{color.purple400.value}"} - }, - "disabled": { - "lm": {"value": "{color.gray100.value}"}, - "dm": {"value": "{color.gray800.value}"} - }, - "warning": { - "lm": {"value": "{color.red700.value}"}, - "dm": {"value": "{color.red300.value}"} - }, - "warning.hover": { - "lm": {"value": "{color.red800.value}"}, - "dm": {"value": "{color.red400.value}"} - } - } - } -} diff --git a/tokens/color/text.json b/tokens/color/text.json index 0100933..79ca7ec 100644 --- a/tokens/color/text.json +++ b/tokens/color/text.json @@ -5,7 +5,7 @@ "dm": {"value": "{color.gray0.value}"}, "onPrimary": { "lm": {"value": "{color.gray1000.value}"}, - "dm": {"value": "{color.gray1000.value}}"} + "dm": {"value": "{color.gray1000.value}"} }, "onSecondary": { "lm": {"value": "{color.gray0.value}"}, From fae92c459ed45fa9046759fa896eaa5487abac80 Mon Sep 17 00:00:00 2001 From: Dan Rader Date: Wed, 16 Nov 2022 10:53:57 -0500 Subject: [PATCH 5/7] Updated accent - updated accent colors to include both lm and dm - added blue color series - changed JSON file name to just accent --- tokens/color/accent.json | 28 ++++++++++++++++++++++++++++ tokens/color/accentPalette.json | 12 ------------ tokens/color/base.json | 10 ++++++++++ 3 files changed, 38 insertions(+), 12 deletions(-) create mode 100644 tokens/color/accent.json delete mode 100644 tokens/color/accentPalette.json diff --git a/tokens/color/accent.json b/tokens/color/accent.json new file mode 100644 index 0000000..e131eef --- /dev/null +++ b/tokens/color/accent.json @@ -0,0 +1,28 @@ +{ + "color": { + "accent": { + "green": { + "lm": {"value": "{color.green200.value}"}, + "dm": {"value": "{color.green200.value}"} + }, + "yellow": { + "lm": {"value": "{color.yellow200.value}"}, + "dm": {"value": "{color.yellow200.value}"} + }, + "pink": { + "lm": {"value": "{color.pink300.value}"}, + "dm": {"value": "color.pink300.value}"} + }, + "purple": { + "lm": {"value": "{color.purple300.value}"}, + "dm": {"value": "{color.purple300.value}"} + }, + "blue": { + "lm": {"value": "{color.blue200.value}"}, + "dm": {"value": "{color.blue200.value}"} + } + } + } +} + + diff --git a/tokens/color/accentPalette.json b/tokens/color/accentPalette.json deleted file mode 100644 index a882eea..0000000 --- a/tokens/color/accentPalette.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "color": { - "accent": { - "green": {"value": "{color.green200.value}"}, - "yellow": {"value": "{color.yellow200.value}"}, - "pink": {"value": "{color.pink300.value}"}, - "purple": {"value": "{color.purple300.value}"} - } - } -} - - diff --git a/tokens/color/base.json b/tokens/color/base.json index bb54849..e0f0f75 100644 --- a/tokens/color/base.json +++ b/tokens/color/base.json @@ -96,6 +96,16 @@ "red700": {"value": "#c2210fff"}, "red800": {"value": "#961305ff"}, "red900": {"value": "#731409ff"}, + "blue50": {"value": "#E8FCFF"}, + "blue100": {"value": "#D1F9FF"}, + "blue200": {"value": "#BAF6FF"}, + "blue300": {"value": "#9FDAF5"}, + "blue400": {"value": "#85BFEB"}, + "blue500": {"value": "#6AA3E0"}, + "blue600": {"value": "#5088D6"}, + "blue700": {"value": "#356CCC"}, + "blue800": {"value": "#2253B3"}, + "blue900": {"value": "#0F3999"}, "transparent": {"value": "#ffffff00"} } } From c3b6871929ad28286c7004b3b3bcf7e3f06a2ac1 Mon Sep 17 00:00:00 2001 From: Dan Rader Date: Wed, 16 Nov 2022 12:22:19 -0500 Subject: [PATCH 6/7] Added JS Utility for Calculating Brand colors This first release only has a function for updating CSS I imagine we could write in other methods as conditional exports from this function --- utilities/generateBrandColors.js | 91 ++++++++++++++++++++++++++++++++ 1 file changed, 91 insertions(+) create mode 100644 utilities/generateBrandColors.js diff --git a/utilities/generateBrandColors.js b/utilities/generateBrandColors.js new file mode 100644 index 0000000..b83eafc --- /dev/null +++ b/utilities/generateBrandColors.js @@ -0,0 +1,91 @@ +const createColorList = (primaryColor, secondaryColor) => { + + const primary50 = chroma.mix(primaryColor, 'white', 0.9, 'hsl').hex(); + const primary100 = chroma.mix(primaryColor, 'white', 0.7, 'hsl').hex(); + const primary200 = chroma.mix(primaryColor, 'white', 0.6, 'hsl').hex(); + const primary300 = chroma.mix(primaryColor, 'white', 0.4, 'hsl').hex(); + const primary400 = chroma.mix(primaryColor, 'white', 0.2, 'hsl').hex(); + const primary500 = chroma(primaryColor).hex(); + const primary600 = chroma.mix(primaryColor, 'black', 0.2, 'hsl').hex(); + const primary700 = chroma.mix(primaryColor, 'black', 0.4, 'hsl').hex(); + const primary800 = chroma.mix(primaryColor, 'black', 0.6, 'hsl').hex(); + const primary900 = chroma.mix(primaryColor, 'black', 0.7, 'hsl').hex(); + const primary1000 = chroma.mix(primaryColor, 'black', 0.9, 'hsl').hex(); + const primaryDMGradStart = chroma.mix(primaryColor, 'white', 0.2, 'hsl').alpha(.2).hex(); + const primaryDMGradEnd = chroma.mix(primaryColor, 'white', 0.2, 'hsl').alpha(.0).hex(); + + const secondary50 = chroma.mix(secondaryColor, 'white', 0.9, 'hsl').hex(); + const secondary100 = chroma.mix(secondaryColor, 'white', 0.7, 'hsl').hex(); + const secondary200 = chroma.mix(secondaryColor, 'white', 0.6, 'hsl').hex(); + const secondary300 = chroma.mix(secondaryColor, 'white', 0.4, 'hsl').hex(); + const secondary400 = chroma.mix(secondaryColor, 'white', 0.2, 'hsl').hex(); + const secondary500 = chroma(secondaryColor).hex(); + const secondary600 = chroma.mix(secondaryColor, 'black', 0.2, 'hsl').hex(); + const secondary700 = chroma.mix(secondaryColor, 'black', 0.4, 'hsl').hex(); + const secondary800 = chroma.mix(secondaryColor, 'black', 0.6, 'hsl').hex(); + const secondary900 = chroma.mix(secondaryColor, 'black', 0.7, 'hsl').hex(); + const secondary1000 = chroma.mix(secondaryColor, 'black', 0.9, 'hsl').hex(); + const secondaryDMGradStart = chroma.mix(secondaryColor, 'white', 0.2, 'hsl').alpha(.2).hex(); + const secondaryDMGradEnd = chroma.mix(secondaryColor, 'white', 0.2, 'hsl').alpha(.0).hex(); + + const contrastTarget = 4.5 + const textColor = "#292632" + const textReverse = "#FFFFFF" + var textOnPrimary = "" + var textOnSecondary = "" + + function checkContrast() { + const primaryContrast = chroma.contrast(textColor, primaryColor); + const secondaryContrast = chroma.contrast(textColor, secondaryColor); + + if (primaryContrast > contrastTarget) { + textOnPrimary = textColor + } else { + textOnPrimary = textReverse + } + + if (secondaryContrast > contrastTarget) { + textOnSecondary = textColor + } else { + textOnSecondary = textReverse + } + }; + + checkContrast(); + + function updateCSS() { + root.style.setProperty(`--xpl-color-primary50`, primary50); + root.style.setProperty(`--xpl-color-primary100`, primary100); + root.style.setProperty(`--xpl-color-primary100`, primary100); + root.style.setProperty(`--xpl-color-primary200`, primary200); + root.style.setProperty(`--xpl-color-primary300`, primary300); + root.style.setProperty(`--xpl-color-primary400`, primary400); + root.style.setProperty(`--xpl-color-primary500`, primary500); + root.style.setProperty(`--xpl-color-primary600`, primary600); + root.style.setProperty(`--xpl-color-primary700`, primary700); + root.style.setProperty(`--xpl-color-primary800`, primary800); + root.style.setProperty(`--xpl-color-primary900`, primary900); + root.style.setProperty(`--xpl-color-primary1000`, primary1000); + root.style.setProperty(`--xpl-color-brand-primary-gradient-start-dm`, primaryDMGradStart); + root.style.setProperty(`--xpl-color-brand-primary-gradient-start-dm`, primaryDMGradEnd); + root.style.setProperty(`--xpl-color-text-on-primary-lm`, textOnPrimary); + + root.style.setProperty(`--xpl-color-secondary50`, secondary50); + root.style.setProperty(`--xpl-color-secondary100`, secondary100); + root.style.setProperty(`--xpl-color-secondary100`, secondary100); + root.style.setProperty(`--xpl-color-secondary200`, secondary200); + root.style.setProperty(`--xpl-color-secondary300`, secondary300); + root.style.setProperty(`--xpl-color-secondary400`, secondary400); + root.style.setProperty(`--xpl-color-secondary500`, secondary500); + root.style.setProperty(`--xpl-color-secondary600`, secondary600); + root.style.setProperty(`--xpl-color-secondary700`, secondary700); + root.style.setProperty(`--xpl-color-secondary800`, secondary800); + root.style.setProperty(`--xpl-color-secondary900`, secondary900); + root.style.setProperty(`--xpl-color-secondary1000`, secondary1000); + root.style.setProperty(`--xpl-color-brand-secondary-gradient-start-dm`, secondaryDMGradStart); + root.style.setProperty(`--xpl-color-brand-secondary-gradient-start-dm`, secondaryDMGradEnd); + root.style.setProperty(`--xpl-color-text-on-secondary-lm`, textOnSecondary); + } + + updateCSS(); +}; \ No newline at end of file From dfa7a68c9ee55d4849e5e5f0d72de8ae53569266 Mon Sep 17 00:00:00 2001 From: Dan Rader Date: Wed, 30 Nov 2022 17:43:36 -0500 Subject: [PATCH 7/7] Added Header Tokens - Also added base value for gradients so it can me managed in one place - --- .gitignore | 3 +- demos/cssVar/index.html | 362 ++++++++++ demos/cssVar/style.css | 43 ++ npm-debug.log | 1091 ------------------------------ tokens/color/base.json | 4 + tokens/color/brand.json | 26 +- tokens/color/component.json | 102 +++ utilities/generateBrandColors.js | 5 +- 8 files changed, 519 insertions(+), 1117 deletions(-) create mode 100644 demos/cssVar/index.html create mode 100644 demos/cssVar/style.css delete mode 100644 npm-debug.log create mode 100644 tokens/color/component.json diff --git a/.gitignore b/.gitignore index 48912d2..5f019f3 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ build -node_modules \ No newline at end of file +node_modules +.vscode/launch.json diff --git a/demos/cssVar/index.html b/demos/cssVar/index.html new file mode 100644 index 0000000..52ddb48 --- /dev/null +++ b/demos/cssVar/index.html @@ -0,0 +1,362 @@ + + + + + + +
+

Neutral

+
+

Foreground

+
+

gray0

+
+
+

gray1000

+
+
+ +
+

Background

+
+ gray50 +
+
+ gray1200 +
+
+ +
+

Background2

+
+ gray100 +
+
+ gray1100 +
+
+ +
+

navigation

+
+ gray1000 +
+
+ gray1000 +
+
+ +
+

stroke

+ +
+ gray400 +
+
+ gray900 +
+
+
+
+

Brand

+
+

Primary

+
+ primary500 +
+
+ primary300 +
+
+
+

Primary Surface

+
+ primary50 +
+
+ gray1100 +
+
+
+

Primary Gradient

+
+ brand-primary-gradient-start + brand-primary-gradient-end +
+
+ brand-primary-gradient-start + brand-primary-gradient-end +
+
+ +
+

secondary

+
+ secondary500 +
+
+ secondary300 +
+
+
+

secondary Surface

+
+ secondary50 +
+
+ gray1100 +
+
+
+

secondary Gradient

+
+ brand-secondary-gradient-start + brand-secondary-gradient-end +
+
+ brand-secondary-gradient-start + brand-secondary-gradient-end +
+
+
+ +
+

Text

+
+

Text on Primary

+
+ text-on-primary-lm +
+
+ text-on-primary-dm +
+
+
+

Text on Secondary

+
+ text-on-secondary-lm +
+
+ text-on-secondary-dm +
+
+ +
+

Text

+
+ gray1000 +
+
+ gray0 +
+
+ +
+

Text Subdued

+
+ gray600 +
+
+ gray1100 +
+
+ +
+

Text Reverse

+
+ gray0 +
+
+ gray1000 +
+
+ +
+

Text Negative

+
+ red700 +
+
+ red300 +
+
+ +
+

Text Positive

+
+ green700 +
+
+ green300 +
+
+
+ +
+

Common

+
+

Positive

+
+ green500 +
+
+ green400 +
+
+ +
+

Positive Surface

+
+ green100 +
+
+ gray.1000 +
+
+
+

Negative

+
+ red600 +
+
+ red300 +
+
+
+

Negative Surface

+
+ red100 +
+
+ gray.1000 +
+
+ +
+

highlight

+
+ yellow500 +
+
+ yellow200 +
+
+
+

highlight Surface

+
+ yellow200 +
+
+ gray.1000 +
+
+ +
+

information

+
+ purple700 +
+
+ purple300 +
+
+
+

information Surface

+
+ purple100 +
+
+ gray.1000 +
+
+ +
+

trivial

+
+ purple700 +
+
+ purple300 +
+
+
+

trivial Surface

+
+ purple100 +
+
+ gray.1000 +
+
+
+ +
+

action

+
+

action-primary

+
+ secondary500 +
+
+ secondary200 +
+
+
+

action-primary Surface

+
+ secondary600 +
+
+ secondary300 +
+
+ +
+

action-negative

+
+ red700 +
+
+ red300 +
+
+
+

action-negative Surface

+
+ red800 +
+
+ red400 +
+
+ +
+

action-positive

+
+ green700 +
+
+ green300 +
+
+
+

action-positive Surface

+
+ green800 +
+
+ green400 +
+
+ +
+

action-disabled

+
+ gray100 +
+
+ gray800 +
+
+ +
\ No newline at end of file diff --git a/demos/cssVar/style.css b/demos/cssVar/style.css new file mode 100644 index 0000000..eb84a82 --- /dev/null +++ b/demos/cssVar/style.css @@ -0,0 +1,43 @@ +:root { + font-family: var(--xpl-font-family-default); +} +body { + background-color: var(--xpl-color-neutral-background-lm); + display: grid; + justify-content: center; + grid-template-columns: minmax(auto, 600px); + gap: 16px; + +} + +section { + background-color: var(--xpl-color-neutral-foreground-lm); + padding: var(--xpl-size-spacing-16); + border-radius: var(--xpl-size-radius-large); + display: grid; + gap: var(--xpl-size-spacing-8); +} + +.row { + display: grid; + grid-template-columns: 2fr 1fr 1fr; + gap: var(--xpl-size-spacing-8); + border-bottom: 1px solid var(--xpl-color-neutral-stroke-lm); + padding: 16px 0; +} + +h2 { + display: block; + width: 100%; + border-bottom: 1px solid var(--xpl-color-neutral-stroke-lm); + padding-bottom: var(--xpl-size-spacing-8); + margin: 0; +} + +.color-swatch { + border-radius: var(--xpl-size-radius-default); + display: flex; + align-items: center; + justify-content: center; + font-size: 12px; +} \ No newline at end of file diff --git a/npm-debug.log b/npm-debug.log deleted file mode 100644 index 9bc227d..0000000 --- a/npm-debug.log +++ /dev/null @@ -1,1091 +0,0 @@ -0 info it worked if it ends with ok -1 verbose cli [ '/Users/danrader/.nvm/versions/node/v6.3.1/bin/node', -1 verbose cli '/Users/danrader/.nvm/versions/node/v6.3.1/bin/npm', -1 verbose cli 'install' ] -2 info using npm@3.10.3 -3 info using node@v6.3.1 -4 silly loadCurrentTree Starting -5 silly install loadCurrentTree -6 silly install readLocalPackageData -7 silly install normalizeTree -8 silly loadCurrentTree Finishing -9 silly loadIdealTree Starting -10 silly install loadIdealTree -11 silly cloneCurrentTree Starting -12 silly install cloneCurrentTreeToIdealTree -13 silly cloneCurrentTree Finishing -14 silly loadShrinkwrap Starting -15 silly install loadShrinkwrap -16 silly loadShrinkwrap Finishing -17 silly loadAllDepsIntoIdealTree Starting -18 silly install loadAllDepsIntoIdealTree -19 silly fetchNamedPackageData style-dictionary -20 silly mapToRegistry name style-dictionary -21 silly mapToRegistry using default registry -22 silly mapToRegistry registry https://registry.npmjs.org/ -23 silly mapToRegistry data Result { -23 silly mapToRegistry raw: 'style-dictionary', -23 silly mapToRegistry scope: null, -23 silly mapToRegistry escapedName: 'style-dictionary', -23 silly mapToRegistry name: 'style-dictionary', -23 silly mapToRegistry rawSpec: '', -23 silly mapToRegistry spec: 'latest', -23 silly mapToRegistry type: 'tag' } -24 silly mapToRegistry uri https://registry.npmjs.org/style-dictionary -25 verbose request uri https://registry.npmjs.org/style-dictionary -26 verbose request no auth needed -27 info attempt registry request try #1 at 3:27:05 PM -28 verbose request id 63b989e29388070b -29 http request GET https://registry.npmjs.org/style-dictionary -30 http 200 https://registry.npmjs.org/style-dictionary -31 verbose headers { date: 'Tue, 15 Nov 2022 20:27:05 GMT', -31 verbose headers 'content-type': 'application/json', -31 verbose headers 'transfer-encoding': 'chunked', -31 verbose headers connection: 'keep-alive', -31 verbose headers 'cf-ray': '76aab9bdabbf8ccc-EWR', -31 verbose headers 'access-control-allow-origin': '*', -31 verbose headers 'cache-control': 'public, max-age=300', -31 verbose headers etag: 'W/"62647da124f7f5f765a66faa27228f09"', -31 verbose headers 'last-modified': 'Mon, 27 Jun 2022 01:28:53 GMT', -31 verbose headers vary: 'accept-encoding, accept', -31 verbose headers 'cf-cache-status': 'REVALIDATED', -31 verbose headers 'x-amz-replication-status': 'COMPLETED', -31 verbose headers server: 'cloudflare', -31 verbose headers 'content-encoding': 'gzip' } -32 silly get cb [ 200, -32 silly get { date: 'Tue, 15 Nov 2022 20:27:05 GMT', -32 silly get 'content-type': 'application/json', -32 silly get 'transfer-encoding': 'chunked', -32 silly get connection: 'keep-alive', -32 silly get 'cf-ray': '76aab9bdabbf8ccc-EWR', -32 silly get 'access-control-allow-origin': '*', -32 silly get 'cache-control': 'public, max-age=300', -32 silly get etag: 'W/"62647da124f7f5f765a66faa27228f09"', -32 silly get 'last-modified': 'Mon, 27 Jun 2022 01:28:53 GMT', -32 silly get vary: 'accept-encoding, accept', -32 silly get 'cf-cache-status': 'REVALIDATED', -32 silly get 'x-amz-replication-status': 'COMPLETED', -32 silly get server: 'cloudflare', -32 silly get 'content-encoding': 'gzip' } ] -33 verbose get saving style-dictionary to /Users/danrader/.npm/registry.npmjs.org/style-dictionary/.cache.json -34 verbose correctMkdir /Users/danrader/.npm correctMkdir not in flight; initializing -35 silly resolveWithNewModule style-dictionary@3.7.1 checking installable status -36 silly cache add args [ 'style-dictionary@^3.0.3', null ] -37 verbose cache add spec style-dictionary@^3.0.3 -38 silly cache add parsed spec Result { -38 silly cache add raw: 'style-dictionary@^3.0.3', -38 silly cache add scope: null, -38 silly cache add escapedName: 'style-dictionary', -38 silly cache add name: 'style-dictionary', -38 silly cache add rawSpec: '^3.0.3', -38 silly cache add spec: '>=3.0.3 <4.0.0', -38 silly cache add type: 'range' } -39 silly addNamed style-dictionary@>=3.0.3 <4.0.0 -40 verbose addNamed ">=3.0.3 <4.0.0" is a valid semver range for style-dictionary -41 silly addNameRange { name: 'style-dictionary', -41 silly addNameRange range: '>=3.0.3 <4.0.0', -41 silly addNameRange hasData: false } -42 silly mapToRegistry name style-dictionary -43 silly mapToRegistry using default registry -44 silly mapToRegistry registry https://registry.npmjs.org/ -45 silly mapToRegistry data Result { -45 silly mapToRegistry raw: 'style-dictionary', -45 silly mapToRegistry scope: null, -45 silly mapToRegistry escapedName: 'style-dictionary', -45 silly mapToRegistry name: 'style-dictionary', -45 silly mapToRegistry rawSpec: '', -45 silly mapToRegistry spec: 'latest', -45 silly mapToRegistry type: 'tag' } -46 silly mapToRegistry uri https://registry.npmjs.org/style-dictionary -47 verbose addNameRange registry:https://registry.npmjs.org/style-dictionary not in flight; fetching -48 verbose get https://registry.npmjs.org/style-dictionary not expired, no request -49 silly addNameRange number 2 { name: 'style-dictionary', -49 silly addNameRange range: '>=3.0.3 <4.0.0', -49 silly addNameRange hasData: true } -50 silly addNameRange versions [ 'style-dictionary', -50 silly addNameRange [ '2.0.0-beta', -50 silly addNameRange '2.0.0', -50 silly addNameRange '2.1.0', -50 silly addNameRange '2.2.0', -50 silly addNameRange '2.2.1', -50 silly addNameRange '2.3.0', -50 silly addNameRange '2.4.0', -50 silly addNameRange '2.5.0', -50 silly addNameRange '2.6.0', -50 silly addNameRange '2.6.1', -50 silly addNameRange '2.6.2', -50 silly addNameRange '2.7.0', -50 silly addNameRange '2.8.0', -50 silly addNameRange '2.8.1', -50 silly addNameRange '2.8.2', -50 silly addNameRange '2.8.3', -50 silly addNameRange '2.9.0', -50 silly addNameRange '2.10.0', -50 silly addNameRange '2.10.1', -50 silly addNameRange '2.10.2', -50 silly addNameRange '3.0.0-rc.0', -50 silly addNameRange '3.0.0-rc.1', -50 silly addNameRange '3.0.0-rc.2', -50 silly addNameRange '3.0.0-rc.3', -50 silly addNameRange '3.0.0-rc.4', -50 silly addNameRange '3.0.0-rc.5', -50 silly addNameRange '2.10.3', -50 silly addNameRange '3.0.0-rc.6', -50 silly addNameRange '3.0.0-rc.7', -50 silly addNameRange '3.0.0-rc.8', -50 silly addNameRange '3.0.0-rc.9', -50 silly addNameRange '3.0.0-rc.10', -50 silly addNameRange '3.0.0', -50 silly addNameRange '3.0.1', -50 silly addNameRange '3.0.2', -50 silly addNameRange '3.0.3', -50 silly addNameRange '3.1.0', -50 silly addNameRange '3.1.1', -50 silly addNameRange '3.7.0', -50 silly addNameRange '3.7.1' ] ] -51 silly addNamed style-dictionary@3.7.1 -52 verbose addNamed "3.7.1" is a plain semver version for style-dictionary -53 silly mapToRegistry name style-dictionary -54 silly mapToRegistry using default registry -55 silly mapToRegistry registry https://registry.npmjs.org/ -56 silly mapToRegistry data Result { -56 silly mapToRegistry raw: 'style-dictionary', -56 silly mapToRegistry scope: null, -56 silly mapToRegistry escapedName: 'style-dictionary', -56 silly mapToRegistry name: 'style-dictionary', -56 silly mapToRegistry rawSpec: '', -56 silly mapToRegistry spec: 'latest', -56 silly mapToRegistry type: 'tag' } -57 silly mapToRegistry uri https://registry.npmjs.org/style-dictionary -58 verbose addRemoteTarball https://registry.npmjs.org/style-dictionary/-/style-dictionary-3.7.1.tgz not in flight; adding -59 verbose addRemoteTarball [ 'https://registry.npmjs.org/style-dictionary/-/style-dictionary-3.7.1.tgz', -59 verbose addRemoteTarball 'd61c980513d7bb0a1946a9fab31491a672d0f6a2' ] -60 info retry fetch attempt 1 at 3:27:05 PM -61 info attempt registry request try #1 at 3:27:05 PM -62 http fetch GET https://registry.npmjs.org/style-dictionary/-/style-dictionary-3.7.1.tgz -63 http fetch 200 https://registry.npmjs.org/style-dictionary/-/style-dictionary-3.7.1.tgz -64 silly fetchAndShaCheck shasum d61c980513d7bb0a1946a9fab31491a672d0f6a2 -65 verbose addTmpTarball /var/folders/7x/ngq74hs94915_vlr4pvtzwzm0000gn/T/npm-70705-03775045/registry.npmjs.org/style-dictionary/-/style-dictionary-3.7.1.tgz not in flight; adding -66 verbose addTmpTarball already have metadata; skipping unpack for style-dictionary@3.7.1 -67 verbose correctMkdir /Users/danrader/.npm correctMkdir not in flight; initializing -68 silly cache afterAdd style-dictionary@3.7.1 -69 verbose afterAdd /Users/danrader/.npm/style-dictionary/3.7.1/package/package.json not in flight; writing -70 verbose correctMkdir /Users/danrader/.npm correctMkdir not in flight; initializing -71 verbose afterAdd /Users/danrader/.npm/style-dictionary/3.7.1/package/package.json written -72 silly fetchNamedPackageData chalk -73 silly mapToRegistry name chalk -74 silly mapToRegistry using default registry -75 silly mapToRegistry registry https://registry.npmjs.org/ -76 silly mapToRegistry data Result { -76 silly mapToRegistry raw: 'chalk', -76 silly mapToRegistry scope: null, -76 silly mapToRegistry escapedName: 'chalk', -76 silly mapToRegistry name: 'chalk', -76 silly mapToRegistry rawSpec: '', -76 silly mapToRegistry spec: 'latest', -76 silly mapToRegistry type: 'tag' } -77 silly mapToRegistry uri https://registry.npmjs.org/chalk -78 silly fetchNamedPackageData change-case -79 silly mapToRegistry name change-case -80 silly mapToRegistry using default registry -81 silly mapToRegistry registry https://registry.npmjs.org/ -82 silly mapToRegistry data Result { -82 silly mapToRegistry raw: 'change-case', -82 silly mapToRegistry scope: null, -82 silly mapToRegistry escapedName: 'change-case', -82 silly mapToRegistry name: 'change-case', -82 silly mapToRegistry rawSpec: '', -82 silly mapToRegistry spec: 'latest', -82 silly mapToRegistry type: 'tag' } -83 silly mapToRegistry uri https://registry.npmjs.org/change-case -84 silly fetchNamedPackageData commander -85 silly mapToRegistry name commander -86 silly mapToRegistry using default registry -87 silly mapToRegistry registry https://registry.npmjs.org/ -88 silly mapToRegistry data Result { -88 silly mapToRegistry raw: 'commander', -88 silly mapToRegistry scope: null, -88 silly mapToRegistry escapedName: 'commander', -88 silly mapToRegistry name: 'commander', -88 silly mapToRegistry rawSpec: '', -88 silly mapToRegistry spec: 'latest', -88 silly mapToRegistry type: 'tag' } -89 silly mapToRegistry uri https://registry.npmjs.org/commander -90 silly fetchNamedPackageData fs-extra -91 silly mapToRegistry name fs-extra -92 silly mapToRegistry using default registry -93 silly mapToRegistry registry https://registry.npmjs.org/ -94 silly mapToRegistry data Result { -94 silly mapToRegistry raw: 'fs-extra', -94 silly mapToRegistry scope: null, -94 silly mapToRegistry escapedName: 'fs-extra', -94 silly mapToRegistry name: 'fs-extra', -94 silly mapToRegistry rawSpec: '', -94 silly mapToRegistry spec: 'latest', -94 silly mapToRegistry type: 'tag' } -95 silly mapToRegistry uri https://registry.npmjs.org/fs-extra -96 silly fetchNamedPackageData glob -97 silly mapToRegistry name glob -98 silly mapToRegistry using default registry -99 silly mapToRegistry registry https://registry.npmjs.org/ -100 silly mapToRegistry data Result { -100 silly mapToRegistry raw: 'glob', -100 silly mapToRegistry scope: null, -100 silly mapToRegistry escapedName: 'glob', -100 silly mapToRegistry name: 'glob', -100 silly mapToRegistry rawSpec: '', -100 silly mapToRegistry spec: 'latest', -100 silly mapToRegistry type: 'tag' } -101 silly mapToRegistry uri https://registry.npmjs.org/glob -102 silly fetchNamedPackageData json5 -103 silly mapToRegistry name json5 -104 silly mapToRegistry using default registry -105 silly mapToRegistry registry https://registry.npmjs.org/ -106 silly mapToRegistry data Result { -106 silly mapToRegistry raw: 'json5', -106 silly mapToRegistry scope: null, -106 silly mapToRegistry escapedName: 'json5', -106 silly mapToRegistry name: 'json5', -106 silly mapToRegistry rawSpec: '', -106 silly mapToRegistry spec: 'latest', -106 silly mapToRegistry type: 'tag' } -107 silly mapToRegistry uri https://registry.npmjs.org/json5 -108 silly fetchNamedPackageData jsonc-parser -109 silly mapToRegistry name jsonc-parser -110 silly mapToRegistry using default registry -111 silly mapToRegistry registry https://registry.npmjs.org/ -112 silly mapToRegistry data Result { -112 silly mapToRegistry raw: 'jsonc-parser', -112 silly mapToRegistry scope: null, -112 silly mapToRegistry escapedName: 'jsonc-parser', -112 silly mapToRegistry name: 'jsonc-parser', -112 silly mapToRegistry rawSpec: '', -112 silly mapToRegistry spec: 'latest', -112 silly mapToRegistry type: 'tag' } -113 silly mapToRegistry uri https://registry.npmjs.org/jsonc-parser -114 silly fetchNamedPackageData lodash -115 silly mapToRegistry name lodash -116 silly mapToRegistry using default registry -117 silly mapToRegistry registry https://registry.npmjs.org/ -118 silly mapToRegistry data Result { -118 silly mapToRegistry raw: 'lodash', -118 silly mapToRegistry scope: null, -118 silly mapToRegistry escapedName: 'lodash', -118 silly mapToRegistry name: 'lodash', -118 silly mapToRegistry rawSpec: '', -118 silly mapToRegistry spec: 'latest', -118 silly mapToRegistry type: 'tag' } -119 silly mapToRegistry uri https://registry.npmjs.org/lodash -120 silly fetchNamedPackageData tinycolor2 -121 silly mapToRegistry name tinycolor2 -122 silly mapToRegistry using default registry -123 silly mapToRegistry registry https://registry.npmjs.org/ -124 silly mapToRegistry data Result { -124 silly mapToRegistry raw: 'tinycolor2', -124 silly mapToRegistry scope: null, -124 silly mapToRegistry escapedName: 'tinycolor2', -124 silly mapToRegistry name: 'tinycolor2', -124 silly mapToRegistry rawSpec: '', -124 silly mapToRegistry spec: 'latest', -124 silly mapToRegistry type: 'tag' } -125 silly mapToRegistry uri https://registry.npmjs.org/tinycolor2 -126 verbose request uri https://registry.npmjs.org/change-case -127 verbose request no auth needed -128 info attempt registry request try #1 at 3:27:05 PM -129 http request GET https://registry.npmjs.org/change-case -130 verbose request uri https://registry.npmjs.org/jsonc-parser -131 verbose request no auth needed -132 info attempt registry request try #1 at 3:27:05 PM -133 http request GET https://registry.npmjs.org/jsonc-parser -134 verbose request uri https://registry.npmjs.org/json5 -135 verbose request no auth needed -136 info attempt registry request try #1 at 3:27:05 PM -137 verbose etag W/"b1949d1b338003a85c4dac236b9c62b2" -138 verbose lastModified Sun, 19 Jun 2022 06:33:32 GMT -139 http request GET https://registry.npmjs.org/json5 -140 verbose request uri https://registry.npmjs.org/chalk -141 verbose request no auth needed -142 info attempt registry request try #1 at 3:27:05 PM -143 verbose etag W/"02273622b8fbfe2cbc5ec38091b9849a" -144 verbose lastModified Wed, 05 Oct 2022 14:46:22 GMT -145 http request GET https://registry.npmjs.org/chalk -146 verbose request uri https://registry.npmjs.org/fs-extra -147 verbose request no auth needed -148 info attempt registry request try #1 at 3:27:05 PM -149 verbose etag W/"fde9a59edd1639645ab79729f43ac9f1" -150 verbose lastModified Tue, 30 Aug 2022 11:12:02 GMT -151 http request GET https://registry.npmjs.org/fs-extra -152 verbose request uri https://registry.npmjs.org/glob -153 verbose request no auth needed -154 info attempt registry request try #1 at 3:27:05 PM -155 verbose etag W/"0d21fc907085aea3cbbe5c78cf6d2320" -156 verbose lastModified Sat, 18 Jun 2022 12:53:27 GMT -157 http request GET https://registry.npmjs.org/glob -158 verbose request uri https://registry.npmjs.org/tinycolor2 -159 verbose request no auth needed -160 info attempt registry request try #1 at 3:27:05 PM -161 verbose etag W/"ed428225c48378a7d4d60abb03468e00" -162 verbose lastModified Sun, 27 May 2018 19:33:43 GMT -163 http request GET https://registry.npmjs.org/tinycolor2 -164 verbose request uri https://registry.npmjs.org/lodash -165 verbose request no auth needed -166 info attempt registry request try #1 at 3:27:05 PM -167 verbose etag W/"b48f1cd71309b86a6250d5fa311b4450" -168 verbose lastModified Mon, 10 Oct 2022 06:14:53 GMT -169 http request GET https://registry.npmjs.org/lodash -170 verbose request uri https://registry.npmjs.org/commander -171 verbose request no auth needed -172 info attempt registry request try #1 at 3:27:05 PM -173 verbose etag W/"7a2173595ece9cdd8356b9f941c969f8" -174 verbose lastModified Fri, 30 Sep 2022 07:28:05 GMT -175 http request GET https://registry.npmjs.org/commander -176 http 304 https://registry.npmjs.org/json5 -177 verbose headers { date: 'Tue, 15 Nov 2022 20:27:05 GMT', -177 verbose headers connection: 'keep-alive', -177 verbose headers 'cf-ray': '76aab9c17b870cd5-EWR', -177 verbose headers age: '174', -177 verbose headers 'cache-control': 'public, max-age=300', -177 verbose headers etag: '"b1949d1b338003a85c4dac236b9c62b2"', -177 verbose headers 'last-modified': 'Sun, 19 Jun 2022 06:33:32 GMT', -177 verbose headers vary: 'Accept-Encoding', -177 verbose headers 'cf-cache-status': 'HIT', -177 verbose headers 'x-amz-replication-status': 'COMPLETED', -177 verbose headers server: 'cloudflare' } -178 silly get cb [ 304, -178 silly get { date: 'Tue, 15 Nov 2022 20:27:05 GMT', -178 silly get connection: 'keep-alive', -178 silly get 'cf-ray': '76aab9c17b870cd5-EWR', -178 silly get age: '174', -178 silly get 'cache-control': 'public, max-age=300', -178 silly get etag: '"b1949d1b338003a85c4dac236b9c62b2"', -178 silly get 'last-modified': 'Sun, 19 Jun 2022 06:33:32 GMT', -178 silly get vary: 'Accept-Encoding', -178 silly get 'cf-cache-status': 'HIT', -178 silly get 'x-amz-replication-status': 'COMPLETED', -178 silly get server: 'cloudflare' } ] -179 verbose etag https://registry.npmjs.org/json5 from cache -180 verbose get saving json5 to /Users/danrader/.npm/registry.npmjs.org/json5/.cache.json -181 verbose correctMkdir /Users/danrader/.npm correctMkdir not in flight; initializing -182 silly resolveWithNewModule json5@2.2.1 checking installable status -183 silly cache add args [ 'json5@^2.2.0', null ] -184 verbose cache add spec json5@^2.2.0 -185 silly cache add parsed spec Result { -185 silly cache add raw: 'json5@^2.2.0', -185 silly cache add scope: null, -185 silly cache add escapedName: 'json5', -185 silly cache add name: 'json5', -185 silly cache add rawSpec: '^2.2.0', -185 silly cache add spec: '>=2.2.0 <3.0.0', -185 silly cache add type: 'range' } -186 silly addNamed json5@>=2.2.0 <3.0.0 -187 verbose addNamed ">=2.2.0 <3.0.0" is a valid semver range for json5 -188 silly addNameRange { name: 'json5', range: '>=2.2.0 <3.0.0', hasData: false } -189 silly mapToRegistry name json5 -190 silly mapToRegistry using default registry -191 silly mapToRegistry registry https://registry.npmjs.org/ -192 silly mapToRegistry data Result { -192 silly mapToRegistry raw: 'json5', -192 silly mapToRegistry scope: null, -192 silly mapToRegistry escapedName: 'json5', -192 silly mapToRegistry name: 'json5', -192 silly mapToRegistry rawSpec: '', -192 silly mapToRegistry spec: 'latest', -192 silly mapToRegistry type: 'tag' } -193 silly mapToRegistry uri https://registry.npmjs.org/json5 -194 verbose addNameRange registry:https://registry.npmjs.org/json5 not in flight; fetching -195 verbose get https://registry.npmjs.org/json5 not expired, no request -196 silly addNameRange number 2 { name: 'json5', range: '>=2.2.0 <3.0.0', hasData: true } -197 silly addNameRange versions [ 'json5', -197 silly addNameRange [ '0.0.0', -197 silly addNameRange '0.0.1', -197 silly addNameRange '0.1.0', -197 silly addNameRange '0.2.0', -197 silly addNameRange '0.4.0', -197 silly addNameRange '0.5.0', -197 silly addNameRange '0.5.1', -197 silly addNameRange '1.0.0-dates', -197 silly addNameRange '1.0.0-regexps', -197 silly addNameRange '1.0.0-beta', -197 silly addNameRange '1.0.0-dates-2', -197 silly addNameRange '1.0.0-regexps-2', -197 silly addNameRange '1.0.0-beta-2', -197 silly addNameRange '1.0.0-beta.4', -197 silly addNameRange '1.0.0', -197 silly addNameRange '1.0.1', -197 silly addNameRange '2.0.0', -197 silly addNameRange '2.0.1', -197 silly addNameRange '2.1.0', -197 silly addNameRange '2.1.1', -197 silly addNameRange '2.1.2', -197 silly addNameRange '2.1.3', -197 silly addNameRange '2.2.0', -197 silly addNameRange '2.2.1' ] ] -198 silly addNamed json5@2.2.1 -199 verbose addNamed "2.2.1" is a plain semver version for json5 -200 silly mapToRegistry name json5 -201 silly mapToRegistry using default registry -202 silly mapToRegistry registry https://registry.npmjs.org/ -203 silly mapToRegistry data Result { -203 silly mapToRegistry raw: 'json5', -203 silly mapToRegistry scope: null, -203 silly mapToRegistry escapedName: 'json5', -203 silly mapToRegistry name: 'json5', -203 silly mapToRegistry rawSpec: '', -203 silly mapToRegistry spec: 'latest', -203 silly mapToRegistry type: 'tag' } -204 silly mapToRegistry uri https://registry.npmjs.org/json5 -205 verbose addRemoteTarball https://registry.npmjs.org/json5/-/json5-2.2.1.tgz not in flight; adding -206 verbose addRemoteTarball [ 'https://registry.npmjs.org/json5/-/json5-2.2.1.tgz', -206 verbose addRemoteTarball '655d50ed1e6f95ad1a3caababd2b0efda10b395c' ] -207 info retry fetch attempt 1 at 3:27:05 PM -208 info attempt registry request try #1 at 3:27:05 PM -209 http fetch GET https://registry.npmjs.org/json5/-/json5-2.2.1.tgz -210 http 200 https://registry.npmjs.org/lodash -211 verbose headers { date: 'Tue, 15 Nov 2022 20:27:05 GMT', -211 verbose headers 'content-type': 'application/json', -211 verbose headers 'transfer-encoding': 'chunked', -211 verbose headers connection: 'keep-alive', -211 verbose headers 'cf-ray': '76aab9c18d2ac46b-EWR', -211 verbose headers 'access-control-allow-origin': '*', -211 verbose headers age: '41', -211 verbose headers 'cache-control': 'public, max-age=300', -211 verbose headers etag: 'W/"0afe0bc772456f097cac85a1c07c312c"', -211 verbose headers 'last-modified': 'Tue, 15 Nov 2022 01:29:45 GMT', -211 verbose headers vary: 'accept-encoding, accept', -211 verbose headers 'cf-cache-status': 'HIT', -211 verbose headers 'x-amz-replication-status': 'PENDING', -211 verbose headers server: 'cloudflare', -211 verbose headers 'content-encoding': 'gzip' } -212 silly get cb [ 200, -212 silly get { date: 'Tue, 15 Nov 2022 20:27:05 GMT', -212 silly get 'content-type': 'application/json', -212 silly get 'transfer-encoding': 'chunked', -212 silly get connection: 'keep-alive', -212 silly get 'cf-ray': '76aab9c18d2ac46b-EWR', -212 silly get 'access-control-allow-origin': '*', -212 silly get age: '41', -212 silly get 'cache-control': 'public, max-age=300', -212 silly get etag: 'W/"0afe0bc772456f097cac85a1c07c312c"', -212 silly get 'last-modified': 'Tue, 15 Nov 2022 01:29:45 GMT', -212 silly get vary: 'accept-encoding, accept', -212 silly get 'cf-cache-status': 'HIT', -212 silly get 'x-amz-replication-status': 'PENDING', -212 silly get server: 'cloudflare', -212 silly get 'content-encoding': 'gzip' } ] -213 verbose get saving lodash to /Users/danrader/.npm/registry.npmjs.org/lodash/.cache.json -214 verbose correctMkdir /Users/danrader/.npm correctMkdir not in flight; initializing -215 http 304 https://registry.npmjs.org/glob -216 verbose headers { date: 'Tue, 15 Nov 2022 20:27:05 GMT', -216 verbose headers connection: 'keep-alive', -216 verbose headers 'cf-ray': '76aab9c1b97132e4-EWR', -216 verbose headers age: '256', -216 verbose headers 'cache-control': 'public, max-age=300', -216 verbose headers etag: '"0d21fc907085aea3cbbe5c78cf6d2320"', -216 verbose headers 'last-modified': 'Sat, 18 Jun 2022 12:53:27 GMT', -216 verbose headers vary: 'Accept-Encoding', -216 verbose headers 'cf-cache-status': 'HIT', -216 verbose headers 'x-amz-replication-status': 'COMPLETED', -216 verbose headers server: 'cloudflare' } -217 silly get cb [ 304, -217 silly get { date: 'Tue, 15 Nov 2022 20:27:05 GMT', -217 silly get connection: 'keep-alive', -217 silly get 'cf-ray': '76aab9c1b97132e4-EWR', -217 silly get age: '256', -217 silly get 'cache-control': 'public, max-age=300', -217 silly get etag: '"0d21fc907085aea3cbbe5c78cf6d2320"', -217 silly get 'last-modified': 'Sat, 18 Jun 2022 12:53:27 GMT', -217 silly get vary: 'Accept-Encoding', -217 silly get 'cf-cache-status': 'HIT', -217 silly get 'x-amz-replication-status': 'COMPLETED', -217 silly get server: 'cloudflare' } ] -218 verbose etag https://registry.npmjs.org/glob from cache -219 verbose get saving glob to /Users/danrader/.npm/registry.npmjs.org/glob/.cache.json -220 verbose correctMkdir /Users/danrader/.npm correctMkdir not in flight; initializing -221 http 200 https://registry.npmjs.org/jsonc-parser -222 verbose headers { date: 'Tue, 15 Nov 2022 20:27:05 GMT', -222 verbose headers 'content-type': 'application/json', -222 verbose headers 'transfer-encoding': 'chunked', -222 verbose headers connection: 'keep-alive', -222 verbose headers 'cf-ray': '76aab9c18a37e6d0-EWR', -222 verbose headers 'access-control-allow-origin': '*', -222 verbose headers age: '27', -222 verbose headers 'cache-control': 'public, max-age=300', -222 verbose headers etag: 'W/"7ce91aa62a10e4dd500ebf4a952cb4d0"', -222 verbose headers 'last-modified': 'Thu, 03 Nov 2022 15:06:49 GMT', -222 verbose headers vary: 'accept-encoding, accept', -222 verbose headers 'cf-cache-status': 'HIT', -222 verbose headers 'x-amz-replication-status': 'PENDING', -222 verbose headers server: 'cloudflare', -222 verbose headers 'content-encoding': 'gzip' } -223 silly get cb [ 200, -223 silly get { date: 'Tue, 15 Nov 2022 20:27:05 GMT', -223 silly get 'content-type': 'application/json', -223 silly get 'transfer-encoding': 'chunked', -223 silly get connection: 'keep-alive', -223 silly get 'cf-ray': '76aab9c18a37e6d0-EWR', -223 silly get 'access-control-allow-origin': '*', -223 silly get age: '27', -223 silly get 'cache-control': 'public, max-age=300', -223 silly get etag: 'W/"7ce91aa62a10e4dd500ebf4a952cb4d0"', -223 silly get 'last-modified': 'Thu, 03 Nov 2022 15:06:49 GMT', -223 silly get vary: 'accept-encoding, accept', -223 silly get 'cf-cache-status': 'HIT', -223 silly get 'x-amz-replication-status': 'PENDING', -223 silly get server: 'cloudflare', -223 silly get 'content-encoding': 'gzip' } ] -224 verbose get saving jsonc-parser to /Users/danrader/.npm/registry.npmjs.org/jsonc-parser/.cache.json -225 verbose correctMkdir /Users/danrader/.npm correctMkdir not in flight; initializing -226 silly resolveWithNewModule lodash@4.17.21 checking installable status -227 silly cache add args [ 'lodash@^4.17.15', null ] -228 verbose cache add spec lodash@^4.17.15 -229 silly cache add parsed spec Result { -229 silly cache add raw: 'lodash@^4.17.15', -229 silly cache add scope: null, -229 silly cache add escapedName: 'lodash', -229 silly cache add name: 'lodash', -229 silly cache add rawSpec: '^4.17.15', -229 silly cache add spec: '>=4.17.15 <5.0.0', -229 silly cache add type: 'range' } -230 silly addNamed lodash@>=4.17.15 <5.0.0 -231 verbose addNamed ">=4.17.15 <5.0.0" is a valid semver range for lodash -232 silly addNameRange { name: 'lodash', range: '>=4.17.15 <5.0.0', hasData: false } -233 silly mapToRegistry name lodash -234 silly mapToRegistry using default registry -235 silly mapToRegistry registry https://registry.npmjs.org/ -236 silly mapToRegistry data Result { -236 silly mapToRegistry raw: 'lodash', -236 silly mapToRegistry scope: null, -236 silly mapToRegistry escapedName: 'lodash', -236 silly mapToRegistry name: 'lodash', -236 silly mapToRegistry rawSpec: '', -236 silly mapToRegistry spec: 'latest', -236 silly mapToRegistry type: 'tag' } -237 silly mapToRegistry uri https://registry.npmjs.org/lodash -238 verbose addNameRange registry:https://registry.npmjs.org/lodash not in flight; fetching -239 verbose get https://registry.npmjs.org/lodash not expired, no request -240 silly addNameRange number 2 { name: 'lodash', range: '>=4.17.15 <5.0.0', hasData: true } -241 silly addNameRange versions [ 'lodash', -241 silly addNameRange [ '0.1.0', -241 silly addNameRange '0.2.0', -241 silly addNameRange '0.2.1', -241 silly addNameRange '0.2.2', -241 silly addNameRange '0.3.0', -241 silly addNameRange '0.3.1', -241 silly addNameRange '0.3.2', -241 silly addNameRange '0.4.0', -241 silly addNameRange '0.4.1', -241 silly addNameRange '0.4.2', -241 silly addNameRange '0.5.0-rc.1', -241 silly addNameRange '0.5.0', -241 silly addNameRange '0.5.1', -241 silly addNameRange '0.5.2', -241 silly addNameRange '0.6.0', -241 silly addNameRange '0.6.1', -241 silly addNameRange '0.7.0', -241 silly addNameRange '0.8.0', -241 silly addNameRange '0.8.1', -241 silly addNameRange '0.8.2', -241 silly addNameRange '0.9.0', -241 silly addNameRange '0.9.1', -241 silly addNameRange '0.9.2', -241 silly addNameRange '0.10.0', -241 silly addNameRange '1.0.0-rc.1', -241 silly addNameRange '1.0.0-rc.2', -241 silly addNameRange '1.0.0-rc.3', -241 silly addNameRange '1.0.0', -241 silly addNameRange '1.0.1', -241 silly addNameRange '1.1.0', -241 silly addNameRange '1.1.1', -241 silly addNameRange '1.2.0', -241 silly addNameRange '1.2.1', -241 silly addNameRange '1.3.0', -241 silly addNameRange '1.3.1', -241 silly addNameRange '2.0.0', -241 silly addNameRange '2.1.0', -241 silly addNameRange '2.2.0', -241 silly addNameRange '2.2.1', -241 silly addNameRange '2.3.0', -241 silly addNameRange '2.4.0', -241 silly addNameRange '2.4.1', -241 silly addNameRange '3.0.0', -241 silly addNameRange '3.0.1', -241 silly addNameRange '3.1.0', -241 silly addNameRange '3.2.0', -241 silly addNameRange '3.3.0', -241 silly addNameRange '3.3.1', -241 silly addNameRange '3.4.0', -241 silly addNameRange '3.5.0', -241 silly addNameRange '3.6.0', -241 silly addNameRange '1.0.2', -241 silly addNameRange '3.7.0', -241 silly addNameRange '2.4.2', -241 silly addNameRange '3.8.0', -241 silly addNameRange '3.9.0', -241 silly addNameRange '3.9.1', -241 silly addNameRange '3.9.2', -241 silly addNameRange '3.9.3', -241 silly addNameRange '3.10.0', -241 silly addNameRange '3.10.1', -241 silly addNameRange '4.0.0', -241 silly addNameRange '4.0.1', -241 silly addNameRange '4.1.0', -241 silly addNameRange '4.2.0', -241 silly addNameRange '4.2.1', -241 silly addNameRange '4.3.0', -241 silly addNameRange '4.4.0', -241 silly addNameRange '4.5.0', -241 silly addNameRange '4.5.1', -241 silly addNameRange '4.6.0', -241 silly addNameRange '4.6.1', -241 silly addNameRange '4.7.0', -241 silly addNameRange '4.8.0', -241 silly addNameRange '4.8.1', -241 silly addNameRange '4.8.2', -241 silly addNameRange '4.9.0', -241 silly addNameRange '4.10.0', -241 silly addNameRange '4.11.0', -241 silly addNameRange '4.11.1', -241 silly addNameRange '4.11.2', -241 silly addNameRange '4.12.0', -241 silly addNameRange '4.13.0', -241 silly addNameRange '4.13.1', -241 silly addNameRange '4.14.0', -241 silly addNameRange '4.14.1', -241 silly addNameRange '4.14.2', -241 silly addNameRange '4.15.0', -241 silly addNameRange '4.16.0', -241 silly addNameRange '4.16.1', -241 silly addNameRange '4.16.2', -241 silly addNameRange '4.16.3', -241 silly addNameRange '4.16.4', -241 silly addNameRange '4.16.5', -241 silly addNameRange '4.16.6', -241 silly addNameRange '4.17.0', -241 silly addNameRange '4.17.1', -241 silly addNameRange '4.17.2', -241 silly addNameRange '4.17.3', -241 silly addNameRange '4.17.4', -241 silly addNameRange ... 14 more items ] ] -242 silly addNamed lodash@4.17.21 -243 verbose addNamed "4.17.21" is a plain semver version for lodash -244 silly resolveWithNewModule glob@7.2.3 checking installable status -245 silly cache add args [ 'glob@^7.2.0', null ] -246 verbose cache add spec glob@^7.2.0 -247 silly cache add parsed spec Result { -247 silly cache add raw: 'glob@^7.2.0', -247 silly cache add scope: null, -247 silly cache add escapedName: 'glob', -247 silly cache add name: 'glob', -247 silly cache add rawSpec: '^7.2.0', -247 silly cache add spec: '>=7.2.0 <8.0.0', -247 silly cache add type: 'range' } -248 silly addNamed glob@>=7.2.0 <8.0.0 -249 verbose addNamed ">=7.2.0 <8.0.0" is a valid semver range for glob -250 silly addNameRange { name: 'glob', range: '>=7.2.0 <8.0.0', hasData: false } -251 silly mapToRegistry name glob -252 silly mapToRegistry using default registry -253 silly mapToRegistry registry https://registry.npmjs.org/ -254 silly mapToRegistry data Result { -254 silly mapToRegistry raw: 'glob', -254 silly mapToRegistry scope: null, -254 silly mapToRegistry escapedName: 'glob', -254 silly mapToRegistry name: 'glob', -254 silly mapToRegistry rawSpec: '', -254 silly mapToRegistry spec: 'latest', -254 silly mapToRegistry type: 'tag' } -255 silly mapToRegistry uri https://registry.npmjs.org/glob -256 verbose addNameRange registry:https://registry.npmjs.org/glob not in flight; fetching -257 silly resolveWithNewModule jsonc-parser@3.2.0 checking installable status -258 silly cache add args [ 'jsonc-parser@^3.0.0', null ] -259 verbose cache add spec jsonc-parser@^3.0.0 -260 silly cache add parsed spec Result { -260 silly cache add raw: 'jsonc-parser@^3.0.0', -260 silly cache add scope: null, -260 silly cache add escapedName: 'jsonc-parser', -260 silly cache add name: 'jsonc-parser', -260 silly cache add rawSpec: '^3.0.0', -260 silly cache add spec: '>=3.0.0 <4.0.0', -260 silly cache add type: 'range' } -261 silly addNamed jsonc-parser@>=3.0.0 <4.0.0 -262 verbose addNamed ">=3.0.0 <4.0.0" is a valid semver range for jsonc-parser -263 silly addNameRange { name: 'jsonc-parser', range: '>=3.0.0 <4.0.0', hasData: false } -264 silly mapToRegistry name jsonc-parser -265 silly mapToRegistry using default registry -266 silly mapToRegistry registry https://registry.npmjs.org/ -267 silly mapToRegistry data Result { -267 silly mapToRegistry raw: 'jsonc-parser', -267 silly mapToRegistry scope: null, -267 silly mapToRegistry escapedName: 'jsonc-parser', -267 silly mapToRegistry name: 'jsonc-parser', -267 silly mapToRegistry rawSpec: '', -267 silly mapToRegistry spec: 'latest', -267 silly mapToRegistry type: 'tag' } -268 silly mapToRegistry uri https://registry.npmjs.org/jsonc-parser -269 verbose addNameRange registry:https://registry.npmjs.org/jsonc-parser not in flight; fetching -270 http fetch 200 https://registry.npmjs.org/json5/-/json5-2.2.1.tgz -271 verbose get https://registry.npmjs.org/glob not expired, no request -272 silly addNameRange number 2 { name: 'glob', range: '>=7.2.0 <8.0.0', hasData: true } -273 silly addNameRange versions [ 'glob', -273 silly addNameRange [ '1.1.0', -273 silly addNameRange '2.0.9', -273 silly addNameRange '2.0.8', -273 silly addNameRange '2.0.7', -273 silly addNameRange '2.1.0', -273 silly addNameRange '3.0.0', -273 silly addNameRange '3.0.1', -273 silly addNameRange '3.1.0', -273 silly addNameRange '3.1.1', -273 silly addNameRange '3.1.2', -273 silly addNameRange '3.1.3', -273 silly addNameRange '3.1.4', -273 silly addNameRange '3.1.5', -273 silly addNameRange '3.1.6', -273 silly addNameRange '3.1.7', -273 silly addNameRange '3.1.9', -273 silly addNameRange '3.1.10', -273 silly addNameRange '3.1.11', -273 silly addNameRange '3.1.12', -273 silly addNameRange '3.1.13', -273 silly addNameRange '3.1.14', -273 silly addNameRange '3.1.15', -273 silly addNameRange '3.1.16', -273 silly addNameRange '3.1.17', -273 silly addNameRange '3.1.18', -273 silly addNameRange '3.1.19', -273 silly addNameRange '3.1.20', -273 silly addNameRange '3.1.21', -273 silly addNameRange '3.2.0', -273 silly addNameRange '3.2.1', -273 silly addNameRange '3.2.3', -273 silly addNameRange '3.2.4', -273 silly addNameRange '3.2.5', -273 silly addNameRange '3.2.6', -273 silly addNameRange '3.2.7', -273 silly addNameRange '3.2.8', -273 silly addNameRange '3.2.9', -273 silly addNameRange '3.2.10', -273 silly addNameRange '3.2.11', -273 silly addNameRange '4.0.0', -273 silly addNameRange '4.0.1', -273 silly addNameRange '4.0.2', -273 silly addNameRange '4.0.3', -273 silly addNameRange '4.0.4', -273 silly addNameRange '4.0.5', -273 silly addNameRange '4.0.6', -273 silly addNameRange '4.1.2-beta', -273 silly addNameRange '4.1.2', -273 silly addNameRange '4.1.3', -273 silly addNameRange '4.1.4', -273 silly addNameRange '4.1.5', -273 silly addNameRange '4.1.6', -273 silly addNameRange '4.2.0', -273 silly addNameRange '4.2.1', -273 silly addNameRange '4.2.2', -273 silly addNameRange '4.3.0', -273 silly addNameRange '4.3.1', -273 silly addNameRange '4.3.2', -273 silly addNameRange '4.3.3', -273 silly addNameRange '4.3.4', -273 silly addNameRange '4.3.5', -273 silly addNameRange '4.4.0', -273 silly addNameRange '4.4.2', -273 silly addNameRange '4.5.0', -273 silly addNameRange '5.0.0', -273 silly addNameRange '4.5.1', -273 silly addNameRange '5.0.1', -273 silly addNameRange '4.5.2', -273 silly addNameRange '5.0.2', -273 silly addNameRange '4.5.3', -273 silly addNameRange '5.0.3', -273 silly addNameRange '5.0.4', -273 silly addNameRange '5.0.5', -273 silly addNameRange '5.0.6', -273 silly addNameRange '5.0.7', -273 silly addNameRange '5.0.9', -273 silly addNameRange '5.0.10', -273 silly addNameRange '5.0.11', -273 silly addNameRange '5.0.12', -273 silly addNameRange '5.0.13', -273 silly addNameRange '5.0.14', -273 silly addNameRange '5.0.15', -273 silly addNameRange '6.0.1', -273 silly addNameRange '6.0.2', -273 silly addNameRange '6.0.3', -273 silly addNameRange '6.0.4', -273 silly addNameRange '7.0.0', -273 silly addNameRange '7.0.1', -273 silly addNameRange '7.0.3', -273 silly addNameRange '7.0.4', -273 silly addNameRange '7.0.5', -273 silly addNameRange '7.0.6', -273 silly addNameRange '7.1.0', -273 silly addNameRange '7.1.1', -273 silly addNameRange '7.1.2', -273 silly addNameRange '7.1.3', -273 silly addNameRange '7.1.4', -273 silly addNameRange '7.1.5', -273 silly addNameRange '7.1.6', -273 silly addNameRange '7.1.7', -273 silly addNameRange ... 6 more items ] ] -274 silly addNamed glob@7.2.3 -275 verbose addNamed "7.2.3" is a plain semver version for glob -276 silly cache afterAdd lodash@4.17.21 -277 verbose afterAdd /Users/danrader/.npm/lodash/4.17.21/package/package.json not in flight; writing -278 verbose correctMkdir /Users/danrader/.npm correctMkdir not in flight; initializing -279 verbose get https://registry.npmjs.org/jsonc-parser not expired, no request -280 silly addNameRange number 2 { name: 'jsonc-parser', range: '>=3.0.0 <4.0.0', hasData: true } -281 silly addNameRange versions [ 'jsonc-parser', -281 silly addNameRange [ '0.0.1', -281 silly addNameRange '0.0.2', -281 silly addNameRange '0.0.3', -281 silly addNameRange '0.1.0', -281 silly addNameRange '0.1.1', -281 silly addNameRange '0.1.2', -281 silly addNameRange '0.2.0', -281 silly addNameRange '0.1.3', -281 silly addNameRange '0.2.1', -281 silly addNameRange '0.2.2', -281 silly addNameRange '0.2.3', -281 silly addNameRange '0.3.0', -281 silly addNameRange '0.3.1', -281 silly addNameRange '0.4.0', -281 silly addNameRange '0.4.1', -281 silly addNameRange '0.4.2', -281 silly addNameRange '1.0.0', -281 silly addNameRange '1.0.1', -281 silly addNameRange '1.0.2', -281 silly addNameRange '1.0.3', -281 silly addNameRange '2.0.0-next.1', -281 silly addNameRange '2.0.0', -281 silly addNameRange '2.0.1', -281 silly addNameRange '2.0.2', -281 silly addNameRange '2.0.3', -281 silly addNameRange '2.1.0', -281 silly addNameRange '2.1.1', -281 silly addNameRange '2.2.0', -281 silly addNameRange '2.2.1', -281 silly addNameRange '2.3.0', -281 silly addNameRange '2.3.1', -281 silly addNameRange '3.0.0', -281 silly addNameRange '3.1.0', -281 silly addNameRange '3.2.0' ] ] -282 silly addNamed jsonc-parser@3.2.0 -283 verbose addNamed "3.2.0" is a plain semver version for jsonc-parser -284 silly mapToRegistry name jsonc-parser -285 silly mapToRegistry using default registry -286 silly mapToRegistry registry https://registry.npmjs.org/ -287 silly mapToRegistry data Result { -287 silly mapToRegistry raw: 'jsonc-parser', -287 silly mapToRegistry scope: null, -287 silly mapToRegistry escapedName: 'jsonc-parser', -287 silly mapToRegistry name: 'jsonc-parser', -287 silly mapToRegistry rawSpec: '', -287 silly mapToRegistry spec: 'latest', -287 silly mapToRegistry type: 'tag' } -288 silly mapToRegistry uri https://registry.npmjs.org/jsonc-parser -289 verbose addRemoteTarball https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.2.0.tgz not in flight; adding -290 verbose addRemoteTarball [ 'https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.2.0.tgz', -290 verbose addRemoteTarball '31ff3f4c2b9793f89c67212627c51c6394f88e76' ] -291 http 200 https://registry.npmjs.org/chalk -292 verbose headers { date: 'Tue, 15 Nov 2022 20:27:05 GMT', -292 verbose headers 'content-type': 'application/json', -292 verbose headers 'transfer-encoding': 'chunked', -292 verbose headers connection: 'keep-alive', -292 verbose headers 'cf-ray': '76aab9c1a862c35a-EWR', -292 verbose headers 'access-control-allow-origin': '*', -292 verbose headers age: '249', -292 verbose headers 'cache-control': 'public, max-age=300', -292 verbose headers etag: 'W/"97b8fda57ecf2259223a4c6d47a0f4f2"', -292 verbose headers 'last-modified': 'Tue, 15 Nov 2022 01:29:31 GMT', -292 verbose headers vary: 'accept-encoding, accept', -292 verbose headers 'cf-cache-status': 'HIT', -292 verbose headers 'x-amz-replication-status': 'PENDING', -292 verbose headers server: 'cloudflare', -292 verbose headers 'content-encoding': 'gzip' } -293 silly get cb [ 200, -293 silly get { date: 'Tue, 15 Nov 2022 20:27:05 GMT', -293 silly get 'content-type': 'application/json', -293 silly get 'transfer-encoding': 'chunked', -293 silly get connection: 'keep-alive', -293 silly get 'cf-ray': '76aab9c1a862c35a-EWR', -293 silly get 'access-control-allow-origin': '*', -293 silly get age: '249', -293 silly get 'cache-control': 'public, max-age=300', -293 silly get etag: 'W/"97b8fda57ecf2259223a4c6d47a0f4f2"', -293 silly get 'last-modified': 'Tue, 15 Nov 2022 01:29:31 GMT', -293 silly get vary: 'accept-encoding, accept', -293 silly get 'cf-cache-status': 'HIT', -293 silly get 'x-amz-replication-status': 'PENDING', -293 silly get server: 'cloudflare', -293 silly get 'content-encoding': 'gzip' } ] -294 verbose get saving chalk to /Users/danrader/.npm/registry.npmjs.org/chalk/.cache.json -295 verbose correctMkdir /Users/danrader/.npm correctMkdir not in flight; initializing -296 info retry fetch attempt 1 at 3:27:05 PM -297 info attempt registry request try #1 at 3:27:05 PM -298 http fetch GET https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.2.0.tgz -299 silly cache afterAdd glob@7.2.3 -300 verbose afterAdd /Users/danrader/.npm/glob/7.2.3/package/package.json not in flight; writing -301 verbose correctMkdir /Users/danrader/.npm correctMkdir not in flight; initializing -302 verbose afterAdd /Users/danrader/.npm/lodash/4.17.21/package/package.json written -303 silly fetchAndShaCheck shasum 655d50ed1e6f95ad1a3caababd2b0efda10b395c -304 verbose addTmpTarball /var/folders/7x/ngq74hs94915_vlr4pvtzwzm0000gn/T/npm-70705-03775045/registry.npmjs.org/json5/-/json5-2.2.1.tgz not in flight; adding -305 verbose addTmpTarball already have metadata; skipping unpack for json5@2.2.1 -306 verbose correctMkdir /Users/danrader/.npm correctMkdir not in flight; initializing -307 verbose afterAdd /Users/danrader/.npm/glob/7.2.3/package/package.json written -308 silly resolveWithNewModule chalk@4.1.2 checking installable status -309 silly cache add args [ 'chalk@^4.0.0', null ] -310 verbose cache add spec chalk@^4.0.0 -311 silly cache add parsed spec Result { -311 silly cache add raw: 'chalk@^4.0.0', -311 silly cache add scope: null, -311 silly cache add escapedName: 'chalk', -311 silly cache add name: 'chalk', -311 silly cache add rawSpec: '^4.0.0', -311 silly cache add spec: '>=4.0.0 <5.0.0', -311 silly cache add type: 'range' } -312 silly addNamed chalk@>=4.0.0 <5.0.0 -313 verbose addNamed ">=4.0.0 <5.0.0" is a valid semver range for chalk -314 silly addNameRange { name: 'chalk', range: '>=4.0.0 <5.0.0', hasData: false } -315 silly mapToRegistry name chalk -316 silly mapToRegistry using default registry -317 silly mapToRegistry registry https://registry.npmjs.org/ -318 silly mapToRegistry data Result { -318 silly mapToRegistry raw: 'chalk', -318 silly mapToRegistry scope: null, -318 silly mapToRegistry escapedName: 'chalk', -318 silly mapToRegistry name: 'chalk', -318 silly mapToRegistry rawSpec: '', -318 silly mapToRegistry spec: 'latest', -318 silly mapToRegistry type: 'tag' } -319 silly mapToRegistry uri https://registry.npmjs.org/chalk -320 verbose addNameRange registry:https://registry.npmjs.org/chalk not in flight; fetching -321 verbose get https://registry.npmjs.org/chalk not expired, no request -322 silly addNameRange number 2 { name: 'chalk', range: '>=4.0.0 <5.0.0', hasData: true } -323 silly addNameRange versions [ 'chalk', -323 silly addNameRange [ '0.1.0', -323 silly addNameRange '0.1.1', -323 silly addNameRange '0.2.0', -323 silly addNameRange '0.2.1', -323 silly addNameRange '0.3.0', -323 silly addNameRange '0.4.0', -323 silly addNameRange '0.5.0', -323 silly addNameRange '0.5.1', -323 silly addNameRange '1.0.0', -323 silly addNameRange '1.1.0', -323 silly addNameRange '1.1.1', -323 silly addNameRange '1.1.2', -323 silly addNameRange '1.1.3', -323 silly addNameRange '2.0.0', -323 silly addNameRange '2.0.1', -323 silly addNameRange '2.1.0', -323 silly addNameRange '2.2.0', -323 silly addNameRange '2.2.2', -323 silly addNameRange '2.3.0', -323 silly addNameRange '2.3.1', -323 silly addNameRange '2.3.2', -323 silly addNameRange '2.4.0', -323 silly addNameRange '2.4.1', -323 silly addNameRange '2.4.2', -323 silly addNameRange '3.0.0-beta.1', -323 silly addNameRange '3.0.0-beta.2', -323 silly addNameRange '3.0.0', -323 silly addNameRange '4.0.0', -323 silly addNameRange '4.1.0', -323 silly addNameRange '4.1.1', -323 silly addNameRange '4.1.2', -323 silly addNameRange '5.0.0', -323 silly addNameRange '5.0.1', -323 silly addNameRange '5.1.0', -323 silly addNameRange '5.1.1', -323 silly addNameRange '5.1.2' ] ] -324 silly addNamed chalk@4.1.2 -325 verbose addNamed "4.1.2" is a plain semver version for chalk -326 silly mapToRegistry name chalk -327 silly mapToRegistry using default registry -328 silly mapToRegistry registry https://registry.npmjs.org/ -329 silly mapToRegistry data Result { -329 silly mapToRegistry raw: 'chalk', -329 silly mapToRegistry scope: null, -329 silly mapToRegistry escapedName: 'chalk', -329 silly mapToRegistry name: 'chalk', -329 silly mapToRegistry rawSpec: '', -329 silly mapToRegistry spec: 'latest', -329 silly mapToRegistry type: 'tag' } -330 silly mapToRegistry uri https://registry.npmjs.org/chalk -331 verbose addRemoteTarball https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz not in flight; adding -332 verbose addRemoteTarball [ 'https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz', -332 verbose addRemoteTarball 'aac4e2b7734a740867aeb16bf02aad556a1e7a01' ] -333 info retry fetch attempt 1 at 3:27:05 PM -334 info attempt registry request try #1 at 3:27:05 PM -335 http fetch GET https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz -336 silly cache afterAdd json5@2.2.1 -337 verbose afterAdd /Users/danrader/.npm/json5/2.2.1/package/package.json not in flight; writing -338 verbose correctMkdir /Users/danrader/.npm correctMkdir not in flight; initializing -339 verbose afterAdd /Users/danrader/.npm/json5/2.2.1/package/package.json written -340 http 200 https://registry.npmjs.org/commander -341 verbose headers { date: 'Tue, 15 Nov 2022 20:27:05 GMT', -341 verbose headers 'content-type': 'application/json', -341 verbose headers 'transfer-encoding': 'chunked', -341 verbose headers connection: 'keep-alive', -341 verbose headers 'cf-ray': '76aab9c1890dc470-EWR', -341 verbose headers 'access-control-allow-origin': '*', -341 verbose headers age: '261', -341 verbose headers 'cache-control': 'public, max-age=300', -341 verbose headers etag: 'W/"ca0cf1560a230ac8918300bd1793f2da"', -341 verbose headers 'last-modified': 'Tue, 15 Nov 2022 01:29:15 GMT', -341 verbose headers vary: 'accept-encoding, accept', -341 verbose headers 'cf-cache-status': 'HIT', -341 verbose headers 'x-amz-replication-status': 'PENDING', -341 verbose headers server: 'cloudflare', -341 verbose headers 'content-encoding': 'gzip' } -342 silly get cb [ 200, -342 silly get { date: 'Tue, 15 Nov 2022 20:27:05 GMT', -342 silly get 'content-type': 'application/json', -342 silly get 'transfer-encoding': 'chunked', -342 silly get connection: 'keep-alive', -342 silly get 'cf-ray': '76aab9c1890dc470-EWR', -342 silly get 'access-control-allow-origin': '*', -342 silly get age: '261', -342 silly get 'cache-control': 'public, max-age=300', -342 silly get etag: 'W/"ca0cf1560a230ac8918300bd1793f2da"', -342 silly get 'last-modified': 'Tue, 15 Nov 2022 01:29:15 GMT', -342 silly get vary: 'accept-encoding, accept', -342 silly get 'cf-cache-status': 'HIT', -342 silly get 'x-amz-replication-status': 'PENDING', -342 silly get server: 'cloudflare', -342 silly get 'content-encoding': 'gzip' } ] -343 verbose get saving commander to /Users/danrader/.npm/registry.npmjs.org/commander/.cache.json -344 verbose correctMkdir /Users/danrader/.npm correctMkdir not in flight; initializing -345 http fetch 200 https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.2.0.tgz -346 silly fetchAndShaCheck shasum 31ff3f4c2b9793f89c67212627c51c6394f88e76 -347 verbose stack Error: Missing required argument #1 -347 verbose stack at andLogAndFinish (/Users/danrader/.nvm/versions/node/v6.3.1/lib/node_modules/npm/lib/fetch-package-metadata.js:31:3) -347 verbose stack at fetchPackageMetadata (/Users/danrader/.nvm/versions/node/v6.3.1/lib/node_modules/npm/lib/fetch-package-metadata.js:51:22) -347 verbose stack at resolveWithNewModule (/Users/danrader/.nvm/versions/node/v6.3.1/lib/node_modules/npm/lib/install/deps.js:515:12) -347 verbose stack at /Users/danrader/.nvm/versions/node/v6.3.1/lib/node_modules/npm/lib/install/deps.js:516:7 -347 verbose stack at /Users/danrader/.nvm/versions/node/v6.3.1/lib/node_modules/npm/node_modules/iferr/index.js:13:50 -347 verbose stack at /Users/danrader/.nvm/versions/node/v6.3.1/lib/node_modules/npm/lib/fetch-package-metadata.js:37:12 -347 verbose stack at addRequestedAndFinish (/Users/danrader/.nvm/versions/node/v6.3.1/lib/node_modules/npm/lib/fetch-package-metadata.js:67:5) -347 verbose stack at returnAndAddMetadata (/Users/danrader/.nvm/versions/node/v6.3.1/lib/node_modules/npm/lib/fetch-package-metadata.js:121:7) -347 verbose stack at pickVersionFromRegistryDocument (/Users/danrader/.nvm/versions/node/v6.3.1/lib/node_modules/npm/lib/fetch-package-metadata.js:138:20) -347 verbose stack at /Users/danrader/.nvm/versions/node/v6.3.1/lib/node_modules/npm/node_modules/iferr/index.js:13:50 -348 verbose cwd /Users/danrader/Documents/WebWork/Mariana/Apollo-Tokens -349 error Darwin 21.6.0 -350 error argv "/Users/danrader/.nvm/versions/node/v6.3.1/bin/node" "/Users/danrader/.nvm/versions/node/v6.3.1/bin/npm" "install" -351 error node v6.3.1 -352 error npm v3.10.3 -353 error code EMISSINGARG -354 error typeerror Error: Missing required argument #1 -354 error typeerror at andLogAndFinish (/Users/danrader/.nvm/versions/node/v6.3.1/lib/node_modules/npm/lib/fetch-package-metadata.js:31:3) -354 error typeerror at fetchPackageMetadata (/Users/danrader/.nvm/versions/node/v6.3.1/lib/node_modules/npm/lib/fetch-package-metadata.js:51:22) -354 error typeerror at resolveWithNewModule (/Users/danrader/.nvm/versions/node/v6.3.1/lib/node_modules/npm/lib/install/deps.js:515:12) -354 error typeerror at /Users/danrader/.nvm/versions/node/v6.3.1/lib/node_modules/npm/lib/install/deps.js:516:7 -354 error typeerror at /Users/danrader/.nvm/versions/node/v6.3.1/lib/node_modules/npm/node_modules/iferr/index.js:13:50 -354 error typeerror at /Users/danrader/.nvm/versions/node/v6.3.1/lib/node_modules/npm/lib/fetch-package-metadata.js:37:12 -354 error typeerror at addRequestedAndFinish (/Users/danrader/.nvm/versions/node/v6.3.1/lib/node_modules/npm/lib/fetch-package-metadata.js:67:5) -354 error typeerror at returnAndAddMetadata (/Users/danrader/.nvm/versions/node/v6.3.1/lib/node_modules/npm/lib/fetch-package-metadata.js:121:7) -354 error typeerror at pickVersionFromRegistryDocument (/Users/danrader/.nvm/versions/node/v6.3.1/lib/node_modules/npm/lib/fetch-package-metadata.js:138:20) -354 error typeerror at /Users/danrader/.nvm/versions/node/v6.3.1/lib/node_modules/npm/node_modules/iferr/index.js:13:50 -355 error typeerror This is an error with npm itself. Please report this error at: -355 error typeerror -356 verbose exit [ 1, true ] diff --git a/tokens/color/base.json b/tokens/color/base.json index e0f0f75..e3e1d13 100644 --- a/tokens/color/base.json +++ b/tokens/color/base.json @@ -11,6 +11,8 @@ "primary800": {"value": "#63200FFF"}, "primary900": {"value": "#4A180AFF"}, "primary1000": {"value": "#180702FF"}, + "primaryGradStart": {"value": "#563D3D"}, + "primaryGradEnd": {"value": "#191720"}, "secondary50": {"value": "#EFE9FCFF"}, "secondary100": {"value": "#CDBFF7FF"}, "secondary200": {"value": "#BDAAF5FF"}, @@ -22,6 +24,8 @@ "secondary800": {"value": "#25145EFF"}, "secondary900": {"value": "#1B0E46FF"}, "secondary1000": {"value": "#090317FF"}, + "secondaryGradStart": {"value": "#40365E"}, + "secondaryGradEnd": {"value": "#191720"}, "gray0": {"value": "#ffffffff"}, "gray50": {"value": "#f8f9faff"}, "gray100": {"value": "#f3f4f6ff"}, diff --git a/tokens/color/brand.json b/tokens/color/brand.json index 0f6fe85..c15c36b 100644 --- a/tokens/color/brand.json +++ b/tokens/color/brand.json @@ -7,16 +7,7 @@ "surface": { "lm": {"value": "{color.primary50.value}"}, "dm": {"value": "{color.gray1100.value}"} - }, - "gradient": { - "start": { - "lm": {"value": "{color.primary400.value}"}, - "dm": {"value": "#563D3D"} - }, - "end": { - "lm": {"value": "{color.primary500.value}"}, - "dm": {"value": "#191720"} - } + } } }, "secondary": { @@ -25,18 +16,7 @@ "surface": { "lm": {"value": "{color.secondary50.value}"}, "dm": {"value": "{color.gray1100.value}"} - }, - "gradient": { - "start": { - "lm": {"value": "{color.secondary400.value}"}, - "dm": {"value": "#40365E"} - }, - "end": { - "lm": {"value": "{color.secondary500.value}"}, - "dm": {"value": "#191720"} - } } - } - } + } } - } \ No newline at end of file +} diff --git a/tokens/color/component.json b/tokens/color/component.json new file mode 100644 index 0000000..835263f --- /dev/null +++ b/tokens/color/component.json @@ -0,0 +1,102 @@ +{ + "color":{ + "header":{ + "primary":{ + "gradient":{ + "start":{ + "lm":{ + "value":"{color.primary400.value}" + }, + "dm":{ + "value":"{color.primaryGradStart.value}" + } + }, + "end":{ + "lm":{ + "value":"{color.primary500.value}" + }, + "dm":{ + "value":"{color.primaryGradEnd.value}" + } + } + }, + "textOn":{ + "lm":{ + "value":"{color.text.onPrimary.lm.value}" + }, + "dm":{ + "value":"{color.text.dm.value}" + } + }, + "surface":{ + "gradient":{ + "start":{ + "lm":{ + "value":"{color.primary50.value}" + }, + "dm":{ + "value":"{color.primaryGradStart.value}" + } + }, + "end":{ + "lm":{ + "value":"{color.primary50.value}" + }, + "dm":{ + "value":"{color.primaryGradEnd.value}" + } + } + } + } + }, + "secondary":{ + "gradient":{ + "start":{ + "lm":{ + "value":"{color.secondary400.value}" + }, + "dm":{ + "value":"{color.secondaryGradStart.value}" + } + }, + "end":{ + "lm":{ + "value":"{color.secondary500.value}" + }, + "dm":{ + "value":"{color.secondaryGradEnd.value}" + } + } + }, + "textOn":{ + "lm":{ + "value":"{color.text.onSecondary.lm.value}" + }, + "dm":{ + "value":"{color.text.dm.value}" + } + }, + "surface":{ + "gradient":{ + "start":{ + "lm":{ + "value":"{color.secondary50.value}" + }, + "dm":{ + "value":"{color.secondaryGradStart.value}" + } + }, + "end":{ + "lm":{ + "value":"{color.secondary50.value}" + }, + "dm":{ + "value":"{color.secondaryGradEnd.value}" + } + } + } + } + } + } + } + } \ No newline at end of file diff --git a/utilities/generateBrandColors.js b/utilities/generateBrandColors.js index b83eafc..62cb463 100644 --- a/utilities/generateBrandColors.js +++ b/utilities/generateBrandColors.js @@ -67,7 +67,7 @@ const createColorList = (primaryColor, secondaryColor) => { root.style.setProperty(`--xpl-color-primary900`, primary900); root.style.setProperty(`--xpl-color-primary1000`, primary1000); root.style.setProperty(`--xpl-color-brand-primary-gradient-start-dm`, primaryDMGradStart); - root.style.setProperty(`--xpl-color-brand-primary-gradient-start-dm`, primaryDMGradEnd); + root.style.setProperty(`--xpl-color-brand-primary-gradient-end-dm`, primaryDMGradEnd); root.style.setProperty(`--xpl-color-text-on-primary-lm`, textOnPrimary); root.style.setProperty(`--xpl-color-secondary50`, secondary50); @@ -83,9 +83,10 @@ const createColorList = (primaryColor, secondaryColor) => { root.style.setProperty(`--xpl-color-secondary900`, secondary900); root.style.setProperty(`--xpl-color-secondary1000`, secondary1000); root.style.setProperty(`--xpl-color-brand-secondary-gradient-start-dm`, secondaryDMGradStart); - root.style.setProperty(`--xpl-color-brand-secondary-gradient-start-dm`, secondaryDMGradEnd); + root.style.setProperty(`--xpl-color-brand-secondary-gradient-end-dm`, secondaryDMGradEnd); root.style.setProperty(`--xpl-color-text-on-secondary-lm`, textOnSecondary); } updateCSS(); + }; \ No newline at end of file