Jump to content

[Themes] Lock Themes to Prevent Editing


Recommended Posts

When installing a custom theme, it is recommended to install the theme and then create a child of that theme to hold all of your modifications. This allows you to update the root theme without losing your modifications.

It would be nice if we could lock the parent theme, possibly as an opt-in action, to prevent accidentally editing the theme when making edits. This is especially prevalent when having to make a change cross multiple theme installs, such as when you have both a light and dark theme installed.

As for implementation, this could be a bit field on the theme's database configuration. If true, the edit button is disabled and hidden and navigating to the link the button would normally take to you would show an error. Adding a field like this would be backwards compatible, as the default value (false/0) would result in the same behavior as we have in the current version.

Edited by Foxtrek_64
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...