Repository navigation
Conversation
First slice of bringing the Ruby for Good design system over from the `design` branch (#5764), concept by concept rather than page by page. This is plumbing only. Nothing links the new stylesheet, so no page changes. - tailwindcss-rails, which ships the standalone Tailwind v4 CLI: no Node and no package.json in the build or deploy path. It hooks assets:precompile, so deploys build it with no config change. - app/assets/tailwind/application.css holds the design tokens (Figtree, indigo brand, slate neutrals), taken unchanged from the design branch. - Unlike the design branch, it imports only Tailwind's theme and utilities layers, not Preflight, and turns class scanning off. That is what lets a later slice load it next to Bootstrap on the existing layouts, instead of moving pages to a new layout one area at a time. - Figtree is self-hosted under public/vendor with its OFL licence. - Procfile.dev gains a `css` watcher; the rspec workflow builds the CSS (rspec-system already precompiles). - spec/assets/design_system_build_spec.rb pins that "application.css" still resolves to the Bootstrap manifest (the Tailwind source shares the name), and that the build has no Preflight in it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UCzWYw6Gq5YdmU4MaiGnQa
awwaiid
added a commit
that referenced
this pull request
Nov 19, 2026
docs/design-system-slicing-plan.md maps how to bring this branch to main in small pieces: one design-system concept at a time across the whole app (tokens, icons, buttons, tables, forms...), with Bootstrap and the design system on the same page in the meantime, so navigation and button placement don't change until a PR is explicitly about them. The first four slices are open as stacked draft PRs (#5765-#5768). The plan also lists fixes main needs regardless, product/IA decisions that need their own sign-off, features riding along, and what should not land. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UCzWYw6Gq5YdmU4MaiGnQa
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #5764. Stacked draft PR 1 of 4. Plan for the whole design-branch breakup:
docs/design-system-slicing-plan.mdon thedesignbranchStack (review and merge in order; each PR shows only its own diff):
Description
Plumbing only. Nothing links the new stylesheet yet, so no page changes.
tailwindcss-railsships the standalone Tailwind v4 CLI. No Node orpackage.jsonis needed to build or deploy, and it hooksassets:precompile.app/assets/tailwind/application.cssholds the design tokens (Figtree, indigo brand, slate neutrals), taken unchanged from thedesignbranch.designbranch, it loads only Tailwind's theme and utilities layers. Preflight (Tailwind's reset) is left out and class scanning is off. That is what lets PR 2 load it next to Bootstrap on the existing layouts, instead of moving pages to a new layout one area at a time.public/vendor/figtree, with its OFL licence.Procfile.devgains acsswatcher. Therspecworkflow builds the CSS;rspec-systemalready precompiles.spec/assets/design_system_build_spec.rbpins two things.application.cssmust still resolve to the Bootstrap manifest, because the Tailwind source has the same logical name. The build must not include Preflight.Dependencies:
tailwindcss-rails4.7.0, which pulls intailwindcss-ruby4.3.4. The lockfile diff is +8 lines.Type of change
How Has This Been Tested?
bundle exec rspec spec/assets/design_system_build_spec.rb🤖 Generated with Claude Code
https://claude.ai/code/session_01UCzWYw6Gq5YdmU4MaiGnQa