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

Add basic elements #7

Draft
wants to merge 36 commits into
base: main
Choose a base branch
from
Draft

Add basic elements #7

wants to merge 36 commits into from

Conversation

dingo-d
Copy link
Owner

@dingo-d dingo-d commented Feb 14, 2024

Still a WIP

dingo-d and others added 30 commits November 19, 2022 12:51
Still a WIP and the tests will fail. Need to work on this when I find the time.
Factory should be used to quickly generate elements. Still a WIP, as I need to finish working on the text element, then start working on the others to see if this can be reused or not.
See what parts we can abstract away for the prototype pattern.
Exclude directories from the list.
Will be used to check passed attributes, and will probably need to have a lot more validators for css values. For instance alignment, etc.
They are needed to create on the fly entities in the test.
They will currently fail, because I need to add column, section, body and mjml elements.
Still need to write the code when the arguments are passed for the element.
This could be a bit overengineered. I'm still not 100% sure 😅
Update global attributes, add validation checks for formatting attributes, still need to add render children method for the body and all elements that have child elements
No need to call upon the class, and pass it to the method, when we can just pass it as a dependency.
Update the text decoration one, update colors, fix lab and lch checks. Even though I think only rgb, rgba and hex and named colors are needed.
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.

None yet

1 participant