TACC / Core-Styles

CSS dist files, source code, and build process for TACC-branded projects.
https://tacc.utexas.edu/static/ui
0 stars 0 forks source link

feat: wp-280 use @mixin, deprecate @extend #333

Closed wesleyboar closed 1 month ago

wesleyboar commented 5 months ago

Overview

Use @mixin. Deprecate @extend.

Status

Related

Changes / Testing / UI

wesleyboar commented 3 months ago

Update: postcss-mixins is installed in main (since #347), so now this PR is solely replacing extend with mixin, to resolve WP-280 while being backwward-compatible.

wesleyboar commented 1 month ago

This is needed to fix TUP-727. No need to get everything all at once. Just make sure what is in works. #336 seems to make the existing set reliable. I opt to fall-forward[^1] with this feature, because it is very important I stop using @extend now, because bugs are coming and log warnings and console errors are many.

[^1]: Deploy with high confidence. Fix if something comes up.