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

Remove Woo btn templates #386

Merged
merged 7 commits into from
Feb 12, 2023
Merged

Remove Woo btn templates #386

merged 7 commits into from
Feb 12, 2023

Conversation

crftwrk
Copy link
Member

@crftwrk crftwrk commented Feb 2, 2023

As described in #333, Woo templates should be reduced for less maintenance and more stability.

This PR does it with most btn in templates. There are still a few btn left, but I want to breakdown this into smaller pieces.

  • Replaced btn btn-*-* classes with default Woo button classes
  • Using @extend to show them in Bootstrap's style
  • 8 files that only had changes in the button classes has been deleted
  • Files that only contained a button class plus one utility like w-100, utility has been replaced by custom CSS

This has no impact on the frontend. Tested, works fine and is already live on bootscore.me. Just click through the store and check button classes in cart, checkout and dashboard.

BTW, WooCommerce has horrible selector classes, maybe SCSS looks a bit weird, but it's good.

@justinkruit if you agree, I'm happy when you just hit the merge button.

@crftwrk crftwrk mentioned this pull request Feb 2, 2023
59 tasks
Copy link
Member

@justinkruit justinkruit left a comment

Choose a reason for hiding this comment

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

Been a bit busy. All looks good!

@justinkruit justinkruit merged commit 14645e4 into main Feb 12, 2023
@crftwrk crftwrk deleted the Remove-Woo-btn-templates branch April 11, 2023 08:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants