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

Adjusting the dots on the background of the canvas. #19

Open
noudadrichem opened this issue Oct 6, 2024 · 2 comments
Open

Adjusting the dots on the background of the canvas. #19

noudadrichem opened this issue Oct 6, 2024 · 2 comments

Comments

@noudadrichem
Copy link

noudadrichem commented Oct 6, 2024

I'd like to be able to adjust background of the canvas, currently they're imo large dots with a big offset (48px?). I like to be able to change the size and offset of the dots so I can make it appear smaller and big plus would be to also change its color.

Looking at a tool like Figma it looks like they adjust the offsets and sizes based on the zoom level as well. This might be interesting too.

I've now disabled dots but they do help a lot with the UX of Haystack as most themes make the editor background the same as the canvas background. Maybe shading the colors from the themes could help here too.

P.S. I really like what you're doing here. Great way to navigate through code.

@AkshaySG14
Copy link
Contributor

Just to confirm the second issue: the problem is the canvas background is the same as the editor background, which on dark mode especially makes it hard to see?

Will fix this if so. In addition, I can add a setting to change the dots, although that will be a lil more effort!

@noudadrichem
Copy link
Author

  1. Yes!
  2. That would be awesome. Looking at something like Figma you can see how they scale the squared grid background. I'd recommend something like that for the dots as well where the size and offset are scaled taking into account the zoom level.

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

No branches or pull requests

2 participants