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

connection gradients #2121

Open
alixander opened this issue Sep 27, 2024 · 5 comments
Open

connection gradients #2121

alixander opened this issue Sep 27, 2024 · 5 comments

Comments

@alixander
Copy link
Collaborator

i didn't do that as part of gradient work in #2120

gauging demand before implementing

@bo-ku-ra
Copy link
Contributor

can i also use 'transparent'?

@alixander
Copy link
Collaborator Author

yeah that should be a valid value now

@bo-ku-ra
Copy link
Contributor

I want to do that with 'theme-overrides'.

vars: {
  d2-config: {
    theme-overrides: {
      B4:  "linear-gradient(red, blue)"
    }
  }
}

@bo-ku-ra
Copy link
Contributor

bo-ku-ra commented Sep 29, 2024

include arrowheads.
image

image

@bo-ku-ra
Copy link
Contributor

#2121 (comment)

'B1' and 'B2' are connections.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

2 participants