Skip to content

feat: have paddingX/paddingY and marginX/marginY #618

@viralcodex

Description

@viralcodex

Hi Team,
I am using OpenTUI for one of my projects and while writing padding and margin values for components (solid js), I felt I have been writing left and right a lot.

Since I have used tailwind for my projects, I felt like X and Y attributes for both margin and padding should be a simple addition to make writing these values a little easier instead of left right and top and down separately if the values used are same.

I have already linked the PR to this issue if you guys find it acceptable to merge it.

Would be more than happy to discuss more on this.

Thanks for building a great library to use, it's really cool 😄

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions