{"_id":"@dev-centr/mermaid-svg-css-vars","_rev":"4-7d9cc2d0859afe1ea79dcf969f6c914d","name":"@dev-centr/mermaid-svg-css-vars","dist-tags":{"latest":"0.1.3"},"versions":{"0.1.0":{"name":"@dev-centr/mermaid-svg-css-vars","version":"0.1.0","keywords":["mermaid","svg","css-variables","theme","dark-mode","prerender","mmdc"],"author":{"name":"Dev Centr"},"license":"MIT","_id":"@dev-centr/mermaid-svg-css-vars@0.1.0","maintainers":[{"name":"amdphreak","email":"ryan.johnson.code@gmail.com"}],"homepage":"https://github.com/dev-centr/mermaid-svg-css-vars#readme","bugs":{"url":"https://github.com/dev-centr/mermaid-svg-css-vars/issues"},"bin":{"mermaid-svg-css-vars":"bin/mermaid-svg-css-vars.js"},"dist":{"shasum":"ddb5da3345b69c59e69a5ba41bc1eb0d0a7a1a5e","tarball":"https://registry.npmjs.org/@dev-centr/mermaid-svg-css-vars/-/mermaid-svg-css-vars-0.1.0.tgz","fileCount":50,"integrity":"sha512-sbK06Wy9bId+4N+GtuZ3QJ9/MX5YjfeuU/4v91CbacXezdfuUDFupQm/ADb20O1EA2TYGpjdTAVUhd29UF4GgQ==","signatures":[{"sig":"MEQCIHZPnKLZi3r//gOoCm3PKp99GU9J+nDIrC2scvs5povvAiBv9QhL0Uom0ipx/1bdGtwLHnmyUMi3ZS1+woC4pHFmVw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":89136},"main":"./dist/src/index.js","type":"module","_from":"file:dev-centr-mermaid-svg-css-vars-0.1.0.tgz","types":"./dist/src/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/src/index.d.ts","import":"./dist/src/index.js"}},"scripts":{"test":"pnpm run build && node --test dist/test/*.test.js","build":"tsc -p tsconfig.json"},"_npmUser":{"name":"amdphreak","email":"ryan.johnson.code@gmail.com"},"_resolved":"C:\\Users\\rjamd\\AppData\\Local\\Temp\\4cda1fddd73cfb8b9ac59fef037914e6\\dev-centr-mermaid-svg-css-vars-0.1.0.tgz","_integrity":"sha512-sbK06Wy9bId+4N+GtuZ3QJ9/MX5YjfeuU/4v91CbacXezdfuUDFupQm/ADb20O1EA2TYGpjdTAVUhd29UF4GgQ==","repository":{"url":"git+https://github.com/dev-centr/mermaid-svg-css-vars.git","type":"git"},"_npmVersion":"11.19.1","description":"Rewrite Mermaid-rendered SVG theme colors to CSS custom properties with fallbacks, plus web-embedding normalization.","directories":{},"_nodeVersion":"24.14.0","dependencies":{"@dev-centr/themed-svg":"^0.1.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.8.3","@types/node":"^22.15.0"},"_npmOperationalInternal":{"tmp":"tmp/mermaid-svg-css-vars_0.1.0_1788852205113_0.009793864902670757","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@dev-centr/mermaid-svg-css-vars","version":"0.1.1","keywords":["mermaid","svg","css-variables","theme","dark-mode","prerender","mmdc"],"author":{"name":"Dev Centr"},"license":"MIT","_id":"@dev-centr/mermaid-svg-css-vars@0.1.1","maintainers":[{"name":"amdphreak","email":"ryan.johnson.code@gmail.com"}],"homepage":"https://github.com/dev-centr/mermaid-svg-css-vars#readme","bugs":{"url":"https://github.com/dev-centr/mermaid-svg-css-vars/issues"},"bin":{"mermaid-svg-css-vars":"bin/mermaid-svg-css-vars.js"},"dist":{"shasum":"75051c6d252550e284afccf2f8e24ea76d1c7b37","tarball":"https://registry.npmjs.org/@dev-centr/mermaid-svg-css-vars/-/mermaid-svg-css-vars-0.1.1.tgz","fileCount":50,"integrity":"sha512-dBDgIL16cfcfOcH8CP9NU1g2HZ4iVDTkOnyD5lE9Ha/F5IxUm6/kclW5kt0qWEOiNOQdnWo8ZOTZ1LU/drd3xg==","signatures":[{"sig":"MEYCIQD4n+sPJuc2FmetRUMSC0M2Oydqmj/OoCJgm6iIc0ymlgIhAO/1EZllwnhYhTtZTErYFySG2mXwck8CBe8p3XMwxibI","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQC4YWr0n19r/D+CQsQpZq+WiDEsecy50MBVYM0XNwglbgIgQcwU/5GxOkHFwmOpAg3Sl/OfdUNqattljbaeAEawUgs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@dev-centr%2fmermaid-svg-css-vars@0.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":99138},"main":"./dist/src/index.js","type":"module","_from":"file:dev-centr-mermaid-svg-css-vars-0.1.1.tgz","types":"./dist/src/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/src/index.d.ts","import":"./dist/src/index.js"}},"scripts":{"test":"pnpm run build && node --test dist/test/*.test.js","build":"tsc -p tsconfig.json"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:684bf13d-82d9-4139-8928-6130ca094ead"}},"_resolved":"/tmp/7db4ef538d24fec006b8d393408d7891/dev-centr-mermaid-svg-css-vars-0.1.1.tgz","_integrity":"sha512-dBDgIL16cfcfOcH8CP9NU1g2HZ4iVDTkOnyD5lE9Ha/F5IxUm6/kclW5kt0qWEOiNOQdnWo8ZOTZ1LU/drd3xg==","repository":{"url":"git+https://github.com/dev-centr/mermaid-svg-css-vars.git","type":"git"},"_npmVersion":"11.19.1","description":"Rewrite Mermaid-rendered SVG theme colors to CSS custom properties with fallbacks, plus web-embedding normalization.","directories":{},"_nodeVersion":"24.20.0","dependencies":{"@dev-centr/themed-svg":"^0.1.1"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.8.3","@types/node":"^22.15.0"},"_npmOperationalInternal":{"tmp":"tmp/mermaid-svg-css-vars_0.1.1_1788853562170_0.6785495364733791","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@dev-centr/mermaid-svg-css-vars","version":"0.1.2","keywords":["mermaid","svg","css-variables","theme","dark-mode","prerender","mmdc"],"author":{"name":"Dev Centr"},"license":"MIT","_id":"@dev-centr/mermaid-svg-css-vars@0.1.2","maintainers":[{"name":"amdphreak","email":"ryan.johnson.code@gmail.com"}],"homepage":"https://github.com/dev-centr/mermaid-svg-css-vars#readme","bugs":{"url":"https://github.com/dev-centr/mermaid-svg-css-vars/issues"},"bin":{"mermaid-svg-css-vars":"bin/mermaid-svg-css-vars.js"},"dist":{"shasum":"aad7352e19845f518d4ec5a6e4562484e7ec0fc0","tarball":"https://registry.npmjs.org/@dev-centr/mermaid-svg-css-vars/-/mermaid-svg-css-vars-0.1.2.tgz","fileCount":51,"integrity":"sha512-XRpbCIGhcWTfAovb0I7JlV2EsJOEn/dJd3RVQSiVFVGbsweMmj1qOZ8ozmmQSNVo+y2eSJFDQEynjUUQgkofOg==","signatures":[{"sig":"MEUCIQDceLhe4mz0sb8iFiiugC8kTuNCQI9xossQe3CqVbCuLwIgXUZSDr+H2WdFORWb6kdSm4fLGYHY6TjWVbC0nl731HI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQCq8qnXc/61LcsZXSdEifqvbgQ37ZqZbqENwl1sYmdE3AIhAN7OI7aonvv+XuqygAjWhUlK5FxsOa97AUXR/lGTmh0w","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@dev-centr%2fmermaid-svg-css-vars@0.1.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":108701},"main":"./dist/src/index.js","type":"module","_from":"file:dev-centr-mermaid-svg-css-vars-0.1.2.tgz","types":"./dist/src/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/src/index.d.ts","import":"./dist/src/index.js"}},"scripts":{"test":"pnpm run build && node --test dist/test/*.test.js","build":"tsc -p tsconfig.json"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:684bf13d-82d9-4139-8928-6130ca094ead"}},"_resolved":"/tmp/b7adee50cd267d5482fd47d59907b02e/dev-centr-mermaid-svg-css-vars-0.1.2.tgz","_integrity":"sha512-XRpbCIGhcWTfAovb0I7JlV2EsJOEn/dJd3RVQSiVFVGbsweMmj1qOZ8ozmmQSNVo+y2eSJFDQEynjUUQgkofOg==","repository":{"url":"git+https://github.com/dev-centr/mermaid-svg-css-vars.git","type":"git"},"_npmVersion":"11.19.1","description":"Rewrite Mermaid-rendered SVG theme colors to CSS custom properties with fallbacks, plus web-embedding normalization.","directories":{},"_nodeVersion":"24.20.0","dependencies":{"@dev-centr/themed-svg":"^0.1.1"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.8.3","@types/node":"^22.15.0"},"_npmOperationalInternal":{"tmp":"tmp/mermaid-svg-css-vars_0.1.2_1788853664828_0.1939406532820256","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"_id":"@dev-centr/mermaid-svg-css-vars@0.1.3","bin":{"mermaid-svg-css-vars":"bin/mermaid-svg-css-vars.js"},"bugs":{"url":"https://github.com/dev-centr/mermaid-svg-css-vars/issues"},"dist":{"shasum":"8b84936080136fef60b4a7ad36f998c78bb11954","tarball":"https://registry.npmjs.org/@dev-centr/mermaid-svg-css-vars/-/mermaid-svg-css-vars-0.1.3.tgz","fileCount":53,"integrity":"sha512-3M5VF6AOmdLmFkzq6HRsCQ73vY5FKfCKKYDInBUwPT/cQd/r+R8r5kjivmBU2BH4tAFkmoYjkGHpIauFZDdQTA==","signatures":[{"sig":"MEUCIQDayyktjt3Nu+oQ4N2fohLq3xWhHYpl5+llH/ehYMtbSAIgfa9VNHIWkZM2X7E3c0yQPCBK69A1HjUa6JZwFjmVHeA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQC8qEV1xDt9VUk7OpgJG9sDnoLXjzyuzIJKRnDB3PRergIgAY1zsteHm5Z8MPCFneT6KtCa43b6YGJJ63TLO2ClVH4="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@dev-centr%2fmermaid-svg-css-vars@0.1.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":110445},"main":"./dist/src/index.js","name":"@dev-centr/mermaid-svg-css-vars","type":"module","_from":"file:dev-centr-mermaid-svg-css-vars-0.1.3.tgz","types":"./dist/src/index.d.ts","author":{"name":"Dev Centr"},"engines":{"node":">=20"},"exports":{".":{"types":"./dist/src/index.d.ts","import":"./dist/src/index.js"}},"license":"MIT","scripts":{"test":"pnpm run build && node --test dist/test/*.test.js","build":"tsc -p tsconfig.json"},"version":"0.1.3","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:684bf13d-82d9-4139-8928-6130ca094ead"}},"homepage":"https://github.com/dev-centr/mermaid-svg-css-vars#readme","keywords":["mermaid","svg","css-variables","theme","dark-mode","prerender","mmdc"],"_resolved":"/tmp/62c3e9225622b94c726ea119d3ae553f/dev-centr-mermaid-svg-css-vars-0.1.3.tgz","_integrity":"sha512-3M5VF6AOmdLmFkzq6HRsCQ73vY5FKfCKKYDInBUwPT/cQd/r+R8r5kjivmBU2BH4tAFkmoYjkGHpIauFZDdQTA==","repository":{"url":"git+https://github.com/dev-centr/mermaid-svg-css-vars.git","type":"git"},"_npmVersion":"11.19.1","description":"Rewrite Mermaid-rendered SVG theme colors to CSS custom properties with fallbacks, plus web-embedding normalization.","directories":{},"maintainers":[{"name":"amdphreak","email":"ryan.johnson.code@gmail.com"}],"_nodeVersion":"24.20.0","dependencies":{"@dev-centr/themed-svg":"^0.2.2"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.8.3","@types/node":"^22.15.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mermaid-svg-css-vars_0.1.3_1789026466589_0.5495934233297941"}}},"time":{"created":"2026-09-08T07:23:24.972Z","modified":"2026-09-10T07:47:47.176Z","0.1.0":"2026-09-08T07:23:25.257Z","0.1.1":"2026-09-08T07:46:02.264Z","0.1.2":"2026-09-08T07:47:44.897Z","0.1.3":"2026-09-10T07:47:46.665Z"},"bugs":{"url":"https://github.com/dev-centr/mermaid-svg-css-vars/issues"},"author":{"name":"Dev Centr"},"license":"MIT","homepage":"https://github.com/dev-centr/mermaid-svg-css-vars#readme","keywords":["mermaid","svg","css-variables","theme","dark-mode","prerender","mmdc"],"repository":{"url":"git+https://github.com/dev-centr/mermaid-svg-css-vars.git","type":"git"},"description":"Rewrite Mermaid-rendered SVG theme colors to CSS custom properties with fallbacks, plus web-embedding normalization.","maintainers":[{"name":"amdphreak","email":"ryan.johnson.code@gmail.com"}],"readme":"# mermaid-svg-css-vars\n\nSee **README.adoc** for the full documentation.\n\nMermaid adapter for responsive SVG normalization and the generator-neutral [Themed SVG](https://github.com/dev-centr/themed-svg) light/dark standard.\n\n```bash\npnpm add @dev-centr/mermaid-svg-css-vars\n```\n\nThe recommended CLI flow emits the portable adaptive image and runtime host\nsibling together:\n\n```bash\nmermaid-svg-css-vars --manifest diagram.theme.json --dual-output diagram.raw.svg\nmermaid-svg-css-vars --manifest diagram.theme.json --dual-output --check diagram.raw.svg\n```\n\nThe first command writes `diagram.svg` (`standalone-adaptive`) and\n`diagram.host.svg`; the check command exits nonzero when either committed\nartifact is stale. The API equivalent is\n`prepareThemedMermaidSvgDualOutput(svg, manifest, options)`, which withholds\nboth outputs if either transform fails. Use `--mode paired-fixed` for concrete\nlight/dark files. The legacy `--theme-vars`, prefix, CSS-variable, and\nweb-normalization flags remain available as a separate compatibility route.\nSee **README.adoc** for manifests, palettes, output modes, and\nembedding-boundary details.\n","readmeFilename":"README.md"}