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

Allow setting fragments for styles #86

Open
Kobzol opened this issue Oct 27, 2023 · 2 comments
Open

Allow setting fragments for styles #86

Kobzol opened this issue Oct 27, 2023 · 2 comments

Comments

@Kobzol
Copy link
Collaborator

Kobzol commented Oct 27, 2023

It would be nice to have the ability to "scope" styles to specific fragments, or change their properties for a given set of fragments.

@spirali
Copy link
Owner

spirali commented Oct 28, 2023

I was thinking about it and at least partially it can be done as follows:

b1 = slide.box(step="1,3,5")
b1.set_style(...)

b2 = b1.overlay(step="2,4")
b2.set_style(...)```

@Kobzol
Copy link
Collaborator Author

Kobzol commented Oct 28, 2023

Good idea. It wouldn't solve all use-cases, but could bt useful for some.

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