-
Notifications
You must be signed in to change notification settings - Fork 17
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
Feature Request: Drop shadows #131
Comments
Thanks so much. Well, I'll try to implement drop shadows. The thing is that probably it is not a trivial task, because Blockman does not render block as entire div box, but it renders div boxes on each line, and these line-boxes touch each other and create an illusion of one big box. For simple cases, drop shadow maybe can be easy to implement, but for edge cases (like non-rectangle blocks because of code structure with brackets), it will require some trickery-tricks. |
Yeah, I noticed that when trying to create a hacky solution using
radiant-gradients on top and bottom. Perhaps only allowing shadows for
indent detected blocks would help? But then that feature would kind of need
to be extended to more languages anyways which I assume is not there for
the same reason. Either way, king for replying so fast!
mån 5 feb. 2024 kl. 23:55 skrev Levan Katsadze ***@***.***>:
… Thanks so much. Well, I'll try to implement drop shadows. The thing is
that probably it is not a trivial task, because Blockman does not render
block as entire div box, but it renders div boxes on each line, and these
line-boxes touch each other and create an illusion of one big box. For
simple cases, drop shadow maybe can be easy to implement, but for edge
cases (like non-rectangle blocks because of code structure with brackets),
it will require some trickery-tricks.
—
Reply to this email directly, view it on GitHub
<#131 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ANOHTZSBLYWDHH7A6PRWOBLYSFPONAVCNFSM6AAAAABC2WRLOSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMRYGQ2TENJZGQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
This extension is amazing. I really wish I could have the possibility to add drop shadows to code blocks though. Either way - great job so far!
The text was updated successfully, but these errors were encountered: