Skip to content

Improve Diamond Contract Diagram#208

Merged
mudgen merged 3 commits into
Perfect-Abstractions:mainfrom
maxnorm:main
Nov 20, 2025
Merged

Improve Diamond Contract Diagram#208
mudgen merged 3 commits into
Perfect-Abstractions:mainfrom
maxnorm:main

Conversation

@maxnorm

@maxnorm maxnorm commented Nov 20, 2025

Copy link
Copy Markdown
Collaborator

Summary

Improve the diamond contract diagram on this page: https://compose.diamonds/docs/foundations/diamond-contracts

Changes Made

  • created a svg theme render component to show different SVG variation based on active theme (dark or light)
  • improved the diagram using Excalidraw

Checklist

Before submitting this PR, please ensure:

  • Code follows the Solidity feature ban - No inheritance, constructors, modifiers, public/private variables, external library functions, using for directives, or selfdestruct

  • Code follows Design Principles - Readable, uses diamond storage, favors composition over inheritance

  • Code matches the codebase style - Consistent formatting, documentation, and patterns (e.g. ERC20Facet.sol)

  • Code is formatted with forge fmt

  • Existing tests pass - Run tests to be sure existing tests pass.

  • New tests are optional - If you don't provide tests for new functionality or changes then please create a new issue so this can be assigned to someone.

  • All tests pass - Run forge test and ensure everything works

  • Documentation updated - If applicable, update relevant documentation

Make sure to follow the contributing guidelines.

Additional Notes

@netlify

netlify Bot commented Nov 20, 2025

Copy link
Copy Markdown

‼️ Deploy request for compose-diamonds rejected.

Name Link
🔨 Latest commit 9cd816f

@mudgen mudgen merged commit 5acfb20 into Perfect-Abstractions:main Nov 20, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants