diff --git a/assets/css/_bs-load.scss b/assets/css/_bs-load.scss new file mode 100644 index 0000000..78984f6 --- /dev/null +++ b/assets/css/_bs-load.scss @@ -0,0 +1,50 @@ +/* Bootstrap custom variable overrides */ +@import "bs-custom"; + +// Required || Configuration +@import "../node_modules/bootstrap/scss/functions"; +@import "../node_modules/bootstrap/scss/variables"; + +/* Bootstrap custom variable overrides */ +@import "bs-colors"; + +// Required || Configuration -- CONTINUED +@import "../node_modules/bootstrap/scss/mixins"; +@import "../node_modules/bootstrap/scss/utilities"; + +// Optional || Layout & components +@import "../node_modules/bootstrap/scss/root"; +@import "../node_modules/bootstrap/scss/reboot"; +@import "../node_modules/bootstrap/scss/type"; +@import "../node_modules/bootstrap/scss/images"; +@import "../node_modules/bootstrap/scss/containers"; +@import "../node_modules/bootstrap/scss/grid"; +// @import "../node_modules/bootstrap/scss/tables"; +@import "../node_modules/bootstrap/scss/forms"; +@import "../node_modules/bootstrap/scss/buttons"; +@import "../node_modules/bootstrap/scss/transitions"; +// @import "../node_modules/bootstrap/scss/dropdown"; +// @import "../node_modules/bootstrap/scss/button-group"; +@import "../node_modules/bootstrap/scss/nav"; +@import "../node_modules/bootstrap/scss/navbar"; +// @import "../node_modules/bootstrap/scss/card"; +// @import "../node_modules/bootstrap/scss/accordion"; +// @import "../node_modules/bootstrap/scss/breadcrumb"; +// @import "../node_modules/bootstrap/scss/pagination"; +// @import "../node_modules/bootstrap/scss/badge"; +// @import "../node_modules/bootstrap/scss/alert"; +// @import "../node_modules/bootstrap/scss/progress"; +// @import "../node_modules/bootstrap/scss/list-group"; +// @import "../node_modules/bootstrap/scss/close"; +// @import "../node_modules/bootstrap/scss/toasts"; +// @import "../node_modules/bootstrap/scss/modal"; +// @import "../node_modules/bootstrap/scss/tooltip"; +// @import "../node_modules/bootstrap/scss/popover"; +// @import "../node_modules/bootstrap/scss/carousel"; +// @import "../node_modules/bootstrap/scss/spinners"; + +// Helpers +@import "../node_modules/bootstrap/scss/helpers"; + +// Utilities +@import "../node_modules/bootstrap/scss/utilities/api"; diff --git a/assets/css/app.css b/assets/css/app.css deleted file mode 100644 index 2fa4095..0000000 --- a/assets/css/app.css +++ /dev/null @@ -1,5 +0,0 @@ -@import "tailwindcss/base"; -@import "tailwindcss/components"; -@import "tailwindcss/utilities"; -@import "whitelist/whitelist.css"; -@import "conditional/conditional.css"; diff --git a/assets/css/app.scss b/assets/css/app.scss new file mode 100644 index 0000000..03aaf7d --- /dev/null +++ b/assets/css/app.scss @@ -0,0 +1,13 @@ +// @import "tailwindcss/base"; +// @import "tailwindcss/components"; +// @import "tailwindcss/utilities"; +// @import "whitelist/whitelist.css"; +// @import "conditional/conditional.css"; + +// /* Fonts */ +// @import "fonts"; + +// /* Load Bootstrap v5 and customizations */ +// @import "bs-load"; + +@import "../../node_modules/bootstrap/scss/bootstrap.scss" \ No newline at end of file diff --git a/assets/js/main.js b/assets/js/main.js index f795ad9..f16ecf0 100644 --- a/assets/js/main.js +++ b/assets/js/main.js @@ -1,5 +1,11 @@ -// Build CSS -import '../css/app.css' +// Import SCSS +import '../css/app.scss' + +// Import Bootstrap JS +import 'bootstrap/js/dist/collapse'; +import 'bootstrap/js/dist/alert'; +import 'bootstrap/js/dist/button'; +import 'bootstrap/js/dist/dropdown'; // Import JS Modules import menu_init from './modules/menu' diff --git a/footer.php b/footer.php index 530ad1d..bd52712 100644 --- a/footer.php +++ b/footer.php @@ -19,7 +19,7 @@ namespace WP_73k;
WP Tailwind is a utility-first starter theme for WordPress by Freeshifter LLC and is totally free! Contribute on GitHub
+73k.us is © 2021 by Adam Piontek