Is there a unified CSS solution for frontend & backend together (Seeking More Efficient Workflow)?

[ad_1]

Currently using:

* **Admin CSS MU** for Backend (In-Editor) CSS.
* **WP Headers & Footers** for Frontend CSS.

Current workflow requires changing two instances of CSS in order for Gutenberg Blocks to appear the same in the backend as they do in the frontend.

**Is there a more unified/efficient workflow?**

I would like to overwrite plugin css once and have the styles display uniformly for both frontend users and backend editors.

[ad_2]
2 Comments
  1. I would use vite for scss compile, and just enqueue the outputted minified file to both admin and frontend. If you really work with CSS, start using SCSS/SASS to make your code cleaner and easier to manage. BEM is easy to learn.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer