Ismael Martínez

Results 24 comments of Ismael Martínez

Hi @Kronuz! Currently, the plugin takes the first color in palette when variant is not available, and shows a warning message. What do you think it should be the ideal...

Ok. I agree that throw an error is not the ideal behavior, this is why I added a warning and returned the first value in palette, avoiding leave an empty...

Hi @aarongeorge, I've think that in that case it's not absolutely necessary to use a mixin because you have a single property solution. A possible use case is when you...

Hi @markoarsenal! It's good idea, but I think that maybe `bg-image` is not the best name because it could be confused with `background-image` property. I suggest something like this: `@util...

Great idea! Could you detail for all the cases what would be the resulting code?

Hi @lkraav! Sorry for the delay. How do you think it should be? Something like `@util triangle-framed([parameters])` or another name? There are many parameters to consider: - background-color - border-color...

But maybe the position should be defined outside the utility. ```css .element { @util triangle-framed(20px, 10px, #000, 1px solid #000, up); top: 10px; left: 5px; } ``` In this case,...

This could be a good starting point: http://www.cssarrowplease.com/

hi @ducqhl, thanks for reporting this issue. I'll update soon to fix it.

@ducqhl this should be fixed with React 18.2.0 and @types/react 18.0.12