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

Fold percentage opacity vs rgba #51

Open
forresto opened this issue Dec 14, 2021 · 3 comments
Open

Fold percentage opacity vs rgba #51

forresto opened this issue Dec 14, 2021 · 3 comments

Comments

@forresto
Copy link
Contributor

forresto commented Dec 14, 2021

In the design tips, I thought that fold percentage via opacity meant define stroke colors as RGBA. But I guess that should actually be opacity on the strokes? It might be good to support both (Cuttle can do RGBA but not opacity so far.)

.cuttle.svg: https://cuttle.xyz/@forresto/folds-with-rgba-AJritDsxIJkN

image

@edemaine
Copy link
Collaborator

Good idea. This should not be hard to implement.

@forresto
Copy link
Contributor Author

Cuttle's use of rgba was non-standard for SVG 1.1, oops. Now we output stroke-opacity and it works with OS. :)

image

@edemaine
Copy link
Collaborator

But it is standard for SVG 2 so I think it makes sense to support eventually. Probably good to avoid it in your software for now, though. 🙂

@edemaine edemaine reopened this Nov 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants