Repository navigation
docs: rewrite the README for any package manager (BITS-221) - #27
Conversation
Install for npm, pnpm, yarn and bun; Tailwind 3 setup, icons and a first component for apps; develop and release steps from package.json and release.sh. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
PhilReinking
left a comment
There was a problem hiding this comment.
OK at 3589c68 for the content, CI green. One should, inline. I'll re-check the lint line after #26.
Checked against main: every command exists except npm run lint, the release examples give the versions shown, and release.sh and the publish workflow do what the text says. A Vite app built from this README alone on main's package shows the button and the app-registered icon.
| import colors from "tailwindcss/colors"; | ||
| import forms from "@tailwindcss/forms"; | ||
|
|
||
| export default { |
There was a problem hiding this comment.
The components carry dark: classes, and Tailwind 3 defaults to darkMode: "media". So on a computer in dark mode, D9Input turns dark slate on the app's white page. The repo and Input use "class"; with it the components stay light until the app sets dark:
| export default { | |
| export default { | |
| darkMode: "class", |
There was a problem hiding this comment.
Added in be13e04, with one line on why. Checked: in OS dark mode, D9Input now stays white instead of slate-800.
Tailwind 3 defaults to "media", so the components' dark: classes turned D9Input dark slate on a white page whenever the computer was in dark mode. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Rewrites the README from what is on main: install for npm, pnpm, yarn and bun, how an app sets up Tailwind 3, icons and a first component, and the develop and release steps.
Fixes BITS-221
darkMode: "class", thegreycolor and@tailwindcss/forms, because the components use all three.Tested: followed the README in fresh Vite + Vue 3 + Tailwind 3 apps with npm, pnpm, yarn and bun, using the packed tarball. A styled D9Button and an app-registered icon render.
Not tested: a real
release.shrun; its version steps ran throughnpm version --no-git-tag-version.🤖 Generated with Claude Code