Skip to content

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

Make compatible with vs code themes #257

Closed
benedikt-buchert opened this issue Dec 17, 2021 · 5 comments
Closed

Make compatible with vs code themes #257

benedikt-buchert opened this issue Dec 17, 2021 · 5 comments

Comments

@benedikt-buchert
Copy link

Is it possible to make the style adjust to the selected VS Code theme?

@benedikt-buchert
Copy link
Author

#198

@dineug
Copy link
Owner

dineug commented Dec 17, 2021

You can add the following settings to setting.json.
Because it's not real-time, it's reflected only when you load a new erd view.

{
  "dineug.vuerd-vscode.themeSync": true,
  // will NOT synchronize the color list
  "dineug.vuerd-vscode.theme": {
    "keyPK": "#B4B400",
    "keyFK": "#dda8b1",
    "keyPFK": "#60b9c4",
    "edit": "#ffc107"
  }
}

@benedikt-buchert
Copy link
Author

Thanks a lot for that hint.

@benedikt-buchert
Copy link
Author

I think the only issue with the sync for me is that the canvas color is the same as the background color for the tables.

@dineug
Copy link
Owner

dineug commented Dec 20, 2021

Most cases apply appropriately.
Some themes can't be helped.
스크린샷 2021-12-20 오후 8 39 16
스크린샷 2021-12-20 오후 8 39 37
스크린샷 2021-12-20 오후 8 39 49
스크린샷 2021-12-20 오후 8 40 00
스크린샷 2021-12-20 오후 8 40 27
스크린샷 2021-12-20 오후 8 40 41
스크린샷 2021-12-20 오후 8 40 54
스크린샷 2021-12-20 오후 8 41 18

Custom themes will need to be defined.
Open the webview developer tool
Find the vuerd-provider element
I'll look at the theme colors that are currently applied.
Define the customized theme accordingly.

스크린샷 2021-12-20 오후 8 47 16

Repository owner locked and limited conversation to collaborators Dec 30, 2021
@dineug dineug converted this issue into discussion #283 Dec 30, 2021

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants