|
|
@@ -13,65 +13,26 @@ need to test
|
|
|
############################################################
|
|
|
************************************************************/
|
|
|
|
|
|
-/***********************************************************
|
|
|
-################### Bootstrap Functions ####################
|
|
|
-************************************************************/
|
|
|
-
|
|
|
-@import '../node_modules/bootstrap/scss/functions';
|
|
|
-@import '../node_modules/bootstrap/scss/variables';
|
|
|
-@import '../node_modules/bootstrap/scss/variables-dark';
|
|
|
-@import '../node_modules/bootstrap/scss/maps';
|
|
|
-@import '../node_modules/bootstrap/scss/mixins';
|
|
|
-
|
|
|
-
|
|
|
-/***********************************************************
|
|
|
-####################### Custom ############################
|
|
|
-************************************************************/
|
|
|
-
|
|
|
-$body-bg: #d3d3d3;
|
|
|
-$body-color: #232323;
|
|
|
-$link-color: #67000a;
|
|
|
-$theme-colors: (
|
|
|
- "dark": #535763,
|
|
|
-);
|
|
|
-
|
|
|
-$custom-colors: (
|
|
|
- 'dw-blue-dark': #484C57,
|
|
|
- 'dw-blue':#535763,
|
|
|
- 'dw-light':#e2e2e2,
|
|
|
- 'dw-bright':#e3e3e3,
|
|
|
-);
|
|
|
-
|
|
|
-$theme-colors: map-merge($theme-colors, $custom-colors);
|
|
|
-$theme-colors: map-remove($theme-colors, 'primary','secondary','success','warning', 'info');
|
|
|
-$colors: map-remove($colors, 'white','black','gray','gray-dark','dark','blue','indigo','purple','pink', 'orange', 'yellow', 'green', 'teal', 'cyan');
|
|
|
-$theme-colors-rgb: map-loop($theme-colors, to-rgb, "$value");
|
|
|
-$utilities-colors: map-merge($utilities-colors, $theme-colors-rgb);
|
|
|
-$utilities-text-colors: map-loop($utilities-colors, rgba-css-var, "$key", "text");
|
|
|
-$utilities-bg-colors: map-loop($utilities-colors, rgba-css-var, "$key", "bg");
|
|
|
-
|
|
|
-$enable-negative-margins: true;
|
|
|
-
|
|
|
|
|
|
/***********************************************************
|
|
|
-########## Bootstrap 5 — subset to used parts #############
|
|
|
- Being removed incrementally (Phases 1-3, 2026-07-13).
|
|
|
- Dropped (unused / migrated): dropdown, button-group, accordion,
|
|
|
+########## Bootstrap fully removed (2026-07-13) ###########
|
|
|
+ The theme no longer depends on the bootstrap npm package. Everything
|
|
|
+ below is hand-rolled from the parts the theme actually used: a 12-col
|
|
|
+ flex grid, ~35 utility classes, and the components (badge, alert,
|
|
|
+ pagination, list-group, nav/navbar, card, forms, buttons).
|
|
|
+ Dropped with no replacement: dropdown, button-group, accordion,
|
|
|
breadcrumb, progress, toasts, modal, tooltip, popover, spinners,
|
|
|
placeholders, carousel (→ native .dw-carousel), tables, close,
|
|
|
- images, badge, alert, pagination (→ custom CSS below), helpers,
|
|
|
- and the whole utilities API (→ hand-rolled ~35-class layer below —
|
|
|
- the API generated hundreds of responsive variants; the theme uses ~35).
|
|
|
- Kept for now: grid + nav/navbar + forms/buttons + list-group + card.
|
|
|
- Phase 4 target: grid → WordPress block grid, then drop Bootstrap.
|
|
|
+ transitions, helpers, the utilities API, root, reboot, type
|
|
|
+ (base reset/typography come from the theme's own normalize + reset
|
|
|
+ above and theme.json global styles).
|
|
|
(offcanvas nav is self-contained CSS via :target — see .dw-offcanvas.)
|
|
|
************************************************************/
|
|
|
|
|
|
-@import '../node_modules/bootstrap/scss/root';
|
|
|
-@import '../node_modules/bootstrap/scss/reboot';
|
|
|
-@import '../node_modules/bootstrap/scss/type';
|
|
|
+// reboot provided body { color }; the theme's reset/bg cover the rest.
|
|
|
+body { color: #232323; }
|
|
|
|
|
|
-// ---- replacements for dropped Bootstrap partials (Phase 1 + 2) ----
|
|
|
+// ---- replacements for dropped Bootstrap partials ----
|
|
|
|
|
|
// images partial: only .img-fluid was used (art page).
|
|
|
.img-fluid {
|