Skip to content

Conversation

@maxnorm
Copy link
Collaborator

@maxnorm maxnorm commented Nov 20, 2025

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
Copy link

netlify bot commented Nov 20, 2025

‼️ 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