You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 23, 2024. It is now read-only.
Having an easy way to install themes via clickable links would grow the ecosystem of themes for Gradience, by making it easy for authors to control their own theme repositories and still giving users a super easy way to install the themes via Gradience.
The ideas that were discussed:
gradience://official/pop-dark would download and activate (in Gradience's preview mode) the "Pop Dark" theme from the official collection.
gradience://curated/dracula would do the same but for built-in "curated" themes.
gradience://import/https://github.com/lassekongo83/adw-colors/tree/main/themes/dracula/dracula.json would download a theme and activate the preview for it.
The wording for the 3rd link format is undecided. It would be good to choose something that's clear and calming for newbies. Ideas that were discussed include these ones:
gradience://raw/<url>
gradience://external/<url>
gradience://import/<url>
gradience://url-import/<url>
gradience://download/<url>
The word "import" was highlighted as a good candidate.
Additional Context
The feature should preferably remember what URL the theme was imported from, in a database/JSON file on disk, so that it becomes easy to implement "update check" or "replace existing local copy to avoid duplicates" later.
A good idea for this "first stage" would be to add the following features:
The URL handlers.
Confirmation popup so users have to confirm if they really want to download the theme.
Downloading themes from external URLs.
Remembering the URL that the external theme was downloaded from. This won't need any GUI/display to the user. It's just necessary for making all future features (auto-updates/auto-replacing duplicates) easier to handle later.
Feature description
This was discussed on the Matrix chat.
Having an easy way to install themes via clickable links would grow the ecosystem of themes for Gradience, by making it easy for authors to control their own theme repositories and still giving users a super easy way to install the themes via Gradience.
The ideas that were discussed:
gradience://official/pop-dark
would download and activate (in Gradience's preview mode) the "Pop Dark" theme from the official collection.gradience://curated/dracula
would do the same but for built-in "curated" themes.gradience://import/https://github.com/lassekongo83/adw-colors/tree/main/themes/dracula/dracula.json
would download a theme and activate the preview for it.The wording for the 3rd link format is undecided. It would be good to choose something that's clear and calming for newbies. Ideas that were discussed include these ones:
gradience://raw/<url>
gradience://external/<url>
gradience://import/<url>
gradience://url-import/<url>
gradience://download/<url>
The word "import" was highlighted as a good candidate.
Additional Context
The feature should preferably remember what URL the theme was imported from, in a database/JSON file on disk, so that it becomes easy to implement "update check" or "replace existing local copy to avoid duplicates" later.
Related ticket: #772
First Stage Ideas
A good idea for this "first stage" would be to add the following features:
Did you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: