{"_id":"@affino/datagrid-theme","_rev":"6-c12aa61fdc503c8d2b946cc9aff02db0","name":"@affino/datagrid-theme","dist-tags":{"latest":"0.2.5"},"versions":{"0.1.0":{"name":"@affino/datagrid-theme","version":"0.1.0","keywords":["datagrid","theme","tokens","ui"],"author":{"name":"Anton Pavlov","email":"a.pavlov@affino.dev"},"license":"MIT","_id":"@affino/datagrid-theme@0.1.0","maintainers":[{"name":"affino","email":"anton.pavlov.personal@gmail.com"}],"homepage":"https://affino.dev","bugs":{"url":"https://github.com/affinio/affinio/issues"},"dist":{"shasum":"8ac6e4c2fa1f18882dd06ab4295be381c782834d","tarball":"https://registry.npmjs.org/@affino/datagrid-theme/-/datagrid-theme-0.1.0.tgz","fileCount":33,"integrity":"sha512-E62lo2J/p+4GAOtj1IFXEHzrpUUQw36gHpi823Irqh2OdtEADUx8XiBnPj1i0who0qLzbyOi1ZJcDVLTZFYFiw==","signatures":[{"sig":"MEUCIEdiYMRM5AUADtymT/ZT6pCEBsdjqjSaaWv+cQ6movxgAiEAvkFEZbIhBgBjYqP+NWHF0mfm7Vg8tPItLQpVPHlFFgI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":99940},"main":"dist/index.js","type":"module","_from":"file:affino-datagrid-theme-0.1.0.tgz","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"build":"tsc -p tsconfig.json"},"_npmUser":{"name":"affino","email":"anton.pavlov.personal@gmail.com"},"_resolved":"/tmp/9e17b34ea800b44cc96e92a8ffa0f753/affino-datagrid-theme-0.1.0.tgz","_integrity":"sha512-E62lo2J/p+4GAOtj1IFXEHzrpUUQw36gHpi823Irqh2OdtEADUx8XiBnPj1i0who0qLzbyOi1ZJcDVLTZFYFiw==","repository":{"url":"git+https://github.com/affinio/affinio.git#main","type":"git"},"_npmVersion":"10.8.2","description":"Theme tokens and presets for the Affino DataGrid","directories":{},"sideEffects":false,"_nodeVersion":"20.20.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/datagrid-theme_0.1.0_1770932975458_0.7933455759547365","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@affino/datagrid-theme","version":"0.2.1","keywords":["datagrid","theme","tokens","ui"],"author":{"name":"Anton Pavlov","email":"a.pavlov@affino.dev"},"license":"MIT","_id":"@affino/datagrid-theme@0.2.1","maintainers":[{"name":"affino","email":"anton.pavlov.personal@gmail.com"}],"homepage":"https://affino.dev","bugs":{"url":"https://github.com/affinio/affinio/issues"},"dist":{"shasum":"c76fa44cf0aa078613c6eb327fcdb83d67a8b7e3","tarball":"https://registry.npmjs.org/@affino/datagrid-theme/-/datagrid-theme-0.2.1.tgz","fileCount":33,"integrity":"sha512-MbhdmNE34frp375sQwVkw7qhlMfgA0zID1WUpYaAyFPKl0fow7Jy9rxW5rcIHzs4aD/Cw/dDtKgxUcTW6cvTOQ==","signatures":[{"sig":"MEUCIQCg5j78nLdXxB+1B7EjhTg9tb0156+Z0Enp/78Yi/H1YwIgA5LHZfb6rhnW1KWw+crqMIgzyouOY8T4muLtJTXt13g=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":99940},"main":"dist/index.js","type":"module","_from":"file:affino-datagrid-theme-0.2.1.tgz","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"build":"tsc -p tsconfig.json"},"_npmUser":{"name":"affino","email":"anton.pavlov.personal@gmail.com"},"_resolved":"/tmp/fc7fac40f4957da9efa074545eb8cd63/affino-datagrid-theme-0.2.1.tgz","_integrity":"sha512-MbhdmNE34frp375sQwVkw7qhlMfgA0zID1WUpYaAyFPKl0fow7Jy9rxW5rcIHzs4aD/Cw/dDtKgxUcTW6cvTOQ==","repository":{"url":"git+https://github.com/affinio/affinio.git#main","type":"git"},"_npmVersion":"10.8.2","description":"Theme tokens and presets for the Affino DataGrid","directories":{},"sideEffects":false,"_nodeVersion":"20.20.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/datagrid-theme_0.2.1_1771764173687_0.11707312790845492","host":"s3://npm-registry-packages-npm-production"}},"0.2.2":{"name":"@affino/datagrid-theme","version":"0.2.2","keywords":["datagrid","theme","tokens","ui"],"author":{"name":"Anton Pavlov","email":"a.pavlov@affino.dev"},"license":"MIT","_id":"@affino/datagrid-theme@0.2.2","maintainers":[{"name":"affino","email":"anton.pavlov.personal@gmail.com"}],"homepage":"https://github.com/affinio/affinio/tree/main/packages/datagrid-theme#readme","bugs":{"url":"https://github.com/affinio/affinio/issues"},"dist":{"shasum":"56a1f8a243a7d91dff74a4a28e22e5225d3ff492","tarball":"https://registry.npmjs.org/@affino/datagrid-theme/-/datagrid-theme-0.2.2.tgz","fileCount":34,"integrity":"sha512-ewT5ndwfv+iFCckOEpvi6Brnw4vhuWH2OaOV1zHkr8DnvtjLDg5HJFwDZEuUOt8K6suC/uF5BBzzA1G/9ALrwQ==","signatures":[{"sig":"MEYCIQCzLrYSBCcjDKG7KE+x7J9S3g/dUqLfS0Um2I5S5++xCwIhAPmvZyGEvQxH1qLqNyzzS26zIHoMZ9T/l5Qzh68Sm0Nq","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":108174},"main":"dist/index.js","type":"module","_from":"file:affino-datagrid-theme-0.2.2.tgz","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./datagrid-demo.css":"./datagrid-demo.css"},"scripts":{"build":"tsc -p tsconfig.json"},"_npmUser":{"name":"affino","email":"anton.pavlov.personal@gmail.com"},"_resolved":"/tmp/05a09babf93e9270a75704ae73d0bc04/affino-datagrid-theme-0.2.2.tgz","_integrity":"sha512-ewT5ndwfv+iFCckOEpvi6Brnw4vhuWH2OaOV1zHkr8DnvtjLDg5HJFwDZEuUOt8K6suC/uF5BBzzA1G/9ALrwQ==","repository":{"url":"git+https://github.com/affinio/affinio.git","type":"git","directory":"packages/datagrid-theme"},"_npmVersion":"10.8.2","description":"Theme tokens and presets for Affino DataGrid","directories":{},"sideEffects":false,"_nodeVersion":"20.20.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/datagrid-theme_0.2.2_1773840790128_0.4125453717344367","host":"s3://npm-registry-packages-npm-production"}},"0.2.3":{"name":"@affino/datagrid-theme","version":"0.2.3","keywords":["datagrid","theme","tokens","ui"],"author":{"name":"Anton Pavlov","email":"a.pavlov@affino.dev"},"license":"MIT","_id":"@affino/datagrid-theme@0.2.3","maintainers":[{"name":"affino","email":"anton.pavlov.personal@gmail.com"}],"homepage":"https://github.com/affinio/affinio/tree/main/packages/datagrid-theme#readme","bugs":{"url":"https://github.com/affinio/affinio/issues"},"dist":{"shasum":"49bac1daf43ba568ebece49da881d49f5ffb72c5","tarball":"https://registry.npmjs.org/@affino/datagrid-theme/-/datagrid-theme-0.2.3.tgz","fileCount":34,"integrity":"sha512-SEZnXTFyuh9814JVuPDV4xa7b8mlQd3THxDl2bc/Q1ra69gQiHwZZOkmSin07HF66hkdVB7MvRrYUijg+mdMUA==","signatures":[{"sig":"MEQCIENwYq7IZM5YUEm/SGHWKdinbeAn/FGD1KwWh7SyPhDgAiAdvlHIatOu+i82p0cFB20K0gNKKnYGeMpfsLcJFiPB9g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":117623},"main":"dist/index.js","type":"module","_from":"file:affino-datagrid-theme-0.2.3.tgz","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./datagrid-demo.css":"./datagrid-demo.css"},"scripts":{"build":"tsc -p tsconfig.json"},"_npmUser":{"name":"affino","email":"anton.pavlov.personal@gmail.com"},"_resolved":"/tmp/3c4c0c82b20148c155fa46c900e5d884/affino-datagrid-theme-0.2.3.tgz","_integrity":"sha512-SEZnXTFyuh9814JVuPDV4xa7b8mlQd3THxDl2bc/Q1ra69gQiHwZZOkmSin07HF66hkdVB7MvRrYUijg+mdMUA==","repository":{"url":"git+https://github.com/affinio/affinio.git","type":"git","directory":"packages/datagrid-theme"},"_npmVersion":"10.8.2","description":"Theme tokens and presets for Affino DataGrid","directories":{},"sideEffects":false,"_nodeVersion":"20.20.2","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/datagrid-theme_0.2.3_1778600144209_0.36937976354265145","host":"s3://npm-registry-packages-npm-production"}},"0.2.4":{"name":"@affino/datagrid-theme","version":"0.2.4","keywords":["datagrid","theme","tokens","ui"],"author":{"name":"Anton Pavlov","email":"a.pavlov@affino.dev"},"license":"MIT","_id":"@affino/datagrid-theme@0.2.4","maintainers":[{"name":"affino","email":"anton.pavlov.personal@gmail.com"}],"homepage":"https://github.com/affinio/datagrid/tree/main/packages/datagrid-theme#readme","bugs":{"url":"https://github.com/affinio/datagrid/issues"},"dist":{"shasum":"11483089815f066395618346756245148780f78c","tarball":"https://registry.npmjs.org/@affino/datagrid-theme/-/datagrid-theme-0.2.4.tgz","fileCount":37,"integrity":"sha512-LWBrFvOfDKEwkqNYAOaMrPFEBQKpph0MZTiUhs9EiOq0cZqDpPV6+DCdCCdU8td/588AIrRau3Sm+tTYBsb6wQ==","signatures":[{"sig":"MEQCIF5egL2B5c10VRSb6ZqQN4vydz5HqbPigG3EwoZlzvjUAiAIZmfdDEucqvEvJf5kZHVz6F++G6dnYmxIvElZnMrIEQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":89484},"main":"dist/index.js","type":"module","_from":"file:affino-datagrid-theme-0.2.4.tgz","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./datagrid-demo.css":"./datagrid-demo.css"},"scripts":{"build":"tsc -p tsconfig.json"},"_npmUser":{"name":"affino","email":"anton.pavlov.personal@gmail.com"},"_resolved":"/tmp/699e60004c42450f714f6545df086588/affino-datagrid-theme-0.2.4.tgz","_integrity":"sha512-LWBrFvOfDKEwkqNYAOaMrPFEBQKpph0MZTiUhs9EiOq0cZqDpPV6+DCdCCdU8td/588AIrRau3Sm+tTYBsb6wQ==","repository":{"url":"git+https://github.com/affinio/datagrid.git","type":"git","directory":"packages/datagrid-theme"},"_npmVersion":"10.8.2","description":"Theme tokens and presets for Affino DataGrid","directories":{},"sideEffects":false,"_nodeVersion":"20.20.2","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/datagrid-theme_0.2.4_1779375675864_0.9652063518025245","host":"s3://npm-registry-packages-npm-production"}},"0.2.5":{"name":"@affino/datagrid-theme","version":"0.2.5","author":{"name":"Anton Pavlov","email":"a.pavlov@affino.dev"},"type":"module","description":"Theme tokens and presets for Affino DataGrid","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./datagrid-demo.css":"./datagrid-demo.css"},"main":"dist/index.js","types":"dist/index.d.ts","sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/affinio/datagrid.git","directory":"packages/datagrid-theme"},"homepage":"https://github.com/affinio/datagrid/tree/main/packages/datagrid-theme#readme","license":"MIT","keywords":["datagrid","theme","tokens","ui"],"bugs":{"url":"https://github.com/affinio/datagrid/issues"},"module":"dist/index.js","scripts":{"build":"tsc -p tsconfig.json && node ../../scripts/fix-esm-specifiers.mjs dist"},"_id":"@affino/datagrid-theme@0.2.5","_integrity":"sha512-/0LIphfLAAqGXYjPLDCJQA1jIOzIn/zg48Z0GKRX78r01f++tlpV0Icp776q/YhWdgxwiA5HuGFM/ImGXg61wA==","_resolved":"/tmp/1cc569afe55a655bfcc033a6fdeee400/affino-datagrid-theme-0.2.5.tgz","_from":"file:affino-datagrid-theme-0.2.5.tgz","_nodeVersion":"22.23.2","_npmVersion":"10.9.8","dist":{"integrity":"sha512-/0LIphfLAAqGXYjPLDCJQA1jIOzIn/zg48Z0GKRX78r01f++tlpV0Icp776q/YhWdgxwiA5HuGFM/ImGXg61wA==","shasum":"5390ed4a9cd8ba739bcb30255b6b6cc7eb82ddf2","tarball":"https://registry.npmjs.org/@affino/datagrid-theme/-/datagrid-theme-0.2.5.tgz","fileCount":37,"unpackedSize":89585,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIA7tGrwoBJyE0cGCI+wCawI3M9Fpj4onb8Q2Ed1VkC9XAiAV2sAZlEtjOdRRIrAEjATywwwrGdWCmHpdoAKvTM9pFA=="}]},"_npmUser":{"name":"affino","email":"anton.pavlov.personal@gmail.com"},"directories":{},"maintainers":[{"name":"affino","email":"anton.pavlov.personal@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/datagrid-theme_0.2.5_1788253001177_0.2147018855131808"},"_hasShrinkwrap":false}},"time":{"created":"2026-02-12T21:49:35.349Z","modified":"2026-09-01T08:56:41.564Z","0.1.0":"2026-02-12T21:49:35.605Z","0.2.1":"2026-02-22T12:42:53.830Z","0.2.2":"2026-03-18T13:33:10.275Z","0.2.3":"2026-05-12T15:35:44.370Z","0.2.4":"2026-05-21T15:01:16.039Z","0.2.5":"2026-09-01T08:56:41.306Z"},"bugs":{"url":"https://github.com/affinio/datagrid/issues"},"author":{"name":"Anton Pavlov","email":"a.pavlov@affino.dev"},"license":"MIT","homepage":"https://github.com/affinio/datagrid/tree/main/packages/datagrid-theme#readme","keywords":["datagrid","theme","tokens","ui"],"repository":{"type":"git","url":"git+https://github.com/affinio/datagrid.git","directory":"packages/datagrid-theme"},"description":"Theme tokens and presets for Affino DataGrid","maintainers":[{"name":"affino","email":"anton.pavlov.personal@gmail.com"}],"readme":"# @affino/datagrid-theme\n\nTheme tokens, presets, and utilities for Affino DataGrid.\n\n## What belongs here\n\n- `DataGridThemeTokens`\n- preset style configs such as `defaultStyleConfig`, `industrialNeutralTheme`, and `sugarTheme`\n- token helpers such as `applyGridTheme`, `resolveGridThemeTokens`, and `mergeThemeTokens`\n\n## What does not belong here\n\n- grid runtime logic\n- renderer-specific DOM or canvas layout code\n- sandbox-only legacy table CSS\n\n## Styling direction\n\nThe preferred styling path is token-driven theming through `DataGridStyleConfig.tokens` and `tokenVariants`.\n\nThe built-in presets are intentionally distinct and each ships `light` and `dark` token variants:\n\n- `defaultStyleConfig`: strict neutral baseline with white/gray surfaces, Arial-style typography, and a small blue interaction accent.\n- `industrialNeutralTheme`: compact engineering preset with monospace typography, stronger grid lines, steel surfaces, and cyan operational accents.\n- `sugarTheme`: warmer expressive preset with soft rose surfaces and a pink/violet accent system.\n\nAll presets set `inheritThemeFromDocument: true`; `resolveGridThemeTokens()` will select the `dark` variant when `document.documentElement` has `data-theme=\"dark\"` or the configured dark class. Provide `activeTokenVariant` only when you need to force a specific variant.\n\n`DataGridStyleConfig` is token-only. Class-slot styling hooks were removed; renderer-owned class names remain internal implementation details.\n\n## CSS assets\n\n- `datagrid-demo.css` is a demo-only stylesheet asset kept for legacy/demo use.\n- Modern Vue app rendering should rely on token application plus renderer-owned styles instead of this demo stylesheet.\n","readmeFilename":"README.md"}