You've already forked wp-bootstrap
v1.0.1 - Integrate Bootstrap Icons web font
Add bootstrap-icons npm package with SCSS import and font file copy build step. All 2,000+ icons available via CSS classes (bi bi-*) in both frontend and block editor. Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -44,3 +44,7 @@ $enable-dark-mode: true;
|
||||
|
||||
// Enable reduced motion
|
||||
$enable-reduced-motion: true;
|
||||
|
||||
// Bootstrap Icons font path (points to copied files in assets/fonts/)
|
||||
$bootstrap-icons-font-src: url("../fonts/bootstrap-icons.woff2") format("woff2"),
|
||||
url("../fonts/bootstrap-icons.woff") format("woff");
|
||||
|
||||
@@ -15,8 +15,11 @@
|
||||
// 4. WordPress block compatibility
|
||||
@import "wordpress";
|
||||
|
||||
// 5. Custom styles (dark mode overrides, block styles, etc.)
|
||||
// 5. Bootstrap Icons
|
||||
@import "bootstrap-icons/font/bootstrap-icons";
|
||||
|
||||
// 6. Custom styles (dark mode overrides, block styles, etc.)
|
||||
@import "custom";
|
||||
|
||||
// 6. Editor-specific overrides
|
||||
// 7. Editor-specific overrides
|
||||
@import "editor-overrides";
|
||||
|
||||
@@ -15,5 +15,8 @@
|
||||
// 4. WordPress block compatibility
|
||||
@import "wordpress";
|
||||
|
||||
// 5. Custom styles
|
||||
// 5. Bootstrap Icons
|
||||
@import "bootstrap-icons/font/bootstrap-icons";
|
||||
|
||||
// 6. Custom styles
|
||||
@import "custom";
|
||||
|
||||
Reference in New Issue
Block a user