Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SVG components #145

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
Open

SVG components #145

wants to merge 12 commits into from

Conversation

TSKsmiley
Copy link
Contributor

@TSKsmiley TSKsmiley commented Nov 30, 2023

This pr is a good starting point here is what has left to be done:

  • make the components scale so that the content does not go out of the box
  • testing

@TSKsmiley TSKsmiley linked an issue Nov 30, 2023 that may be closed by this pull request
Copy link

netlify bot commented Nov 30, 2023

Deploy Preview for ecdar ready!

Name Link
🔨 Latest commit 145b6f5
🔍 Latest deploy log https://app.netlify.com/sites/ecdar/deploys/656de763245ef600082c7d9f
😎 Deploy Preview https://deploy-preview-145--ecdar.netlify.app/
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@TSKsmiley TSKsmiley linked an issue Nov 30, 2023 that may be closed by this pull request
@TSKsmiley TSKsmiley marked this pull request as ready for review December 4, 2023 12:04
@TSKsmiley TSKsmiley requested a review from atjn December 4, 2023 12:12
Copy link
Collaborator

@atjn atjn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generally speaking, there is something weird about the size disparity. The container feels very big and has different sizing compared to its locations.

image

d="M {cutOff / 2} {cutOff /
2} L {cutOff} 0 L {width} 0 L {width} {cutOff / 2} Z"
/>
<text x={cutOff} y={cutOff / 3} font-size="2rem">Hello</text>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can't merge "hello" into main

></rect>
<text x={width - 44} y="34" fill="white" font-size="28px"
>&lt; &gt;</text
>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The text color should change based on the background, and the text should not overflow its container.

image

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.

[Feature] Components drawing capabilties SVGDrawing for Components
3 participants