fix(theme): waving mascot + BtravStack casing in the part-of strip#31
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
Updates the shared VitePress theme’s “Part of …” attribution strip so every docs site using @btravstack/theme displays the new waving mascot mark and the correct “BtravStack” casing.
Changes:
- Replace the inline attribution SVG with the new waving mascot.
- Update the attribution wordmark casing to “BtravStack”.
- Add a patch changeset for
@btravstack/theme.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
| packages/theme/src/index.ts | Swaps the inline SVG used in the footer attribution strip and updates displayed brand casing. |
| .changeset/partof-waving-mascot.md | Adds a patch changeset documenting the attribution-strip update. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| * asset and works on every site regardless of its own logo. | ||
| */ | ||
| const BEET_MARK = `<svg viewBox="0 0 100 124" width="15" height="18" fill="none" aria-hidden="true"><g transform="translate(50,34)"><g transform="rotate(-35)"><path d="M0,3 C-6,-7 -6,-18 0,-28 C6,-18 6,-7 0,3 Z" fill="#2C8B4E"></path></g><g transform="rotate(35)"><path d="M0,3 C-6,-7 -6,-18 0,-28 C6,-18 6,-7 0,3 Z" fill="#2C8B4E"></path></g><path d="M0,4 C-7,-8 -7,-20 0,-32 C7,-20 7,-8 0,4 Z" fill="#3DAE62"></path></g><path d="M50,32 C29,30 17,44 17,60 C17,79 37,99 50,107 Z" fill="#CE3D80"></path><path d="M50,32 C71,30 83,44 83,60 C83,79 63,99 50,107 Z" fill="#8E1A52"></path><path d="M46.5,104 C46.5,112 44,118 39,124 C47,120 52.5,112 53.5,104 Z" fill="#8E1A52"></path></svg>`; | ||
| const BEET_MARK = `<svg viewBox="-2 -12 104 148" width="15" height="21" fill="none" aria-hidden="true"><g transform="rotate(-6 50 68)"><path d="M46,34 C44,26 44,18 47,10" stroke="#2C8B4E" stroke-width="3.6" stroke-linecap="round" fill="none"></path><path d="M47,10 C40,7 37,-2 43,-6 C50,-10 56,-3 54,3 C53,7 51,9 47,10 Z" fill="#3DAE62"></path><path d="M41,36 C34,31 26,30 21,34 C16,38 19,45 26,45 C32,45 38,41 41,36 Z" fill="#2C8B4E"></path><path d="M57,34 C62,27 70,24 76,28 C81,32 78,39 71,40 C65,40 60,37 57,34 Z" fill="#3DAE62"></path><g transform="rotate(-38 16 66)"><rect x="4" y="62" width="20" height="9" rx="4.5" fill="#CE3D80"></rect></g><g transform="rotate(24 84 78)"><rect x="76" y="74" width="18" height="9" rx="4.5" fill="#8E1A52"></rect></g><path d="M50,32 C28,31 14,45 14,62 C14,81 30,98 44,108 C47,111 48,114 50,116 C52,114 53,111 56,108 C70,98 86,81 86,62 C86,45 72,31 50,32 Z" fill="#CE3D80"></path><path d="M63,35 C76,41 86,50 86,62 C86,79 73,94 58,106 C69,91 78,76 78,62 C78,51 72,42 63,35 Z" fill="#8E1A52" opacity="0.85"></path><circle cx="38" cy="60" r="5.2" fill="#3A0D24"></circle><circle cx="39.7" cy="58.3" r="1.8" fill="#FFFFFF"></circle><circle cx="63" cy="60" r="5.2" fill="#3A0D24"></circle><circle cx="64.7" cy="58.3" r="1.8" fill="#FFFFFF"></circle><path d="M41,71 Q50.5,80 60,71" stroke="#3A0D24" stroke-width="3.4" stroke-linecap="round" fill="none"></path><circle cx="29" cy="69" r="4.2" fill="#EE9CC4" opacity="0.75"></circle><circle cx="72" cy="69" r="4.2" fill="#EE9CC4" opacity="0.75"></circle><path d="M50,116 C49,121 52,124 49,129 C47,132 44,132 43,130" stroke="#8E1A52" stroke-width="2.8" stroke-linecap="round" fill="none"></path></g></svg>`; |
| * asset and works on every site regardless of its own logo. | ||
| */ | ||
| const BEET_MARK = `<svg viewBox="0 0 100 124" width="15" height="18" fill="none" aria-hidden="true"><g transform="translate(50,34)"><g transform="rotate(-35)"><path d="M0,3 C-6,-7 -6,-18 0,-28 C6,-18 6,-7 0,3 Z" fill="#2C8B4E"></path></g><g transform="rotate(35)"><path d="M0,3 C-6,-7 -6,-18 0,-28 C6,-18 6,-7 0,3 Z" fill="#2C8B4E"></path></g><path d="M0,4 C-7,-8 -7,-20 0,-32 C7,-20 7,-8 0,4 Z" fill="#3DAE62"></path></g><path d="M50,32 C29,30 17,44 17,60 C17,79 37,99 50,107 Z" fill="#CE3D80"></path><path d="M50,32 C71,30 83,44 83,60 C83,79 63,99 50,107 Z" fill="#8E1A52"></path><path d="M46.5,104 C46.5,112 44,118 39,124 C47,120 52.5,112 53.5,104 Z" fill="#8E1A52"></path></svg>`; | ||
| const BEET_MARK = `<svg viewBox="-2 -12 104 148" width="15" height="21" fill="none" aria-hidden="true"><g transform="rotate(-6 50 68)"><path d="M46,34 C44,26 44,18 47,10" stroke="#2C8B4E" stroke-width="3.6" stroke-linecap="round" fill="none"></path><path d="M47,10 C40,7 37,-2 43,-6 C50,-10 56,-3 54,3 C53,7 51,9 47,10 Z" fill="#3DAE62"></path><path d="M41,36 C34,31 26,30 21,34 C16,38 19,45 26,45 C32,45 38,41 41,36 Z" fill="#2C8B4E"></path><path d="M57,34 C62,27 70,24 76,28 C81,32 78,39 71,40 C65,40 60,37 57,34 Z" fill="#3DAE62"></path><g transform="rotate(-38 16 66)"><rect x="4" y="62" width="20" height="9" rx="4.5" fill="#CE3D80"></rect></g><g transform="rotate(24 84 78)"><rect x="76" y="74" width="18" height="9" rx="4.5" fill="#8E1A52"></rect></g><path d="M50,32 C28,31 14,45 14,62 C14,81 30,98 44,108 C47,111 48,114 50,116 C52,114 53,111 56,108 C70,98 86,81 86,62 C86,45 72,31 50,32 Z" fill="#CE3D80"></path><path d="M63,35 C76,41 86,50 86,62 C86,79 73,94 58,106 C69,91 78,76 78,62 C78,51 72,42 63,35 Z" fill="#8E1A52" opacity="0.85"></path><circle cx="38" cy="60" r="5.2" fill="#3A0D24"></circle><circle cx="39.7" cy="58.3" r="1.8" fill="#FFFFFF"></circle><circle cx="63" cy="60" r="5.2" fill="#3A0D24"></circle><circle cx="64.7" cy="58.3" r="1.8" fill="#FFFFFF"></circle><path d="M41,71 Q50.5,80 60,71" stroke="#3A0D24" stroke-width="3.4" stroke-linecap="round" fill="none"></path><circle cx="29" cy="69" r="4.2" fill="#EE9CC4" opacity="0.75"></circle><circle cx="72" cy="69" r="4.2" fill="#EE9CC4" opacity="0.75"></circle><path d="M50,116 C49,121 52,124 49,129 C47,132 44,132 43,130" stroke="#8E1A52" stroke-width="2.8" stroke-linecap="round" fill="none"></path></g></svg>`; |
Comment on lines
+24
to
+25
| h("span", { class: "btv-partof-pink" }, "Btrav"), | ||
| "Stack", |
Comment on lines
+24
to
+25
| h("span", { class: "btv-partof-pink" }, "Btrav"), | ||
| "Stack", |
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.
The "Part of btravstack" strip at the bottom of every docs page still shipped the old beetroot mark and lowercase casing — it lives as an inline SVG inside the shared theme's Layout, so it was missed by the logo redesign. Now shows the waving character mascot and BtravStack. Patch changeset included; after release, the four docs repos need a catalog bump to 1.6.1 to pick it up.