-
Notifications
You must be signed in to change notification settings - Fork 81
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
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
How to customize styles? #198
Comments
Documents can be found at: https://github.com/vuerd/vuerd/tree/master/packages/vuerd |
Is there a way to have different table background ? For example One table with blue background (in the title for example), another with green background etc. ? I would like to recognize different type of table directly with the color, like this : |
Ah thank you |
There is no function at this time. |
@dineug how do I overwrite some custom css?
|
I don't recommend it because it breaks the size calculation. Here's how: |
Got it thanks! I was actually trying something else. The height was just a random example. |
@dineug So I was able to use the shadow DOM styling for something like, as an example, the Did I miss something? |
I've tried a few things. To add a style to ShadowRoot, you must import ShadowRoot. const shadowRoot = editor.shadowRoot;
shadowRoot.appendChild(style); |
Thanks for the quick reply and thanks for your great tool ! :) |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
I'm trying to use this with React. I was able to set it up like this
https://codesandbox.io/s/vuerd-react-test-uzfld?file=/src/App.js
I see that there are these options to customize styles here
https://vuerd.github.io/vuerd/?path=/docs/example-demo--erd-editor
but I am not able to figure out how to actually use them in the code.
Any help is appreciated. Thanks!
The text was updated successfully, but these errors were encountered: