{"_id":"@bitcurve/flint-tailwind","name":"@bitcurve/flint-tailwind","dist-tags":{"latest":"0.0.0"},"versions":{"0.0.0":{"name":"@bitcurve/flint-tailwind","type":"module","version":"0.0.0","license":"Apache-2.0","main":"dist/index.js","types":"dist/index.d.ts","sideEffects":false,"repository":{"type":"ssh","url":"git+ssh://git@github.com/appcurve/flint.git","directory":"packages/tailwind"},"publishConfig":{"access":"public"},"exports":{".":{"import":"./dist/index.js","require":"./dist/index.cjs","types":"./dist/index.d.ts"}},"dependencies":{"@bitcurve/flint-style":"0.0.0"},"devDependencies":{"@tailwindcss/container-queries":"^0.1.1","@tailwindcss/forms":"^0.5.7","@tailwindcss/typography":"^0.5.13","colord":"^2.9.3","tailwind-merge":"^2.3.0","tailwindcss":"^3.4.4","tailwindcss-animate":"^1.0.7","tailwindcss-fluid-typography":"^1.0.4","typescript":"^5.5.3"},"scripts":{"build":"tsup src/index.ts --format cjs,esm --dts","lint":"eslint src","check":"tsc --noEmit","test":"vitest"},"_id":"@bitcurve/flint-tailwind@0.0.0","description":"An opinionated package containing presets, plugins, and utilities for web development projects powered by Tailwind CSS.","bugs":{"url":"https://github.com/appcurve/flint/issues"},"homepage":"https://github.com/appcurve/flint#readme","_integrity":"sha512-YhfMF7e0rg7C7kCH908Xac4ruiRZPZ24Zc4on3MU4T1qoKBuSGvENWN/qBiuj8RNQzRIfA93QPGdiLbFXTGZTg==","_resolved":"/tmp/deff84bafa970d5165fbef53a019ab85/bitcurve-flint-tailwind-0.0.0.tgz","_from":"file:bitcurve-flint-tailwind-0.0.0.tgz","_nodeVersion":"20.14.0","_npmVersion":"10.7.0","dist":{"integrity":"sha512-YhfMF7e0rg7C7kCH908Xac4ruiRZPZ24Zc4on3MU4T1qoKBuSGvENWN/qBiuj8RNQzRIfA93QPGdiLbFXTGZTg==","shasum":"d1226149ec25a8df9a18543653a1d64a2b6c6941","tarball":"https://registry.npmjs.org/@bitcurve/flint-tailwind/-/flint-tailwind-0.0.0.tgz","fileCount":9,"unpackedSize":1632047,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG10h8oNd254QAo0QYyEVyqwbG/KFB8dE5HBk0rAMXcJAiAW/6w07juLM5QkrF7ueVPiO2qwB2G2WPfIvfhyxm1TKw=="}]},"_npmUser":{"name":"bitcurvesystems","email":"contact@bitcurve.com"},"directories":{},"maintainers":[{"name":"bitcurvesystems","email":"contact@bitcurve.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/flint-tailwind_0.0.0_1720122041839_0.17792210398607633"},"_hasShrinkwrap":false}},"time":{"created":"2024-07-04T19:40:41.739Z","0.0.0":"2024-07-04T19:40:42.106Z","modified":"2024-07-04T19:40:42.369Z"},"maintainers":[{"name":"bitcurvesystems","email":"contact@bitcurve.com"}],"description":"An opinionated package containing presets, plugins, and utilities for web development projects powered by Tailwind CSS.","homepage":"https://github.com/appcurve/flint#readme","repository":{"type":"ssh","url":"git+ssh://git@github.com/appcurve/flint.git","directory":"packages/tailwind"},"bugs":{"url":"https://github.com/appcurve/flint/issues"},"license":"Apache-2.0","readme":"# @bitcurve/flint-tailwind\n\nAn opinionated package containing presets, plugins, and utilities for web development projects powered by Tailwind CSS.\n\nFor use in projects by Bitcurve Systems, its clients, and anyone else who may find it useful or interesting.\n\nThis package is published as both ESM + CJS with types and source maps targeting ES2021 for workstations and CI build environments that run Node v18+ or a compatible runtime.\n\nAll documentation and examples assume ESM; revise the syntax accordingly if you are using CommonJS.\n\nThe preset defines a set of custom sizes, variants, and utilities. This package exports a custom `cn()` function for merging class names that incorporates a special configuration of `tailwind-merge` that can recognize and merge these custom names.\n\n## Dependencies\n\nThis package assumes that the consuming project is using `tailwindcss` configured to use the preset exported by this package.\n\nThe `@bitcurve/flint-style` package provides a custom `cn()` function that is configured to recognize and merge the classnames of custom tailwindcss variants and utilities defined by the preset and plugins exported by this package.\n\nThat package exports a set of conventions for sizing, spacing, and palette related class names that are adhered to by this package.\n\n## Installation\n\nInstall the package as a dev dependency.\n\n```sh\npnpm add -D @bitcurve/flint-tailwind\n```\n\nThen import the preset and add it to the `presets` array in your project's taiwind config, e.g. `tailwind.config.ts`:\n\n```ts\nimport { flintPreset } from '@bitcurve/flint-tailwind'\n\nconst tailwindConfig = {\n  // ...\n\n  presets: [flintPreset],\n\n  // ...\n}\n\nexport default tailwindConfig\n```\n\nIn case your project has multiple presets remember that tailwindcss intelligently merges them and that the order of the presets array matters.\n\nSubsequent presets will override conflicting values from previous presets. Actual config values in turn override any conflicting values from any of the presets.\n\n## Usage\n\n### Merge css class names with `cn()`\n\n```ts\nimport { cn } from '@bitcurve/flint-style'\n```\n","readmeFilename":"README.md"}