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

Simplify Grid to .wds-grid and include as Tailwind plugin #949

Merged
merged 1 commit into from
Oct 21, 2022

Conversation

oliverharrison
Copy link
Contributor

Closes - No issue created.

DESCRIPTION

  • Simplifies a grid class as .wds-grid
  • Creates a 12-column grid with 16px (1rem) column gap
  • Adds a plugin so that it can be used with @apply (ie: @apply wds-grid
  • Adds .wds-grid to the safelist so that it works if using it as an inline class (ie: class="wds-grid")

SCREENSHOTS

(note, this screenshot has been taken where the grid was customized to be 6 columns & a larger gap)
image

STEPS TO VERIFY

  • Pull the branch
  • use a grid as an inline class or with @apply
  • verify that it works in either case

Copy link
Contributor

@itsamoreh itsamoreh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome 👍🏽

@oliverharrison oliverharrison merged commit ea833af into main Oct 21, 2022
@oliverharrison oliverharrison deleted the feature/simplify-grid-styles branch October 21, 2022 20:44
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

Successfully merging this pull request may close these issues.

2 participants