You've already forked wp-bootstrap
Full Design Editor compatibility with custom block categories, page templates, header/footer variations, and navigation styles. Both FSE (admin) and Twig (frontend) sides kept in sync. Co-Authored-By: Claude <noreply@anthropic.com>
23 lines
559 B
SCSS
23 lines
559 B
SCSS
/*!
|
|
* WP Bootstrap Theme - Editor Styles
|
|
* Imports full Bootstrap so WYSIWYG matches the frontend.
|
|
*/
|
|
|
|
// 1. Import Bootstrap functions first (needed for variable manipulation)
|
|
@import "bootstrap/scss/functions";
|
|
|
|
// 2. Override Bootstrap variables BEFORE they're set
|
|
@import "variables";
|
|
|
|
// 3. Import all of Bootstrap
|
|
@import "bootstrap/scss/bootstrap";
|
|
|
|
// 4. WordPress block compatibility
|
|
@import "wordpress";
|
|
|
|
// 5. Custom styles (dark mode overrides, block styles, etc.)
|
|
@import "custom";
|
|
|
|
// 6. Editor-specific overrides
|
|
@import "editor-overrides";
|