You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the @include content mixin, it would be nice to be able to customize the list of elements.
By default it's just p, ol, ul, pre, but usually I need more : dl, figure, etc.
So I end up doing it by hand instead of using that mixin.
Maybe there could be a second parameter to the mixin, or another property in the $shevy-defaults variable ?
The text was updated successfully, but these errors were encountered:
Hi @tcharlss, not a bad idea, but it's been a few years since I've looked at or used this code. If you have any interest in making a PR for this feature, that would be great, otherwise I may get to it, but I can't guarantee any time line.
Sure, I can make a PR.
Do you have any preference regarding the implementation ?
I'm thinking of adding a content-elements property to $shevy-defaults, like so :
There are two ways to solve this. You can make a list and generate it that way. Another way could be to expose the styles as a mixin itself, that way you can just @include it in a list of elements you define in your Sass.
Hi,
When using the
@include content
mixin, it would be nice to be able to customize the list of elements.By default it's just
p, ol, ul, pre
, but usually I need more :dl, figure
, etc.So I end up doing it by hand instead of using that mixin.
Maybe there could be a second parameter to the mixin, or another property in the
$shevy-defaults
variable ?The text was updated successfully, but these errors were encountered: