Skip to content

Update default theme to modern monochrome look#817

Merged
jjroelofs merged 5 commits into
8.xfrom
jur/8.x/816-update-default-look-and-feel
May 18, 2026
Merged

Update default theme to modern monochrome look#817
jjroelofs merged 5 commits into
8.xfrom
jur/8.x/816-update-default-look-and-feel

Conversation

@jjroelofs

Copy link
Copy Markdown
Collaborator

Linked issues

Solution

Update the DXPR Theme default look and feel to a modern, clean monochrome aesthetic. The old blue/green default is preserved as "DXPR Theme 2025" for existing users.

Color scheme changes

  • Old "default" (blue/green) renamed to "dxpr-theme-2025" (title: "DXPR Theme 2025")
  • New "default" uses monochrome palette: black primary, dark gray secondary, white backgrounds

Layout and typography defaults updated

Setting Old New
boxed_layout 1 0
scale_factor 1.34 1.25
headings_line_height 1.1 1.2
header_top_fixed 1 0
header_top_sticky 1 0
hamburger_menu three-dash two-dash
menu_type uppercase (none)
menu_link_spacing 10 20
menu_hover opacity text
block_card (empty) card card-body

Backward compatibility

  • Post-update hook (n4_migrate_default_scheme) migrates existing sites from "default" to "dxpr-theme-2025", preserving their current appearance
  • Only new installations get the updated defaults

Files changed

  • scss/base/variables.scss -- renamed old default, added new monochrome default
  • features/sooper-colors/color-settings.json -- same changes for UI dropdown
  • config/install/dxpr_theme.settings.yml -- updated layout/typography defaults
  • dxpr_theme.post_update.php -- migration hook for existing sites
  • css/base/variables.css -- rebuilt CSS artifact

Checklist

  • I have read the CONTRIBUTING.md document.
  • My commit messages follow the contributing standards and style of this project.
  • My code follows the coding standards and style of this project.
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Need to run update.php after code changes
  • Requires a change to end-user documentation.
  • Requires a change to developer documentation.
  • Requires a change to QA tests.
  • Requires a new QA test.
  • I have updated the documentation accordingly.
  • All new and existing tests passed.

Jurriaan Roelofs added 5 commits May 18, 2026 12:35
Rename the old blue/green default scheme to "DXPR Theme 2025" and
replace it with a monochrome palette. Update install defaults for
layout, typography, header, and menu settings. Add post-update hook
to migrate existing sites to the renamed scheme.
Update $primary, $accent1, $accent2, and all color fallback variables
in _variables.scss to match the new default monochrome scheme. Rebuild
bootstrap-theme.css which uses $primary and $gray-light directly.
The shipped CSS custom property defaults in variables.scss must match
the install config, otherwise fresh installs render old values until
the Theme Settings form is opened. Updated: headings-line-height
(1.1 -> 1.2), scale-factor (1.34 -> 1.25), menu-link-spacing
(10px -> 20px), headings-bold (normal -> bold).
@jjroelofs jjroelofs merged commit 28c38fa into 8.x May 18, 2026
5 checks passed
@jjroelofs jjroelofs deleted the jur/8.x/816-update-default-look-and-feel branch May 18, 2026 11:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant