refactor: remove the be_style backend page, instance color via env var - #6611
Merged
Conversation
Move the label color setting to the system settings page and always show the website link in the top navbar (no longer configurable).
Previously injected via customizer.js as a leftover from the be_style customizer plugin. The link markup is now rendered directly in the header fragment, the label color is applied as inline style, and the styles moved from customizer.css into the scss sources.
The process env var was not visible to the php built-in server requests (variables_order without E), so the screenshots lost the colored navbar border. Write the value into the dotenv-loaded .env.local instead.
gharlan
force-pushed
the
refactor/remove-be-style-backend-page
branch
from
July 31, 2026 22:52
b130e03 to
faf7c5e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Removes the last remnants of the former be_style addon/customizer plugin from the backend:
system/be_stylepage is gone entirely: the help, icons and customizer subpages are removed.customizer.js) — a relic from the plugin era — but rendered directly in thecore/header.phpfragment. It is also no longer configurable (be_style_showlink), it is simply always shown.be_style_labelcolor). Instead it can be set via the new env varREX_INSTANCE_COLOR(accessorCore::getInstanceColor()), complementingREX_INSTANCE_ID(closes be_style/customizer Erkennungsfarbe in config.yml speichern #4708). It is applied as inline style to the navbar (border-bottom) and used for the safari mask icon. Since it no longer depends on a logged-in user, the color now also appears on the login and setup pages.customizer.jsandcustomizer.cssare deleted; the styles moved into the scss sources (_navs.scss, new classrex-nav-top-title), so the separate css file/request is gone.be_style_showlink,be_style_labelcolor) are removed from existing installations on migrate.REX_INSTANCE_COLORto the previous default green, so the screenshots keep the colored navbar. Expect some screenshot updates on the first run (login/setup now show the color, too).