vigetlabs / wordpress-site-starter

2 stars 0 forks source link

[#78] Making the css build file smaller #82

Closed nathan-schmidt-viget closed 1 month ago

nathan-schmidt-viget commented 1 month ago

Summary

Brian noticed the CSS file could be trimmed down and I noticed the text/buttons were not changing color when a dark background color was set as the background.

All of this saves us 15 kB and will help keep the file small on a project when we add more colors and custom styles.

Issues

Testing Instructions

  1. Run ddev npm run build to see the new file size.

Screenshots

Before

Screenshot 2024-05-21 at 3 45 15 PM

After

Screenshot 2024-05-21 at 3 45 02 PM