Repository navigation
Restyle the blood infuser, accumulator and broom modifier appendices - #12
Merged
Merged
Conversation
Follows the restyle in cyclops-infobook-html, which lays out all recipe appendices from one set of shared rules. The blood infuser and environmental accumulator recipes no longer need their own icon offsets here, and the blood infuser shows the required tier next to the machine instead of at a fixed pixel offset. Broom modifiers become rows of items with their modifier counts. The config sets border to the same value as outer_background, which is too dark for the page frame and for links on parchment, so this overrides those tokens with the purple and red from the book instead. Also fixes the favicon, which pointed at assets/icons/evilcraft__dark_dark_gem.png and returned a 404, and shows the book item next to the book name in the header through the new bookIconItem option. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FuDB4UAnaLnNEEv8kVuotH
The restyle landed as a major release, so the caret range on 5.2.0 does not pick it up. This stylesheet needs the shared recipe layout from that release. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FuDB4UAnaLnNEEv8kVuotH
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.
Companion to CyclopsMC/infobook-html#55, which restyles the shared layout and makes the generated books work on phones. That PR lays out every recipe appendix from one set of shared rules, so the blood infuser and the environmental accumulator no longer need their own icon offsets here.
Blood infuser
The required tier used to be placed at a fixed
left: 166px. It now sits in its own cell next to the machine icon, above the arrow, and collapses when a recipe has no tier requirement.Broom modifiers
Each modifier becomes a row of items with their counts as
×N, wrapping to as many lines as it needs. The modifier count sat at a negative offset before, which made it drift out of line as soon as a modifier had more than a few items.Palette
The config sets
borderto the same value asouter_background(#110c1f), which is nearly black. The new shared stylesheet derives the page frame, links and rules fromborder, so this overrides those tokens with the purple fromborder_lightand the blood red from the book. Without that, links on the parchment page would be almost black.Also
cyclops-infobook-htmlto^6.0.0, which is the release carrying the shared restyle. It went out as a major, so the previous^5.2.0range would not have picked it up.iconpointed atassets/icons/evilcraft__dark_dark_gem.png, which is both the wrong directory and an item that does not exist, so it has been returning a 404. It now points at the dark gem that the book actually uses.bookIconItemto the book item, so the header shows the book next to its name, using the new option in 6.0.0.Verification
npm run buildandnpm run lintpass against 6.0.0, and CI generates the book end to end on this branch with the new templates.🤖 Generated with Claude Code
https://claude.ai/code/session_01FuDB4UAnaLnNEEv8kVuotH