{"_id":"@bobfrankston/themecolors","_rev":"10-974a5bb622e158b028ab78f859e670b9","name":"@bobfrankston/themecolors","dist-tags":{"latest":"0.1.10"},"versions":{"0.1.1":{"name":"@bobfrankston/themecolors","version":"0.1.1","keywords":["terminal","colors","theme","semantic","ansi"],"author":{"name":"Bob Frankston"},"license":"MIT","_id":"@bobfrankston/themecolors@0.1.1","maintainers":[{"name":"bobfrankston","email":"npm@bob.ma"}],"homepage":"https://github.com/BobFrankston/themecolors#readme","bugs":{"url":"https://github.com/BobFrankston/themecolors/issues"},"bin":{"themecolors":"index.js"},"dist":{"shasum":"eebff5a4d069d34ec4e2f414492d2d0f449be216","tarball":"https://registry.npmjs.org/@bobfrankston/themecolors/-/themecolors-0.1.1.tgz","fileCount":5,"integrity":"sha512-+Nk1Es156b/9J8IGtaju4zUQHJyHsxq8iqdqy3W5tHxEmvskxEtGm1g2+7/CieK8mpcb9ogD54DjNih3MYq5eg==","signatures":[{"sig":"MEUCIAqcwBFEVbEHpEbJ8CpUd4R+jFZgtal2UVQDOru69/IGAiEArWxnVu7YXTO9uzCZZIbtv9UYJklcKi9L1OtVniGxSgc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":9574},"main":"index.js","type":"module","_from":"file:bobfrankston-themecolors-0.1.1.tgz","types":"index.d.ts","scripts":{"build":"tsc"},"_npmUser":{"name":"bobfrankston","email":"npm@bob.ma"},"_resolved":"Y:\\dev\\utils\\themecolors\\bobfrankston-themecolors-0.1.1.tgz","_integrity":"sha512-+Nk1Es156b/9J8IGtaju4zUQHJyHsxq8iqdqy3W5tHxEmvskxEtGm1g2+7/CieK8mpcb9ogD54DjNih3MYq5eg==","repository":{"url":"git+https://github.com/BobFrankston/themecolors.git","type":"git"},"_npmVersion":"11.11.1","description":"Semantic terminal colors that adapt to light/dark backgrounds","directories":{},"_nodeVersion":"25.8.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^25.5.2"},"_npmOperationalInternal":{"tmp":"tmp/themecolors_0.1.1_1775259967811_0.6202450205576764","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@bobfrankston/themecolors","version":"0.1.2","keywords":["terminal","colors","theme","semantic","ansi"],"author":{"name":"Bob Frankston"},"license":"MIT","_id":"@bobfrankston/themecolors@0.1.2","maintainers":[{"name":"bobfrankston","email":"npm@bob.ma"}],"homepage":"https://github.com/BobFrankston/themecolors#readme","bugs":{"url":"https://github.com/BobFrankston/themecolors/issues"},"bin":{"themecolors":"index.js"},"dist":{"shasum":"fe7207c08f918a56b3f01301fae189a59e3bcb06","tarball":"https://registry.npmjs.org/@bobfrankston/themecolors/-/themecolors-0.1.2.tgz","fileCount":5,"integrity":"sha512-sExp1AymvnX5LcPYRzuP/QDnKxjecSXQTJmA4KoWVdsA2k7L9wK0xCmHxaHGRD2wovfI41Sy9sSSRrd1ryaSig==","signatures":[{"sig":"MEQCIDkv6AkBXPDJrg1Bu2fYorOqNl01pdFjhlc34ORcFq0ZAiAHLFNvXwxMjp3bExZUczPv/oUA5FLNNVYFxPdEYYmyLQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":9574},"main":"index.js","type":"module","types":"index.d.ts","gitHead":"0431680cd45066462ba6db9d8fd4d5ca2c616c2a","scripts":{"build":"tsc"},"_npmUser":{"name":"bobfrankston","email":"npm@bob.ma"},"repository":{"url":"git+https://github.com/BobFrankston/themecolors.git","type":"git"},"_npmVersion":"11.11.1","description":"Semantic terminal colors that adapt to light/dark backgrounds","directories":{},"_nodeVersion":"25.8.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^25.5.2"},"_npmOperationalInternal":{"tmp":"tmp/themecolors_0.1.2_1775260155233_0.06659292916027315","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@bobfrankston/themecolors","version":"0.1.3","keywords":["terminal","colors","theme","semantic","ansi"],"author":{"name":"Bob Frankston"},"license":"MIT","_id":"@bobfrankston/themecolors@0.1.3","maintainers":[{"name":"bobfrankston","email":"npm@bob.ma"}],"homepage":"https://github.com/BobFrankston/themecolors#readme","bugs":{"url":"https://github.com/BobFrankston/themecolors/issues"},"bin":{"themecolors":"index.js"},"dist":{"shasum":"7adc8af9995ef143fa12577cf94f07b913305163","tarball":"https://registry.npmjs.org/@bobfrankston/themecolors/-/themecolors-0.1.3.tgz","fileCount":5,"integrity":"sha512-yODEvYmw8TfA0FpYjH+j2coJaijIKCqixdBw8x+ZkB1EQZNB91kY10388hIkUfpi493UbFGvKF/QmnaFk51yoA==","signatures":[{"sig":"MEYCIQCMXtOlFqB1+ATMTYcu+x3tcfnzkRuCD0ffhdR4fK6cOwIhAPkmUFettyv1WUwpxtJcb/jaqAZeZpMeAecxnBbfGM5d","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":9574},"main":"index.js","type":"module","_from":"file:bobfrankston-themecolors-0.1.3.tgz","types":"index.d.ts","scripts":{"build":"tsc"},"_npmUser":{"name":"bobfrankston","email":"npm@bob.ma"},"_resolved":"Y:\\dev\\utils\\themecolors\\bobfrankston-themecolors-0.1.3.tgz","_integrity":"sha512-yODEvYmw8TfA0FpYjH+j2coJaijIKCqixdBw8x+ZkB1EQZNB91kY10388hIkUfpi493UbFGvKF/QmnaFk51yoA==","repository":{"url":"git+https://github.com/BobFrankston/themecolors.git","type":"git"},"_npmVersion":"11.11.1","description":"Semantic terminal colors that adapt to light/dark backgrounds","directories":{},"_nodeVersion":"25.8.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^25.5.2"},"_npmOperationalInternal":{"tmp":"tmp/themecolors_0.1.3_1775261244243_0.8541991242458273","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"@bobfrankston/themecolors","version":"0.1.4","keywords":["terminal","colors","theme","semantic","ansi"],"author":{"name":"Bob Frankston"},"license":"MIT","_id":"@bobfrankston/themecolors@0.1.4","maintainers":[{"name":"bobfrankston","email":"npm@bob.ma"}],"homepage":"https://github.com/BobFrankston/themecolors#readme","bugs":{"url":"https://github.com/BobFrankston/themecolors/issues"},"bin":{"themecolors":"index.js"},"dist":{"shasum":"ccc04c852f936aa6e62d3a0f4944c954cf1a5dff","tarball":"https://registry.npmjs.org/@bobfrankston/themecolors/-/themecolors-0.1.4.tgz","fileCount":5,"integrity":"sha512-rr/WhtDUGopfF8sOPOpgLBwVAA7sha6k1bwRns2toanF7fII2BsIVoX5pnk0URUbcXR4v/uFuKdjTMgirlPWUw==","signatures":[{"sig":"MEQCIB1CZfATQLEjWiorz+43nUosZqY6i46xsn/cqK3JEkX8AiBh5Ck15NFY9xeh1IGfJFvnL7pkf+faQPh0yMWV2Dsnpw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":12415},"main":"index.js","type":"module","_from":"file:bobfrankston-themecolors-0.1.4.tgz","types":"index.d.ts","scripts":{"build":"tsc"},"_npmUser":{"name":"bobfrankston","email":"npm@bob.ma"},"_resolved":"Y:\\dev\\utils\\themecolors\\bobfrankston-themecolors-0.1.4.tgz","_integrity":"sha512-rr/WhtDUGopfF8sOPOpgLBwVAA7sha6k1bwRns2toanF7fII2BsIVoX5pnk0URUbcXR4v/uFuKdjTMgirlPWUw==","repository":{"url":"git+https://github.com/BobFrankston/themecolors.git","type":"git"},"_npmVersion":"11.11.1","description":"Semantic terminal colors that adapt to light/dark backgrounds","directories":{},"_nodeVersion":"25.8.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^25.5.2"},"_npmOperationalInternal":{"tmp":"tmp/themecolors_0.1.4_1775278736057_0.3520696319528178","host":"s3://npm-registry-packages-npm-production"}},"0.1.5":{"name":"@bobfrankston/themecolors","version":"0.1.5","keywords":["terminal","colors","theme","semantic","ansi"],"author":{"name":"Bob Frankston"},"license":"MIT","_id":"@bobfrankston/themecolors@0.1.5","maintainers":[{"name":"bobfrankston","email":"npm@bob.ma"}],"homepage":"https://github.com/BobFrankston/themecolors#readme","bugs":{"url":"https://github.com/BobFrankston/themecolors/issues"},"bin":{"themecolors":"index.js"},"dist":{"shasum":"695ac291200ee4288bbdbc0be217d1469837db66","tarball":"https://registry.npmjs.org/@bobfrankston/themecolors/-/themecolors-0.1.5.tgz","fileCount":5,"integrity":"sha512-LWiRZoka2G2sMLUBIprx/Q06LWK6K0ZG/VrUvXJxI+6Byzd/x3vs5GI5DPrnlOe9z1jJ61LRoz5fDVz+ROfaNg==","signatures":[{"sig":"MEUCIQD18gnA2hN2xGWBVVD8rsj/2wXEQcnbMvlZLRabBwgEIwIgOpNzX4xm1GIvNz+lOqga7JxyzSc0nzku7n75u+eqnr0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":12415},"main":"index.js","type":"module","_from":"file:bobfrankston-themecolors-0.1.5.tgz","types":"index.d.ts","scripts":{"build":"tsc"},"_npmUser":{"name":"bobfrankston","email":"npm@bob.ma"},"_resolved":"Y:\\dev\\utils\\themecolors\\bobfrankston-themecolors-0.1.5.tgz","_integrity":"sha512-LWiRZoka2G2sMLUBIprx/Q06LWK6K0ZG/VrUvXJxI+6Byzd/x3vs5GI5DPrnlOe9z1jJ61LRoz5fDVz+ROfaNg==","repository":{"url":"git+https://github.com/BobFrankston/themecolors.git","type":"git"},"_npmVersion":"11.11.1","description":"Semantic terminal colors that adapt to light/dark backgrounds","directories":{},"_nodeVersion":"25.8.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^25.5.2"},"_npmOperationalInternal":{"tmp":"tmp/themecolors_0.1.5_1775848033309_0.552836308711304","host":"s3://npm-registry-packages-npm-production"}},"0.1.6":{"name":"@bobfrankston/themecolors","version":"0.1.6","keywords":["terminal","colors","theme","semantic","ansi"],"author":{"name":"Bob Frankston"},"license":"MIT","_id":"@bobfrankston/themecolors@0.1.6","maintainers":[{"name":"bobfrankston","email":"npm@bob.ma"}],"homepage":"https://github.com/BobFrankston/themecolors#readme","bugs":{"url":"https://github.com/BobFrankston/themecolors/issues"},"bin":{"themecolors":"index.js"},"dist":{"shasum":"b5ae405f8847d90f2286263bb479bcda6d9bdc66","tarball":"https://registry.npmjs.org/@bobfrankston/themecolors/-/themecolors-0.1.6.tgz","fileCount":5,"integrity":"sha512-9ntfJfWH2mkBEwm1SXWj9Br6pgCWGADr3a56rByjtm5hmAtZhh3/uSwwZN9WaAn7R58i4eqgY9V0jX7BHHcpDg==","signatures":[{"sig":"MEYCIQC/L4VRaMn3r1bAypPLFDhNTK5hv83EG6wZmnoyhSujMwIhAMZ9OixLfZPqQVN2yVO3SQzkkmxQ/pSHKoWLDZ4o6R+h","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":12415},"main":"index.js","type":"module","_from":"file:bobfrankston-themecolors-0.1.6.tgz","types":"index.d.ts","scripts":{"build":"tsc"},"_npmUser":{"name":"bobfrankston","email":"npm@bob.ma"},"_resolved":"Y:\\dev\\utils\\themecolors\\bobfrankston-themecolors-0.1.6.tgz","_integrity":"sha512-9ntfJfWH2mkBEwm1SXWj9Br6pgCWGADr3a56rByjtm5hmAtZhh3/uSwwZN9WaAn7R58i4eqgY9V0jX7BHHcpDg==","repository":{"url":"git+https://github.com/BobFrankston/themecolors.git","type":"git"},"_npmVersion":"11.12.1","description":"Semantic terminal colors that adapt to light/dark backgrounds","directories":{},"_nodeVersion":"25.9.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^25.5.2"},"_npmOperationalInternal":{"tmp":"tmp/themecolors_0.1.6_1777246425638_0.6815311496220535","host":"s3://npm-registry-packages-npm-production"}},"0.1.7":{"name":"@bobfrankston/themecolors","version":"0.1.7","keywords":["terminal","colors","theme","semantic","ansi"],"author":{"name":"Bob Frankston"},"license":"MIT","_id":"@bobfrankston/themecolors@0.1.7","maintainers":[{"name":"bobfrankston","email":"npm@bob.ma"}],"homepage":"https://github.com/BobFrankston/themecolors#readme","bugs":{"url":"https://github.com/BobFrankston/themecolors/issues"},"bin":{"termtheme":"query.js","themecolors":"index.js"},"dist":{"shasum":"518c3f7446dd13423712f8706d47f03213323843","tarball":"https://registry.npmjs.org/@bobfrankston/themecolors/-/themecolors-0.1.7.tgz","fileCount":7,"integrity":"sha512-0YnlQYHQ0iN6MJgSckMBnySh/4PoYC5sZdXCygXjJQ30CoE/9+6pKHbETxdRxcQrhWUA5xvU/3V5qVzW5u15Jg==","signatures":[{"sig":"MEQCIDXBzby82lcIzm7R2m1xNNSzRLRVHo7m/YfeL2CQMMbeAiA1sFrp1hJ8eP1H4blD05D3ZSTC97krW+yUZidzFqFa7Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":24586},"main":"index.js","type":"module","_from":"file:bobfrankston-themecolors-0.1.7.tgz","types":"index.d.ts","exports":{".":{"types":"./index.d.ts","import":"./index.js"},"./query":{"types":"./query.d.ts","import":"./query.js"}},"scripts":{"build":"tsc"},"_npmUser":{"name":"bobfrankston","email":"npm@bob.ma"},"_resolved":"Y:\\dev\\utils\\themecolors\\bobfrankston-themecolors-0.1.7.tgz","_integrity":"sha512-0YnlQYHQ0iN6MJgSckMBnySh/4PoYC5sZdXCygXjJQ30CoE/9+6pKHbETxdRxcQrhWUA5xvU/3V5qVzW5u15Jg==","repository":{"url":"git+https://github.com/BobFrankston/themecolors.git","type":"git"},"_npmVersion":"11.13.0","description":"Semantic terminal colors that adapt to light/dark backgrounds","directories":{},"_nodeVersion":"25.9.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^25.5.2"},"_npmOperationalInternal":{"tmp":"tmp/themecolors_0.1.7_1778795718374_0.6976747964515322","host":"s3://npm-registry-packages-npm-production"}},"0.1.8":{"name":"@bobfrankston/themecolors","version":"0.1.8","keywords":["terminal","colors","theme","semantic","ansi"],"author":{"name":"Bob Frankston"},"license":"MIT","_id":"@bobfrankston/themecolors@0.1.8","maintainers":[{"name":"bobfrankston","email":"npm@bob.ma"}],"homepage":"https://github.com/BobFrankston/themecolors#readme","bugs":{"url":"https://github.com/BobFrankston/themecolors/issues"},"bin":{"termtheme":"query.js","themecolors":"index.js"},"dist":{"shasum":"895c8d7b5a8d4dce57c5c069b4466ed280bd5a72","tarball":"https://registry.npmjs.org/@bobfrankston/themecolors/-/themecolors-0.1.8.tgz","fileCount":7,"integrity":"sha512-nDPCGvSMp9UI3+Emi+JuIKy5LnjJNU25KmXkeTjL3E1kseKAmKIOkSjteOoG3RVfBmKA9cTywIBcsBTHo7imTw==","signatures":[{"sig":"MEQCIChOdJeWbYPP7xUyCvuNNVZYb5NTpcsXSIOQOUoqqS7gAiA2em03ISQHcjYz+maa5R3uoeLd0qPfEygpEqdiur/Fvg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":24586},"main":"index.js","type":"module","_from":"file:bobfrankston-themecolors-0.1.8.tgz","types":"index.d.ts","exports":{".":{"types":"./index.d.ts","import":"./index.js"},"./query":{"types":"./query.d.ts","import":"./query.js"}},"scripts":{"build":"tsc"},"_npmUser":{"name":"bobfrankston","email":"npm@bob.ma"},"_resolved":"Y:\\dev\\utils\\themecolors\\bobfrankston-themecolors-0.1.8.tgz","_integrity":"sha512-nDPCGvSMp9UI3+Emi+JuIKy5LnjJNU25KmXkeTjL3E1kseKAmKIOkSjteOoG3RVfBmKA9cTywIBcsBTHo7imTw==","repository":{"url":"git+https://github.com/BobFrankston/themecolors.git","type":"git"},"_npmVersion":"11.14.1","description":"Semantic terminal colors that adapt to light/dark backgrounds","directories":{},"_nodeVersion":"26.1.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^25.5.2"},"_npmOperationalInternal":{"tmp":"tmp/themecolors_0.1.8_1780970294986_0.21895322557927677","host":"s3://npm-registry-packages-npm-production"}},"0.1.9":{"name":"@bobfrankston/themecolors","version":"0.1.9","keywords":["terminal","colors","theme","semantic","ansi"],"author":{"name":"Bob Frankston"},"license":"MIT","_id":"@bobfrankston/themecolors@0.1.9","maintainers":[{"name":"bobfrankston","email":"npm@bob.ma"}],"homepage":"https://github.com/BobFrankston/themecolors#readme","bugs":{"url":"https://github.com/BobFrankston/themecolors/issues"},"bin":{"termtheme":"query.js","themecolors":"index.js"},"dist":{"shasum":"66f9cdb4247f5488b7621ef9fd61ce0ddac671da","tarball":"https://registry.npmjs.org/@bobfrankston/themecolors/-/themecolors-0.1.9.tgz","fileCount":7,"integrity":"sha512-w+cml6i8SdPDgGy3//zAWueBrdowv/l8rO5hnAvvaMDHncDEssvqzdo7eHJQaDTdTDHZelKx+FqfNr5N3bR58w==","signatures":[{"sig":"MEUCICqt0P5NDHJyHzT5sutGJ6ruyBOQaZhJPEFKGb6VQlSrAiEAma6Eh6zJL5AClLiqV2s/UFAypsRxUUzm0R6qfLW4Cfs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":24586},"main":"index.js","type":"module","_from":"file:bobfrankston-themecolors-0.1.9.tgz","types":"index.d.ts","exports":{".":{"types":"./index.d.ts","import":"./index.js"},"./query":{"types":"./query.d.ts","import":"./query.js"}},"scripts":{"build":"tsc"},"_npmUser":{"name":"bobfrankston","email":"npm@bob.ma"},"_resolved":"Y:\\dev\\utils\\themecolors\\bobfrankston-themecolors-0.1.9.tgz","_integrity":"sha512-w+cml6i8SdPDgGy3//zAWueBrdowv/l8rO5hnAvvaMDHncDEssvqzdo7eHJQaDTdTDHZelKx+FqfNr5N3bR58w==","repository":{"url":"git+https://github.com/BobFrankston/themecolors.git","type":"git"},"_npmVersion":"11.17.0","description":"Semantic terminal colors that adapt to light/dark backgrounds","directories":{},"_nodeVersion":"26.4.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^25.5.2"},"_npmOperationalInternal":{"tmp":"tmp/themecolors_0.1.9_1787439732258_0.8768651984419098","host":"s3://npm-registry-packages-npm-production"}},"0.1.10":{"name":"@bobfrankston/themecolors","version":"0.1.10","description":"Semantic terminal colors that adapt to light/dark backgrounds","type":"module","main":"index.js","types":"index.d.ts","exports":{".":{"types":"./index.d.ts","import":"./index.js"},"./query":{"types":"./query.d.ts","import":"./query.js"}},"bin":{"themecolors":"index.js","termtheme":"query.js"},"scripts":{"build":"tsc"},"keywords":["terminal","colors","theme","semantic","ansi"],"author":{"name":"Bob Frankston"},"license":"MIT","publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/BobFrankston/themecolors.git"},"devDependencies":{"@types/node":"^25.5.2"},"_id":"@bobfrankston/themecolors@0.1.10","bugs":{"url":"https://github.com/BobFrankston/themecolors/issues"},"homepage":"https://github.com/BobFrankston/themecolors#readme","_integrity":"sha512-okviIZg6/ywK7fcUedYkP9q7w9PitcyHT4I+fo1CWLna0urUtQFhsW+cbl8xmqQkpiI+NMryLhR3Oey/YF/6NA==","_resolved":"Y:\\dev\\utils\\themecolors\\bobfrankston-themecolors-0.1.10.tgz","_from":"file:bobfrankston-themecolors-0.1.10.tgz","_nodeVersion":"26.4.0","_npmVersion":"11.17.0","dist":{"integrity":"sha512-okviIZg6/ywK7fcUedYkP9q7w9PitcyHT4I+fo1CWLna0urUtQFhsW+cbl8xmqQkpiI+NMryLhR3Oey/YF/6NA==","shasum":"83d668d1bb447efe256f637d49a6907762862349","tarball":"https://registry.npmjs.org/@bobfrankston/themecolors/-/themecolors-0.1.10.tgz","fileCount":7,"unpackedSize":24667,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDTTKOIhLXv4kFuIcGoCtS/JyGHAYfRgxtevHwczZYHkAIgL3ZcAEn+wob+90mY8suCwcBeA7cm/e1IUk+oXSb+QR4="}]},"_npmUser":{"name":"bobfrankston","email":"npm@bob.ma"},"directories":{},"maintainers":[{"name":"bobfrankston","email":"npm@bob.ma"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/themecolors_0.1.10_1788814838575_0.7052763755242006"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-03T23:46:07.685Z","modified":"2026-09-07T21:00:38.894Z","0.1.1":"2026-04-03T23:46:07.955Z","0.1.2":"2026-04-03T23:49:15.387Z","0.1.3":"2026-04-04T00:07:24.402Z","0.1.4":"2026-04-04T04:58:56.203Z","0.1.5":"2026-04-10T19:07:13.443Z","0.1.6":"2026-04-26T23:33:45.768Z","0.1.7":"2026-05-14T21:55:18.564Z","0.1.8":"2026-06-09T01:58:15.138Z","0.1.9":"2026-08-22T23:02:12.408Z","0.1.10":"2026-09-07T21:00:38.716Z"},"bugs":{"url":"https://github.com/BobFrankston/themecolors/issues"},"author":{"name":"Bob Frankston"},"license":"MIT","homepage":"https://github.com/BobFrankston/themecolors#readme","keywords":["terminal","colors","theme","semantic","ansi"],"repository":{"type":"git","url":"git+https://github.com/BobFrankston/themecolors.git"},"description":"Semantic terminal colors that adapt to light/dark backgrounds","maintainers":[{"name":"bobfrankston","email":"npm@bob.ma"}],"readme":"# @bobfrankston/themecolors\n\nSemantic terminal colors that adapt to light/dark backgrounds. Uses functional names (`success`, `warn`, `error`, `info`) instead of raw ANSI colors, so you don't have to worry about yellow-on-white or blue-on-black readability.\n\n## Install\n\n```bash\nnpm install @bobfrankston/themecolors\n```\n\n## Library usage\n\n```typescript\nimport { themeColors } from '@bobfrankston/themecolors';\n\nconst c = themeColors();           // auto-detect system theme\nconst c = themeColors('light');    // force light theme\n\n// Basic semantic colors\nconsole.log(c.success('done'));    // green\nconsole.log(c.warn('careful'));    // yellow on dark, magenta on light\nconsole.log(c.error('failed'));    // red\nconsole.log(c.info('note'));       // blue\nconsole.log(c.accent('highlight'));// cyan\nconsole.log(c.muted('secondary'));// dim\n\n// Combined styles (foreground + background)\nconsole.log(c.header('Section'));  // white on blue background\nconsole.log(c.complete('Done'));   // white on green background\nconsole.log(c.note('Note'));       // black on yellow background\nconsole.log(c.critical('FAIL'));   // white on red background\nconsole.log(c.strong('Important'));// bold + adaptive fg\n```\n\nLegacy color-name aliases (`red`, `yellow`, `green`, `blue`, `cyan`, `dim`) are available for migration from raw ANSI usage.\n\n### Async detection (recommended when reliability matters)\n\n```typescript\nimport { detectThemeAsync, themeColors } from '@bobfrankston/themecolors';\n\nconst theme = await detectThemeAsync();   // asks the terminal directly via OSC 11\nconst c     = themeColors(theme);\n```\n\n`detectThemeAsync()` queries the terminal with an OSC color sequence, then falls back to the synchronous env/registry chain if the terminal doesn't reply. More reliable than `detectTheme()` when supported (Windows Terminal, modern xterm, iTerm2, gnome-terminal, konsole, alacritty, kitty, wezterm, VS Code integrated terminal).\n\n### Direct terminal-color query\n\nFor the actual color values (background, foreground, cursor, 16-color palette), import the `/query` subpath:\n\n```typescript\nimport { getTermTheme, isDarkTheme } from '@bobfrankston/themecolors/query';\n\nconst t = await getTermTheme();\n// {\n//   isDark: true,\n//   background: { r, g, b, hex: '#1e1e1e', luminance: 30 },\n//   foreground: { r, g, b, hex: '#d4d4d4', luminance: 212 },\n//   cursor:     { ... },\n//   palette: [Color×16],          // ANSI 0..15\n//   source: 'osc' | 'colorfgbg' | 'none'\n// }\n\nif (await isDarkTheme()) { /* ... */ }\n```\n\nOptions: `getTermTheme({ timeoutMs: 250, queryPalette: true })`. Skip the palette query for a faster ~3-round-trip detect.\n\n## CLI usage\n\n```bash\nthemecolors                # semantic theme map as JSON (auto-detect)\nthemecolors -theme dark    # force dark\nthemecolors -theme light   # force light\n\ntermtheme                  # full readout of actual terminal colors\ntermtheme --json           # machine-readable\ntermtheme --brief          # just \"light\" or \"dark\"\ntermtheme --no-palette     # skip 16-color palette query (faster)\n```\n\nOutput (string values for simple colors, arrays for combined styles):\n\n```json\n{\n  \"theme\": \"light\",\n  \"success\": \"green\",\n  \"warn\": \"magenta\",\n  \"error\": \"red\",\n  \"info\": \"blue\",\n  \"accent\": \"cyan\",\n  \"muted\": \"dim\",\n  \"italic\": \"italic\",\n  \"bold\": \"bold\",\n  \"underline\": \"underline\",\n  \"strong\": [\"bold\", \"black\"],\n  \"header\": [\"white\", \"bgBlue\"],\n  \"complete\": [\"white\", \"bgGreen\"],\n  \"note\": [\"black\", \"bgYellow\"],\n  \"critical\": [\"white\", \"bgRed\"],\n  \"banner\": [\"blue\", \"bgWhite\"],\n  \"debug\": \"magenta\",\n  \"progress\": \"black\",\n  \"subtle\": \"gray\"\n}\n```\n\nThis makes it usable from PowerShell or other scripts that need the color map. A PowerShell counterpart (`themecolors.ps1`) can consume this JSON and translate ANSI names to PowerShell ConsoleColor values.\n\n## Theme detection\n\n`detectTheme()` — synchronous, first match wins:\n\n1. `TERMINAL_THEME` env var (`light` or `dark`)\n2. VS Code `VSCODE_THEME_KIND`\n3. `COLORFGBG` (rxvt/xterm convention)\n4. Windows registry `AppsUseLightTheme`\n5. macOS Terminal / iTerm2 profile\n6. Default: dark\n\n`detectThemeAsync()` — same, but first tries OSC 11 against the terminal itself (cross-platform, ~tens of ms). Use this when you can `await`.\n\n## Customizing colors\n\nColor mappings live in `data/themes.json` -- edit that file to change mappings or add new semantic names without modifying code.\n\n```json\n{\n  \"semantics\": {\n    \"success\":  { \"dark\": \"green\", \"light\": \"green\" },\n    \"warn\":     { \"dark\": \"yellow\", \"light\": \"magenta\" },\n    \"header\":   { \"dark\": [\"white\", \"bgBlue\"], \"light\": [\"white\", \"bgBlue\"] }\n  },\n  \"aliases\": {\n    \"red\": \"error\",\n    \"yellow\": \"warn\"\n  }\n}\n```\n\n- **semantics**: each key becomes a color function with per-theme ANSI values\n  - Values can be a single string (`\"green\"`) or an array of ANSI format names (`[\"white\", \"bgBlue\"]`)\n  - Arrays combine multiple styles (foreground, background, modifiers like `bold`/`italic`)\n- **aliases**: shorthand names pointing to a semantic entry\n\n### Available ANSI format names\n\n**Foreground**: `red`, `green`, `yellow`, `blue`, `magenta`, `cyan`, `white`, `black`, `gray`\n**Background**: `bgRed`, `bgGreen`, `bgYellow`, `bgBlue`, `bgMagenta`, `bgCyan`, `bgWhite`, `bgBlack`\n**Modifiers**: `bold`, `dim`, `italic`, `underline`, `inverse`, `strikethrough`\n","readmeFilename":"README.md"}