Repository navigation
chore(web): track brand token copy in .miragon/brand-assets.yaml - #292
Merged
Merged
Conversation
Contributor
|
Test Coverage
|
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.
Why
The web app's token stylesheet was a hand-made copy of the Miragon tokens. Nothing recorded where it came from or noticed a stale copy. This PR moves it onto the
.miragon/contract of miragon-brand 1.32.0, sobrand-assets.mjsrefreshes it and CI notices a copy edited by hand.What
.miragon/brand-assets.yamllistsbpmn-to-code-web/src/main/resources/static/css/cd-tokens.generated.css, and.miragon/brand-assets.sha256holds its checksum. Both were written bybrand-assets.mjs.skills/modeler-tool-design/assets/cd-tokens.generated.css, because bpmn-to-code-web is an app Miragon builds. The corporate-design file is byte-identical in 1.32.0.var(--cd-*)names used inbpmn-to-code-webstill exist.build-backend.ymlgets aCheck brand asset copiesjob. It runssha256sum -c .miragon/brand-assets.sha256with no Node setup, and without the backend path filter, so it runs on every PR tomain.*.generated.*files, and.gitattributes/.editorconfigdo not rewrite the copy, so.miragon/brand.jsonwas not changed.Verification
brand-assets.mjs --checkexits 0, andsha256sum -c .miragon/brand-assets.sha256passes locally.var(--cd-*)usages inbpmn-to-code-webagainst the new token file. None are missing.Out of scope / Follow-ups
docs/was left alone on purpose, including the docs kit copy indocs/.vitepress/miragon/theme/(it has its own manifest) anddocs/contributing/.Refs Miragon/corporate-identity#98