Extend Theme via Interface
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 36.9k
- Forks
- 5.2k
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 713
Description
How to use GitHub
- Please use the 👍 reaction to show that you are interested into the same feature.
- Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
- Subscribe to receive notifications on status change and new comments.
Is your feature request related to a problem? Please describe.
With Nextcloud >25, theming was changed drastically, documentation is not present and based on my tests (and some comment in some nextcloud issue) I notice that actually there isn't any interface to extend theme capabilities.
We can create custom app and import/extend javascript or set app configuration (like color or other option as example in Breeze Theme or Pride theme) but if I want, for example, set a new Logo via theme and regenerate logo image, this is not possible becasue functions are not available.
Or, for example, if i want to change the foother section, like adding date or custom links and so on, via custom app actually is not possible (is still possible via /theme/<custom_theme>/defaults.php , that should be deprecated).
Describe the solution you'd like
Create a theme Interface or some extend solution, that can help us to extend theme functions or overwrite them
Describe alternatives you've considered
The alternative that we have are :
- create new app - force CSS for section like logo or background + usage of
occcommand to regerate logo and so on - create new app - force gobal css variable
Additional context
Add any other context or screenshots about the feature request here.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the existing theme path /theme/<custom_theme>/defaults.php and the customization approaches described in the issue, including app configuration and the occ command. Determine the intended extension points for theme capabilities such as logos and footer content, then define an interface and clear documentation for supported customizations.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css, javascript, php
- Domain
- design, frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100